Ansicht
Dokumentation
BAPI_DOC_MASS_CHECKOUTVIEW2 - BAPIs für Dokumentinfosätze
PERFORM Short Reference General Data in Customer MasterDiese Dokumentation steht unter dem Copyright der SAP AG.
Funktionalität
/* This BAPI requires translation to DE
This BAPI can be used to download or copy originals from content repository. This BAPI is capable of downloading multiple originals simultaneously.
Purpose:
This function module is developed in order to reduce the number of RFC calls made by CAD for downloading originals and hence gain on performance. The note that corresponds to KPRO is 1072169, SAPHTTP is 1071311 and that of CAD desktop is 1075363.
Beispiel
DATA: lt_documentstructure type bapi_doc_mass_structure occurs 0 with header line,
lt_documentfiles type bapi_doc_files2 occurs 0 with header line,
lt_return type bapiret2 occurs 0 with header line.
*sample creation of structures
lt_documentstructure -DELETEVALUE = X.
lt_documentstructure -DOCUMENTTYPE = KPR.
lt_documentstructure -DOCUMENTNUMBER = BAP.
lt_documentstructure -DOCUMENTPART = 000.
lt_documentstructure -DOCUMENTVERSION = 00.
append lt_documentstructure.
lt_documentfiles -DELETEVALUE = X.
lt_documentfiles -DOCUMENTTYPE = KPR.
lt_documentfiles -DOCUMENTNUMBER = BAP.
lt_documentfiles -DOCUMENTPART = 000.
lt_documentfiles -DOCUMENTVERSION = 00.
lt_documentfiles -ORIGINALTYPE = 1.
lt_documentfiles SOURCEDATACARRIER = .
lt_documentfiles -STORAGECATEGORY = DMS_IGS.
lt_documentfiles -WSAPPLICATION = DOC.
lt_documentfiles -DOCPATH = C:\TEST\456.DOC.
lt_documentfiles DOCFILE = .
lt_documentfiles STATUSINTERN = .
lt_documentfiles STATUSEXTERN = .
lt_documentfiles STATUSLOG = .
lt_documentfiles -APPLICATION_ID = 46DD1E7048D11A45E10000000A114D4A.
lt_documentfiles -FILE_ID = 46DD1E7248D11A45E10000000A114D4A.
lt_documentfiles DESCRIPTION = .
lt_documentfiles -LANGUAGE = EN .
append lt_documentfiles.
CALL FUNCTION BAPI_DOC_MASS_CHECKOUTVIEW2
TABLES: documentstructure = lt_documentstructure
documentfile = lt_documentfiles
return = lt_return.
Hinweise
It is required to fill both document mass structure as well as corresponding details of document originals to this BAPI_doc_mass_Checkoutview2.
Document mass structure contains the details of parent-child relationship of documents. Parent keys are specified as DOCUMENTTYPE, DOCUMENTNUMBER etc, whereas the child key is specified as DOC_CHD_TYPE, DOC_CHD_NUMBER etc
When a Document structure is passed, based on the details of children, available within DOCUMENTSTRUCTURE table, original details of each of the children are fetched and processed further to copy originals from content repository. When checkout is issued on a document structure, all the document originals present under this structure are copied.
The return table consists of documents that could not be copied, along with the reason as to why it was not processed.
Weiterführende Informationen
The DIR keys are existing in the tables and need to be passed accordingly in the internal tables.
Define internal tables for documentstructure and document files. These two are passed.
The internal table return needs to be defined which contains the table of error values for those files which were unable to be viewed after checkout. Exception would not be raised for individual files rather the error messages are stored into the table to enable processing of documents which have no errors.
Parameter
DOCUMENTFILEDOCUMENTSTRUCTURE
HOSTNAME
ORIGINALPATH
PF_FTP_DEST
PF_HTTP_DEST
RETURN
Ausnahmen
Funktionsgruppe
CVBAPIROGBILLS - Synchronize billing plans Addresses (Business Address Services)
Diese Dokumentation steht unter dem Copyright der SAP AG.
Length: 4937 Date: 20240523 Time: 111247 sap01-206 ( 70 ms )