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 For Sales Oreder Craetion

Former Member
0 Likes
679

Hi ABAPers,

I am using the BAPI BUS2032 Method SALESORDER_CREATEFROMDATA2 in LSMW. The prolem is i did not see the SOLD-TO Customer field in the Item level or Header level fields of the BAPI Segments.

Please can any body help in this.

Regards,

Raj

Hi ABAPers,

I am using the BAPI BUS2032 Method SALESORDER_CREATEFROMDATA2 in LSMW. The prolem is i did not see the SOLD-TO Customer field in the Item level or Header level fields of the BAPI Segments.

Please can any body help in this.

Regards,

Raj

5 REPLIES 5
Read only

Former Member
0 Likes
650

Hi,

In the BAPI BAPI_SALESORDER_CREATEFROMDAT2 you can enter the partners in the parameter

ORDER_PARTNERS

PARTN_ROLE SP

PARTN_NUMB SOLD-TO CUSTOMER

ITM_NUMBER 000000

Thanks,

Naren

Read only

Former Member
0 Likes
650

Hi,

In the BAPI BAPI_SALESORDER_CREATEFROMDAT2 you can enter the partners in the parameter

ORDER_PARTNERS

PARTN_ROLE SP

PARTN_NUMB <b>SOLD-TO CUSTOMER</b>

ITM_NUMBER 000000

Thanks,

Naren

Read only

0 Likes
650

Thanks for ur reply.

do i need to specify partner details multiple time for single document with multiple lne items.

regards,

Raj

Read only

RaymondGiuseppi
Active Contributor
0 Likes
650

Use ORDER_PARTNERS parameter. and create a partner of type sold-to (internal code SP)

Regards

Read only

Former Member
0 Likes
650

Hi,

Yes..Atleast you require the sold - to and ship - to partner in the partner internal table..

ORDER_PARTNERS

PARTN_ROLE SP

PARTN_NUMB <b>SOLD-TO CUSTOMER</b>

ITM_NUMBER 000000

PARTN_ROLE SH

PARTN_NUMB <b>SHIP-TO CUSTOMER</b>

ITM_NUMBER 000000

Thanks,

Naren