ABAP Select data from SAP table BBP_IV_ITEM 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_IV_ITEM 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_IV_ITEM. 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_IV_ITEM 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_IV_ITEM TYPE STANDARD TABLE OF BBP_IV_ITEM, WA_BBP_IV_ITEM TYPE BBP_IV_ITEM, 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_IV_ITEM> TYPE BBP_IV_ITEM. *Process all fields in table header/work area as string values PERFORM process_as_string_field_values CHANGING wa_BBP_IV_ITEM. SELECT * *restrict ABAP select to first 10 rows UP TO 10 ROWS FROM BBP_IV_ITEM INTO TABLE IT_BBP_IV_ITEM. *Select data and declare internal table using in-line method @DATA *SELECT * * FROM BBP_IV_ITEM * INTO TABLE @DATA(IT_BBP_IV_ITEM2). *--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_IV_ITEM INDEX 1 INTO DATA(WA_BBP_IV_ITEM2). *Demonstrate how to loop at an internal table and update values using a FIELD-SYMBOL LOOP AT IT_BBP_IV_ITEM ASSIGNING <BBP_IV_ITEM>.*To update a field value using a field symbol simply change the value via the field symbol pointer
<BBP_IV_ITEM>-GUID = 1.
<BBP_IV_ITEM>-PARENT = 1.
<BBP_IV_ITEM>-ITM_TYPE = 1.
<BBP_IV_ITEM>-NUMBER_INT = 1.
<BBP_IV_ITEM>-NUMBER_EXT = 1.
ENDLOOP. LOOP AT IT_BBP_IV_ITEM INTO WA_BBP_IV_ITEM. *Write horizonal line to screen report. WRITE:/ sy-uline. *Write selected data to screen/report before conversion. WRITE:/ sy-vline, WA_BBP_IV_ITEM-PRODUCT, sy-vline,
WA_BBP_IV_ITEM-DESCRIPTION, sy-vline,
WA_BBP_IV_ITEM-CATEGORY, sy-vline,
WA_BBP_IV_ITEM-CATEGORY_ID, sy-vline,
WA_BBP_IV_ITEM-SCHEMA_TYPE, sy-vline,
WA_BBP_IV_ITEM-CT_CATEGORY_ID, sy-vline.
ENDLOOP. *Add any further fields from structure WA_BBP_IV_ITEM 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_IV_ITEM 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_IV_ITEM INTO WA_BBP_IV_ITEM. *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_IV_ITEM-UNIT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBP_IV_ITEM-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_BBP_IV_ITEM-CTR_HDR_NUMBER IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBP_IV_ITEM-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_BBP_IV_ITEM-BE_LOG_SYSTEM IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBP_IV_ITEM-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_BBP_IV_ITEM-BE_REFOBJ_FYEAR2 IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBP_IV_ITEM-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_BBP_IV_ITEM-BE_INFO_REC IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBP_IV_ITEM-BE_INFO_REC.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field G_L_ACCT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_BBP_IV_ITEM-G_L_ACCT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBP_IV_ITEM-G_L_ACCT.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field PARTNER_ID CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_BBP_IV_ITEM-PARTNER_ID IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBP_IV_ITEM-PARTNER_ID.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field ICC_BR_ICMSLAW CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_BBP_IV_ITEM-ICC_BR_ICMSLAW IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBP_IV_ITEM-ICC_BR_ICMSLAW.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field ICC_BR_IPILAW CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_BBP_IV_ITEM-ICC_BR_IPILAW IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBP_IV_ITEM-ICC_BR_IPILAW.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CFOBR, internal->external for field ICC_BR_CFOP CALL FUNCTION 'CONVERSION_EXIT_CFOBR_OUTPUT' EXPORTING input = WA_BBP_IV_ITEM-ICC_BR_CFOP IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBP_IV_ITEM-ICC_BR_CFOP.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field ESRRE CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_BBP_IV_ITEM-ESRRE IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBP_IV_ITEM-ESRRE.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field LAM_QUO_ID CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_BBP_IV_ITEM-LAM_QUO_ID IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBP_IV_ITEM-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_BBP_IV_ITEM-LAM_CTR_ID IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBP_IV_ITEM-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_BBP_IV_ITEM-REV_LEV IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBP_IV_ITEM-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_IV_ITEM-CREATED_AT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBP_IV_ITEM-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_IV_ITEM-CHANGED_AT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBP_IV_ITEM-CHANGED_AT.
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_IV_ITEM_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,
UNASSIGNED TYPE STRING,
SRC_OBJECT_TYPE TYPE STRING,
SRC_GUID TYPE STRING,
VALUE TYPE STRING,
TAX_CODE 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,
SUBDCIND TYPE STRING,
DEDUCT_IND TYPE STRING,
VPER_START TYPE STRING,
VPER_END TYPE STRING,
TIME_FROM TYPE STRING,
TIME_TO TYPE STRING,
DEL_NOTE_NUMBER TYPE STRING,
DEL_NOTE_ITEM_NO TYPE STRING,
DELIV_DATE TYPE STRING,
UOM_DENOMINATOR TYPE STRING,
UOM_NUMERATOR TYPE STRING,
STEPL TYPE STRING,
ACC_CAT_TXT TYPE STRING,
TAX_CODE_TEXT TYPE STRING,
G_L_ACCT TYPE STRING,
MAX_QUANTITY TYPE STRING,
MAX_VALUE TYPE STRING,
NOQUANTITY TYPE STRING,
PO_PRICE TYPE STRING,
PO_PRICE_UNIT TYPE STRING,
PO_QUANTITY TYPE STRING,
PO_VALUE TYPE STRING,
PO_CURRENCY TYPE STRING,
PO_VALIDITY_FROM TYPE STRING,
PO_VALIDITY_TO TYPE STRING,
CF_PRICE TYPE STRING,
CF_PRICE_UNIT TYPE STRING,
CF_QUANTITY TYPE STRING,
CF_VALUE TYPE STRING,
IV_QUANTITY_E TYPE STRING,
IV_VALUE_E TYPE STRING,
BE_LIMIT TYPE STRING,
CATEGORY_TEXT TYPE STRING,
IV_INCOTERM_KEY TYPE STRING,
IV_INCOTERM_LOC TYPE STRING,
DOCUMENTS_AVAIL TYPE STRING,
ERROR_TYPE TYPE STRING,
CF_GROUP TYPE STRING,
RT_SELECTED TYPE STRING,
XML_TAX_INFO TYPE STRING,
DESCR_GL_ACCT TYPE STRING,
POPIN TYPE STRING,
ITEM_KIND_TEXT TYPE STRING,
IMG_SRC_DOC_AVAIL TYPE STRING,
PRICE_UI TYPE STRING,
VALUE_UI TYPE STRING,
CURRENCY_UI TYPE STRING,
ACC_CAT TYPE STRING,
GENERIC_ACC TYPE STRING,
DESCR_GENERIC_ACC TYPE STRING,
UNIT_TEXT TYPE STRING,
MULTI TYPE STRING,
UNPLANNED TYPE STRING,
NOT_ALLOWED TYPE STRING,
NO_DETAIL TYPE STRING,
NO_COPY TYPE STRING,
EXPANDED TYPE STRING,
HIER_GROUP TYPE STRING,
LIM_GROUP TYPE STRING,
NUMBER_INT_EXT TYPE STRING,
INITIAL_VALUE TYPE STRING,
PARTNER_CHANGE TYPE STRING,
PARTNER_ID TYPE STRING,
PARTNER_NAME TYPE STRING,
SELECTED TYPE STRING,
COPY_OF_GUID TYPE STRING,
ICC_BR_NETPRI TYPE STRING,
ICC_BR_GROPRI TYPE STRING,
ICC_BR_NETVAL TYPE STRING,
ICC_BR_GROVAL TYPE STRING,
ICC_BR_NETDIS TYPE STRING,
ICC_BR_GRODIS TYPE STRING,
ICC_BR_NETFRE TYPE STRING,
ICC_BR_GROFRE TYPE STRING,
ICC_BR_NETINS TYPE STRING,
ICC_BR_GROINS TYPE STRING,
ICC_BR_NETOTH TYPE STRING,
ICC_BR_GROOTH TYPE STRING,
ICC_BR_NETTOT TYPE STRING,
ICC_BR_GROTOT TYPE STRING,
ICC_BR_ICMSLAW TYPE STRING,
ICC_BR_IPILAW TYPE STRING,
ICC_BR_CFOP 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_MANCHG TYPE STRING,
ESRPZ TYPE STRING,
ESRNR TYPE STRING,
ESRRE TYPE STRING,
TAX_CODE_ORIGIN TYPE STRING,
DUMMY_EEW_PDISS_INV 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,
NO_DISCOUNT_EXI TYPE STRING,
DUMMY_EEW_PDISC_INV TYPE STRING,
REV_LEV 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_INV TYPE STRING,
DUMMY_EEW_PD_IT_CSD_INV TYPE STRING,
CURRENCY TYPE STRING,
CATALOG_PRICE TYPE STRING,END OF T_EKKO_STR. DATA: WA_BBP_IV_ITEM_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_IV_ITEM_STR-GUID sy-vline
WA_BBP_IV_ITEM_STR-PARENT sy-vline
WA_BBP_IV_ITEM_STR-ITM_TYPE sy-vline
WA_BBP_IV_ITEM_STR-NUMBER_INT sy-vline
WA_BBP_IV_ITEM_STR-NUMBER_EXT sy-vline
WA_BBP_IV_ITEM_STR-PRODUCT sy-vline
WA_BBP_IV_ITEM_STR-DESCRIPTION sy-vline
WA_BBP_IV_ITEM_STR-CATEGORY sy-vline
WA_BBP_IV_ITEM_STR-CATEGORY_ID sy-vline
WA_BBP_IV_ITEM_STR-SCHEMA_TYPE sy-vline
WA_BBP_IV_ITEM_STR-CT_CATEGORY_ID sy-vline
WA_BBP_IV_ITEM_STR-ITM_EX_CT_UN_ID sy-vline
WA_BBP_IV_ITEM_STR-MANU_PROD sy-vline
WA_BBP_IV_ITEM_STR-MFR_NO_EXT sy-vline
WA_BBP_IV_ITEM_STR-CATALOGID sy-vline
WA_BBP_IV_ITEM_STR-CATALOGITEM sy-vline
WA_BBP_IV_ITEM_STR-EXT_QUOTE_ID sy-vline
WA_BBP_IV_ITEM_STR-EXT_QUOTE_ITEM sy-vline
WA_BBP_IV_ITEM_STR-QUANTITY sy-vline
WA_BBP_IV_ITEM_STR-UNIT sy-vline
WA_BBP_IV_ITEM_STR-DEL_IND sy-vline
WA_BBP_IV_ITEM_STR-ORDERED_PROD sy-vline
WA_BBP_IV_ITEM_STR-PRODUCT_SRC_SYS sy-vline
WA_BBP_IV_ITEM_STR-PRICE sy-vline
WA_BBP_IV_ITEM_STR-PRICE_UNIT sy-vline
WA_BBP_IV_ITEM_STR-SUBTYPE sy-vline
WA_BBP_IV_ITEM_STR-UNASSIGNED sy-vline
WA_BBP_IV_ITEM_STR-SRC_OBJECT_TYPE sy-vline
WA_BBP_IV_ITEM_STR-SRC_GUID sy-vline
WA_BBP_IV_ITEM_STR-VALUE sy-vline
WA_BBP_IV_ITEM_STR-TAX_CODE sy-vline
WA_BBP_IV_ITEM_STR-PARTNER_PROD sy-vline
WA_BBP_IV_ITEM_STR-PRODUCT_TYPE sy-vline
WA_BBP_IV_ITEM_STR-CTR_GUID sy-vline
WA_BBP_IV_ITEM_STR-CTR_ITEM_NUMBER sy-vline
WA_BBP_IV_ITEM_STR-CTR_HDR_NUMBER sy-vline
WA_BBP_IV_ITEM_STR-CTR_HDR_GUID sy-vline
WA_BBP_IV_ITEM_STR-PROJECT_ID sy-vline
WA_BBP_IV_ITEM_STR-PROJECT_TASK_ID sy-vline
WA_BBP_IV_ITEM_STR-PROJECT_ROLE_ID sy-vline
WA_BBP_IV_ITEM_STR-BE_LOG_SYSTEM sy-vline
WA_BBP_IV_ITEM_STR-BE_OBJ_ITEM sy-vline
WA_BBP_IV_ITEM_STR-BE_OBJECT_TYPE sy-vline
WA_BBP_IV_ITEM_STR-BE_OBJECT_ID sy-vline
WA_BBP_IV_ITEM_STR-BE_REFOBJ_TYPE sy-vline
WA_BBP_IV_ITEM_STR-BE_REFOBJ sy-vline
WA_BBP_IV_ITEM_STR-BE_REFOBJ_ITEM sy-vline
WA_BBP_IV_ITEM_STR-BE_REFOBJ_SBITM sy-vline
WA_BBP_IV_ITEM_STR-BE_REFOBJ_TYPE2 sy-vline
WA_BBP_IV_ITEM_STR-BE_REFOBJ2 sy-vline
WA_BBP_IV_ITEM_STR-BE_REFOBJ_ITEM2 sy-vline
WA_BBP_IV_ITEM_STR-BE_REFOBJ_FYEAR2 sy-vline
WA_BBP_IV_ITEM_STR-BE_STGE_LOC sy-vline
WA_BBP_IV_ITEM_STR-BE_PLANT sy-vline
WA_BBP_IV_ITEM_STR-BE_BATCH sy-vline
WA_BBP_IV_ITEM_STR-BE_VAL_TYPE sy-vline
WA_BBP_IV_ITEM_STR-BE_MOVE_REAS sy-vline
WA_BBP_IV_ITEM_STR-BE_EXPERYDATE sy-vline
WA_BBP_IV_ITEM_STR-BE_PUR_GROUP sy-vline
WA_BBP_IV_ITEM_STR-BE_PUR_ORG sy-vline
WA_BBP_IV_ITEM_STR-BE_CO_CODE sy-vline
WA_BBP_IV_ITEM_STR-BE_DOC_TYPE sy-vline
WA_BBP_IV_ITEM_STR-BE_ACCREQUIRED sy-vline
WA_BBP_IV_ITEM_STR-BE_SP_STK_IND sy-vline
WA_BBP_IV_ITEM_STR-BE_INFO_REC sy-vline
WA_BBP_IV_ITEM_STR-BE_MOVE_TYPE sy-vline
WA_BBP_IV_ITEM_STR-BE_PACKNO sy-vline
WA_BBP_IV_ITEM_STR-BE_INTROW sy-vline
WA_BBP_IV_ITEM_STR-BE_ITEM_TEXT sy-vline
WA_BBP_IV_ITEM_STR-BE_PO_PRICE sy-vline
WA_BBP_IV_ITEM_STR-BE_UNLOAD_PT sy-vline
WA_BBP_IV_ITEM_STR-BE_DEL_IND sy-vline
WA_BBP_IV_ITEM_STR-BE_TRACKING_NO sy-vline
WA_BBP_IV_ITEM_STR-BE_COND_TYPE sy-vline
WA_BBP_IV_ITEM_STR-BE_COND_STEP sy-vline
WA_BBP_IV_ITEM_STR-BE_COND_COUNTER sy-vline
WA_BBP_IV_ITEM_STR-DCIND sy-vline
WA_BBP_IV_ITEM_STR-SUBDCIND sy-vline
WA_BBP_IV_ITEM_STR-DEDUCT_IND sy-vline
WA_BBP_IV_ITEM_STR-VPER_START sy-vline
WA_BBP_IV_ITEM_STR-VPER_END sy-vline
WA_BBP_IV_ITEM_STR-TIME_FROM sy-vline
WA_BBP_IV_ITEM_STR-TIME_TO sy-vline
WA_BBP_IV_ITEM_STR-DEL_NOTE_NUMBER sy-vline
WA_BBP_IV_ITEM_STR-DEL_NOTE_ITEM_NO sy-vline
WA_BBP_IV_ITEM_STR-DELIV_DATE sy-vline
WA_BBP_IV_ITEM_STR-UOM_DENOMINATOR sy-vline
WA_BBP_IV_ITEM_STR-UOM_NUMERATOR sy-vline
WA_BBP_IV_ITEM_STR-STEPL sy-vline
WA_BBP_IV_ITEM_STR-ACC_CAT_TXT sy-vline
WA_BBP_IV_ITEM_STR-TAX_CODE_TEXT sy-vline
WA_BBP_IV_ITEM_STR-G_L_ACCT sy-vline
WA_BBP_IV_ITEM_STR-MAX_QUANTITY sy-vline
WA_BBP_IV_ITEM_STR-MAX_VALUE sy-vline
WA_BBP_IV_ITEM_STR-NOQUANTITY sy-vline
WA_BBP_IV_ITEM_STR-PO_PRICE sy-vline
WA_BBP_IV_ITEM_STR-PO_PRICE_UNIT sy-vline
WA_BBP_IV_ITEM_STR-PO_QUANTITY sy-vline
WA_BBP_IV_ITEM_STR-PO_VALUE sy-vline
WA_BBP_IV_ITEM_STR-PO_CURRENCY sy-vline
WA_BBP_IV_ITEM_STR-PO_VALIDITY_FROM sy-vline
WA_BBP_IV_ITEM_STR-PO_VALIDITY_TO sy-vline
WA_BBP_IV_ITEM_STR-CF_PRICE sy-vline
WA_BBP_IV_ITEM_STR-CF_PRICE_UNIT sy-vline
WA_BBP_IV_ITEM_STR-CF_QUANTITY sy-vline
WA_BBP_IV_ITEM_STR-CF_VALUE sy-vline
WA_BBP_IV_ITEM_STR-IV_QUANTITY_E sy-vline
WA_BBP_IV_ITEM_STR-IV_VALUE_E sy-vline
WA_BBP_IV_ITEM_STR-BE_LIMIT sy-vline
WA_BBP_IV_ITEM_STR-CATEGORY_TEXT sy-vline
WA_BBP_IV_ITEM_STR-IV_INCOTERM_KEY sy-vline
WA_BBP_IV_ITEM_STR-IV_INCOTERM_LOC sy-vline
WA_BBP_IV_ITEM_STR-DOCUMENTS_AVAIL sy-vline
WA_BBP_IV_ITEM_STR-ERROR_TYPE sy-vline
WA_BBP_IV_ITEM_STR-CF_GROUP sy-vline
WA_BBP_IV_ITEM_STR-RT_SELECTED sy-vline
WA_BBP_IV_ITEM_STR-XML_TAX_INFO sy-vline
WA_BBP_IV_ITEM_STR-DESCR_GL_ACCT sy-vline
WA_BBP_IV_ITEM_STR-POPIN sy-vline
WA_BBP_IV_ITEM_STR-ITEM_KIND_TEXT sy-vline
WA_BBP_IV_ITEM_STR-IMG_SRC_DOC_AVAIL sy-vline
WA_BBP_IV_ITEM_STR-PRICE_UI sy-vline
WA_BBP_IV_ITEM_STR-VALUE_UI sy-vline
WA_BBP_IV_ITEM_STR-CURRENCY_UI sy-vline
WA_BBP_IV_ITEM_STR-ACC_CAT sy-vline
WA_BBP_IV_ITEM_STR-GENERIC_ACC sy-vline
WA_BBP_IV_ITEM_STR-DESCR_GENERIC_ACC sy-vline
WA_BBP_IV_ITEM_STR-UNIT_TEXT sy-vline
WA_BBP_IV_ITEM_STR-MULTI sy-vline
WA_BBP_IV_ITEM_STR-UNPLANNED sy-vline
WA_BBP_IV_ITEM_STR-NOT_ALLOWED sy-vline
WA_BBP_IV_ITEM_STR-NO_DETAIL sy-vline
WA_BBP_IV_ITEM_STR-NO_COPY sy-vline
WA_BBP_IV_ITEM_STR-EXPANDED sy-vline
WA_BBP_IV_ITEM_STR-HIER_GROUP sy-vline
WA_BBP_IV_ITEM_STR-LIM_GROUP sy-vline
WA_BBP_IV_ITEM_STR-NUMBER_INT_EXT sy-vline
WA_BBP_IV_ITEM_STR-INITIAL_VALUE sy-vline
WA_BBP_IV_ITEM_STR-PARTNER_CHANGE sy-vline
WA_BBP_IV_ITEM_STR-PARTNER_ID sy-vline
WA_BBP_IV_ITEM_STR-PARTNER_NAME sy-vline
WA_BBP_IV_ITEM_STR-SELECTED sy-vline
WA_BBP_IV_ITEM_STR-COPY_OF_GUID sy-vline
WA_BBP_IV_ITEM_STR-ICC_BR_NETPRI sy-vline
WA_BBP_IV_ITEM_STR-ICC_BR_GROPRI sy-vline
WA_BBP_IV_ITEM_STR-ICC_BR_NETVAL sy-vline
WA_BBP_IV_ITEM_STR-ICC_BR_GROVAL sy-vline
WA_BBP_IV_ITEM_STR-ICC_BR_NETDIS sy-vline
WA_BBP_IV_ITEM_STR-ICC_BR_GRODIS sy-vline
WA_BBP_IV_ITEM_STR-ICC_BR_NETFRE sy-vline
WA_BBP_IV_ITEM_STR-ICC_BR_GROFRE sy-vline
WA_BBP_IV_ITEM_STR-ICC_BR_NETINS sy-vline
WA_BBP_IV_ITEM_STR-ICC_BR_GROINS sy-vline
WA_BBP_IV_ITEM_STR-ICC_BR_NETOTH sy-vline
WA_BBP_IV_ITEM_STR-ICC_BR_GROOTH sy-vline
WA_BBP_IV_ITEM_STR-ICC_BR_NETTOT sy-vline
WA_BBP_IV_ITEM_STR-ICC_BR_GROTOT sy-vline
WA_BBP_IV_ITEM_STR-ICC_BR_ICMSLAW sy-vline
WA_BBP_IV_ITEM_STR-ICC_BR_IPILAW sy-vline
WA_BBP_IV_ITEM_STR-ICC_BR_CFOP sy-vline
WA_BBP_IV_ITEM_STR-ICC_BR_STEUC sy-vline
WA_BBP_IV_ITEM_STR-ICC_BR_MATUSE sy-vline
WA_BBP_IV_ITEM_STR-ICC_BR_MATORG sy-vline
WA_BBP_IV_ITEM_STR-ICC_BR_OWNPRO sy-vline
WA_BBP_IV_ITEM_STR-ICC_BR_INDUST sy-vline
WA_BBP_IV_ITEM_STR-ICC_BR_MANCHG sy-vline
WA_BBP_IV_ITEM_STR-ESRPZ sy-vline
WA_BBP_IV_ITEM_STR-ESRNR sy-vline
WA_BBP_IV_ITEM_STR-ESRRE sy-vline
WA_BBP_IV_ITEM_STR-TAX_CODE_ORIGIN sy-vline
WA_BBP_IV_ITEM_STR-DUMMY_EEW_PDISS_INV sy-vline
WA_BBP_IV_ITEM_STR-LAM_QUO_ID sy-vline
WA_BBP_IV_ITEM_STR-LAM_QUO_ITMNO sy-vline
WA_BBP_IV_ITEM_STR-LAM_CTR_ID sy-vline
WA_BBP_IV_ITEM_STR-LAM_CTR_ITMNO sy-vline
WA_BBP_IV_ITEM_STR-LAM_GAID sy-vline
WA_BBP_IV_ITEM_STR-LAM_ASS_PO_ID sy-vline
WA_BBP_IV_ITEM_STR-LAM_EXT_REF1 sy-vline
WA_BBP_IV_ITEM_STR-LAM_EXT_REF2 sy-vline
WA_BBP_IV_ITEM_STR-LAM_TEXT sy-vline
WA_BBP_IV_ITEM_STR-NO_DISCOUNT_EXI sy-vline
WA_BBP_IV_ITEM_STR-DUMMY_EEW_PDISC_INV sy-vline
WA_BBP_IV_ITEM_STR-REV_LEV sy-vline
WA_BBP_IV_ITEM_STR-HEADER sy-vline
WA_BBP_IV_ITEM_STR-CREATED_BY sy-vline
WA_BBP_IV_ITEM_STR-CREATED_AT sy-vline
WA_BBP_IV_ITEM_STR-CHANGED_BY sy-vline
WA_BBP_IV_ITEM_STR-CHANGED_AT sy-vline
WA_BBP_IV_ITEM_STR-DUMMY_EEW_PD_IT_SWD_INV sy-vline
WA_BBP_IV_ITEM_STR-DUMMY_EEW_PD_IT_CSD_INV sy-vline
WA_BBP_IV_ITEM_STR-CURRENCY sy-vline
WA_BBP_IV_ITEM_STR-CATALOG_PRICE sy-vline INTO ld_text SEPARATED BY SPACE. *Add any further fields from structure WA_EKKO_STR you want to CONCATENATE... ENDLOOP. ENDFORM.