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
.| Name | Type | Data Type | Description | Default Value |
| O_BIN_TYPE | Exporting | TYPE C | ||
| O_CURRENT_FIELD | Exporting | TYPE CHAR30 | 30 Characters | |
| O_FELD | Exporting | TYPE CHAR30 | 30 Characters | |
| O_LENUM | Exporting | TYPE LINV-LENUM | Storage Unit Number | |
| O_LGNUM | Exporting | TYPE LINV-LGNUM | Warehouse Number / Warehouse Complex | |
| O_LGPLA | Exporting | TYPE LINV-LGPLA | Storage Bin | |
| O_LGTYP | Exporting | TYPE LINV-LGTYP | Storage Type | |
| O_MATNR | Exporting | TYPE LTAP-MATNR | Material Number | |
| O_RL04I_KZNUL | Exporting | TYPE RL04IKZNUL | Indicator: storage bin empty or quant does not exist | |
| O_RLMOB_CLENUM | Exporting | TYPE MOBLENUM | Bar code field for storage unit number | |
| O_RLMOB_CLGPLA | Exporting | TYPE MOBLGPLA | Bar Code Field for Storage Bin | |
| O_RLMOB_PBACK | Exporting | TYPE MOBBACK | Pushbutton: Back | |
| O_RLMOB_PCLEAR | Exporting | TYPE MOBCLEAR | Pushbutton: Clear | |
| O_RLMOB_PDELET | Exporting | TYPE MOBPDELET | Delete storage unit | |
| O_RLMOB_PDETAIL | Exporting | TYPE MOBDETL | Pushbutton: Details | |
| O_RLMOB_PEMPTY | Exporting | TYPE MOBPEMPTY | Pushbutton: Bin is empty | |
| O_RLMOB_PNEXT | Exporting | TYPE MOBNEXT | Pushbutton: Next | |
| O_RLMOB_PPGDN | Exporting | TYPE MOBPGDN | Pushbutton: Page down | |
| O_RLMOB_PPGUP | Exporting | TYPE MOBPGUP | Pushbutton: Page up | |
| O_RLMOB_PSAVE | Exporting | TYPE MOBSAVE | Pushbutton: Save | |
| O_SAV_LENUM | Exporting | TYPE LENUM | Storage Unit Number | |
| O_TAP_INDEX | Exporting | TYPE SY-TABIX | Index of Internal Tables | |
| O_TAP_INIT_SIZE | Exporting | TYPE SY-TABIX | Index of Internal Tables | |
| O_TAP_TOTAL_LINES | Exporting | TYPE SY-TABIX | Index of Internal Tables | |
| O_TCODE | Exporting | TYPE SY-TCODE | Current Transaction Code | |
| O_TEMPORARY_INDEX | Exporting | TYPE SY-TABIX | Index of Internal Tables | |
| O_T_SUS | Exporting | TYPE BADI_DCC_SCREEN_151_TABLE | Table type for the DCC screen badi | |
| O_VERIFICATION_ERRORS | Exporting | TYPE SPROT_U_TAB | Table Type for SPROT_U (Log Interface) |
Exceptions of Method GET_DATA_FROM_INSTANCE
This method does not have any exceptionsExample 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