GET_DATA_FROM_INSTANCE SAP Method Transport data (from screen)









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

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


Parameters of Method GET_DATA_FROM_INSTANCE

.

NameTypeData TypeDescriptionDefault Value
O_BIN_TYPEExportingTYPE
C
O_CURRENT_FIELDExportingTYPE
CHAR30
30 Characters
O_FELDExportingTYPE
CHAR30
30 Characters
O_LENUMExportingTYPE
LINV-LENUM
Storage Unit Number
O_LGNUMExportingTYPE
LINV-LGNUM
Warehouse Number / Warehouse Complex
O_LGPLAExportingTYPE
LINV-LGPLA
Storage Bin
O_LGTYPExportingTYPE
LINV-LGTYP
Storage Type
O_MATNRExportingTYPE
LTAP-MATNR
Material Number
O_RL04I_KZNULExportingTYPE
RL04IKZNUL
Indicator: storage bin empty or quant does not exist
O_RLMOB_CLENUMExportingTYPE
MOBLENUM
Bar code field for storage unit number
O_RLMOB_CLGPLAExportingTYPE
MOBLGPLA
Bar Code Field for Storage Bin
O_RLMOB_PBACKExportingTYPE
MOBBACK
Pushbutton: Back
O_RLMOB_PCLEARExportingTYPE
MOBCLEAR
Pushbutton: Clear
O_RLMOB_PDELETExportingTYPE
MOBPDELET
Delete storage unit
O_RLMOB_PDETAILExportingTYPE
MOBDETL
Pushbutton: Details
O_RLMOB_PEMPTYExportingTYPE
MOBPEMPTY
Pushbutton: Bin is empty
O_RLMOB_PNEXTExportingTYPE
MOBNEXT
Pushbutton: Next
O_RLMOB_PPGDNExportingTYPE
MOBPGDN
Pushbutton: Page down
O_RLMOB_PPGUPExportingTYPE
MOBPGUP
Pushbutton: Page up
O_RLMOB_PSAVEExportingTYPE
MOBSAVE
Pushbutton: Save
O_SAV_LENUMExportingTYPE
LENUM
Storage Unit Number
O_TAP_INDEXExportingTYPE
SY-TABIX
Index of Internal Tables
O_TAP_INIT_SIZEExportingTYPE
SY-TABIX
Index of Internal Tables
O_TAP_TOTAL_LINESExportingTYPE
SY-TABIX
Index of Internal Tables
O_TCODEExportingTYPE
SY-TCODE
Current Transaction Code
O_TEMPORARY_INDEXExportingTYPE
SY-TABIX
Index of Internal Tables
O_T_SUSExportingTYPE
BADI_DCC_SCREEN_151_TABLE
Table type for the DCC screen badi
O_VERIFICATION_ERRORSExportingTYPE
SPROT_U_TAB
Table Type for SPROT_U (Log Interface)



Exceptions of Method GET_DATA_FROM_INSTANCE

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_EX_BADI_DCC_SCREEN_151.
DATA: lv_O_BIN_TYPE TYPE C,
lv_O_CURRENT_FIELD TYPE CHAR30,
lv_O_FELD TYPE CHAR30,
lv_O_LENUM TYPE LINV-LENUM,
lv_O_LGNUM TYPE LINV-LGNUM,
lv_O_LGPLA TYPE LINV-LGPLA,
lv_O_LGTYP TYPE LINV-LGTYP,
lv_O_MATNR TYPE LTAP-MATNR,
lv_O_RL04I_KZNUL TYPE RL04IKZNUL,
lv_O_RLMOB_CLENUM TYPE MOBLENUM,
lv_O_RLMOB_CLGPLA TYPE MOBLGPLA,
lv_O_RLMOB_PBACK TYPE MOBBACK,
lv_O_RLMOB_PCLEAR TYPE MOBCLEAR,
lv_O_RLMOB_PDELET TYPE MOBPDELET,
lv_O_RLMOB_PDETAIL TYPE MOBDETL,
lv_O_RLMOB_PEMPTY TYPE MOBPEMPTY,
lv_O_RLMOB_PNEXT TYPE MOBNEXT,
lv_O_RLMOB_PPGDN TYPE MOBPGDN,
lv_O_RLMOB_PPGUP TYPE MOBPGUP,
lv_O_RLMOB_PSAVE TYPE MOBSAVE,
lv_O_SAV_LENUM TYPE LENUM,
lv_O_TAP_INDEX TYPE SY-TABIX,
lv_O_TAP_INIT_SIZE TYPE SY-TABIX,
lv_O_TAP_TOTAL_LINES TYPE SY-TABIX,
lv_O_TCODE TYPE SY-TCODE,
lv_O_TEMPORARY_INDEX TYPE SY-TABIX,
lv_O_T_SUS TYPE BADI_DCC_SCREEN_151_TABLE,
lv_O_VERIFICATION_ERRORS TYPE SPROT_U_TAB,
lv_other TYPE c.

CALL METHOD lo_class=>GET_DATA_FROM_INSTANCE(
IMPORTING
O_BIN_TYPE = lv_O_BIN_TYPE
O_CURRENT_FIELD = lv_O_CURRENT_FIELD
O_FELD = lv_O_FELD
O_LENUM = lv_O_LENUM
O_LGNUM = lv_O_LGNUM
O_LGPLA = lv_O_LGPLA
O_LGTYP = lv_O_LGTYP
O_MATNR = lv_O_MATNR
O_RL04I_KZNUL = lv_O_RL04I_KZNUL
O_RLMOB_CLENUM = lv_O_RLMOB_CLENUM
O_RLMOB_CLGPLA = lv_O_RLMOB_CLGPLA
O_RLMOB_PBACK = lv_O_RLMOB_PBACK
O_RLMOB_PCLEAR = lv_O_RLMOB_PCLEAR
O_RLMOB_PDELET = lv_O_RLMOB_PDELET
O_RLMOB_PDETAIL = lv_O_RLMOB_PDETAIL
O_RLMOB_PEMPTY = lv_O_RLMOB_PEMPTY
O_RLMOB_PNEXT = lv_O_RLMOB_PNEXT
O_RLMOB_PPGDN = lv_O_RLMOB_PPGDN
O_RLMOB_PPGUP = lv_O_RLMOB_PPGUP
O_RLMOB_PSAVE = lv_O_RLMOB_PSAVE
O_SAV_LENUM = lv_O_SAV_LENUM
O_TAP_INDEX = lv_O_TAP_INDEX
O_TAP_INIT_SIZE = lv_O_TAP_INIT_SIZE
O_TAP_TOTAL_LINES = lv_O_TAP_TOTAL_LINES
O_TCODE = lv_O_TCODE
O_TEMPORARY_INDEX = lv_O_TEMPORARY_INDEX
O_T_SUS = lv_O_T_SUS
O_VERIFICATION_ERRORS = lv_O_VERIFICATION_ERRORS ).

Links to Related Class(s)

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