cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ADDR_NO in BAPI_SCEC_CREATE ?

Former Member
0 Likes
234

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

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.