2009 Sep 11 3:37 PM
Hi Guys,
Here the requirement is automating the process of creating the schedule lines using Bapi.
I am using the bapi BAPI_SALESORDER_CHANGE for the same.
I could able to create a schedule line but the problem is,its not updating the CONFIRMED QUANTITY and COMMITTED QUANTITY on
sales order schedule line tab,its updating ORDER QUANTITY and ROUNDED QUANTITY.
the structures and tables parameters i have updated are:
IMPORT PARAMETERS: SALESDOCUMENT,ORDER_HEADER_INX-UPDATEFLAG= 'U'(change sales order).
TABLES:SCHEDULE_LINES(ITM_NUMBER,REQ_DATE,REQ_QTY,DLV_DATE)
SCHEDULE_LINESX(ITM_NUMBER,UPDATEFLAG='I',REQ_DATE,REQ_QTY,DLV_DATE).
Please help me out if i need to fill up any other parameters or anything am missing out here.
Would appreciate your help.
Thanks in Advance
Ramu
Hi Guys,
Here the requirement is automating the process of creating the schedule lines using Bapi.
I am using the bapi BAPI_SALESORDER_CHANGE for the same.
I could able to create a schedule line but the problem is,its not updating the CONFIRMED QUANTITY and COMMITTED QUANTITY on
sales order schedule line tab,its updating ORDER QUANTITY and ROUNDED QUANTITY.
the structures and tables parameters i have updated are:
IMPORT PARAMETERS: SALESDOCUMENT,ORDER_HEADER_INX-UPDATEFLAG= 'U'(change sales order).
TABLES:SCHEDULE_LINES(ITM_NUMBER,REQ_DATE,REQ_QTY,DLV_DATE)
SCHEDULE_LINESX(ITM_NUMBER,UPDATEFLAG='I',REQ_DATE,REQ_QTY,DLV_DATE).
Please help me out if i need to fill up any other parameters or anything am missing out here.
Would appreciate your help.
Thanks in Advance
Ramu
2009 Sep 11 4:03 PM
Confirmed quantity and committed quantity are a result of availability check not something you can influence. Your schedule line quantity is what you request and the confirmed quantity will be determined by the system based on the availability of the material.
2009 Sep 11 4:29 PM
Thanks for your reply.
But when i create a schedule line manually the confirmed and committed quantity are getting updated.
There is plenty of stock available in the given period.
My question here is if i do it through BAPI,why its not upadting those fields on sales order.
Thanks
Ramu
2009 Sep 11 4:48 PM
You may have to put a breakpoint at the beginning of the function module SD_SALES_DOCU_MAINTAIN and see what values are coming in when you are doing it manually and what values are coming in when you do it through BAPI.
2013 Aug 10 10:09 AM
Dear Ramu ,
Any solution to this Issue i have the same Requirement and faceing the very same problem.
Thanks in advance for reply .
Thanks alot.
regards
Prashant Singh
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |