CREATE_DOC SAP Method Create Document
Below is documentation, parameters and attributes of ABAP Method CREATE_DOC within SAP class CL_DPR_UI_CHANGE_MANAGER. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name CL_DPR_UI_CHANGE_MANAGER into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method CREATE_DOC can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CREATE_DOC
.| Name | Type | Data Type | Description | Default Value |
| IV_AS_URL | Importing | TYPE ABAP_BOOL | ||
| IV_BASE_OBJ_KEY | Importing | TYPE DPR_TV_OBJECT_GUID_CHAR | GUID in 'CHAR' Format in Upper Case | |
| IV_SUBAPPL | Importing | TYPE EDMS_TV_SUBAPPLICATION | Subapplication for EDMS | |
| EV_NEW_DOC_KEY | Exporting | TYPE DPR_TV_OBJECT_GUID_CHAR | Unique Object Key | |
| EV_REJECTED | Exporting | TYPE ABAP_BOOL | ||
| CS_DOC_VERSION | Changing | TYPE DPR_TS_API_DOC_VERSION | API: Attributes of Linked Object | |
| CS_PARENT_FOLDER | Changing | TYPE DPR_TS_API_DOCUMENT | API: Structure for Documents | |
| CV_DOC_CONTENT | Changing | TYPE XSTRING | API: Structure for Documents |
Exceptions of Method CREATE_DOC
This method does not have any exceptionsExample ABAP coding
This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.DATA: lo_class TYPE REF TO CL_DPR_UI_CHANGE_MANAGER.
DATA: lv_CS_DOC_VERSION TYPE DPR_TS_API_DOC_VERSION,
lv_CS_PARENT_FOLDER TYPE DPR_TS_API_DOCUMENT,
lv_CV_DOC_CONTENT TYPE XSTRING,
lv_EV_NEW_DOC_KEY TYPE DPR_TV_OBJECT_GUID_CHAR,
lv_EV_REJECTED TYPE ABAP_BOOL,
lv_IV_AS_URL TYPE ABAP_BOOL,
lv_IV_BASE_OBJ_KEY TYPE DPR_TV_OBJECT_GUID_CHAR,
lv_IV_SUBAPPL TYPE EDMS_TV_SUBAPPLICATION,
lv_other TYPE c.
CALL METHOD lo_class=>CREATE_DOC(
EXPORTING
IV_AS_URL = lv_IV_AS_URL
IV_BASE_OBJ_KEY = lv_IV_BASE_OBJ_KEY
IV_SUBAPPL = lv_IV_SUBAPPL
IMPORTING
EV_NEW_DOC_KEY = lv_EV_NEW_DOC_KEY
EV_REJECTED = lv_EV_REJECTED
CHANGING
CS_DOC_VERSION = lv_CS_DOC_VERSION
CS_PARENT_FOLDER = lv_CS_PARENT_FOLDER
CV_DOC_CONTENT = lv_CV_DOC_CONTENT ).
Links to Related Class(s)
CL_DPR_U...Full list of available SAP object classes
Search for further information about these or an SAP related objects