2007 May 02 9:34 PM
Good day,
I am trying to use SD_SALESDOCUMENT_CHANGE to update a schedule agreement that was created in VA31. Advice I current have been given is that only the data that needs changed has to be entered. At a bare minimum I use document number in the header_in with an update of 'U' in the header_inx first field. I have then entered a new PO text value, and the associated 'X' in the to be updated structure. When I press execute, the function says the document has been updated and saved. Upon viewing it in VA32/33, no change were made, even through the function said it worked (simulation is not checked).
Ideally, I would like to change quantities and dates in the order and schedule lines. But at this point not even a header text value will change.
Is there a simple flag I am missing? Is there a place to get a nice overview for manditory inputs to get these order changes function to work? Thanks!!
2007 May 02 9:37 PM
Hi,
you have to call the FM BAPI_TRANSACTION_COMMIT to commit the changes..
OR
Give COMMIT WORK to commit the changes.
Thanks,
Naren
Hi,
you have to call the FM BAPI_TRANSACTION_COMMIT to commit the changes..
OR
Give COMMIT WORK to commit the changes.
Thanks,
Naren
2007 May 02 9:37 PM
Hi,
you have to call the FM BAPI_TRANSACTION_COMMIT to commit the changes..
OR
Give COMMIT WORK to commit the changes.
Thanks,
Naren
2007 May 02 9:43 PM
Hi,
Welcome to SDN.
Are you doing the testing in SE37?
If you are then please use test sequences and add BAPI BAPI_TRANSACTION_COMMIT after FM SD_SALESDOCUMENT_CHANGE.
Please try this ...
Go to SE37
Choose the following path..
FUNCTION MODULE -> TEST -> TEST SEQUENCES
Give the function modules in order ...
Then press F8 ...
Give the input for the first FM
Then execute ...
Then execute the second FM.
Regards,
Ferry Lianto
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |