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: 

ATP with BAPI_SALESORDER_CREATEFROMDAT2

Former Member
0 Kudos

This BAPI appears to be doing ATP checking but is only returning 1 schedule line. Let's say the order line is for 10 units but only 5 are available now and 5 are available next week. The schedule line returned is for all 10 units and the date is for next week (when all units will be available). What I need is for 2 schedule lines to be created, 1 for 5 units that are available now and 1 for 5 units with next weeks date. Is this something that needs to be done in config or is there a field that I can set before calling the BAPI? Any help would really be appreciated, thanks.

1 REPLY 1

Former Member
0 Kudos

Hi Steve,

This is controlled with Customizing, you can't influence the BAPI in creating multiple schedule lines. Probably customizing is set to complete delivery, hence only one schedule line is created.

Regards,

John.