ABAP Select data from SAP table /SCMTMS/S_UI_PLN_FU_SHP 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 /SCMTMS/S_UI_PLN_FU_SHP 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 /SCMTMS/S_UI_PLN_FU_SHP. 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 /SCMTMS/S_UI_PLN_FU_SHP 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_/SCMTMS/S_UI_PLN_FU_SHP TYPE STANDARD TABLE OF /SCMTMS/S_UI_PLN_FU_SHP, WA_/SCMTMS/S_UI_PLN_FU_SHP TYPE /SCMTMS/S_UI_PLN_FU_SHP, 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: </SCMTMS/S_UI_PLN_FU_SHP> TYPE /SCMTMS/S_UI_PLN_FU_SHP. *Process all fields in table header/work area as string values PERFORM process_as_string_field_values CHANGING wa_/SCMTMS/S_UI_PLN_FU_SHP. SELECT * *restrict ABAP select to first 10 rows UP TO 10 ROWS FROM /SCMTMS/S_UI_PLN_FU_SHP INTO TABLE IT_/SCMTMS/S_UI_PLN_FU_SHP. *Select data and declare internal table using in-line method @DATA *SELECT * * FROM /SCMTMS/S_UI_PLN_FU_SHP * INTO TABLE @DATA(IT_/SCMTMS/S_UI_PLN_FU_SHP2). *--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_/SCMTMS/S_UI_PLN_FU_SHP INDEX 1 INTO DATA(WA_/SCMTMS/S_UI_PLN_FU_SHP2). *Demonstrate how to loop at an internal table and update values using a FIELD-SYMBOL LOOP AT IT_/SCMTMS/S_UI_PLN_FU_SHP ASSIGNING </SCMTMS/S_UI_PLN_FU_SHP>.*To update a field value using a field symbol simply change the value via the field symbol pointer
</SCMTMS/S_UI_PLN_FU_SHP>-KEY = 1.
</SCMTMS/S_UI_PLN_FU_SHP>-OBJ_INDEX = 1.
</SCMTMS/S_UI_PLN_FU_SHP>-STOP_SUCC_KEY = 1.
</SCMTMS/S_UI_PLN_FU_SHP>-TOR_ACT_ID = 1.
</SCMTMS/S_UI_PLN_FU_SHP>-TOR_ACT_KEY = 1.
ENDLOOP. LOOP AT IT_/SCMTMS/S_UI_PLN_FU_SHP INTO WA_/SCMTMS/S_UI_PLN_FU_SHP. *Write horizonal line to screen report. WRITE:/ sy-uline. *Write selected data to screen/report before conversion. WRITE:/ sy-vline, WA_/SCMTMS/S_UI_PLN_FU_SHP-TOR_ACT_CAT, sy-vline,
WA_/SCMTMS/S_UI_PLN_FU_SHP-STAGE_PLANNED, sy-vline,
WA_/SCMTMS/S_UI_PLN_FU_SHP-PLANNED_ICON, sy-vline,
WA_/SCMTMS/S_UI_PLN_FU_SHP-PLANNED_TOOLTIP, sy-vline,
WA_/SCMTMS/S_UI_PLN_FU_SHP-KEY_TR, sy-vline,
WA_/SCMTMS/S_UI_PLN_FU_SHP-TOR_ID_TR, sy-vline.
ENDLOOP. *Add any further fields from structure WA_/SCMTMS/S_UI_PLN_FU_SHP 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_/SCMTMS/S_UI_PLN_FU_SHP 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_/SCMTMS/S_UI_PLN_FU_SHP INTO WA_/SCMTMS/S_UI_PLN_FU_SHP. *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 TOR_ACT_ID CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FU_SHP-TOR_ACT_ID IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FU_SHP-TOR_ACT_ID.
WRITE:/ 'New Value:', ld_input.
*Conversion exit PLNST, internal->external for field STAGE_PLANNED CALL FUNCTION 'CONVERSION_EXIT_PLNST_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FU_SHP-STAGE_PLANNED IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FU_SHP-STAGE_PLANNED.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field TOR_ID_TR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FU_SHP-TOR_ID_TR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FU_SHP-TOR_ID_TR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ID001, internal->external for field TSP_TR CALL FUNCTION 'CONVERSION_EXIT_ID001_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FU_SHP-TSP_TR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FU_SHP-TSP_TR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field TSPID_TR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FU_SHP-TSPID_TR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FU_SHP-TSPID_TR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ID001, internal->external for field SHIPPER_KEY_TR CALL FUNCTION 'CONVERSION_EXIT_ID001_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FU_SHP-SHIPPER_KEY_TR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FU_SHP-SHIPPER_KEY_TR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field SHIPPERID_TR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FU_SHP-SHIPPERID_TR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FU_SHP-SHIPPERID_TR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ID001, internal->external for field CONSIGNEE_KEY_TR CALL FUNCTION 'CONVERSION_EXIT_ID001_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FU_SHP-CONSIGNEE_KEY_TR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FU_SHP-CONSIGNEE_KEY_TR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field CONSIGNEEID_TR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FU_SHP-CONSIGNEEID_TR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FU_SHP-CONSIGNEEID_TR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field TRQ_ID_TR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FU_SHP-TRQ_ID_TR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FU_SHP-TRQ_ID_TR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field BASE_BTD_ID_TR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FU_SHP-BASE_BTD_ID_TR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FU_SHP-BASE_BTD_ID_TR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field BASE_BTD_ID_DLV_TR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FU_SHP-BASE_BTD_ID_DLV_TR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FU_SHP-BASE_BTD_ID_DLV_TR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field LOGSYS_TR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FU_SHP-LOGSYS_TR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FU_SHP-LOGSYS_TR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field DSO_CARRIER_ID_TR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FU_SHP-DSO_CARRIER_ID_TR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FU_SHP-DSO_CARRIER_ID_TR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field GRO_WEI_UNI_I CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FU_SHP-GRO_WEI_UNI_I IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FU_SHP-GRO_WEI_UNI_I.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field GRO_VOL_UNI_I CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FU_SHP-GRO_VOL_UNI_I IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FU_SHP-GRO_VOL_UNI_I.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field QUA_PCS_UNI_I CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FU_SHP-QUA_PCS_UNI_I IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FU_SHP-QUA_PCS_UNI_I.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field QUA_PCS2_UNI_I CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FU_SHP-QUA_PCS2_UNI_I IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FU_SHP-QUA_PCS2_UNI_I.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field OUT_VOL_UNI_I CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FU_SHP-OUT_VOL_UNI_I IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FU_SHP-OUT_VOL_UNI_I.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field NORMLOADCONSUOM_I CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FU_SHP-NORMLOADCONSUOM_I IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FU_SHP-NORMLOADCONSUOM_I.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field MEASUOM_I CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FU_SHP-MEASUOM_I IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FU_SHP-MEASUOM_I.
WRITE:/ 'New Value:', ld_input.
*Conversion exit MATN1, internal->external for field PRODUCT_ID_I CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FU_SHP-PRODUCT_ID_I IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FU_SHP-PRODUCT_ID_I.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field SUCC_ID_ST CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FU_SHP-SUCC_ID_ST IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FU_SHP-SUCC_ID_ST.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field DISTANCE_UOM_ST CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FU_SHP-DISTANCE_UOM_ST IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FU_SHP-DISTANCE_UOM_ST.
WRITE:/ 'New Value:', ld_input.
*Conversion exit TSTRN, internal->external for field DURATION_NET_ST CALL FUNCTION 'CONVERSION_EXIT_TSTRN_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FU_SHP-DURATION_NET_ST IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FU_SHP-DURATION_NET_ST.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ID004, internal->external for field LOG_LOC_UUID_L CALL FUNCTION 'CONVERSION_EXIT_ID004_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FU_SHP-LOG_LOC_UUID_L IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FU_SHP-LOG_LOC_UUID_L.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ID004, internal->external for field LOG_LOC_UUID_U CALL FUNCTION 'CONVERSION_EXIT_ID004_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FU_SHP-LOG_LOC_UUID_U IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FU_SHP-LOG_LOC_UUID_U.
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_/SCMTMS/S_UI_PLN_FU_SHP_STR,
KEY TYPE STRING,
OBJ_INDEX TYPE STRING,
STOP_SUCC_KEY TYPE STRING,
TOR_ACT_ID TYPE STRING,
TOR_ACT_KEY TYPE STRING,
TOR_ACT_CAT TYPE STRING,
STAGE_PLANNED TYPE STRING,
PLANNED_ICON TYPE STRING,
PLANNED_TOOLTIP TYPE STRING,
KEY_TR TYPE STRING,
TOR_ID_TR TYPE STRING,
TOR_CAT_TR TYPE STRING,
TOR_TYPE_TR TYPE STRING,
TOR_TYPE_TXT_TR TYPE STRING,
DGO_INDICATOR_TR TYPE STRING,
TRANSSRVLVL_CODE_TR TYPE STRING,
TSP_TR TYPE STRING,
TSPID_TR TYPE STRING,
SCAC_TR TYPE STRING,
SCAC_UI_TR TYPE STRING,
TSPID_TXT_TR TYPE STRING,
TSPID_ADDRESS_TR TYPE STRING,
SHIPPER_KEY_TR TYPE STRING,
SHIPPERID_TR TYPE STRING,
SHIPPERID_TXT_TR TYPE STRING,
SHIPPERID_ADDRESS_TR TYPE STRING,
CONSIGNEE_KEY_TR TYPE STRING,
CONSIGNEEID_TR TYPE STRING,
CONSIGNEEID_TXT_TR TYPE STRING,
CONSIGNEEID_ADDRESS_TR TYPE STRING,
BLK_PLAN_TR TYPE STRING,
BLK_EXEC_TR TYPE STRING,
BRC_PLAN_TR TYPE STRING,
BRC_EXEC_TR TYPE STRING,
BRC_PLAN_TXT_TR TYPE STRING,
BRC_EXEC_TXT_TR TYPE STRING,
TRQ_KEY_TR TYPE STRING,
TRQ_ID_TR TYPE STRING,
TRQ_CAT_TR TYPE STRING,
BASE_BTD_TCO_TR TYPE STRING,
BASE_BTD_TCO_TXT_TR TYPE STRING,
BASE_BTD_ID_TR TYPE STRING,
BASE_BTD_TCO_DLV_TR TYPE STRING,
BASE_BTD_TCO_DLV_TXT_TR TYPE STRING,
BASE_BTD_ID_DLV_TR TYPE STRING,
LOGSYS_TR TYPE STRING,
DSO_CARRIER_KEY_TR TYPE STRING,
DSO_CARRIER_ID_TR TYPE STRING,
DSO_SERVICE_LEVEL_TR TYPE STRING,
DSO_AMOUNT_TR TYPE STRING,
DSO_CURRENCY_TR TYPE STRING,
SEPARATE_PALLET_IND_TR TYPE STRING,
SEPARATE_PALLET_IND_TXT_TR TYPE STRING,
KEY_I TYPE STRING,
PARENT_KEY_I TYPE STRING,
ITEM_PARENT_KEY_I TYPE STRING,
MTR_I TYPE STRING,
GRO_WEI_VAL_I TYPE STRING,
GRO_WEI_UNI_I TYPE STRING,
GRO_VOL_VAL_I TYPE STRING,
GRO_VOL_UNI_I TYPE STRING,
QUA_PCS_VAL_I TYPE STRING,
QUA_PCS_UNI_I TYPE STRING,
QUA_PCS2_VAL_I TYPE STRING,
QUA_PCS2_UNI_I TYPE STRING,
OUT_VOL_VAL_I TYPE STRING,
OUT_VOL_UNI_I TYPE STRING,
NORMLOADCONSVAL_I TYPE STRING,
NORMLOADCONSUOM_I TYPE STRING,
LENGTH_I TYPE STRING,
WIDTH_I TYPE STRING,
HEIGHT_I TYPE STRING,
MEASUOM_I TYPE STRING,
AMT_HVAL_CAR_IND_I TYPE STRING,
PRODUCT_ID_I TYPE STRING,
PRD_FRGHT_GRP_I TYPE STRING,
PRD_FRGHT_GRP_TXT_I TYPE STRING,
PRD_TRANSP_GRP_I TYPE STRING,
PRD_TRANSP_GRP_TXT_I TYPE STRING,
CAPA_TOR_INFO_I TYPE STRING,
CARGO_ITEM_CAT_ICON_I TYPE STRING,
CARGO_ITEM_CAT_TOOLTIP_I TYPE STRING,
KEY_ST TYPE STRING,
PARENT_KEY_ST TYPE STRING,
ROOT_KEY_ST TYPE STRING,
SUCC_STOP_KEY_ST TYPE STRING,
STAGE_SEQ_NUM_ST TYPE STRING,
SUCC_ID_ST TYPE STRING,
DISTANCE_ST TYPE STRING,
DISTANCE_UOM_ST TYPE STRING,
DURATION_NET_ST TYPE STRING,
KEY_L TYPE STRING,
LOG_LOC_UUID_L TYPE STRING,
LOG_LOCID_L TYPE STRING,
REQ_DATE_L TYPE STRING,
REQ_DATE_D_L TYPE STRING,
REQ_DATE_T_L TYPE STRING,
REQ_DATE_LATEST_L TYPE STRING,
REQ_DATE_LATEST_D_L TYPE STRING,
REQ_DATE_LATEST_T_L TYPE STRING,
REQ_DATE_EARLIEST_L TYPE STRING,
REQ_DATE_EARLIEST_D_L TYPE STRING,
REQ_DATE_EARLIEST_T_L TYPE STRING,
LOAD_DATE_L TYPE STRING,
LOAD_DATE_D_L TYPE STRING,
LOAD_DATE_T_L TYPE STRING,
TIME_ZONE_L TYPE STRING,
WH_NUMBER_L TYPE STRING,
WH_NUMBER_TXT_L TYPE STRING,
LOAD_POINT_ID_L TYPE STRING,
LOAD_POINT_ID_TXT_L TYPE STRING,
LOAD_POINT_UUID_L TYPE STRING,
WH_DOOR_L TYPE STRING,
LOC_DESCRIPTION_L TYPE STRING,
LOC_COUNTRY_REGION_L TYPE STRING,
LOC_STREET_NUMBER_L TYPE STRING,
LOC_CODE_CITY_L TYPE STRING,
KEY_U TYPE STRING,
LOG_LOC_UUID_U TYPE STRING,
LOG_LOCID_U TYPE STRING,
REQ_DATE_U TYPE STRING,
REQ_DATE_D_U TYPE STRING,
REQ_DATE_T_U TYPE STRING,
REQ_DATE_LATEST_U TYPE STRING,
REQ_DATE_LATEST_D_U TYPE STRING,
REQ_DATE_LATEST_T_U TYPE STRING,
REQ_DATE_EARLIEST_U TYPE STRING,
REQ_DATE_EARLIEST_D_U TYPE STRING,
REQ_DATE_EARLIEST_T_U TYPE STRING,
LOAD_DATE_U TYPE STRING,
LOAD_DATE_D_U TYPE STRING,
LOAD_DATE_T_U TYPE STRING,
TIME_ZONE_U TYPE STRING,
WH_NUMBER_U TYPE STRING,
WH_NUMBER_TXT_U TYPE STRING,
LOAD_POINT_ID_U TYPE STRING,
LOAD_POINT_ID_TXT_U TYPE STRING,
LOAD_POINT_UUID_U TYPE STRING,
WH_DOOR_U TYPE STRING,
LOC_DESCRIPTION_U TYPE STRING,
LOC_COUNTRY_REGION_U TYPE STRING,
LOC_STREET_NUMBER_U TYPE STRING,
LOC_CODE_CITY_U TYPE STRING,
KEY_SL TYPE STRING,
KEY_DL TYPE STRING,
FPM_ROW_ACTIONS_COLUMN TYPE STRING,
VISIBLE_PUSH_TO_MAP TYPE STRING,
VISIBLE_REMOVE_FROM_MAP TYPE STRING,
VISIBLE_SHOW_DETAILS TYPE STRING,
VISIBLE_REMOVE_DETAILS TYPE STRING,
DND_DATA TYPE STRING,END OF T_EKKO_STR. DATA: WA_/SCMTMS/S_UI_PLN_FU_SHP_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_/SCMTMS/S_UI_PLN_FU_SHP_STR-KEY sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-OBJ_INDEX sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-STOP_SUCC_KEY sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-TOR_ACT_ID sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-TOR_ACT_KEY sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-TOR_ACT_CAT sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-STAGE_PLANNED sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-PLANNED_ICON sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-PLANNED_TOOLTIP sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-KEY_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-TOR_ID_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-TOR_CAT_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-TOR_TYPE_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-TOR_TYPE_TXT_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-DGO_INDICATOR_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-TRANSSRVLVL_CODE_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-TSP_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-TSPID_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-SCAC_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-SCAC_UI_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-TSPID_TXT_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-TSPID_ADDRESS_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-SHIPPER_KEY_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-SHIPPERID_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-SHIPPERID_TXT_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-SHIPPERID_ADDRESS_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-CONSIGNEE_KEY_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-CONSIGNEEID_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-CONSIGNEEID_TXT_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-CONSIGNEEID_ADDRESS_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-BLK_PLAN_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-BLK_EXEC_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-BRC_PLAN_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-BRC_EXEC_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-BRC_PLAN_TXT_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-BRC_EXEC_TXT_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-TRQ_KEY_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-TRQ_ID_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-TRQ_CAT_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-BASE_BTD_TCO_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-BASE_BTD_TCO_TXT_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-BASE_BTD_ID_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-BASE_BTD_TCO_DLV_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-BASE_BTD_TCO_DLV_TXT_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-BASE_BTD_ID_DLV_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-LOGSYS_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-DSO_CARRIER_KEY_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-DSO_CARRIER_ID_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-DSO_SERVICE_LEVEL_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-DSO_AMOUNT_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-DSO_CURRENCY_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-SEPARATE_PALLET_IND_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-SEPARATE_PALLET_IND_TXT_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-KEY_I sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-PARENT_KEY_I sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-ITEM_PARENT_KEY_I sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-MTR_I sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-GRO_WEI_VAL_I sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-GRO_WEI_UNI_I sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-GRO_VOL_VAL_I sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-GRO_VOL_UNI_I sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-QUA_PCS_VAL_I sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-QUA_PCS_UNI_I sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-QUA_PCS2_VAL_I sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-QUA_PCS2_UNI_I sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-OUT_VOL_VAL_I sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-OUT_VOL_UNI_I sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-NORMLOADCONSVAL_I sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-NORMLOADCONSUOM_I sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-LENGTH_I sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-WIDTH_I sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-HEIGHT_I sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-MEASUOM_I sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-AMT_HVAL_CAR_IND_I sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-PRODUCT_ID_I sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-PRD_FRGHT_GRP_I sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-PRD_FRGHT_GRP_TXT_I sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-PRD_TRANSP_GRP_I sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-PRD_TRANSP_GRP_TXT_I sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-CAPA_TOR_INFO_I sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-CARGO_ITEM_CAT_ICON_I sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-CARGO_ITEM_CAT_TOOLTIP_I sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-KEY_ST sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-PARENT_KEY_ST sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-ROOT_KEY_ST sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-SUCC_STOP_KEY_ST sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-STAGE_SEQ_NUM_ST sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-SUCC_ID_ST sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-DISTANCE_ST sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-DISTANCE_UOM_ST sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-DURATION_NET_ST sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-KEY_L sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-LOG_LOC_UUID_L sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-LOG_LOCID_L sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-REQ_DATE_L sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-REQ_DATE_D_L sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-REQ_DATE_T_L sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-REQ_DATE_LATEST_L sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-REQ_DATE_LATEST_D_L sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-REQ_DATE_LATEST_T_L sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-REQ_DATE_EARLIEST_L sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-REQ_DATE_EARLIEST_D_L sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-REQ_DATE_EARLIEST_T_L sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-LOAD_DATE_L sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-LOAD_DATE_D_L sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-LOAD_DATE_T_L sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-TIME_ZONE_L sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-WH_NUMBER_L sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-WH_NUMBER_TXT_L sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-LOAD_POINT_ID_L sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-LOAD_POINT_ID_TXT_L sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-LOAD_POINT_UUID_L sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-WH_DOOR_L sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-LOC_DESCRIPTION_L sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-LOC_COUNTRY_REGION_L sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-LOC_STREET_NUMBER_L sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-LOC_CODE_CITY_L sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-KEY_U sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-LOG_LOC_UUID_U sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-LOG_LOCID_U sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-REQ_DATE_U sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-REQ_DATE_D_U sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-REQ_DATE_T_U sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-REQ_DATE_LATEST_U sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-REQ_DATE_LATEST_D_U sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-REQ_DATE_LATEST_T_U sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-REQ_DATE_EARLIEST_U sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-REQ_DATE_EARLIEST_D_U sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-REQ_DATE_EARLIEST_T_U sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-LOAD_DATE_U sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-LOAD_DATE_D_U sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-LOAD_DATE_T_U sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-TIME_ZONE_U sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-WH_NUMBER_U sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-WH_NUMBER_TXT_U sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-LOAD_POINT_ID_U sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-LOAD_POINT_ID_TXT_U sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-LOAD_POINT_UUID_U sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-WH_DOOR_U sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-LOC_DESCRIPTION_U sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-LOC_COUNTRY_REGION_U sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-LOC_STREET_NUMBER_U sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-LOC_CODE_CITY_U sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-KEY_SL sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-KEY_DL sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-FPM_ROW_ACTIONS_COLUMN sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-VISIBLE_PUSH_TO_MAP sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-VISIBLE_REMOVE_FROM_MAP sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-VISIBLE_SHOW_DETAILS sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-VISIBLE_REMOVE_DETAILS sy-vline
WA_/SCMTMS/S_UI_PLN_FU_SHP_STR-DND_DATA sy-vline INTO ld_text SEPARATED BY SPACE. *Add any further fields from structure WA_EKKO_STR you want to CONCATENATE... ENDLOOP. ENDFORM.