Application Development 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: 
SAP Community Downtime Scheduled for This Weekend

BAPI function to use

colin_cheong
Contributor
0 Kudos
68

Hi,

Can someone advice me what BAPI to use if I want to

a. Create a Sales order

b. to perform post goods issue w/ref to Delivery order number

c. create invoice w/refereence to Delivery order number

For sales order, I think I would use BAPI_SALESORDER_CREATEFROMDAT2

Thanks in advance

Bye

Moderator message: please search for available information before asking.

locked by: Thomas Zloch on Sep 14, 2010 11:44 AM

1 REPLY 1

uwe_schieferstein
Active Contributor
0 Kudos
39

Hello Colin

For posting goods issue you can use BAPI_GOODSMVT_CREATE.

Regarding salesorders you may use the BAPI you have mentioned or the unterlying RFC-enabled fm SD_SALESDOCUMENT_CREATE which is less restrictive then BAPI_SALESORDER_CREATEFROMDAT2.

Regards

Uwe