ABAP Select data from SAP table BBPS_PDEXT_CONF_ITEM_D 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 BBPS_PDEXT_CONF_ITEM_D 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 BBPS_PDEXT_CONF_ITEM_D. 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 BBPS_PDEXT_CONF_ITEM_D 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_BBPS_PDEXT_CONF_ITEM_D TYPE STANDARD TABLE OF BBPS_PDEXT_CONF_ITEM_D,
      WA_BBPS_PDEXT_CONF_ITEM_D TYPE BBPS_PDEXT_CONF_ITEM_D,
      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: <BBPS_PDEXT_CONF_ITEM_D> TYPE BBPS_PDEXT_CONF_ITEM_D.

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

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

*Select data and declare internal table using in-line method @DATA
*SELECT *
*  FROM BBPS_PDEXT_CONF_ITEM_D
*  INTO TABLE @DATA(IT_BBPS_PDEXT_CONF_ITEM_D2).
*--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_BBPS_PDEXT_CONF_ITEM_D INDEX 1 INTO DATA(WA_BBPS_PDEXT_CONF_ITEM_D2).


*Demonstrate how to loop at an internal table and update values using a FIELD-SYMBOL
LOOP AT IT_BBPS_PDEXT_CONF_ITEM_D ASSIGNING <BBPS_PDEXT_CONF_ITEM_D>.
*To update a field value using a field symbol simply change the value via the field symbol pointer
<BBPS_PDEXT_CONF_ITEM_D>-GUID = 1.
<BBPS_PDEXT_CONF_ITEM_D>-PARENT = 1.
<BBPS_PDEXT_CONF_ITEM_D>-ITM_TYPE = 1.
<BBPS_PDEXT_CONF_ITEM_D>-NUMBER_INT = 1.
<BBPS_PDEXT_CONF_ITEM_D>-NUMBER_EXT = 1.
ENDLOOP.

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

*Write selected data to screen/report before conversion.
  WRITE:/ sy-vline,   WA_BBPS_PDEXT_CONF_ITEM_D-PRODUCT, sy-vline,
WA_BBPS_PDEXT_CONF_ITEM_D-DESCRIPTION, sy-vline,
WA_BBPS_PDEXT_CONF_ITEM_D-CATEGORY, sy-vline,
WA_BBPS_PDEXT_CONF_ITEM_D-CATEGORY_ID, sy-vline,
WA_BBPS_PDEXT_CONF_ITEM_D-SCHEMA_TYPE, sy-vline,
WA_BBPS_PDEXT_CONF_ITEM_D-CT_CATEGORY_ID, sy-vline.
ENDLOOP. *Add any further fields from structure WA_BBPS_PDEXT_CONF_ITEM_D 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_BBPS_PDEXT_CONF_ITEM_D 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_BBPS_PDEXT_CONF_ITEM_D INTO WA_BBPS_PDEXT_CONF_ITEM_D. *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 CUNIT, internal->external for field UNIT CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_BBPS_PDEXT_CONF_ITEM_D-UNIT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBPS_PDEXT_CONF_ITEM_D-UNIT.
WRITE:/ 'New Value:', ld_input.

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

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

*Conversion exit GJAHR, internal->external for field BE_REFOBJ_FYEAR2 CALL FUNCTION 'CONVERSION_EXIT_GJAHR_OUTPUT' EXPORTING input = WA_BBPS_PDEXT_CONF_ITEM_D-BE_REFOBJ_FYEAR2 IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBPS_PDEXT_CONF_ITEM_D-BE_REFOBJ_FYEAR2.
WRITE:/ 'New Value:', ld_input.

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

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

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

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

*Conversion exit TSTPS, internal->external for field CREATED_AT CALL FUNCTION 'CONVERSION_EXIT_TSTPS_OUTPUT' EXPORTING input = WA_BBPS_PDEXT_CONF_ITEM_D-CREATED_AT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBPS_PDEXT_CONF_ITEM_D-CREATED_AT.
WRITE:/ 'New Value:', ld_input.

*Conversion exit TSTPS, internal->external for field CHANGED_AT CALL FUNCTION 'CONVERSION_EXIT_TSTPS_OUTPUT' EXPORTING input = WA_BBPS_PDEXT_CONF_ITEM_D-CHANGED_AT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBPS_PDEXT_CONF_ITEM_D-CHANGED_AT.
WRITE:/ 'New Value:', ld_input.

*Conversion exit GTIN1, internal->external for field PRODUCT_GTIN CALL FUNCTION 'CONVERSION_EXIT_GTIN1_OUTPUT' EXPORTING input = WA_BBPS_PDEXT_CONF_ITEM_D-PRODUCT_GTIN IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBPS_PDEXT_CONF_ITEM_D-PRODUCT_GTIN.
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_BBPS_PDEXT_CONF_ITEM_D_STR,
GUID TYPE STRING,
PARENT TYPE STRING,
ITM_TYPE TYPE STRING,
NUMBER_INT TYPE STRING,
NUMBER_EXT TYPE STRING,
PRODUCT TYPE STRING,
DESCRIPTION TYPE STRING,
CATEGORY TYPE STRING,
CATEGORY_ID TYPE STRING,
SCHEMA_TYPE TYPE STRING,
CT_CATEGORY_ID TYPE STRING,
ITM_EX_CT_UN_ID TYPE STRING,
MANU_PROD TYPE STRING,
MFR_NO_EXT TYPE STRING,
CATALOGID TYPE STRING,
CATALOGITEM TYPE STRING,
EXT_QUOTE_ID TYPE STRING,
EXT_QUOTE_ITEM TYPE STRING,
QUANTITY TYPE STRING,
UNIT TYPE STRING,
DEL_IND TYPE STRING,
ORDERED_PROD TYPE STRING,
PRODUCT_SRC_SYS TYPE STRING,
PRICE TYPE STRING,
PRICE_UNIT TYPE STRING,
SUBTYPE TYPE STRING,
CATALOG_PRICE TYPE STRING,
BBP_MOVE_TYPE TYPE STRING,
TAX_CODE TYPE STRING,
FINAL_ENTRY TYPE STRING,
SRC_OBJECT_TYPE TYPE STRING,
SRC_GUID TYPE STRING,
PARTNER_PROD TYPE STRING,
PRODUCT_TYPE TYPE STRING,
CTR_GUID TYPE STRING,
CTR_ITEM_NUMBER TYPE STRING,
CTR_HDR_NUMBER TYPE STRING,
CTR_HDR_GUID TYPE STRING,
PROJECT_ID TYPE STRING,
PROJECT_TASK_ID TYPE STRING,
PROJECT_ROLE_ID TYPE STRING,
BE_LOG_SYSTEM TYPE STRING,
BE_OBJ_ITEM TYPE STRING,
BE_OBJECT_TYPE TYPE STRING,
BE_OBJECT_ID TYPE STRING,
BE_REFOBJ_TYPE TYPE STRING,
BE_REFOBJ TYPE STRING,
BE_REFOBJ_ITEM TYPE STRING,
BE_REFOBJ_SBITM TYPE STRING,
BE_REFOBJ_TYPE2 TYPE STRING,
BE_REFOBJ2 TYPE STRING,
BE_REFOBJ_ITEM2 TYPE STRING,
BE_REFOBJ_FYEAR2 TYPE STRING,
BE_STGE_LOC TYPE STRING,
BE_PLANT TYPE STRING,
BE_BATCH TYPE STRING,
BE_VAL_TYPE TYPE STRING,
BE_MOVE_REAS TYPE STRING,
BE_EXPERYDATE TYPE STRING,
BE_PUR_GROUP TYPE STRING,
BE_PUR_ORG TYPE STRING,
BE_CO_CODE TYPE STRING,
BE_DOC_TYPE TYPE STRING,
BE_ACCREQUIRED TYPE STRING,
BE_SP_STK_IND TYPE STRING,
BE_INFO_REC TYPE STRING,
BE_MOVE_TYPE TYPE STRING,
BE_PACKNO TYPE STRING,
BE_INTROW TYPE STRING,
BE_ITEM_TEXT TYPE STRING,
BE_PO_PRICE TYPE STRING,
BE_UNLOAD_PT TYPE STRING,
BE_DEL_IND TYPE STRING,
BE_TRACKING_NO TYPE STRING,
BE_COND_TYPE TYPE STRING,
BE_COND_STEP TYPE STRING,
BE_COND_COUNTER TYPE STRING,
DCIND TYPE STRING,
DEDUCT_IND TYPE STRING,
VPER_START TYPE STRING,
VPER_END TYPE STRING,
TIME_FROM TYPE STRING,
TIME_TO TYPE STRING,
UOM_DENOMINATOR TYPE STRING,
UOM_NUMERATOR TYPE STRING,
SELECTED TYPE STRING,
COPY_OF_GUID TYPE STRING,
ICC_BR_STEUC TYPE STRING,
ICC_BR_MATUSE TYPE STRING,
ICC_BR_MATORG TYPE STRING,
ICC_BR_OWNPRO TYPE STRING,
ICC_BR_INDUST TYPE STRING,
ICC_IN_TXJCD TYPE STRING,
DUMMY_EEW_PDISS_CONF TYPE STRING,
LAM_QUO_ID TYPE STRING,
LAM_QUO_ITMNO TYPE STRING,
LAM_CTR_ID TYPE STRING,
LAM_CTR_ITMNO TYPE STRING,
LAM_GAID TYPE STRING,
LAM_ASS_PO_ID TYPE STRING,
LAM_EXT_REF1 TYPE STRING,
LAM_EXT_REF2 TYPE STRING,
LAM_TEXT TYPE STRING,
DUMMY_EEW_PDISC_CONF TYPE STRING,
DELIV_DATE TYPE STRING,
REV_LEV TYPE STRING,
SELECTED_FOR_ACTION TYPE STRING,
HEADER TYPE STRING,
CREATED_BY TYPE STRING,
CREATED_AT TYPE STRING,
CHANGED_BY TYPE STRING,
CHANGED_AT TYPE STRING,
DUMMY_EEW_PD_IT_SWD_CONF TYPE STRING,
DUMMY_EEW_PD_IT_CSD_CONF TYPE STRING,
VALUE TYPE STRING,
CURRENCY TYPE STRING,
UNIT_ISO TYPE STRING,
CURRENCY_ISO TYPE STRING,
PRODUCT_GTIN TYPE STRING,
PRICE_EXT TYPE STRING,
VALUE_EXT TYPE STRING,
REF_OBJ_ID_EXT TYPE STRING,
REF_OBJ_ITEM_ID_EXT TYPE STRING,END OF T_EKKO_STR. DATA: WA_BBPS_PDEXT_CONF_ITEM_D_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_BBPS_PDEXT_CONF_ITEM_D_STR-GUID sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-PARENT sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-ITM_TYPE sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-NUMBER_INT sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-NUMBER_EXT sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-PRODUCT sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-DESCRIPTION sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-CATEGORY sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-CATEGORY_ID sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-SCHEMA_TYPE sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-CT_CATEGORY_ID sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-ITM_EX_CT_UN_ID sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-MANU_PROD sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-MFR_NO_EXT sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-CATALOGID sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-CATALOGITEM sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-EXT_QUOTE_ID sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-EXT_QUOTE_ITEM sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-QUANTITY sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-UNIT sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-DEL_IND sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-ORDERED_PROD sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-PRODUCT_SRC_SYS sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-PRICE sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-PRICE_UNIT sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-SUBTYPE sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-CATALOG_PRICE sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BBP_MOVE_TYPE sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-TAX_CODE sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-FINAL_ENTRY sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-SRC_OBJECT_TYPE sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-SRC_GUID sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-PARTNER_PROD sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-PRODUCT_TYPE sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-CTR_GUID sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-CTR_ITEM_NUMBER sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-CTR_HDR_NUMBER sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-CTR_HDR_GUID sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-PROJECT_ID sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-PROJECT_TASK_ID sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-PROJECT_ROLE_ID sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_LOG_SYSTEM sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_OBJ_ITEM sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_OBJECT_TYPE sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_OBJECT_ID sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_REFOBJ_TYPE sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_REFOBJ sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_REFOBJ_ITEM sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_REFOBJ_SBITM sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_REFOBJ_TYPE2 sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_REFOBJ2 sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_REFOBJ_ITEM2 sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_REFOBJ_FYEAR2 sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_STGE_LOC sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_PLANT sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_BATCH sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_VAL_TYPE sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_MOVE_REAS sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_EXPERYDATE sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_PUR_GROUP sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_PUR_ORG sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_CO_CODE sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_DOC_TYPE sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_ACCREQUIRED sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_SP_STK_IND sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_INFO_REC sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_MOVE_TYPE sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_PACKNO sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_INTROW sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_ITEM_TEXT sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_PO_PRICE sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_UNLOAD_PT sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_DEL_IND sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_TRACKING_NO sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_COND_TYPE sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_COND_STEP sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-BE_COND_COUNTER sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-DCIND sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-DEDUCT_IND sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-VPER_START sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-VPER_END sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-TIME_FROM sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-TIME_TO sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-UOM_DENOMINATOR sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-UOM_NUMERATOR sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-SELECTED sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-COPY_OF_GUID sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-ICC_BR_STEUC sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-ICC_BR_MATUSE sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-ICC_BR_MATORG sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-ICC_BR_OWNPRO sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-ICC_BR_INDUST sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-ICC_IN_TXJCD sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-DUMMY_EEW_PDISS_CONF sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-LAM_QUO_ID sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-LAM_QUO_ITMNO sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-LAM_CTR_ID sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-LAM_CTR_ITMNO sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-LAM_GAID sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-LAM_ASS_PO_ID sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-LAM_EXT_REF1 sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-LAM_EXT_REF2 sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-LAM_TEXT sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-DUMMY_EEW_PDISC_CONF sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-DELIV_DATE sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-REV_LEV sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-SELECTED_FOR_ACTION sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-HEADER sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-CREATED_BY sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-CREATED_AT sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-CHANGED_BY sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-CHANGED_AT sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-DUMMY_EEW_PD_IT_SWD_CONF sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-DUMMY_EEW_PD_IT_CSD_CONF sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-VALUE sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-CURRENCY sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-UNIT_ISO sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-CURRENCY_ISO sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-PRODUCT_GTIN sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-PRICE_EXT sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-VALUE_EXT sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-REF_OBJ_ID_EXT sy-vline
WA_BBPS_PDEXT_CONF_ITEM_D_STR-REF_OBJ_ITEM_ID_EXT sy-vline INTO ld_text SEPARATED BY SPACE. *Add any further fields from structure WA_EKKO_STR you want to CONCATENATE... ENDLOOP. ENDFORM.