‎2013 Oct 08 12:56 PM
Hi All,
Could anyone of you please suggest a BAPI for changing the sales order's loading date by passing order number, item number and loading date?.
Thanks,
Faisal
‎2013 Oct 08 8:57 PM
Not sure what you mean by "loading date" (it might be helpful to use the SAP terminology and specify technical field name to be clear). If you meant the order creation date (ERDAT) then it's not feasible to change it.
‎2013 Oct 08 9:29 PM
OK, thanks to the clarification by Jürgen L (hm, can't make @ to work with his name - sorry, Jürgen!) the field appears to be VBEP-LDDAT. In such case this is one of the "let me google it for your" questions since it's not difficult to find the BAPI for sales order change. And from there it doesn't take a lot of brain activity to look at the table SCHEDULE_LINES.
Please read Rules of Engagement and do the research before posting on SCN. Thank you.
‎2013 Oct 09 9:20 AM
Hi Jelena,
I have done it via the BAPI SD_SALES_SCHEDULE_MAINTAIN already. But was thinking whether it's possible to do with any other BAPIs only for loading date so that it will execute quickly. This takes some time to execute.
Thanks for understanding.
Faisal
‎2013 Oct 09 4:33 PM
Plot thickens. SD_SALES_SCHEDULE_MAINTAIN is not a BAPI. There are ways to analyze the performance in SAP to determine what could be causing long runtime. Just from the top of my head - probably the change triggers ATP check.
I doubt you'd get better result regardless of what function is used, although I would recommend using a real BAPI instead of an unreleased function module.
As a side note - you might want to read this blog and put more specific question and all the facts in the initial post.