on 12-15-2011 2:43 PM
it seems that with this badi...BBP_DOC_CHANGE_BADI, you can only change one item at a time.
Our requirement:
Sync different Item attributes with the first item in the cart. For example, if the user changed the Delivery address on the first item of the shopping cart, then we would need to cascade this same delivery address to the other items in the cart.
We accomplished this successfully when adding new items to the cart, we change the partner table with partner function 27.
However, after they add 10 items to the cart, if they then change the delivery address on the first line item, how do we update the other 9 items in the cart to have the same delivery address?
Ricardo,
Thanks for the reply, have you successfully done this? can we use the bbp_doc_change_badi to append other partner lines ...do we also need to append the items too?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Kelly,
Shopping cart always has the partners in the item level. and the IT_PARTNER has partners of each table.
so your read statement or modify statement is not just iwth partner function 27 but also with P_GUID = SC_ITEM_GUID.
so each item has their own partner data, you can fill them up and append to ET_PARTNER.
similarly other tables.
Hello,
You could try to call BBP_PD_SC_GETDETAIL within your implementation.
Then, in partner table you could modify the delivery address for other items according your requirements.
Regards,
Ricardo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.