Hi All,
I am ABAP developer using BAPI_SALESORDER_CREATEFROMDAT2 for the creation of sales order.
The Bapi will be called from external system to post sales order in SAP ERP.
Orders items in

Order partners

Order schedules in

The functional consultant has filled an example of data but we get message AG 005 Project item number not specified in a requirement
If document date is changed we sometimes do not get the message ..

When creating the document in dialog all is well.
I think the problem comes from AVAILABILITY_CHECK_CONTROLLER , ATP Check .
Could this be managed by filling some field in the Bapi?
There is no problem in user exit MV45AFZZ.
Do you know other exits I might have to check to find a solution?
Can you please help me understand or at least point me in the right direction?