on 2011 Apr 28 11:38 PM
Hi,
Using FM BBP_PD_SC_CREATE to create a shopping cart, we can pass in the address number (ADDRNUMBER in table ADRC) in I_PARTNER. I'm wondering if there's a way to pass in address number in BAPI_SCEC_CREATE. Without passing in the address number of the Ship-to-address, the Delivery address of the purchase order generated in ECC (for the shopping cart created using BAPI_SCEC_CREATE) will be empty.
Hope somebody can help.
Thanks,
Lara
Request clarification before answering.
Hi,
To save the 'ship to address' for an item, in the I_BUP table enter an entry with the following entries.
ls_bup-partner_fct = '00000016'. // is the code representing the requester
ls_bup-partner = '0000000206'. // is the requester business partner number
ls_bup-mainpartner = 'X'.
ls_bup-parent_guid = '2'. // is the guid of the item
append ls_bup to lt_bup.
// and similarly
ls_bup-partner_fct = '00000075'. // is the code representing the ship to address
ls_bup-partner = '0000000007'. // is the business partner number for the address number
ls_bup-mainpartner = 'X'.
ls_bup-parent_guid = '2' // is the guid of the item
so you have to insert in these rows into the I_BUP table to store the shipping address's address number.
Thanks,
Karthik Babu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.