PERFORM_LINE_OPERATION SAP Method Cut, Insert, Copy Lines









Below is documentation, parameters and attributes of ABAP Method PERFORM_LINE_OPERATION within SAP class IF_BADI_COMPONENT_HANDLING. 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 IF_BADI_COMPONENT_HANDLING 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 PERFORM_LINE_OPERATION can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method PERFORM_LINE_OPERATION

.

NameTypeData TypeDescriptionDefault Value
OK_CODEImportingTYPE
FCODE
Function Code
ROLEImportingTYPE
SEEX_ROLE_TYPE
Role
STATUSImportingTYPE
SEEX_STATUS
Status
TABIXImportingTYPE
SYTABIX
Internal Tables, Current Row Index
SELLINE1ExportingTYPE
SYTABIX
Start of Selected Line
SELLINE2ExportingTYPE
SYTABIX
End of Selected Line
CCPChangingTYPE
SEEX_CCP_STRUC
Structure
LINESChangingTYPE
I
Number of Lines
TABLEChangingTYPE
SEEX_COMPONENT_TABLE
Internal SEXO Table



Exceptions of Method PERFORM_LINE_OPERATION

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_BADI_COMPONENT_HANDLING.
DATA: lv_CCP TYPE SEEX_CCP_STRUC,
lv_LINES TYPE I,
lv_OK_CODE TYPE FCODE,
lv_ROLE TYPE SEEX_ROLE_TYPE,
lv_SELLINE1 TYPE SYTABIX,
lv_SELLINE2 TYPE SYTABIX,
lv_STATUS TYPE SEEX_STATUS,
lv_TABIX TYPE SYTABIX,
lv_TABLE TYPE SEEX_COMPONENT_TABLE,
lv_other TYPE c.

CALL METHOD lo_class=>PERFORM_LINE_OPERATION(
EXPORTING
OK_CODE = lv_OK_CODE
ROLE = lv_ROLE
STATUS = lv_STATUS
TABIX = lv_TABIX
IMPORTING
SELLINE1 = lv_SELLINE1
SELLINE2 = lv_SELLINE2
CHANGING
CCP = lv_CCP
LINES = lv_LINES
TABLE = lv_TABLE ).

Links to Related Class(s)

IF_BADI_...
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!