CREATE_NEW_ROW SAP Method Create New Line
Below is documentation, parameters and attributes of ABAP Method CREATE_NEW_ROW within SAP class /DSD/SL_CL_MO_INVOICE_HEADER. 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 /DSD/SL_CL_MO_INVOICE_HEADER 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_NEW_ROW can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CREATE_NEW_ROW
.| Name | Type | Data Type | Description | Default Value |
| ES_MSG | Exporting | TYPE BAPIRET2 | Error message | |
| ES_ROW | Exporting | TYPE /DSD/SL_RAIVHD_S | Structure 'Invoice Entry Header' - Extended for Dialog | |
| E_FIRST_ROW | Exporting | TYPE /DSD/HH_CHECKBOX | New Line = First and Sole Model Line Until Now |
Exceptions of Method CREATE_NEW_ROW
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /DSD/SL_CL_MO_INVOICE_HEADER.
DATA: lv_ES_MSG TYPE BAPIRET2,
lv_ES_ROW TYPE /DSD/SL_RAIVHD_S,
lv_E_FIRST_ROW TYPE /DSD/HH_CHECKBOX,
lv_other TYPE c.
CALL METHOD lo_class=>CREATE_NEW_ROW(
IMPORTING
ES_MSG = lv_ES_MSG
ES_ROW = lv_ES_ROW
E_FIRST_ROW = lv_E_FIRST_ROW ).
Links to Related Class(s)
/DSD/SL_...Full list of available SAP object classes
Search for further information about these or an SAP related objects