Posted: Mon Dec 22, 2008 11:29 am Post subject: BAPI_DOCUMENT_CHECKOUTVIEW
BAPI_DOCUMENT_CHECKOUTVIEW - Check out document for display
Functionality
You can use this method to check out a document and any existing document structure for display.
You can use the "GetStructure" button if you want to check out the document structure aswell. The
"DocumentStructure" table is used to define how many documents should be checked out in the document structure
(certain documents may be checked out in current status). When the documents are transferred to the function
module using the "DocumentStructure" table, only the documents that you have preselected are checked out.
Restrictions:
Additional files are not supported.
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,
lf_pathname LIKE bapi_doc_draw-docfile1,
**.... Bapi return structure
ls_return LIKE bapiret2.
**.... Originals that have been checked out
DATA: lt_files LIKE bapi_doc_files OCCURS 0 WITH HEADER LINE.
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.