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 directly

The 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

.

NameTypeData TypeDescriptionDefault Value
IS_DOCUMENTImportingTYPE
/SCMB/DF_DOCUMENT
Document Flow: Document Identification
IS_DOCUMENTXImportingTYPE
/SCMB/DF_DOCUMENTX
Document Flow: Document Identification
IV_DOCUMENTImportingTYPE
/SCMB/STRINGVAL
Document Number to Be Set
IV_ITEMImportingTYPE
/SCMB/STRINGVAL
Item Number to Be Set
IV_PARTNERImportingTYPE
/SCMB/STRINGVAL
Partner ID to Be Set
EO_DOCUMENTExportingTYPE REF TO
/SCMB/CL_DF_DOCUMENT
Document Flow: Document Administration
EV_DOCUMENT_IDExportingTYPE
/SCMB/DF_DOC_ID
Document Flow: Document ID (GUID)
EV_DOCUMENT_TYPEExportingTYPE
/SCMB/DF_CATEGORY
Document Flow: Document Category



Exceptions of Method RENAME_DOCUMENT

/SCMB/CX_DF_DOCUMENT - Document Flow: Document Error

Example 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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!