ABAP Select data from SAP table FCO_REWORK_COCKPIT_ITEMS_COMP 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 FCO_REWORK_COCKPIT_ITEMS_COMP 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 FCO_REWORK_COCKPIT_ITEMS_COMP. 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 FCO_REWORK_COCKPIT_ITEMS_COMP 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_FCO_REWORK_COCKPIT_ITEMS_COMP TYPE STANDARD TABLE OF FCO_REWORK_COCKPIT_ITEMS_COMP, WA_FCO_REWORK_COCKPIT_ITEMS_COMP TYPE FCO_REWORK_COCKPIT_ITEMS_COMP, 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: <FCO_REWORK_COCKPIT_ITEMS_COMP> TYPE FCO_REWORK_COCKPIT_ITEMS_COMP. *Process all fields in table header/work area as string values PERFORM process_as_string_field_values CHANGING wa_FCO_REWORK_COCKPIT_ITEMS_COMP. SELECT * *restrict ABAP select to first 10 rows UP TO 10 ROWS FROM FCO_REWORK_COCKPIT_ITEMS_COMP INTO TABLE IT_FCO_REWORK_COCKPIT_ITEMS_COMP. *Select data and declare internal table using in-line method @DATA *SELECT * * FROM FCO_REWORK_COCKPIT_ITEMS_COMP * INTO TABLE @DATA(IT_FCO_REWORK_COCKPIT_ITEMS_COMP2). *--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_FCO_REWORK_COCKPIT_ITEMS_COMP INDEX 1 INTO DATA(WA_FCO_REWORK_COCKPIT_ITEMS_COMP2). *Demonstrate how to loop at an internal table and update values using a FIELD-SYMBOL LOOP AT IT_FCO_REWORK_COCKPIT_ITEMS_COMP ASSIGNING <FCO_REWORK_COCKPIT_ITEMS_COMP>.*To update a field value using a field symbol simply change the value via the field symbol pointer
<FCO_REWORK_COCKPIT_ITEMS_COMP>-BELNR = 1.
<FCO_REWORK_COCKPIT_ITEMS_COMP>-MATERIAL = 1.
<FCO_REWORK_COCKPIT_ITEMS_COMP>-PLANT = 1.
<FCO_REWORK_COCKPIT_ITEMS_COMP>-STGE_LOC = 1.
<FCO_REWORK_COCKPIT_ITEMS_COMP>-BATCH = 1.
ENDLOOP. LOOP AT IT_FCO_REWORK_COCKPIT_ITEMS_COMP INTO WA_FCO_REWORK_COCKPIT_ITEMS_COMP. *Write horizonal line to screen report. WRITE:/ sy-uline. *Write selected data to screen/report before conversion. WRITE:/ sy-vline, WA_FCO_REWORK_COCKPIT_ITEMS_COMP-MOVE_TYPE, sy-vline,
WA_FCO_REWORK_COCKPIT_ITEMS_COMP-STCK_TYPE, sy-vline,
WA_FCO_REWORK_COCKPIT_ITEMS_COMP-SPEC_STOCK, sy-vline,
WA_FCO_REWORK_COCKPIT_ITEMS_COMP-VENDOR, sy-vline,
WA_FCO_REWORK_COCKPIT_ITEMS_COMP-CUSTOMER, sy-vline,
WA_FCO_REWORK_COCKPIT_ITEMS_COMP-SALES_ORD, sy-vline.
ENDLOOP. *Add any further fields from structure WA_FCO_REWORK_COCKPIT_ITEMS_COMP 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_FCO_REWORK_COCKPIT_ITEMS_COMP 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_FCO_REWORK_COCKPIT_ITEMS_COMP INTO WA_FCO_REWORK_COCKPIT_ITEMS_COMP. *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 BELNR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-BELNR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-BELNR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit MATN5, internal->external for field MATERIAL CALL FUNCTION 'CONVERSION_EXIT_MATN5_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-MATERIAL IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-MATERIAL.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field VENDOR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-VENDOR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-VENDOR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field CUSTOMER CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-CUSTOMER IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-CUSTOMER.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field SALES_ORD CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-SALES_ORD IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-SALES_ORD.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field ENTRY_UOM CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-ENTRY_UOM IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-ENTRY_UOM.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field ORDERPR_UN CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-ORDERPR_UN IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-ORDERPR_UN.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field PO_NUMBER CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-PO_NUMBER IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-PO_NUMBER.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field COSTCENTER CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-COSTCENTER IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-COSTCENTER.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field ORDERID CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-ORDERID IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-ORDERID.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field ASSET_NO CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-ASSET_NO IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-ASSET_NO.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field SUB_NUMBER CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-SUB_NUMBER IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-SUB_NUMBER.
WRITE:/ 'New Value:', ld_input.
*Conversion exit MATN5, internal->external for field MOVE_MAT CALL FUNCTION 'CONVERSION_EXIT_MATN5_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-MOVE_MAT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-MOVE_MAT.
WRITE:/ 'New Value:', ld_input.
*Conversion exit IMKEY, internal->external for field RL_EST_KEY CALL FUNCTION 'CONVERSION_EXIT_IMKEY_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-RL_EST_KEY IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-RL_EST_KEY.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field PROFIT_CTR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-PROFIT_CTR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-PROFIT_CTR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ABPSN, internal->external for field WBS_ELEM CALL FUNCTION 'CONVERSION_EXIT_ABPSN_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-WBS_ELEM IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-WBS_ELEM.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field NETWORK CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-NETWORK IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-NETWORK.
WRITE:/ 'New Value:', ld_input.
*Conversion exit NUMCV, internal->external for field ACTIVITY CALL FUNCTION 'CONVERSION_EXIT_NUMCV_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-ACTIVITY IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-ACTIVITY.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field PART_ACCT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-PART_ACCT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-PART_ACCT.
WRITE:/ 'New Value:', ld_input.
*Conversion exit GJAHR, internal->external for field REF_DOC_YR CALL FUNCTION 'CONVERSION_EXIT_GJAHR_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-REF_DOC_YR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-REF_DOC_YR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field REF_DOC CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-REF_DOC IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-REF_DOC.
WRITE:/ 'New Value:', ld_input.
*Conversion exit FMCIS, internal->external for field CMMT_ITEM CALL FUNCTION 'CONVERSION_EXIT_FMCIS_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-CMMT_ITEM IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-CMMT_ITEM.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field VAL_SALES_ORD CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-VAL_SALES_ORD IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-VAL_SALES_ORD.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ABPSN, internal->external for field VAL_WBS_ELEM CALL FUNCTION 'CONVERSION_EXIT_ABPSN_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-VAL_WBS_ELEM IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-VAL_WBS_ELEM.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field GL_ACCOUNT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-GL_ACCOUNT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-GL_ACCOUNT.
WRITE:/ 'New Value:', ld_input.
*Conversion exit EAN11, internal->external for field EAN_UPC CALL FUNCTION 'CONVERSION_EXIT_EAN11_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-EAN_UPC IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-EAN_UPC.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field DELIV_NUMB_TO_SEARCH CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-DELIV_NUMB_TO_SEARCH IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-DELIV_NUMB_TO_SEARCH.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field GR_NUMBER CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-GR_NUMBER IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-GR_NUMBER.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field MATDOC_TR_CANCEL CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-MATDOC_TR_CANCEL IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-MATDOC_TR_CANCEL.
WRITE:/ 'New Value:', ld_input.
*Conversion exit GJAHR, internal->external for field MATYEAR_TR_CANCEL CALL FUNCTION 'CONVERSION_EXIT_GJAHR_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-MATYEAR_TR_CANCEL IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-MATYEAR_TR_CANCEL.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field CO_BUSPROC CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-CO_BUSPROC IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-CO_BUSPROC.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field SUPPL_VEND CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-SUPPL_VEND IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-SUPPL_VEND.
WRITE:/ 'New Value:', ld_input.
*Conversion exit MATNL, internal->external for field MATERIAL_EXTERNAL CALL FUNCTION 'CONVERSION_EXIT_MATNL_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-MATERIAL_EXTERNAL IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-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_FCO_REWORK_COCKPIT_ITEMS_COMP-MATERIAL_VERSION IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-MATERIAL_VERSION.
WRITE:/ 'New Value:', ld_input.
*Conversion exit MATNL, internal->external for field MOVE_MAT_EXTERNAL CALL FUNCTION 'CONVERSION_EXIT_MATNL_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-MOVE_MAT_EXTERNAL IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-MOVE_MAT_EXTERNAL.
WRITE:/ 'New Value:', ld_input.
*Conversion exit MATNW, internal->external for field MOVE_MAT_VERSION CALL FUNCTION 'CONVERSION_EXIT_MATNW_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-MOVE_MAT_VERSION IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-MOVE_MAT_VERSION.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field DELIV_NUMB CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-DELIV_NUMB IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-DELIV_NUMB.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field GRANT_NBR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-GRANT_NBR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-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_FCO_REWORK_COCKPIT_ITEMS_COMP-CMMT_ITEM_LONG IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-CMMT_ITEM_LONG.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field BASE_UOM CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-BASE_UOM IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-BASE_UOM.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field EARMARKED_NUMBER CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-EARMARKED_NUMBER IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-EARMARKED_NUMBER.
WRITE:/ 'New Value:', ld_input.
*Conversion exit MATN1, internal->external for field MATERIAL_LONG CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-MATERIAL_LONG IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-MATERIAL_LONG.
WRITE:/ 'New Value:', ld_input.
*Conversion exit MATN1, internal->external for field MOVE_MAT_LONG CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-MOVE_MAT_LONG IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-MOVE_MAT_LONG.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field SERVICE_DOC CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_FCO_REWORK_COCKPIT_ITEMS_COMP-SERVICE_DOC IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FCO_REWORK_COCKPIT_ITEMS_COMP-SERVICE_DOC.
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_FCO_REWORK_COCKPIT_ITEMS_COMP_STR,
BELNR TYPE STRING,
MATERIAL TYPE STRING,
PLANT TYPE STRING,
STGE_LOC TYPE STRING,
BATCH TYPE STRING,
MOVE_TYPE TYPE STRING,
STCK_TYPE TYPE STRING,
SPEC_STOCK TYPE STRING,
VENDOR TYPE STRING,
CUSTOMER TYPE STRING,
SALES_ORD TYPE STRING,
S_ORD_ITEM TYPE STRING,
SCHED_LINE TYPE STRING,
VAL_TYPE TYPE STRING,
ENTRY_QNT TYPE STRING,
ENTRY_UOM TYPE STRING,
ENTRY_UOM_ISO TYPE STRING,
PO_PR_QNT TYPE STRING,
ORDERPR_UN TYPE STRING,
ORDERPR_UN_ISO TYPE STRING,
PO_NUMBER TYPE STRING,
PO_ITEM TYPE STRING,
SHIPPING TYPE STRING,
COMP_SHIP TYPE STRING,
NO_MORE_GR TYPE STRING,
ITEM_TEXT TYPE STRING,
GR_RCPT TYPE STRING,
UNLOAD_PT TYPE STRING,
COSTCENTER TYPE STRING,
ORDERID TYPE STRING,
ORDER_ITNO TYPE STRING,
CALC_MOTIVE TYPE STRING,
ASSET_NO TYPE STRING,
SUB_NUMBER TYPE STRING,
RESERV_NO TYPE STRING,
RES_ITEM TYPE STRING,
RES_TYPE TYPE STRING,
WITHDRAWN TYPE STRING,
MOVE_MAT TYPE STRING,
MOVE_PLANT TYPE STRING,
MOVE_STLOC TYPE STRING,
MOVE_BATCH TYPE STRING,
MOVE_VAL_TYPE TYPE STRING,
MVT_IND TYPE STRING,
MOVE_REAS TYPE STRING,
RL_EST_KEY TYPE STRING,
REF_DATE TYPE STRING,
COST_OBJ TYPE STRING,
PROFIT_SEGM_NO TYPE STRING,
PROFIT_CTR TYPE STRING,
WBS_ELEM TYPE STRING,
NETWORK TYPE STRING,
ACTIVITY TYPE STRING,
PART_ACCT TYPE STRING,
AMOUNT_LC TYPE STRING,
AMOUNT_SV TYPE STRING,
REF_DOC_YR TYPE STRING,
REF_DOC TYPE STRING,
REF_DOC_IT TYPE STRING,
EXPIRYDATE TYPE STRING,
PROD_DATE TYPE STRING,
FUND TYPE STRING,
FUNDS_CTR TYPE STRING,
CMMT_ITEM TYPE STRING,
VAL_SALES_ORD TYPE STRING,
VAL_S_ORD_ITEM TYPE STRING,
VAL_WBS_ELEM TYPE STRING,
GL_ACCOUNT TYPE STRING,
IND_PROPOSE_QUANX TYPE STRING,
XSTOB TYPE STRING,
EAN_UPC TYPE STRING,
DELIV_NUMB_TO_SEARCH TYPE STRING,
DELIV_ITEM_TO_SEARCH TYPE STRING,
SERIALNO_AUTO_NUMBERASSIGNMENT TYPE STRING,
VENDRBATCH TYPE STRING,
STGE_TYPE TYPE STRING,
STGE_BIN TYPE STRING,
SU_PL_STCK_1 TYPE STRING,
ST_UN_QTYY_1 TYPE STRING,
ST_UN_QTYY_1_ISO TYPE STRING,
UNITTYPE_1 TYPE STRING,
SU_PL_STCK_2 TYPE STRING,
ST_UN_QTYY_2 TYPE STRING,
ST_UN_QTYY_2_ISO TYPE STRING,
UNITTYPE_2 TYPE STRING,
STGE_TYPE_PC TYPE STRING,
STGE_BIN_PC TYPE STRING,
NO_PST_CHGNT TYPE STRING,
GR_NUMBER TYPE STRING,
STGE_TYPE_ST TYPE STRING,
STGE_BIN_ST TYPE STRING,
MATDOC_TR_CANCEL TYPE STRING,
MATITEM_TR_CANCEL TYPE STRING,
MATYEAR_TR_CANCEL TYPE STRING,
NO_TRANSFER_REQ TYPE STRING,
CO_BUSPROC TYPE STRING,
ACTTYPE TYPE STRING,
SUPPL_VEND TYPE STRING,
MATERIAL_EXTERNAL TYPE STRING,
MATERIAL_GUID TYPE STRING,
MATERIAL_VERSION TYPE STRING,
MOVE_MAT_EXTERNAL TYPE STRING,
MOVE_MAT_GUID TYPE STRING,
MOVE_MAT_VERSION TYPE STRING,
FUNC_AREA TYPE STRING,
TR_PART_BA TYPE STRING,
PAR_COMPCO TYPE STRING,
DELIV_NUMB TYPE STRING,
DELIV_ITEM TYPE STRING,
NB_SLIPS TYPE STRING,
NB_SLIPSX TYPE STRING,
GR_RCPTX TYPE STRING,
UNLOAD_PTX TYPE STRING,
SPEC_MVMT TYPE STRING,
GRANT_NBR TYPE STRING,
CMMT_ITEM_LONG TYPE STRING,
FUNC_AREA_LONG TYPE STRING,
LINE_ID TYPE STRING,
PARENT_ID TYPE STRING,
LINE_DEPTH TYPE STRING,
QUANTITY TYPE STRING,
BASE_UOM TYPE STRING,
LONGNUM TYPE STRING,
BUDGET_PERIOD TYPE STRING,
EARMARKED_NUMBER TYPE STRING,
EARMARKED_ITEM TYPE STRING,
STK_SEGMENT TYPE STRING,
MOVE_SEGMENT TYPE STRING,
MATERIAL_LONG TYPE STRING,
MOVE_MAT_LONG TYPE STRING,
STK_SEG_LONG TYPE STRING,
MOV_SEG_LONG TYPE STRING,
CREATE_DELIVERY TYPE STRING,
WAREHOUSE_EWM TYPE STRING,
STGE_BIN_EWM TYPE STRING,
EWM_DIFF_ANA TYPE STRING,
SERVICE_DOC TYPE STRING,
SERVICE_ITEM TYPE STRING,
SERVICE_DOC_TYPE TYPE STRING,
SUPPLYAREA TYPE STRING,
EWM_INSPUUID TYPE STRING,
XSTOR TYPE STRING,END OF T_EKKO_STR. DATA: WA_FCO_REWORK_COCKPIT_ITEMS_COMP_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_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-BELNR sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-MATERIAL sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-PLANT sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-STGE_LOC sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-BATCH sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-MOVE_TYPE sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-STCK_TYPE sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-SPEC_STOCK sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-VENDOR sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-CUSTOMER sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-SALES_ORD sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-S_ORD_ITEM sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-SCHED_LINE sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-VAL_TYPE sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-ENTRY_QNT sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-ENTRY_UOM sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-ENTRY_UOM_ISO sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-PO_PR_QNT sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-ORDERPR_UN sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-ORDERPR_UN_ISO sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-PO_NUMBER sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-PO_ITEM sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-SHIPPING sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-COMP_SHIP sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-NO_MORE_GR sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-ITEM_TEXT sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-GR_RCPT sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-UNLOAD_PT sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-COSTCENTER sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-ORDERID sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-ORDER_ITNO sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-CALC_MOTIVE sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-ASSET_NO sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-SUB_NUMBER sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-RESERV_NO sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-RES_ITEM sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-RES_TYPE sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-WITHDRAWN sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-MOVE_MAT sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-MOVE_PLANT sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-MOVE_STLOC sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-MOVE_BATCH sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-MOVE_VAL_TYPE sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-MVT_IND sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-MOVE_REAS sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-RL_EST_KEY sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-REF_DATE sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-COST_OBJ sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-PROFIT_SEGM_NO sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-PROFIT_CTR sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-WBS_ELEM sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-NETWORK sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-ACTIVITY sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-PART_ACCT sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-AMOUNT_LC sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-AMOUNT_SV sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-REF_DOC_YR sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-REF_DOC sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-REF_DOC_IT sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-EXPIRYDATE sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-PROD_DATE sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-FUND sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-FUNDS_CTR sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-CMMT_ITEM sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-VAL_SALES_ORD sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-VAL_S_ORD_ITEM sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-VAL_WBS_ELEM sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-GL_ACCOUNT sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-IND_PROPOSE_QUANX sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-XSTOB sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-EAN_UPC sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-DELIV_NUMB_TO_SEARCH sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-DELIV_ITEM_TO_SEARCH sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-SERIALNO_AUTO_NUMBERASSIGNMENT sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-VENDRBATCH sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-STGE_TYPE sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-STGE_BIN sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-SU_PL_STCK_1 sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-ST_UN_QTYY_1 sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-ST_UN_QTYY_1_ISO sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-UNITTYPE_1 sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-SU_PL_STCK_2 sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-ST_UN_QTYY_2 sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-ST_UN_QTYY_2_ISO sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-UNITTYPE_2 sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-STGE_TYPE_PC sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-STGE_BIN_PC sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-NO_PST_CHGNT sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-GR_NUMBER sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-STGE_TYPE_ST sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-STGE_BIN_ST sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-MATDOC_TR_CANCEL sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-MATITEM_TR_CANCEL sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-MATYEAR_TR_CANCEL sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-NO_TRANSFER_REQ sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-CO_BUSPROC sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-ACTTYPE sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-SUPPL_VEND sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-MATERIAL_EXTERNAL sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-MATERIAL_GUID sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-MATERIAL_VERSION sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-MOVE_MAT_EXTERNAL sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-MOVE_MAT_GUID sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-MOVE_MAT_VERSION sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-FUNC_AREA sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-TR_PART_BA sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-PAR_COMPCO sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-DELIV_NUMB sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-DELIV_ITEM sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-NB_SLIPS sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-NB_SLIPSX sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-GR_RCPTX sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-UNLOAD_PTX sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-SPEC_MVMT sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-GRANT_NBR sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-CMMT_ITEM_LONG sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-FUNC_AREA_LONG sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-LINE_ID sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-PARENT_ID sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-LINE_DEPTH sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-QUANTITY sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-BASE_UOM sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-LONGNUM sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-BUDGET_PERIOD sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-EARMARKED_NUMBER sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-EARMARKED_ITEM sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-STK_SEGMENT sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-MOVE_SEGMENT sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-MATERIAL_LONG sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-MOVE_MAT_LONG sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-STK_SEG_LONG sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-MOV_SEG_LONG sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-CREATE_DELIVERY sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-WAREHOUSE_EWM sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-STGE_BIN_EWM sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-EWM_DIFF_ANA sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-SERVICE_DOC sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-SERVICE_ITEM sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-SERVICE_DOC_TYPE sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-SUPPLYAREA sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-EWM_INSPUUID sy-vline
WA_FCO_REWORK_COCKPIT_ITEMS_COMP_STR-XSTOR sy-vline INTO ld_text SEPARATED BY SPACE. *Add any further fields from structure WA_EKKO_STR you want to CONCATENATE... ENDLOOP. ENDFORM.