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

Creating sales order with BAPI_SALESORDER_CREATEFROMDAT2

Former Member
0 Likes
369

Hi,

I´m creating sale orders with the function BAPI_SALESORDER_CREATEFROMDAT2. If you create sales order manually over the transaction, the system will find the right delivery date for you, if you are typing a date too early, for example.

The same I need to do the BAPI. But if I´m running the BAPI without a date, it is creating a sales order without a BAPI.

How can I get the date, SAP finds out automatically, when creating sales orders over the transaction?

Thank you!

Hi,

I´m creating sale orders with the function BAPI_SALESORDER_CREATEFROMDAT2. If you create sales order manually over the transaction, the system will find the right delivery date for you, if you are typing a date too early, for example.

The same I need to do the BAPI. But if I´m running the BAPI without a date, it is creating a sales order without a BAPI.

How can I get the date, SAP finds out automatically, when creating sales orders over the transaction?

Thank you!

1 REPLY 1
Read only

Former Member
0 Likes
348

Really no advices to that?