ABAP Select data from SAP table BBP_PDS_CTR_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 BBP_PDS_CTR_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 BBP_PDS_CTR_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 BBP_PDS_CTR_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_BBP_PDS_CTR_ITEM_D TYPE STANDARD TABLE OF BBP_PDS_CTR_ITEM_D,
      WA_BBP_PDS_CTR_ITEM_D TYPE BBP_PDS_CTR_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: <BBP_PDS_CTR_ITEM_D> TYPE BBP_PDS_CTR_ITEM_D.

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

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

*Select data and declare internal table using in-line method @DATA
*SELECT *
*  FROM BBP_PDS_CTR_ITEM_D
*  INTO TABLE @DATA(IT_BBP_PDS_CTR_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_BBP_PDS_CTR_ITEM_D INDEX 1 INTO DATA(WA_BBP_PDS_CTR_ITEM_D2).


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

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

*Write selected data to screen/report before conversion.
  WRITE:/ sy-vline,   WA_BBP_PDS_CTR_ITEM_D-PRODUCT, sy-vline,
WA_BBP_PDS_CTR_ITEM_D-DESCRIPTION, sy-vline,
WA_BBP_PDS_CTR_ITEM_D-CATEGORY, sy-vline,
WA_BBP_PDS_CTR_ITEM_D-CATEGORY_ID, sy-vline,
WA_BBP_PDS_CTR_ITEM_D-SCHEMA_TYPE, sy-vline,
WA_BBP_PDS_CTR_ITEM_D-CT_CATEGORY_ID, sy-vline.
ENDLOOP. *Add any further fields from structure WA_BBP_PDS_CTR_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_BBP_PDS_CTR_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_BBP_PDS_CTR_ITEM_D INTO WA_BBP_PDS_CTR_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_BBP_PDS_CTR_ITEM_D-UNIT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBP_PDS_CTR_ITEM_D-UNIT.
WRITE:/ 'New Value:', ld_input.

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

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

*Conversion exit NUMCV, internal->external for field REV_LEV CALL FUNCTION 'CONVERSION_EXIT_NUMCV_OUTPUT' EXPORTING input = WA_BBP_PDS_CTR_ITEM_D-REV_LEV IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBP_PDS_CTR_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_BBP_PDS_CTR_ITEM_D-CREATED_AT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBP_PDS_CTR_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_BBP_PDS_CTR_ITEM_D-CHANGED_AT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBP_PDS_CTR_ITEM_D-CHANGED_AT.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field PS_EMF_DOC_NUMBER CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_BBP_PDS_CTR_ITEM_D-PS_EMF_DOC_NUMBER IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBP_PDS_CTR_ITEM_D-PS_EMF_DOC_NUMBER.
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_BBP_PDS_CTR_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,
PRODUCT_TYPE TYPE STRING,
PARTNER_PROD TYPE STRING,
VALUE TYPE STRING,
SRC_OBJECT_TYPE TYPE STRING,
SRC_ITM_ID TYPE STRING,
SRC_LOG_SYS TYPE STRING,
SRC_GUID TYPE STRING,
ITM_RELEASED TYPE STRING,
DELIV_DAYS TYPE STRING,
INCOTERM_KEY TYPE STRING,
INCOTERM_LOC TYPE STRING,
SELECTED_FOR_ACTION TYPE STRING,
COPY_OF_GUID TYPE STRING,
MIN_ORDER_VALUE TYPE STRING,
MIN_ORDER_QUAN TYPE STRING,
CO_CODE TYPE STRING,
LOGSYS_FI TYPE STRING,
GUARANTEED_MIN TYPE STRING,
UOM_DENOMINATOR TYPE STRING,
UOM_NUMERATOR TYPE STRING,
DUMMY_EEW_PDISS_CTR TYPE STRING,
PS_HL_ITEM TYPE STRING,
PS_HANDLE_ITM TYPE STRING,
PS_EXSNR TYPE STRING,
PS_CTRL_KEY TYPE STRING,
PS_IPT TYPE STRING,
PS_VALUE_RU TYPE STRING,
PS_EXLIN_IND TYPE STRING,
PS_EXT_IND_STATE TYPE STRING,
APCGK TYPE STRING,
APCGK_EXTEND TYPE STRING,
BAS_DATE TYPE STRING,
ADATTYP TYPE STRING,
START_DAT TYPE STRING,
DEV TYPE STRING,
INDANX TYPE STRING,
LIMIT_DAT TYPE STRING,
NUMERATOR TYPE STRING,
PS_TAX_CODE TYPE STRING,
PS_CLOSEOUT TYPE STRING,
PS_GM_NO_EMF TYPE STRING,
PS_GM_CLOSED TYPE STRING,
PS_IDC_TYPE TYPE STRING,
PS_IDC_MIN_VAL TYPE STRING,
PS_IDC_MIN_QTY TYPE STRING,
PS_MQP_I_DAY_BID TYPE STRING,
PS_MQP_I_QUA_BID TYPE STRING,
PS_MQP_F_DAY_BID TYPE STRING,
PS_MQP_F_QUA_BID TYPE STRING,
PS_MQP_I_DAYS TYPE STRING,
PS_MQP_I_QUAN TYPE STRING,
PS_MQP_F_DAYS TYPE STRING,
PS_MQP_F_QUAN TYPE STRING,
PS_ORIG_ACCEPT TYPE STRING,
PS_POP TYPE STRING,
PS_POP_STATUS TYPE STRING,
PS_REF_GUID TYPE STRING,
PS_POP_SET TYPE STRING,
OPT_IND TYPE STRING,
OPT_STATUS TYPE STRING,
OPT_XPER_START TYPE STRING,
OPT_XPER_END TYPE STRING,
OPT_REF_GUID TYPE STRING,
PS_OPT_RF_NUM_INT TYPE STRING,
PS_OPT_RF_DESC TYPE STRING,
PS_OPT_RF_ORD_PROD TYPE STRING,
PS_OPT_RF_EXLIN TYPE STRING,
PS_OPT_IND_DISP TYPE STRING,
PS_PA_ID TYPE STRING,
PS_PA_GS_BLW TYPE STRING,
PS_PA_GS_ABV TYPE STRING,
PS_PA_NSP_IND TYPE STRING,
PS_PA_COTR_SHR_ABV TYPE STRING,
PS_PA_COTR_SHR_BLW TYPE STRING,
PS_PHASED_DEL TYPE STRING,
OPT_POP_START TYPE STRING,
OPT_POP_END TYPE STRING,
PS_PRIO_CODE TYPE STRING,
PS_FP_EXCPE TYPE STRING,
PS_FAST_PAY TYPE STRING,
PS_REASON_CODE TYPE STRING,
PS_MAX_QTY TYPE STRING,
PS_MAX_VALUE TYPE STRING,
PS_VENDOR_MLTPL TYPE STRING,
PS_SUBCON_ITEM TYPE STRING,
PS_TH_NOT_REL TYPE STRING,
PS_TH_TYPE TYPE STRING,
PS_TH_NUMBER TYPE STRING,
PS_TH_AVAIL_AMT TYPE STRING,
PS_TH_CURRENCY TYPE STRING,
PS_US01 TYPE STRING,
PS_US02 TYPE STRING,
PS_US03 TYPE STRING,
PS_US04 TYPE STRING,
PS_US05 TYPE STRING,
PS_US06 TYPE STRING,
PS_US07 TYPE STRING,
PS_US08 TYPE STRING,
PS_US09 TYPE STRING,
PS_US10 TYPE STRING,
PS_US01_DATE TYPE STRING,
PS_US02_DATE TYPE STRING,
PS_US03_DATE TYPE STRING,
PS_US04_DATE TYPE STRING,
PS_US05_DATE TYPE STRING,
PS_US06_DATE TYPE STRING,
PS_US07_DATE TYPE STRING,
PS_US08_DATE TYPE STRING,
PS_US09_DATE TYPE STRING,
PS_US10_DATE TYPE STRING,
PS_USER_STATUS TYPE STRING,
PS_DESCRIPTION TYPE STRING,
PS_DATE TYPE STRING,
PS_WH_PRCNT TYPE STRING,
PS_WH_IND_PA 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_BR_TAXCODE TYPE STRING,
ICC_BR_TAXAMT TYPE STRING,
ICC_BR_TAXDES TYPE STRING,
DUMMY_EEW_PDISC_CTR TYPE STRING,
TAR_IVAL TYPE STRING,
TAR_QTY TYPE STRING,
CATALOG_IND TYPE STRING,
PMNTTRMS TYPE STRING,
CURRENCY TYPE STRING,
ITEM_PROCESS_TYP TYPE STRING,
EXLIN TYPE STRING,
REV_LEV TYPE STRING,
BLK_LOCAL_SRC TYPE STRING,
DISTRIBUTION_FLAG TYPE STRING,
GROUPING_LEVEL TYPE STRING,
LUMP_SUM_IND TYPE STRING,
EXPSV_ITEM_TYPE TYPE STRING,
PARENT_ITEM_ID TYPE STRING,
ORIG_GUID TYPE STRING,
VAL_PO_E TYPE STRING,
QUAN_PO_E 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_CTR TYPE STRING,
PS_EMF_INITIAL_AMOUNT TYPE STRING,
PS_EMF_USED_AMOUNT TYPE STRING,
PS_EMF_OPEN_AMOUNT TYPE STRING,
PS_EMF_CREATE_DATE TYPE STRING,
PS_EMF_REVAL_DATE TYPE STRING,
PS_EMF_DOC_NUMBER TYPE STRING,
PS_GUARANT_MIN_PO TYPE STRING,
PS_TH_TYPE_DESC TYPE STRING,
PS_TH_NUM_DESC TYPE STRING,
PS_TH_AVAIL_AMT_D TYPE STRING,
PS_TH_CURRENCY_D TYPE STRING,
DUMMY_EEW_PD_IT_CSD_CTR TYPE STRING,
ACTIVE_ITEM TYPE STRING,
VERSION_TYPE TYPE STRING,END OF T_EKKO_STR. DATA: WA_BBP_PDS_CTR_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_BBP_PDS_CTR_ITEM_D_STR-GUID sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PARENT sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-ITM_TYPE sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-NUMBER_INT sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-NUMBER_EXT sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PRODUCT sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-DESCRIPTION sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-CATEGORY sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-CATEGORY_ID sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-SCHEMA_TYPE sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-CT_CATEGORY_ID sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-ITM_EX_CT_UN_ID sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-MANU_PROD sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-MFR_NO_EXT sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-CATALOGID sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-CATALOGITEM sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-EXT_QUOTE_ID sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-EXT_QUOTE_ITEM sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-QUANTITY sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-UNIT sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-DEL_IND sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-ORDERED_PROD sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PRODUCT_SRC_SYS sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PRICE sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PRICE_UNIT sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-SUBTYPE sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PRODUCT_TYPE sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PARTNER_PROD sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-VALUE sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-SRC_OBJECT_TYPE sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-SRC_ITM_ID sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-SRC_LOG_SYS sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-SRC_GUID sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-ITM_RELEASED sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-DELIV_DAYS sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-INCOTERM_KEY sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-INCOTERM_LOC sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-SELECTED_FOR_ACTION sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-COPY_OF_GUID sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-MIN_ORDER_VALUE sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-MIN_ORDER_QUAN sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-CO_CODE sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-LOGSYS_FI sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-GUARANTEED_MIN sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-UOM_DENOMINATOR sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-UOM_NUMERATOR sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-DUMMY_EEW_PDISS_CTR sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_HL_ITEM sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_HANDLE_ITM sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_EXSNR sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_CTRL_KEY sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_IPT sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_VALUE_RU sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_EXLIN_IND sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_EXT_IND_STATE sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-APCGK sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-APCGK_EXTEND sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-BAS_DATE sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-ADATTYP sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-START_DAT sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-DEV sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-INDANX sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-LIMIT_DAT sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-NUMERATOR sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_TAX_CODE sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_CLOSEOUT sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_GM_NO_EMF sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_GM_CLOSED sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_IDC_TYPE sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_IDC_MIN_VAL sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_IDC_MIN_QTY sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_MQP_I_DAY_BID sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_MQP_I_QUA_BID sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_MQP_F_DAY_BID sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_MQP_F_QUA_BID sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_MQP_I_DAYS sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_MQP_I_QUAN sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_MQP_F_DAYS sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_MQP_F_QUAN sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_ORIG_ACCEPT sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_POP sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_POP_STATUS sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_REF_GUID sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_POP_SET sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-OPT_IND sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-OPT_STATUS sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-OPT_XPER_START sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-OPT_XPER_END sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-OPT_REF_GUID sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_OPT_RF_NUM_INT sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_OPT_RF_DESC sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_OPT_RF_ORD_PROD sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_OPT_RF_EXLIN sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_OPT_IND_DISP sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_PA_ID sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_PA_GS_BLW sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_PA_GS_ABV sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_PA_NSP_IND sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_PA_COTR_SHR_ABV sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_PA_COTR_SHR_BLW sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_PHASED_DEL sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-OPT_POP_START sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-OPT_POP_END sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_PRIO_CODE sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_FP_EXCPE sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_FAST_PAY sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_REASON_CODE sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_MAX_QTY sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_MAX_VALUE sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_VENDOR_MLTPL sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_SUBCON_ITEM sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_TH_NOT_REL sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_TH_TYPE sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_TH_NUMBER sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_TH_AVAIL_AMT sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_TH_CURRENCY sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_US01 sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_US02 sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_US03 sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_US04 sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_US05 sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_US06 sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_US07 sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_US08 sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_US09 sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_US10 sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_US01_DATE sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_US02_DATE sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_US03_DATE sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_US04_DATE sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_US05_DATE sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_US06_DATE sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_US07_DATE sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_US08_DATE sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_US09_DATE sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_US10_DATE sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_USER_STATUS sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_DESCRIPTION sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_DATE sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_WH_PRCNT sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_WH_IND_PA sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-ICC_BR_STEUC sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-ICC_BR_MATUSE sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-ICC_BR_MATORG sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-ICC_BR_OWNPRO sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-ICC_BR_INDUST sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-ICC_BR_TAXCODE sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-ICC_BR_TAXAMT sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-ICC_BR_TAXDES sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-DUMMY_EEW_PDISC_CTR sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-TAR_IVAL sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-TAR_QTY sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-CATALOG_IND sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PMNTTRMS sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-CURRENCY sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-ITEM_PROCESS_TYP sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-EXLIN sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-REV_LEV sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-BLK_LOCAL_SRC sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-DISTRIBUTION_FLAG sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-GROUPING_LEVEL sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-LUMP_SUM_IND sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-EXPSV_ITEM_TYPE sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PARENT_ITEM_ID sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-ORIG_GUID sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-VAL_PO_E sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-QUAN_PO_E sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-HEADER sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-CREATED_BY sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-CREATED_AT sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-CHANGED_BY sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-CHANGED_AT sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-DUMMY_EEW_PD_IT_SWD_CTR sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_EMF_INITIAL_AMOUNT sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_EMF_USED_AMOUNT sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_EMF_OPEN_AMOUNT sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_EMF_CREATE_DATE sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_EMF_REVAL_DATE sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_EMF_DOC_NUMBER sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_GUARANT_MIN_PO sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_TH_TYPE_DESC sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_TH_NUM_DESC sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_TH_AVAIL_AMT_D sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-PS_TH_CURRENCY_D sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-DUMMY_EEW_PD_IT_CSD_CTR sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-ACTIVE_ITEM sy-vline
WA_BBP_PDS_CTR_ITEM_D_STR-VERSION_TYPE sy-vline INTO ld_text SEPARATED BY SPACE. *Add any further fields from structure WA_EKKO_STR you want to CONCATENATE... ENDLOOP. ENDFORM.