cancel
Showing results for 
Search instead for 
Did you mean: 

Adding a partner function in SUS

Former Member
0 Kudos

Hello,

I am trying to add the Partner "Ship From Party" to the PO at the line item level. I edited the business partner in transaction BP and added the "Ship From" address. Now, when the "Ship From" address is sent from R/3 to SUS I get the following error:

An error occured within an XI interface: Exception occurredE:BBP_PD:004 -Partner Ship-From Party not found E:BBP_PD:004 -Partner Ship-From Party not found

It only works when the "Ship From" address is an exact match of the vendors main address. Clearly SUS is not matching up the Ship From party stored in BP with the ship from party on the PO.

What am I missing?

Thanks,

Matt

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

This problem was solved.

Ship From Party is on the XML document but it is not support by SUS. So, it would not map into SUS and we needed to use a BADI to map the address information in (BBP_SAPXML1_IN_BADI) as well as a mod to allow a "Ship From Party" on the SUS PO at the item and header level (LBBP_PDHF0V).

In your instance of the BADI for PurchaseOrder-SUS you will need to map in the business partners ext_bu_id and ext_bu_id_type into ct_partner.

In LBBP_PDHF0V, you will need to add the following code to the SUSPO item and header level.

ls_partner_card-partner_pft = c_ship_from.           "ship_from_party
    APPEND ls_partner_card TO st_partner_card.

Thanks,

Matt