on 10-18-2011 10:56 AM
dear sdn community,
I want to delete a special additional value of a document info record (SAP DVS) with the BAPI u201CBAPI_DOCUMENT_CHANGE2u201D but I donu2019t succeed. I think Iu2019m doing it wrong with the parameters.
Screenshot of my test functions moduleu2019s test data:
http://www0.xup.in/exec/ximg.php?fid=42099566
Detail Screenshot of u201Cdocumentdatau201D:
http://www0.xup.in/exec/ximg.php?fid=10728834
Detail screenshot of u201Ccharacteristicvaluesu201D:
http://www0.xup.in/exec/ximg.php?fid=20908978
Detail screenshot of u201Cclassallocationsu201D:
http://www0.xup.in/exec/ximg.php?fid=73273237
Screenshot of the document info record:
http://www0.xup.in/exec/ximg.php?fid=12555016
The BAPI doesnu2019t return any message and the value isn't deleted...
Could you help me?
Best regards,
Marius Klaus
If you test it from SE37, you should have a additional function to commit. The bapi does not update without a commit work.
Phillip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
this is correct to made the update you have to call also BAPI_TRANSACTION_COMMIT.
However would also recommend to use BAPI_DOCUMENT_GETDETAIL2 before to read out the current document data. Then modify this data and hand it over to BAPI_DOCUMENT_CHANGE2 and last but not least finish it with BAPI_TRANSACTION_COMMIT.
Best regards,
Christoph
User | Count |
---|---|
89 | |
8 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.