Ansicht
Dokumentation
LCM_API_DOC_UPDATE - API to Update Legal document
Fill RESBD Structure from EBP Component Structure SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3upThis documentation is copyright by SAP AG.
Functionality
Use this function module to create a new version of the legal document or update the existing version of the legal document. You need to set the controlling parameter based on the update or creation of new version of the legal document.
Example
CALL FUNCTION 'LCM_API_DOC_UPDATE'
EXPORTING
is_doc_hdr_attr
= ls_header
is_doc_dms_attr = ls_dms
is_doc_cntrl_param = Ls_ contrl_param
IV_BO_SAVE = ABAP_FALSE
IMPORTING
ET_MESSAGES = lt_messages
EXCEPTIONS
INVALID_DOCUMENT_ID = 1
DOCUMENT_UPDATE_FAILED = 2
OTHERS
= 3.
Notes
Use the function module in the following scenarios:
- to update the attributes of the current version
- to update the content (DMS) of current version (replace content)
- to create a new version with new content (DMS)
This API is called once the API to create the legal document is called and when the document needs to be updated from the source object.
Further information
Parameters
ET_MESSAGESIS_DOC_CNTRL_PARAM
IS_DOC_DMS_ATTR
IS_DOC_HDR_ATTR
IT_DOC_CATEGORIES
IV_BO_SAVE
Exceptions
DOCUMENT_UPDATE_FAILEDINVALID_DOCUMENT_ID
Function Group
FG_LCM_BOPF_APIROGBILLS - Synchronize billing plans ABAP Short Reference
This documentation is copyright by SAP AG.
Length: 2361 Date: 20240604 Time: 063838 sap01-206 ( 26 ms )