2022 Sep 02 3:57 AM
Hello,
I have been using BAPI_DELIVERYPROCESSING_EXEC to create Delivery Order and it has been working fine for most instances. From what I understand, if there are five requests, CREATEDITEMS parameter will return five items.
However, there are a few particular instances where the number of items created is less than the number of requests, while BAPI_DELIVERYPROCESSING_EXEC does not return any error messages (RETURN parameter). Are there some other methods of getting error messages for BAPI_DELIVERYPROCESSING_EXEC aside from RETURN parameter that I am not aware of?
Also, I am sorry if I'm not being specific enough with my question. Please inform me if there are other details needed to answer this post
2022 Sep 02 11:43 AM
Did you commit every time you call it ? do you have gap in the delivery number generated ?
2022 Sep 05 1:23 AM
I set conditions to only commit when CREATEDITEMS is not empty (so that the DO has items, or at least that's how I understand it, please correct me if I'm wrong) and when the RETURN parameter has no message type 'E' for errors