cancel
Showing results for 
Search instead for 
Did you mean: 

WD ABAP: adding items to a context node

Former Member
0 Kudos

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.

Thanks,

Sravanthi

Accepted Solutions (1)

Accepted Solutions (1)

srinivasa_raghavachar
Participant
0 Kudos

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.

Regards,

Srini.

Answers (1)

Answers (1)

Former Member
0 Kudos

Thanks Srini. It worked.