ABAP Select data from SAP table E1BPE1MARAX into internal table
Get Example source ABAP code based on a different SAP table
Below is a number of ABAP code snippets to demonstrate how to select data from SAP E1BPE1MARAX table and store it within an internal table, including using the newer @DATA inline declaration methods. It also shows you various ways to process this data using ABAP work area, inline declaration or field symbols including executing all the relevant CONVERSION_EXIT routines specific to E1BPE1MARAX. See here for more generic Select statement tips.
Sometimes data within SAP is stored within the database table in a different format to what it is displayed to the user. These input/output conversation FM routines are what translates the data between the two formats.
There is also a full declaration of the E1BPE1MARAX table where each field has a char/string type for you to simply copy and paste. This allows you to use processing that is only available to these field types such as the CONCATENATE statement.
DATA: IT_E1BPE1MARAX TYPE STANDARD TABLE OF E1BPE1MARAX, WA_E1BPE1MARAX TYPE E1BPE1MARAX, GD_STR TYPE STRING. DATA: lo_typedescr type REF TO cl_abap_typedescr. DATA: lv_fieldname type fieldname. FIELD-SYMBOLS: <FIELD> TYPE any. FIELD-SYMBOLS: <E1BPE1MARAX> TYPE E1BPE1MARAX. *Process all fields in table header/work area as string values PERFORM process_as_string_field_values CHANGING wa_E1BPE1MARAX. SELECT * *restrict ABAP select to first 10 rows UP TO 10 ROWS FROM E1BPE1MARAX INTO TABLE IT_E1BPE1MARAX. *Select data and declare internal table using in-line method @DATA *SELECT * * FROM E1BPE1MARAX * INTO TABLE @DATA(IT_E1BPE1MARAX2). *--Further methods of using ABAP code to select data from SAP database tables *You can also declare the header/work area using the in-line DATA declaration method READ TABLE IT_E1BPE1MARAX INDEX 1 INTO DATA(WA_E1BPE1MARAX2). *Demonstrate how to loop at an internal table and update values using a FIELD-SYMBOL LOOP AT IT_E1BPE1MARAX ASSIGNING <E1BPE1MARAX>.*To update a field value using a field symbol simply change the value via the field symbol pointer
<E1BPE1MARAX>-FUNCTION = 1.
<E1BPE1MARAX>-MATERIAL = 1.
<E1BPE1MARAX>-DEL_FLAG = 1.
<E1BPE1MARAX>-MATL_GROUP = 1.
<E1BPE1MARAX>-OLD_MAT_NO = 1.
ENDLOOP. LOOP AT IT_E1BPE1MARAX INTO WA_E1BPE1MARAX. *Write horizonal line to screen report. WRITE:/ sy-uline. *Write selected data to screen/report before conversion. WRITE:/ sy-vline, WA_E1BPE1MARAX-BASE_UOM, sy-vline,
WA_E1BPE1MARAX-BASE_UOM_ISO, sy-vline,
WA_E1BPE1MARAX-PO_UNIT, sy-vline,
WA_E1BPE1MARAX-PO_UNIT_ISO, sy-vline,
WA_E1BPE1MARAX-DOCUMENT, sy-vline,
WA_E1BPE1MARAX-DOC_TYPE, sy-vline.
ENDLOOP. *Add any further fields from structure WA_E1BPE1MARAX you want to display... WRITE:/ sy-uline. * Aternatively use generic code to Write field values (and NAME) to screen report DO. ASSIGN COMPONENT sy-index OF STRUCTURE wa_E1BPE1MARAX TO <field>. IF sy-subrc <> 0. EXIT. ENDIF. WRITE:/ 'Field Value', <field>, sy-vline. gd_str = <field> . lo_typedescr ?= CL_ABAP_DATADESCR=>DESCRIBE_BY_DATA( <field> ). lv_fieldname = lo_typedescr->GET_RELATIVE_NAME( ). WRITE:/ 'Field Name', lv_fieldname. ENDDO. *Redo loop but convert all fields from internal to out value LOOP AT IT_E1BPE1MARAX INTO WA_E1BPE1MARAX. *Write horizonal line to screen report. WRITE:/ sy-uline. *Convert all fields to display/output versions using conversion routines PERFORM convert_all_field_values CHANGING wa_EKKO. ENDLOOP. *&---------------------------------------------------------------------* *& Form convert_all_field_values *&---------------------------------------------------------------------* FORM convert_all_field_values CHANGING p_EKKO LIKE wa_EKKO. DATA: ld_input(1000) TYPE c, ld_output(1000) TYPE C.
ENDFORM. *&---------------------------------------------------------------------* *& Form process_as_string_field_values *&---------------------------------------------------------------------* FORM process_as_string_field_values CHANGING p_EKKO LIKE wa_EKKO. TYPES: BEGIN OF T_E1BPE1MARAX_STR,
FUNCTION TYPE STRING,
MATERIAL TYPE STRING,
DEL_FLAG TYPE STRING,
MATL_GROUP TYPE STRING,
OLD_MAT_NO TYPE STRING,
BASE_UOM TYPE STRING,
BASE_UOM_ISO TYPE STRING,
PO_UNIT TYPE STRING,
PO_UNIT_ISO TYPE STRING,
DOCUMENT TYPE STRING,
DOC_TYPE TYPE STRING,
DOC_VERS TYPE STRING,
DOC_FORMAT TYPE STRING,
DOC_CHG_NO TYPE STRING,
PAGE_NO TYPE STRING,
NO_SHEETS TYPE STRING,
PROD_MEMO TYPE STRING,
PAGEFORMAT TYPE STRING,
SIZE_DIM TYPE STRING,
BASIC_MATL TYPE STRING,
STD_DESCR TYPE STRING,
DSN_OFFICE TYPE STRING,
PUR_VALKEY TYPE STRING,
NET_WEIGHT TYPE STRING,
UNIT_OF_WT TYPE STRING,
UNIT_OF_WT_ISO TYPE STRING,
CONTAINER TYPE STRING,
STOR_CONDS TYPE STRING,
TEMP_CONDS TYPE STRING,
TRANS_GRP TYPE STRING,
HAZ_MAT_NO TYPE STRING,
DIVISION TYPE STRING,
COMPETITOR TYPE STRING,
QTY_GR_GI TYPE STRING,
PROC_RULE TYPE STRING,
SUP_SOURCE TYPE STRING,
SEASON TYPE STRING,
LABEL_TYPE TYPE STRING,
LABEL_FORM TYPE STRING,
PROD_HIER TYPE STRING,
CAD_ID TYPE STRING,
ALLOWED_WT TYPE STRING,
PACK_WT_UN TYPE STRING,
PACK_WT_UN_ISO TYPE STRING,
ALLWD_VOL TYPE STRING,
PACK_VO_UN TYPE STRING,
PACK_VO_UN_ISO TYPE STRING,
WT_TOL_LT TYPE STRING,
VOL_TOL_LT TYPE STRING,
VAR_ORD_UN TYPE STRING,
BATCH_MGMT TYPE STRING,
SH_MAT_TYP TYPE STRING,
FILL_LEVEL TYPE STRING,
STACK_FACT TYPE STRING,
MAT_GRP_SM TYPE STRING,
AUTHORITYGROUP TYPE STRING,
QM_PROCMNT TYPE STRING,
CATPROFILE TYPE STRING,
MINREMLIFE TYPE STRING,
SHELF_LIFE TYPE STRING,
STOR_PCT TYPE STRING,
PUR_STATUS TYPE STRING,
SAL_STATUS TYPE STRING,
PVALIDFROM TYPE STRING,
SVALIDFROM TYPE STRING,
ENVT_RLVT TYPE STRING,
PROD_ALLOC TYPE STRING,
QUAL_DIK TYPE STRING,
MANU_MAT TYPE STRING,
MFR_NO TYPE STRING,
INV_MAT_NO TYPE STRING,
MANUF_PROF TYPE STRING,
HAZMATPROF TYPE STRING,
HIGH_VISC TYPE STRING,
LOOSEORLIQ TYPE STRING,
CLOSED_BOX TYPE STRING,
APPD_B_REC TYPE STRING,
MATCMPLLVL TYPE STRING,
PAR_EFF TYPE STRING,
ROUND_UP_RULE_EXPIRATION_DATE TYPE STRING,
PERIOD_IND_EXPIRATION_DATE TYPE STRING,
PROD_COMPOSITION_ON_PACKAGING TYPE STRING,
ITEM_CAT TYPE STRING,
HAZ_MAT_NO_EXTERNAL TYPE STRING,
HAZ_MAT_NO_GUID TYPE STRING,
HAZ_MAT_NO_VERSION TYPE STRING,
INV_MAT_NO_EXTERNAL TYPE STRING,
INV_MAT_NO_GUID TYPE STRING,
INV_MAT_NO_VERSION TYPE STRING,
MATERIAL_FIXED TYPE STRING,
CM_RELEVANCE_FLAG TYPE STRING,
SLED_BBD TYPE STRING,
GTIN_VARIANT TYPE STRING,
SERIALIZATION_LEVEL TYPE STRING,
PL_REF_MAT TYPE STRING,
EXTMATLGRP TYPE STRING,
UOMUSAGE TYPE STRING,
GDS_RELEVANT TYPE STRING,
MATERIAL_EXTERNAL TYPE STRING,
MATERIAL_GUID TYPE STRING,
MATERIAL_VERSION TYPE STRING,
PL_REF_MAT_EXTERNAL TYPE STRING,
PL_REF_MAT_GUID TYPE STRING,
PL_REF_MAT_VERSION TYPE STRING,
WE_ORIGIN_ACCEPTANCE TYPE STRING,
STD_HU_TYPE TYPE STRING,
PILFERABLE TYPE STRING,
WHSE_STORAGE_CONDITION TYPE STRING,
WHSE_MATERIAL_GROUP TYPE STRING,
HANDLING_INDICATOR TYPE STRING,
HAZ_MAT_RELEVANT TYPE STRING,
HU_TYPE TYPE STRING,
VARIABLE_TARE_WEIGHT TYPE STRING,
MAX_ALLOWED_CAPACITY TYPE STRING,
OVERCAPACITY_TOLERANCE TYPE STRING,
MAX_ALLOWED_LENGTH TYPE STRING,
MAX_ALLOWED_WIDTH TYPE STRING,
MAX_ALLOWED_HEIGTH TYPE STRING,
MAX_DIMENSION_UN TYPE STRING,
MAX_DIMENSION_UN_ISO TYPE STRING,
COUNTRYORI TYPE STRING,
COUNTRYORI_ISO TYPE STRING,
MATFRGTGRP TYPE STRING,
QUARANTINE_PERIOD TYPE STRING,
QUARANTINE_PERIOD_UN TYPE STRING,
QUARANTINE_PERIOD_UN_ISO TYPE STRING,
QUALITY_INSP_GRP TYPE STRING,
SERIAL_NUMBER_PROFILE TYPE STRING,
EWM_CW_TOLERANCE_GROUP TYPE STRING,
EWM_CW_INPUT_CONTROL TYPE STRING,
PCKGING_SMARTFORM TYPE STRING,
PACOD TYPE STRING,
DG_PCKGING_STATUS TYPE STRING,
ADJUST_PROFILE TYPE STRING,
IPMIPPRODUCT TYPE STRING,
MEDIUM TYPE STRING,
NSNID TYPE STRING,
PHYSICAL_COMMODITY TYPE STRING,
SEGMENTATION_STRUCTURE TYPE STRING,
SEGMENTATION_STRATEGY TYPE STRING,
SEGMENTATION_RELEVANCE TYPE STRING,
ANP TYPE STRING,
MATERIAL_LONG TYPE STRING,
OLD_MAT_NO_LONG TYPE STRING,
HAZ_MAT_NO_LONG TYPE STRING,
INV_MAT_NO_LONG TYPE STRING,
PL_REF_MAT_LONG TYPE STRING,
MATURITY_DUR TYPE STRING,
SHELF_LIFE_REQ_MIN TYPE STRING,
SHELF_LIFE_REQ_MAX TYPE STRING,
PUOM TYPE STRING,
PUOM_ISO TYPE STRING,
CONFIGURABLE_MATERIAL TYPE STRING,
KIT_PRODUCT_FLAG TYPE STRING,
PRODUCT_PROC_ORDER_FLAG TYPE STRING,
SECOND_LEVEL_DEPLMNT_FLAG TYPE STRING,
NO_INVENTURY_BALANCING_FLAG TYPE STRING,
DRP_GLOBAL_STOCK_ON_ENTRY_LOC TYPE STRING,
EXCLUDE_EXPRESS_SHPT_FLAG TYPE STRING,END OF T_EKKO_STR. DATA: WA_E1BPE1MARAX_STR type T_EKKO_STR. DATA: ld_text TYPE string. LOOP AT IT_EKKO INTO WA_EKKO. MOVE-CORRESPONDING wa_EKKO TO WA_EKKO_STR. CONCATENATE: sy-vline
WA_E1BPE1MARAX_STR-FUNCTION sy-vline
WA_E1BPE1MARAX_STR-MATERIAL sy-vline
WA_E1BPE1MARAX_STR-DEL_FLAG sy-vline
WA_E1BPE1MARAX_STR-MATL_GROUP sy-vline
WA_E1BPE1MARAX_STR-OLD_MAT_NO sy-vline
WA_E1BPE1MARAX_STR-BASE_UOM sy-vline
WA_E1BPE1MARAX_STR-BASE_UOM_ISO sy-vline
WA_E1BPE1MARAX_STR-PO_UNIT sy-vline
WA_E1BPE1MARAX_STR-PO_UNIT_ISO sy-vline
WA_E1BPE1MARAX_STR-DOCUMENT sy-vline
WA_E1BPE1MARAX_STR-DOC_TYPE sy-vline
WA_E1BPE1MARAX_STR-DOC_VERS sy-vline
WA_E1BPE1MARAX_STR-DOC_FORMAT sy-vline
WA_E1BPE1MARAX_STR-DOC_CHG_NO sy-vline
WA_E1BPE1MARAX_STR-PAGE_NO sy-vline
WA_E1BPE1MARAX_STR-NO_SHEETS sy-vline
WA_E1BPE1MARAX_STR-PROD_MEMO sy-vline
WA_E1BPE1MARAX_STR-PAGEFORMAT sy-vline
WA_E1BPE1MARAX_STR-SIZE_DIM sy-vline
WA_E1BPE1MARAX_STR-BASIC_MATL sy-vline
WA_E1BPE1MARAX_STR-STD_DESCR sy-vline
WA_E1BPE1MARAX_STR-DSN_OFFICE sy-vline
WA_E1BPE1MARAX_STR-PUR_VALKEY sy-vline
WA_E1BPE1MARAX_STR-NET_WEIGHT sy-vline
WA_E1BPE1MARAX_STR-UNIT_OF_WT sy-vline
WA_E1BPE1MARAX_STR-UNIT_OF_WT_ISO sy-vline
WA_E1BPE1MARAX_STR-CONTAINER sy-vline
WA_E1BPE1MARAX_STR-STOR_CONDS sy-vline
WA_E1BPE1MARAX_STR-TEMP_CONDS sy-vline
WA_E1BPE1MARAX_STR-TRANS_GRP sy-vline
WA_E1BPE1MARAX_STR-HAZ_MAT_NO sy-vline
WA_E1BPE1MARAX_STR-DIVISION sy-vline
WA_E1BPE1MARAX_STR-COMPETITOR sy-vline
WA_E1BPE1MARAX_STR-QTY_GR_GI sy-vline
WA_E1BPE1MARAX_STR-PROC_RULE sy-vline
WA_E1BPE1MARAX_STR-SUP_SOURCE sy-vline
WA_E1BPE1MARAX_STR-SEASON sy-vline
WA_E1BPE1MARAX_STR-LABEL_TYPE sy-vline
WA_E1BPE1MARAX_STR-LABEL_FORM sy-vline
WA_E1BPE1MARAX_STR-PROD_HIER sy-vline
WA_E1BPE1MARAX_STR-CAD_ID sy-vline
WA_E1BPE1MARAX_STR-ALLOWED_WT sy-vline
WA_E1BPE1MARAX_STR-PACK_WT_UN sy-vline
WA_E1BPE1MARAX_STR-PACK_WT_UN_ISO sy-vline
WA_E1BPE1MARAX_STR-ALLWD_VOL sy-vline
WA_E1BPE1MARAX_STR-PACK_VO_UN sy-vline
WA_E1BPE1MARAX_STR-PACK_VO_UN_ISO sy-vline
WA_E1BPE1MARAX_STR-WT_TOL_LT sy-vline
WA_E1BPE1MARAX_STR-VOL_TOL_LT sy-vline
WA_E1BPE1MARAX_STR-VAR_ORD_UN sy-vline
WA_E1BPE1MARAX_STR-BATCH_MGMT sy-vline
WA_E1BPE1MARAX_STR-SH_MAT_TYP sy-vline
WA_E1BPE1MARAX_STR-FILL_LEVEL sy-vline
WA_E1BPE1MARAX_STR-STACK_FACT sy-vline
WA_E1BPE1MARAX_STR-MAT_GRP_SM sy-vline
WA_E1BPE1MARAX_STR-AUTHORITYGROUP sy-vline
WA_E1BPE1MARAX_STR-QM_PROCMNT sy-vline
WA_E1BPE1MARAX_STR-CATPROFILE sy-vline
WA_E1BPE1MARAX_STR-MINREMLIFE sy-vline
WA_E1BPE1MARAX_STR-SHELF_LIFE sy-vline
WA_E1BPE1MARAX_STR-STOR_PCT sy-vline
WA_E1BPE1MARAX_STR-PUR_STATUS sy-vline
WA_E1BPE1MARAX_STR-SAL_STATUS sy-vline
WA_E1BPE1MARAX_STR-PVALIDFROM sy-vline
WA_E1BPE1MARAX_STR-SVALIDFROM sy-vline
WA_E1BPE1MARAX_STR-ENVT_RLVT sy-vline
WA_E1BPE1MARAX_STR-PROD_ALLOC sy-vline
WA_E1BPE1MARAX_STR-QUAL_DIK sy-vline
WA_E1BPE1MARAX_STR-MANU_MAT sy-vline
WA_E1BPE1MARAX_STR-MFR_NO sy-vline
WA_E1BPE1MARAX_STR-INV_MAT_NO sy-vline
WA_E1BPE1MARAX_STR-MANUF_PROF sy-vline
WA_E1BPE1MARAX_STR-HAZMATPROF sy-vline
WA_E1BPE1MARAX_STR-HIGH_VISC sy-vline
WA_E1BPE1MARAX_STR-LOOSEORLIQ sy-vline
WA_E1BPE1MARAX_STR-CLOSED_BOX sy-vline
WA_E1BPE1MARAX_STR-APPD_B_REC sy-vline
WA_E1BPE1MARAX_STR-MATCMPLLVL sy-vline
WA_E1BPE1MARAX_STR-PAR_EFF sy-vline
WA_E1BPE1MARAX_STR-ROUND_UP_RULE_EXPIRATION_DATE sy-vline
WA_E1BPE1MARAX_STR-PERIOD_IND_EXPIRATION_DATE sy-vline
WA_E1BPE1MARAX_STR-PROD_COMPOSITION_ON_PACKAGING sy-vline
WA_E1BPE1MARAX_STR-ITEM_CAT sy-vline
WA_E1BPE1MARAX_STR-HAZ_MAT_NO_EXTERNAL sy-vline
WA_E1BPE1MARAX_STR-HAZ_MAT_NO_GUID sy-vline
WA_E1BPE1MARAX_STR-HAZ_MAT_NO_VERSION sy-vline
WA_E1BPE1MARAX_STR-INV_MAT_NO_EXTERNAL sy-vline
WA_E1BPE1MARAX_STR-INV_MAT_NO_GUID sy-vline
WA_E1BPE1MARAX_STR-INV_MAT_NO_VERSION sy-vline
WA_E1BPE1MARAX_STR-MATERIAL_FIXED sy-vline
WA_E1BPE1MARAX_STR-CM_RELEVANCE_FLAG sy-vline
WA_E1BPE1MARAX_STR-SLED_BBD sy-vline
WA_E1BPE1MARAX_STR-GTIN_VARIANT sy-vline
WA_E1BPE1MARAX_STR-SERIALIZATION_LEVEL sy-vline
WA_E1BPE1MARAX_STR-PL_REF_MAT sy-vline
WA_E1BPE1MARAX_STR-EXTMATLGRP sy-vline
WA_E1BPE1MARAX_STR-UOMUSAGE sy-vline
WA_E1BPE1MARAX_STR-GDS_RELEVANT sy-vline
WA_E1BPE1MARAX_STR-MATERIAL_EXTERNAL sy-vline
WA_E1BPE1MARAX_STR-MATERIAL_GUID sy-vline
WA_E1BPE1MARAX_STR-MATERIAL_VERSION sy-vline
WA_E1BPE1MARAX_STR-PL_REF_MAT_EXTERNAL sy-vline
WA_E1BPE1MARAX_STR-PL_REF_MAT_GUID sy-vline
WA_E1BPE1MARAX_STR-PL_REF_MAT_VERSION sy-vline
WA_E1BPE1MARAX_STR-WE_ORIGIN_ACCEPTANCE sy-vline
WA_E1BPE1MARAX_STR-STD_HU_TYPE sy-vline
WA_E1BPE1MARAX_STR-PILFERABLE sy-vline
WA_E1BPE1MARAX_STR-WHSE_STORAGE_CONDITION sy-vline
WA_E1BPE1MARAX_STR-WHSE_MATERIAL_GROUP sy-vline
WA_E1BPE1MARAX_STR-HANDLING_INDICATOR sy-vline
WA_E1BPE1MARAX_STR-HAZ_MAT_RELEVANT sy-vline
WA_E1BPE1MARAX_STR-HU_TYPE sy-vline
WA_E1BPE1MARAX_STR-VARIABLE_TARE_WEIGHT sy-vline
WA_E1BPE1MARAX_STR-MAX_ALLOWED_CAPACITY sy-vline
WA_E1BPE1MARAX_STR-OVERCAPACITY_TOLERANCE sy-vline
WA_E1BPE1MARAX_STR-MAX_ALLOWED_LENGTH sy-vline
WA_E1BPE1MARAX_STR-MAX_ALLOWED_WIDTH sy-vline
WA_E1BPE1MARAX_STR-MAX_ALLOWED_HEIGTH sy-vline
WA_E1BPE1MARAX_STR-MAX_DIMENSION_UN sy-vline
WA_E1BPE1MARAX_STR-MAX_DIMENSION_UN_ISO sy-vline
WA_E1BPE1MARAX_STR-COUNTRYORI sy-vline
WA_E1BPE1MARAX_STR-COUNTRYORI_ISO sy-vline
WA_E1BPE1MARAX_STR-MATFRGTGRP sy-vline
WA_E1BPE1MARAX_STR-QUARANTINE_PERIOD sy-vline
WA_E1BPE1MARAX_STR-QUARANTINE_PERIOD_UN sy-vline
WA_E1BPE1MARAX_STR-QUARANTINE_PERIOD_UN_ISO sy-vline
WA_E1BPE1MARAX_STR-QUALITY_INSP_GRP sy-vline
WA_E1BPE1MARAX_STR-SERIAL_NUMBER_PROFILE sy-vline
WA_E1BPE1MARAX_STR-EWM_CW_TOLERANCE_GROUP sy-vline
WA_E1BPE1MARAX_STR-EWM_CW_INPUT_CONTROL sy-vline
WA_E1BPE1MARAX_STR-PCKGING_SMARTFORM sy-vline
WA_E1BPE1MARAX_STR-PACOD sy-vline
WA_E1BPE1MARAX_STR-DG_PCKGING_STATUS sy-vline
WA_E1BPE1MARAX_STR-ADJUST_PROFILE sy-vline
WA_E1BPE1MARAX_STR-IPMIPPRODUCT sy-vline
WA_E1BPE1MARAX_STR-MEDIUM sy-vline
WA_E1BPE1MARAX_STR-NSNID sy-vline
WA_E1BPE1MARAX_STR-PHYSICAL_COMMODITY sy-vline
WA_E1BPE1MARAX_STR-SEGMENTATION_STRUCTURE sy-vline
WA_E1BPE1MARAX_STR-SEGMENTATION_STRATEGY sy-vline
WA_E1BPE1MARAX_STR-SEGMENTATION_RELEVANCE sy-vline
WA_E1BPE1MARAX_STR-ANP sy-vline
WA_E1BPE1MARAX_STR-MATERIAL_LONG sy-vline
WA_E1BPE1MARAX_STR-OLD_MAT_NO_LONG sy-vline
WA_E1BPE1MARAX_STR-HAZ_MAT_NO_LONG sy-vline
WA_E1BPE1MARAX_STR-INV_MAT_NO_LONG sy-vline
WA_E1BPE1MARAX_STR-PL_REF_MAT_LONG sy-vline
WA_E1BPE1MARAX_STR-MATURITY_DUR sy-vline
WA_E1BPE1MARAX_STR-SHELF_LIFE_REQ_MIN sy-vline
WA_E1BPE1MARAX_STR-SHELF_LIFE_REQ_MAX sy-vline
WA_E1BPE1MARAX_STR-PUOM sy-vline
WA_E1BPE1MARAX_STR-PUOM_ISO sy-vline
WA_E1BPE1MARAX_STR-CONFIGURABLE_MATERIAL sy-vline
WA_E1BPE1MARAX_STR-KIT_PRODUCT_FLAG sy-vline
WA_E1BPE1MARAX_STR-PRODUCT_PROC_ORDER_FLAG sy-vline
WA_E1BPE1MARAX_STR-SECOND_LEVEL_DEPLMNT_FLAG sy-vline
WA_E1BPE1MARAX_STR-NO_INVENTURY_BALANCING_FLAG sy-vline
WA_E1BPE1MARAX_STR-DRP_GLOBAL_STOCK_ON_ENTRY_LOC sy-vline
WA_E1BPE1MARAX_STR-EXCLUDE_EXPRESS_SHPT_FLAG sy-vline INTO ld_text SEPARATED BY SPACE. *Add any further fields from structure WA_EKKO_STR you want to CONCATENATE... ENDLOOP. ENDFORM.