ABAP Select data from SAP table BAPIEBAN 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 BAPIEBAN 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 BAPIEBAN. 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 BAPIEBAN 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_BAPIEBAN TYPE STANDARD TABLE OF BAPIEBAN,
      WA_BAPIEBAN TYPE BAPIEBAN,
      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: <BAPIEBAN> TYPE BAPIEBAN.

*Process all fields in table header/work area as string values
  PERFORM process_as_string_field_values CHANGING wa_BAPIEBAN.

SELECT *
*restrict ABAP select to first 10 rows
 UP TO 10 ROWS      
  FROM BAPIEBAN
  INTO TABLE IT_BAPIEBAN.

*Select data and declare internal table using in-line method @DATA
*SELECT *
*  FROM BAPIEBAN
*  INTO TABLE @DATA(IT_BAPIEBAN2).
*--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_BAPIEBAN INDEX 1 INTO DATA(WA_BAPIEBAN2).


*Demonstrate how to loop at an internal table and update values using a FIELD-SYMBOL
LOOP AT IT_BAPIEBAN ASSIGNING <BAPIEBAN>.
*To update a field value using a field symbol simply change the value via the field symbol pointer
<BAPIEBAN>-PREQ_NO = 1.
<BAPIEBAN>-PREQ_ITEM = 1.
<BAPIEBAN>-DOC_TYPE = 1.
<BAPIEBAN>-DOC_CAT = 1.
<BAPIEBAN>-CTRL_IND = 1.
ENDLOOP.

LOOP AT IT_BAPIEBAN INTO WA_BAPIEBAN.
*Write horizonal line to screen report.
  WRITE:/ sy-uline.

*Write selected data to screen/report before conversion.
  WRITE:/ sy-vline,   WA_BAPIEBAN-DELETE_IND, sy-vline,
WA_BAPIEBAN-PROC_STAT, sy-vline,
WA_BAPIEBAN-CREATE_IND, sy-vline,
WA_BAPIEBAN-REL_IND, sy-vline,
WA_BAPIEBAN-REL_STATUS, sy-vline,
WA_BAPIEBAN-REL_STRAT, sy-vline.
ENDLOOP. *Add any further fields from structure WA_BAPIEBAN 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_BAPIEBAN 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_BAPIEBAN INTO WA_BAPIEBAN. *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.

*Conversion exit ALPHA, internal->external for field PREQ_NO CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_BAPIEBAN-PREQ_NO IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BAPIEBAN-PREQ_NO.
WRITE:/ 'New Value:', ld_input.

*Conversion exit MATN5, internal->external for field MATERIAL CALL FUNCTION 'CONVERSION_EXIT_MATN5_OUTPUT' EXPORTING input = WA_BAPIEBAN-MATERIAL IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BAPIEBAN-MATERIAL.
WRITE:/ 'New Value:', ld_input.

*Conversion exit MATN5, internal->external for field PUR_MAT CALL FUNCTION 'CONVERSION_EXIT_MATN5_OUTPUT' EXPORTING input = WA_BAPIEBAN-PUR_MAT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BAPIEBAN-PUR_MAT.
WRITE:/ 'New Value:', ld_input.

*Conversion exit CUNIT, internal->external for field UNIT CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_BAPIEBAN-UNIT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BAPIEBAN-UNIT.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field DES_VENDOR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_BAPIEBAN-DES_VENDOR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BAPIEBAN-DES_VENDOR.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field FIXED_VEND CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_BAPIEBAN-FIXED_VEND IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BAPIEBAN-FIXED_VEND.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field AGREEMENT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_BAPIEBAN-AGREEMENT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BAPIEBAN-AGREEMENT.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field INFO_REC CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_BAPIEBAN-INFO_REC IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BAPIEBAN-INFO_REC.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field QUOTA_ARR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_BAPIEBAN-QUOTA_ARR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BAPIEBAN-QUOTA_ARR.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field PO_NUMBER CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_BAPIEBAN-PO_NUMBER IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BAPIEBAN-PO_NUMBER.
WRITE:/ 'New Value:', ld_input.

*Conversion exit CUNIT, internal->external for field PO_UNIT CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_BAPIEBAN-PO_UNIT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BAPIEBAN-PO_UNIT.
WRITE:/ 'New Value:', ld_input.

*Conversion exit NUMCV, internal->external for field REV_LEV CALL FUNCTION 'CONVERSION_EXIT_NUMCV_OUTPUT' EXPORTING input = WA_BAPIEBAN-REV_LEV IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BAPIEBAN-REV_LEV.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field PROMOTION CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_BAPIEBAN-PROMOTION IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BAPIEBAN-PROMOTION.
WRITE:/ 'New Value:', ld_input.

*Conversion exit FMCIS, internal->external for field CMMT_ITEM CALL FUNCTION 'CONVERSION_EXIT_FMCIS_OUTPUT' EXPORTING input = WA_BAPIEBAN-CMMT_ITEM IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BAPIEBAN-CMMT_ITEM.
WRITE:/ 'New Value:', ld_input.

*Conversion exit MATN5, internal->external for field CONF_MATL CALL FUNCTION 'CONVERSION_EXIT_MATN5_OUTPUT' EXPORTING input = WA_BAPIEBAN-CONF_MATL IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BAPIEBAN-CONF_MATL.
WRITE:/ 'New Value:', ld_input.

*Conversion exit CUNIT, internal->external for field PREQ_UNIT CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_BAPIEBAN-PREQ_UNIT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BAPIEBAN-PREQ_UNIT.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field MFR_NO CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_BAPIEBAN-MFR_NO IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BAPIEBAN-MFR_NO.
WRITE:/ 'New Value:', ld_input.

*Conversion exit MATNL, internal->external for field MATERIAL_EXTERNAL CALL FUNCTION 'CONVERSION_EXIT_MATNL_OUTPUT' EXPORTING input = WA_BAPIEBAN-MATERIAL_EXTERNAL IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BAPIEBAN-MATERIAL_EXTERNAL.
WRITE:/ 'New Value:', ld_input.

*Conversion exit MATNW, internal->external for field MATERIAL_VERSION CALL FUNCTION 'CONVERSION_EXIT_MATNW_OUTPUT' EXPORTING input = WA_BAPIEBAN-MATERIAL_VERSION IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BAPIEBAN-MATERIAL_VERSION.
WRITE:/ 'New Value:', ld_input.

*Conversion exit MATNL, internal->external for field PUR_MAT_EXTERNAL CALL FUNCTION 'CONVERSION_EXIT_MATNL_OUTPUT' EXPORTING input = WA_BAPIEBAN-PUR_MAT_EXTERNAL IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BAPIEBAN-PUR_MAT_EXTERNAL.
WRITE:/ 'New Value:', ld_input.

*Conversion exit MATNW, internal->external for field PUR_MAT_VERSION CALL FUNCTION 'CONVERSION_EXIT_MATNW_OUTPUT' EXPORTING input = WA_BAPIEBAN-PUR_MAT_VERSION IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BAPIEBAN-PUR_MAT_VERSION.
WRITE:/ 'New Value:', ld_input.

*Conversion exit MATNL, internal->external for field CONF_MATL_EXTERNAL CALL FUNCTION 'CONVERSION_EXIT_MATNL_OUTPUT' EXPORTING input = WA_BAPIEBAN-CONF_MATL_EXTERNAL IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BAPIEBAN-CONF_MATL_EXTERNAL.
WRITE:/ 'New Value:', ld_input.

*Conversion exit MATNW, internal->external for field CONF_MATL_VERSION CALL FUNCTION 'CONVERSION_EXIT_MATNW_OUTPUT' EXPORTING input = WA_BAPIEBAN-CONF_MATL_VERSION IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BAPIEBAN-CONF_MATL_VERSION.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field GRANT_NBR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_BAPIEBAN-GRANT_NBR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BAPIEBAN-GRANT_NBR.
WRITE:/ 'New Value:', ld_input.

*Conversion exit FMCIL, internal->external for field CMMT_ITEM_LONG CALL FUNCTION 'CONVERSION_EXIT_FMCIL_OUTPUT' EXPORTING input = WA_BAPIEBAN-CMMT_ITEM_LONG IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BAPIEBAN-CMMT_ITEM_LONG.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field RES_DOC CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_BAPIEBAN-RES_DOC IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BAPIEBAN-RES_DOC.
WRITE:/ 'New Value:', ld_input.

*Conversion exit MATN1, internal->external for field MATERIAL_LONG CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = WA_BAPIEBAN-MATERIAL_LONG IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BAPIEBAN-MATERIAL_LONG.
WRITE:/ 'New Value:', ld_input.

*Conversion exit MATN1, internal->external for field PUR_MAT_LONG CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = WA_BAPIEBAN-PUR_MAT_LONG IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BAPIEBAN-PUR_MAT_LONG.
WRITE:/ 'New Value:', ld_input.

*Conversion exit MATN1, internal->external for field CONF_MATL_LONG CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = WA_BAPIEBAN-CONF_MATL_LONG IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BAPIEBAN-CONF_MATL_LONG.
WRITE:/ 'New Value:', ld_input.
ENDFORM. *&---------------------------------------------------------------------* *& Form process_as_string_field_values *&---------------------------------------------------------------------* FORM process_as_string_field_values CHANGING p_EKKO LIKE wa_EKKO. TYPES: BEGIN OF T_BAPIEBAN_STR,
PREQ_NO TYPE STRING,
PREQ_ITEM TYPE STRING,
DOC_TYPE TYPE STRING,
DOC_CAT TYPE STRING,
CTRL_IND TYPE STRING,
DELETE_IND TYPE STRING,
PROC_STAT TYPE STRING,
CREATE_IND TYPE STRING,
REL_IND TYPE STRING,
REL_STATUS TYPE STRING,
REL_STRAT TYPE STRING,
PUR_GROUP TYPE STRING,
CREATED_BY TYPE STRING,
CH_ON TYPE STRING,
PREQ_NAME TYPE STRING,
SHORT_TEXT TYPE STRING,
MATERIAL TYPE STRING,
PUR_MAT TYPE STRING,
PLANT TYPE STRING,
STORE_LOC TYPE STRING,
TRACKINGNO TYPE STRING,
MAT_GRP TYPE STRING,
SUPPL_PLNT TYPE STRING,
QUANTITY TYPE STRING,
UNIT TYPE STRING,
SHORTAGE TYPE STRING,
PREQ_DATE TYPE STRING,
DEL_DATCAT TYPE STRING,
DELIV_DATE TYPE STRING,
REL_DATE TYPE STRING,
GR_PR_TIME TYPE STRING,
C_AMT_BAPI TYPE STRING,
PRICE_UNIT TYPE STRING,
ITEM_CAT TYPE STRING,
ACCTASSCAT TYPE STRING,
CONSUMPT TYPE STRING,
CHANGEABLE TYPE STRING,
DISTRIB TYPE STRING,
PART_INV TYPE STRING,
GR_IND TYPE STRING,
GR_NON_VAL TYPE STRING,
IR_IND TYPE STRING,
DES_VENDOR TYPE STRING,
FIXED_VEND TYPE STRING,
PURCH_ORG TYPE STRING,
AGREEMENT TYPE STRING,
AGMT_ITEM TYPE STRING,
INFO_REC TYPE STRING,
ASSIGNED TYPE STRING,
QUOTA_ARR TYPE STRING,
QUOTARRITM TYPE STRING,
MRP_CONTR TYPE STRING,
BOMEXPL_NO TYPE STRING,
LAST_RESUB TYPE STRING,
RESUBMIS TYPE STRING,
NO_RESUB TYPE STRING,
PO_NUMBER TYPE STRING,
PO_ITEM TYPE STRING,
PO_DATE TYPE STRING,
ORDERED TYPE STRING,
VAL_TYPE TYPE STRING,
COMMITMENT TYPE STRING,
CLOSED TYPE STRING,
RESERV_NO TYPE STRING,
SPEC_STOCK TYPE STRING,
SETRESERNO TYPE STRING,
SETTLITMNO TYPE STRING,
FIXED TYPE STRING,
PO_UNIT TYPE STRING,
REV_LEV TYPE STRING,
ADVANCE TYPE STRING,
PCKG_NO TYPE STRING,
KANBAN_IND TYPE STRING,
PO_PRICE TYPE STRING,
INT_OBJ_NO TYPE STRING,
REL_GROUP TYPE STRING,
SUBJ_TO_R TYPE STRING,
PROMOTION TYPE STRING,
BATCH TYPE STRING,
SPSTCK_PHY TYPE STRING,
VERSION TYPE STRING,
CMMT_ITEM TYPE STRING,
FOUND_CTR TYPE STRING,
FUND TYPE STRING,
CONFIG_ORG TYPE STRING,
CONF_MATL TYPE STRING,
CMMTTD_QTY TYPE STRING,
CMMTTDDATE TYPE STRING,
CHANGE_ID TYPE STRING,
CURRENCY TYPE STRING,
PREQ_UNIT TYPE STRING,
GR_QTY TYPE STRING,
RES_REQ_ID TYPE STRING,
VEND_MAT TYPE STRING,
MANUF_PROF TYPE STRING,
MANU_MAT TYPE STRING,
MFR_NO TYPE STRING,
MFR_NO_EXT TYPE STRING,
DEL_DATCAT_EXT TYPE STRING,
CURRENCY_ISO TYPE STRING,
ITEM_CAT_EXT TYPE STRING,
PREQ_UNIT_ISO TYPE STRING,
PO_UNIT_ISO TYPE STRING,
GENERAL_RELEASE TYPE STRING,
MATERIAL_EXTERNAL TYPE STRING,
MATERIAL_GUID TYPE STRING,
MATERIAL_VERSION TYPE STRING,
PUR_MAT_EXTERNAL TYPE STRING,
PUR_MAT_GUID TYPE STRING,
PUR_MAT_VERSION TYPE STRING,
CONF_MATL_EXTERNAL TYPE STRING,
CONF_MATL_GUID TYPE STRING,
CONF_MATL_VERSION TYPE STRING,
GRANT_NBR TYPE STRING,
CMMT_ITEM_LONG TYPE STRING,
FUNC_AREA_LONG TYPE STRING,
REQ_BLOCKED TYPE STRING,
REASON_BLOCKING TYPE STRING,
PROCURING_PLANT TYPE STRING,
RES_DOC TYPE STRING,
RES_ITEM TYPE STRING,
FUNC_AREA TYPE STRING,
FUND_LONG TYPE STRING,
BUDGET_PERIOD TYPE STRING,
FMFGUS_KEY TYPE STRING,
MATERIAL_LONG TYPE STRING,
PUR_MAT_LONG TYPE STRING,
CONF_MATL_LONG TYPE STRING,END OF T_EKKO_STR. DATA: WA_BAPIEBAN_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_BAPIEBAN_STR-PREQ_NO sy-vline
WA_BAPIEBAN_STR-PREQ_ITEM sy-vline
WA_BAPIEBAN_STR-DOC_TYPE sy-vline
WA_BAPIEBAN_STR-DOC_CAT sy-vline
WA_BAPIEBAN_STR-CTRL_IND sy-vline
WA_BAPIEBAN_STR-DELETE_IND sy-vline
WA_BAPIEBAN_STR-PROC_STAT sy-vline
WA_BAPIEBAN_STR-CREATE_IND sy-vline
WA_BAPIEBAN_STR-REL_IND sy-vline
WA_BAPIEBAN_STR-REL_STATUS sy-vline
WA_BAPIEBAN_STR-REL_STRAT sy-vline
WA_BAPIEBAN_STR-PUR_GROUP sy-vline
WA_BAPIEBAN_STR-CREATED_BY sy-vline
WA_BAPIEBAN_STR-CH_ON sy-vline
WA_BAPIEBAN_STR-PREQ_NAME sy-vline
WA_BAPIEBAN_STR-SHORT_TEXT sy-vline
WA_BAPIEBAN_STR-MATERIAL sy-vline
WA_BAPIEBAN_STR-PUR_MAT sy-vline
WA_BAPIEBAN_STR-PLANT sy-vline
WA_BAPIEBAN_STR-STORE_LOC sy-vline
WA_BAPIEBAN_STR-TRACKINGNO sy-vline
WA_BAPIEBAN_STR-MAT_GRP sy-vline
WA_BAPIEBAN_STR-SUPPL_PLNT sy-vline
WA_BAPIEBAN_STR-QUANTITY sy-vline
WA_BAPIEBAN_STR-UNIT sy-vline
WA_BAPIEBAN_STR-SHORTAGE sy-vline
WA_BAPIEBAN_STR-PREQ_DATE sy-vline
WA_BAPIEBAN_STR-DEL_DATCAT sy-vline
WA_BAPIEBAN_STR-DELIV_DATE sy-vline
WA_BAPIEBAN_STR-REL_DATE sy-vline
WA_BAPIEBAN_STR-GR_PR_TIME sy-vline
WA_BAPIEBAN_STR-C_AMT_BAPI sy-vline
WA_BAPIEBAN_STR-PRICE_UNIT sy-vline
WA_BAPIEBAN_STR-ITEM_CAT sy-vline
WA_BAPIEBAN_STR-ACCTASSCAT sy-vline
WA_BAPIEBAN_STR-CONSUMPT sy-vline
WA_BAPIEBAN_STR-CHANGEABLE sy-vline
WA_BAPIEBAN_STR-DISTRIB sy-vline
WA_BAPIEBAN_STR-PART_INV sy-vline
WA_BAPIEBAN_STR-GR_IND sy-vline
WA_BAPIEBAN_STR-GR_NON_VAL sy-vline
WA_BAPIEBAN_STR-IR_IND sy-vline
WA_BAPIEBAN_STR-DES_VENDOR sy-vline
WA_BAPIEBAN_STR-FIXED_VEND sy-vline
WA_BAPIEBAN_STR-PURCH_ORG sy-vline
WA_BAPIEBAN_STR-AGREEMENT sy-vline
WA_BAPIEBAN_STR-AGMT_ITEM sy-vline
WA_BAPIEBAN_STR-INFO_REC sy-vline
WA_BAPIEBAN_STR-ASSIGNED sy-vline
WA_BAPIEBAN_STR-QUOTA_ARR sy-vline
WA_BAPIEBAN_STR-QUOTARRITM sy-vline
WA_BAPIEBAN_STR-MRP_CONTR sy-vline
WA_BAPIEBAN_STR-BOMEXPL_NO sy-vline
WA_BAPIEBAN_STR-LAST_RESUB sy-vline
WA_BAPIEBAN_STR-RESUBMIS sy-vline
WA_BAPIEBAN_STR-NO_RESUB sy-vline
WA_BAPIEBAN_STR-PO_NUMBER sy-vline
WA_BAPIEBAN_STR-PO_ITEM sy-vline
WA_BAPIEBAN_STR-PO_DATE sy-vline
WA_BAPIEBAN_STR-ORDERED sy-vline
WA_BAPIEBAN_STR-VAL_TYPE sy-vline
WA_BAPIEBAN_STR-COMMITMENT sy-vline
WA_BAPIEBAN_STR-CLOSED sy-vline
WA_BAPIEBAN_STR-RESERV_NO sy-vline
WA_BAPIEBAN_STR-SPEC_STOCK sy-vline
WA_BAPIEBAN_STR-SETRESERNO sy-vline
WA_BAPIEBAN_STR-SETTLITMNO sy-vline
WA_BAPIEBAN_STR-FIXED sy-vline
WA_BAPIEBAN_STR-PO_UNIT sy-vline
WA_BAPIEBAN_STR-REV_LEV sy-vline
WA_BAPIEBAN_STR-ADVANCE sy-vline
WA_BAPIEBAN_STR-PCKG_NO sy-vline
WA_BAPIEBAN_STR-KANBAN_IND sy-vline
WA_BAPIEBAN_STR-PO_PRICE sy-vline
WA_BAPIEBAN_STR-INT_OBJ_NO sy-vline
WA_BAPIEBAN_STR-REL_GROUP sy-vline
WA_BAPIEBAN_STR-SUBJ_TO_R sy-vline
WA_BAPIEBAN_STR-PROMOTION sy-vline
WA_BAPIEBAN_STR-BATCH sy-vline
WA_BAPIEBAN_STR-SPSTCK_PHY sy-vline
WA_BAPIEBAN_STR-VERSION sy-vline
WA_BAPIEBAN_STR-CMMT_ITEM sy-vline
WA_BAPIEBAN_STR-FOUND_CTR sy-vline
WA_BAPIEBAN_STR-FUND sy-vline
WA_BAPIEBAN_STR-CONFIG_ORG sy-vline
WA_BAPIEBAN_STR-CONF_MATL sy-vline
WA_BAPIEBAN_STR-CMMTTD_QTY sy-vline
WA_BAPIEBAN_STR-CMMTTDDATE sy-vline
WA_BAPIEBAN_STR-CHANGE_ID sy-vline
WA_BAPIEBAN_STR-CURRENCY sy-vline
WA_BAPIEBAN_STR-PREQ_UNIT sy-vline
WA_BAPIEBAN_STR-GR_QTY sy-vline
WA_BAPIEBAN_STR-RES_REQ_ID sy-vline
WA_BAPIEBAN_STR-VEND_MAT sy-vline
WA_BAPIEBAN_STR-MANUF_PROF sy-vline
WA_BAPIEBAN_STR-MANU_MAT sy-vline
WA_BAPIEBAN_STR-MFR_NO sy-vline
WA_BAPIEBAN_STR-MFR_NO_EXT sy-vline
WA_BAPIEBAN_STR-DEL_DATCAT_EXT sy-vline
WA_BAPIEBAN_STR-CURRENCY_ISO sy-vline
WA_BAPIEBAN_STR-ITEM_CAT_EXT sy-vline
WA_BAPIEBAN_STR-PREQ_UNIT_ISO sy-vline
WA_BAPIEBAN_STR-PO_UNIT_ISO sy-vline
WA_BAPIEBAN_STR-GENERAL_RELEASE sy-vline
WA_BAPIEBAN_STR-MATERIAL_EXTERNAL sy-vline
WA_BAPIEBAN_STR-MATERIAL_GUID sy-vline
WA_BAPIEBAN_STR-MATERIAL_VERSION sy-vline
WA_BAPIEBAN_STR-PUR_MAT_EXTERNAL sy-vline
WA_BAPIEBAN_STR-PUR_MAT_GUID sy-vline
WA_BAPIEBAN_STR-PUR_MAT_VERSION sy-vline
WA_BAPIEBAN_STR-CONF_MATL_EXTERNAL sy-vline
WA_BAPIEBAN_STR-CONF_MATL_GUID sy-vline
WA_BAPIEBAN_STR-CONF_MATL_VERSION sy-vline
WA_BAPIEBAN_STR-GRANT_NBR sy-vline
WA_BAPIEBAN_STR-CMMT_ITEM_LONG sy-vline
WA_BAPIEBAN_STR-FUNC_AREA_LONG sy-vline
WA_BAPIEBAN_STR-REQ_BLOCKED sy-vline
WA_BAPIEBAN_STR-REASON_BLOCKING sy-vline
WA_BAPIEBAN_STR-PROCURING_PLANT sy-vline
WA_BAPIEBAN_STR-RES_DOC sy-vline
WA_BAPIEBAN_STR-RES_ITEM sy-vline
WA_BAPIEBAN_STR-FUNC_AREA sy-vline
WA_BAPIEBAN_STR-FUND_LONG sy-vline
WA_BAPIEBAN_STR-BUDGET_PERIOD sy-vline
WA_BAPIEBAN_STR-FMFGUS_KEY sy-vline
WA_BAPIEBAN_STR-MATERIAL_LONG sy-vline
WA_BAPIEBAN_STR-PUR_MAT_LONG sy-vline
WA_BAPIEBAN_STR-CONF_MATL_LONG sy-vline INTO ld_text SEPARATED BY SPACE. *Add any further fields from structure WA_EKKO_STR you want to CONCATENATE... ENDLOOP. ENDFORM.