Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_SALESORDER_SIMULATE

Former Member
0 Likes
667

i am using BAPI_SALESORDER_SIMULATE for extracting sales price of the consignment stock , i will be very much thankful to you if you suggest me the right approach to use this bapi for multiple line item details having different customers in the different line items, i want to know that can t i use this bapi only once for differencustomer or i have to run it separately for diff customer....

5 REPLIES 5
Read only

gregorw
SAP Mentor
SAP Mentor
0 Likes
608

Hello,

I think this should be possible using the Table ORDER_PARTNERS where you can specify different partners for every ITEM_NUMBER of the Materials in Table ORDER_ITEMS_IN.

Regards

Gregor

Read only

Former Member
0 Likes
608

i hv only material number and quantity with the respective ship to party how i can pass item number (posnr) into ORDER_PARTNERS-ITM_NUMBER.

Read only

0 Likes
608

Hello,

just define your own ORDER_ITEMS_IN-ITM_NUMBER like '000010' and use the same also in ORDER_PARTNERS-ITM_NUMBER.

Regards

Gregor

Read only

Former Member
0 Likes
608

hi,

For item wise data i did that what u suggested

my entries are.

ORDER_ITEMS_IN

ITM_NU PO_ITM MATERIAL

000010 10 4762

000020 20 3863

ORDER_PARTNERS

PA PARTN_NUMB ITM_NU

SP 300526 000010

SP 10000010 000020

but i am getting this error "EVP112Please enter sold-to party or ship-to party".

may you please suggest me a simple example entries for the same.

Read only

Former Member
0 Likes
608

Enter partners in ORDER_PARTNERS

SH - Partner number(Ship to Number)

Sp - Partner number (Sold to number)