Posted: Mon Dec 22, 2008 11:28 am Post subject: BAPI_DOCUMENT_CHECKOUTMODIFY2
BAPI_DOCUMENT_CHECKOUTMODIFY2 - Check out document for processing
Functionality
You use this method to check out a document for processing. Optionally you can assign the following data when
you check in a document:
Status with log entry Revision level Change number
Restrictions:
Additional files are not supported. These exist as interface parameters for future development. You cannot check out
several documents for processing.
Code:
**..... Document key
DATA: lf_doctype LIKE bapi_doc_draw-documenttype,
lf_docnumber LIKE bapi_doc_draw-documentnumber,
lf_docpart LIKE bapi_doc_draw-documenttype,
lf_docversion LIKE bapi_doc_draw-documenttype,
ls_documentfile LIKE bapi_doc_files2,
ls_checkedoutfile LIKE bapi_doc_files2,
lf_status LIKE bapi_doc_draw-statusextern,
**.... Bapi-Returnstruktur
ls_return LIKE bapiret2.
**----------------------------------------------------------------------
** Define path in which the original is to be stored
ls_documentfile-docfile = 'c:\temp\work.dwg'.
* alternative
ls_documentfile-docpath = 'c:\temp\.',
ls_documentfile-docfile = 'work.dwg'.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG. SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG. Every effort is made to ensure content integrity. Use information on this site at your own risk.