RENAME_DOCUMENT SAP Method Change Readable Document Number
Below is documentation, parameters and attributes of ABAP Method RENAME_DOCUMENT within SAP class /SCMB/CL_DF_DOCUMENT. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /SCMB/CL_DF_DOCUMENT into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Static
This is a Static Method so you can call it directlyThe following technical details of method RENAME_DOCUMENT can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method RENAME_DOCUMENT
.| Name | Type | Data Type | Description | Default Value |
| IS_DOCUMENT | Importing | TYPE /SCMB/DF_DOCUMENT | Document Flow: Document Identification | |
| IS_DOCUMENTX | Importing | TYPE /SCMB/DF_DOCUMENTX | Document Flow: Document Identification | |
| IV_DOCUMENT | Importing | TYPE /SCMB/STRINGVAL | Document Number to Be Set | |
| IV_ITEM | Importing | TYPE /SCMB/STRINGVAL | Item Number to Be Set | |
| IV_PARTNER | Importing | TYPE /SCMB/STRINGVAL | Partner ID to Be Set | |
| EO_DOCUMENT | Exporting | TYPE REF TO /SCMB/CL_DF_DOCUMENT | Document Flow: Document Administration | |
| EV_DOCUMENT_ID | Exporting | TYPE /SCMB/DF_DOC_ID | Document Flow: Document ID (GUID) | |
| EV_DOCUMENT_TYPE | Exporting | TYPE /SCMB/DF_CATEGORY | Document Flow: Document Category |
Exceptions of Method RENAME_DOCUMENT
/SCMB/CX_DF_DOCUMENT - Document Flow: Document ErrorExample ABAP coding
DATA: lv_EO_DOCUMENT TYPE /SCMB/CL_DF_DOCUMENT,
lv_EV_DOCUMENT_ID TYPE /SCMB/DF_DOC_ID,
lv_EV_DOCUMENT_TYPE TYPE /SCMB/DF_CATEGORY,
lv_IS_DOCUMENT TYPE /SCMB/DF_DOCUMENT,
lv_IS_DOCUMENTX TYPE /SCMB/DF_DOCUMENTX,
lv_IV_DOCUMENT TYPE /SCMB/STRINGVAL,
lv_IV_ITEM TYPE /SCMB/STRINGVAL,
lv_IV_PARTNER TYPE /SCMB/STRINGVAL,
lv_other TYPE c.
CALL METHOD /SCMB/CL_DF_DOCUMENT=>RENAME_DOCUMENT(
EXPORTING
IS_DOCUMENT = lv_IS_DOCUMENT
IS_DOCUMENTX = lv_IS_DOCUMENTX
IV_DOCUMENT = lv_IV_DOCUMENT
IV_ITEM = lv_IV_ITEM
IV_PARTNER = lv_IV_PARTNER
IMPORTING
EO_DOCUMENT = lv_EO_DOCUMENT
EV_DOCUMENT_ID = lv_EV_DOCUMENT_ID
EV_DOCUMENT_TYPE = lv_EV_DOCUMENT_TYPE ).
Links to Related Class(s)
/SCMB/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects