Posted: Mon Dec 22, 2008 11:53 am Post subject: BAPI_DOCUMENT_GETDETAIL2
BAPI_DOCUMENT_GETDETAIL2 - Determine Detail Data for a Document
Functionality
You can use this method to set detail data for a document. The following import parameters are available for
controlling output:
GetObjectLinks GetStatusLog GetLongTexts GetActiveFiles
Setting additional files is not supported. Future development supports the interface parameters GetComponents and
COMPONENTS.
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.
** Bapi-Return structure
ls_return LIKE bapiret2.
** Originals Document hierarchy
DATA: lt_files LIKE bapi_doc_files2 OCCURS 0 WITH HEADER LINE,
ls_document LIKE bapi_doc_draw2.
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.