Skip to Content
0
Former Member
Mar 31, 2011 at 05:08 AM

Use BAPI_SALESORDER_CREATEFROMDAT2 with delivery date in Header

932 Views

Hi all,

In my current project I try to use BAPI_SALESORDER_CREATEFROMDAT2 to create the SO ,

I can create the SO without setting delivery date in header.

but after I set the delivery date like following, the error message occured. Could someone help me?

ORDER_HEADER_IN-REQ_DATE_H = '20110330'

ORDER_HEADER_IN-DATE_TYPE = '1'

I try to add the requirment delivery date in schedule line ,but fail too.

ORDER_SCHEDULES_IN-REQ_DATE = '20110405'

ORDER_SCHEDULES_IN-DATE_TYPE = '1'