Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

WD ABAP: adding items to a context node

Hi all,

I'm creating a shopping cart and i need the shopping cart node to retain already added items. If I go back from the shopping cart page to the previous page and add another item to the cart, the existing items in the node are getting replaced by the new items. how do i add new items to the node without replacing the old ones.



Former Member
Former Member replied

Hi Sravanthi,

I guess you are adding elements by using BIND_ELEMENT or BIND_TABLE methods. In these methods there is an optional parameter called SET_INITIAL_ELEMENTS. Pass value ABAP_FALSE to this when adding new elements to retain the already added ones.



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question