Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BAPI_SALESORDER_CREATEFROMDAT2 / Assigning different partner Roles

Hy @ll,

i have a problem with the BAPI mentioned in the subject and the structure ORDER_PARTNERS. I receive the following error message:

E VP 112 Please enter sold-to party or ship-to party

E V4 219 Sales document S.TESTGH31 was not changed

This only happens when i adress in structure ORDER_PARTNERS different partner roles to different partner numbers, and i fill out the corresponding Item Number of the Sales Document:

PA PARTN_NUMB ITM_NU (works not)

SH 1000048 000010

SP 1000050 000010

SP 1000048 000020

SH 1000050 000020

If i leave the Field ITM_NU blank in the structure ORDER_PARTNERS, the BAPI works fine and i get a sales order created, but without different partner roles, the system only adress the item to the sold-to-party and ignore the rest of the partner roles - sure i cut the link between Structure ORDER_ITEMS_IN and ORDER_PARTNERS:

PA PARTN_NUMB ITM_NU T (works, but does not make sense...)

SH 1000048 000000

SH 1000048 000000

SP 1000050 000000

SP 1000050 000000

What´s wrong here?

The Goal should be to adress for each Sales Order Item different partners and partner roles - so i have to put the item number of the Sales Order Item into the structure ORDER_PARTNERS or not????

Thanks in advance,

Gregor

Former Member
replied

Hello,

you could check if these partnerroles (SH/ SP) are obligatory on header level (normally, in standard customizing they are). It's in the customizing of partner determination.

If it like this, you have to fill them on header level (item 0000) and on position level.

Regards Wolfgang

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question