UPDATE_LAST_ORDNO SAP Method Changes Last Order Document Number
Below is documentation, parameters and attributes of ABAP Method UPDATE_LAST_ORDNO within SAP class /SCMB/CL_DL_MY_SERVICE. 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_DL_MY_SERVICE 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 UPDATE_LAST_ORDNO can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method UPDATE_LAST_ORDNO
.| Name | Type | Data Type | Description | Default Value |
| IV_DLTYPE | Importing | TYPE /SCMB/DL_DLTYPE | ||
| IV_DOCCAT | Importing | TYPE /SCMB/DL_DOCCAT | ||
| IV_LAST_ORDNO | Importing | TYPE /SCMB/DL_ORDNO | Order Document Number | |
| IV_OBJTYPE | Importing | TYPE /SCMB/DL_OBJECTTYPE | ||
| IV_ORTYPE | Importing | TYPE /SCMB/DL_ORTYPE | Order Type |
Exceptions of Method UPDATE_LAST_ORDNO
This method does not have any exceptionsExample ABAP coding
DATA: lv_IV_DLTYPE TYPE /SCMB/DL_DLTYPE,
lv_IV_DOCCAT TYPE /SCMB/DL_DOCCAT,
lv_IV_LAST_ORDNO TYPE /SCMB/DL_ORDNO,
lv_IV_OBJTYPE TYPE /SCMB/DL_OBJECTTYPE,
lv_IV_ORTYPE TYPE /SCMB/DL_ORTYPE,
lv_other TYPE c.
CALL METHOD /SCMB/CL_DL_MY_SERVICE=>UPDATE_LAST_ORDNO(
EXPORTING
IV_DLTYPE = lv_IV_DLTYPE
IV_DOCCAT = lv_IV_DOCCAT
IV_LAST_ORDNO = lv_IV_LAST_ORDNO
IV_OBJTYPE = lv_IV_OBJTYPE
IV_ORTYPE = lv_IV_ORTYPE ).
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