BAPI_SALESORDER_CHANGE ---How to change VBAP-KWMENG ??

Question:
Hi alla !
Witch field is the bapifield for change of VBAP-KWMENG ??
Have find REC_QUANITY but not how to fill it in the bapistructure.
Would be nice to get bapistructure and fieldname !
Very happy for fast reply !
Have a nice day !
Answer:
Hi,
to change the billing plan for a position, we have used the following functionmodules:
1. 'SD_SALES_DOCUMENT_READ' - Reads the contract.
2. 'SD_SALES_BILLINGPLAN_READ' - Reads the billing plan for a position
3. 'SD_SALES_BILLINGPLAN_CHANGE' - Updates the billing plan.
4. 'SD_SALES_DOCUMENT_SAVE' - Saves the contract
5. 'BAPI_TRANSACTION_COMMIT' - commits changes to the database.
Check the function modules in function group V45A for other functionality!
I hope this will help you to find a solution!
Regards
Michael Pedersen
Answer:
Hi again,
by the way, did you fill as follows:
item_inx-updateflag = 'I'.
schedule_inx-updateflag = 'I'.
and 'X' for all data you supply.
Regards
Michael Pedersen!
Answer:
Hi!
Same problem here...
I am able to add a new item and to set the quantity.
However, I am unable to change the quantity of the existing item. Also, when deleting an item and replacing it by another one, I am unable to set the quantity.
REQ_QUANTITY has been filled in the BAPISCHDL structure, an 'X' has been marked in the BAPISCHDLX structure as well as the update flag has been set to 'I'.
Can anyone help on how to modify/set the quantity?
Also, I would like to enter the 'Material Entered' field in the new item with the material number that it is replacing. I'm unable to find this field in any of the BAPI structures. Anyone?
Thanks in advance for the suggestions!
Elvis
The truth is out there

More Articles:

Total twice amount it should be?
Free Excel.exe after OLE Call?
Sorting and control levels.?
address group ME01 maintenance?
INNER JOIN PROB USING 3 TABLES & SEL OPTIONS?
Need Visual basic code example using BAPI?