‎2007 Oct 22 4:41 AM
HI all,
using the bapi (bapi_salesorder_change) i want to change the order quantity in vbap table.
what exactly should happen is :
suppose in the ordered quantity in the vbap table in item number 10 the order quantity is 45 . Now suppose a person enteres 50 as the ordered quantity from the input screen of my prog. What is required is that using the bapi, the the item number for perticular sales order, division , sales org, should be canceled and a new line item should be created with ordered quantity as 5 int he same sales org , division.
points will be awarded for all usefull reply.
‎2007 Oct 22 6:02 AM
For help, try this link. It contains sample program with this BAPI use -
http://www.jt77.com/development1/programming-22536.html
ashish
‎2007 Oct 22 4:54 AM
BAPI-step by step procedure
http://www.sapgenie.com/abap/bapi/example.htm
list of all BAPI's
http://www.planetsap.com/LIST_ALL_BAPIs.htm
Rewards if useful..........
Minal
‎2007 Oct 22 5:57 AM
Use "BAPI_TRANSACTION_COMMIT" after calling the function module in update mode i.e. UPDATEFLAG = 'U'.
‎2007 Oct 22 6:02 AM
For help, try this link. It contains sample program with this BAPI use -
http://www.jt77.com/development1/programming-22536.html
ashish
‎2007 Oct 22 6:11 AM
i want to even update the reason for rejection field by using this bapi.
is ord reason and reason for rejection field same.
‎2007 Oct 22 6:15 AM
Check field BAPISDITM-REASON_REJ at Item level corresponds to VBAP-ABGRU.
Similarly BAPISDHD1-ORD_REASON corresponds to VBAK-AUGRU.
Hope this helps.
ashish
‎2007 Oct 22 12:18 PM
im filling the field bapisditm-reason_rej but im not able to update the field though im setting the field bapisditmx-reason_rej as 'x' yet im not able to update the the reason for rejection field.
help me out