SAP ABAP Forum
What is difference Lead selection, supply function and singleton node?
Lead selection means in output table selected row number.in context node declaration select lead selection check box by default in output table first row is selected automatically.In that case leade selection automatically takes SY-TABIX value one.For example i displaying sales document header information in my output table.Whenever user selects any row of the sales document header details and click on my custom button then display particular sales document item information.
Supply function is one of the property of context node.If maintain supply function when the context node declaration in methods tab supply function is created automatically. In that method code is generated automatically.this code belongs to fill the context node with data.Supply function is triggers in two cases: First whenever the context node is initial and second one whenever the lead selection is changes.
Singleton is one of the property of context node.Singleton is used for a context node contains multiple child nodes.If a context node contains singleton property must declare supply function property. Singleton means if the instantiate of child node of the parent node only once.Must use supply function property if a context node contains singleton property.
Sign up for STechies
Ask Question From Our Experts
All the site contents are Copyright © www.stechies.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies. The site www.stechies.com is in no way affiliated with SAP AG.
Every effort is made to ensure the content integrity. Information used on this site is at your own risk.
The content on this site may not be reproduced or redistributed without the express written permission of
www.stechies.com or the content authors.