ABAP Select data from SAP table /SCMTMS/S_UI_PLN_FBO 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_FBO 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_FBO. 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_FBO 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_FBO TYPE STANDARD TABLE OF /SCMTMS/S_UI_PLN_FBO,
      WA_/SCMTMS/S_UI_PLN_FBO TYPE /SCMTMS/S_UI_PLN_FBO,
      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_FBO> TYPE /SCMTMS/S_UI_PLN_FBO.

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

SELECT *
*restrict ABAP select to first 10 rows
 UP TO 10 ROWS      
  FROM /SCMTMS/S_UI_PLN_FBO
  INTO TABLE IT_/SCMTMS/S_UI_PLN_FBO.

*Select data and declare internal table using in-line method @DATA
*SELECT *
*  FROM /SCMTMS/S_UI_PLN_FBO
*  INTO TABLE @DATA(IT_/SCMTMS/S_UI_PLN_FBO2).
*--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_FBO INDEX 1 INTO DATA(WA_/SCMTMS/S_UI_PLN_FBO2).


*Demonstrate how to loop at an internal table and update values using a FIELD-SYMBOL
LOOP AT IT_/SCMTMS/S_UI_PLN_FBO ASSIGNING </SCMTMS/S_UI_PLN_FBO>.
*To update a field value using a field symbol simply change the value via the field symbol pointer
</SCMTMS/S_UI_PLN_FBO>-KEY = 1.
</SCMTMS/S_UI_PLN_FBO>-TOR_UUID = 1.
</SCMTMS/S_UI_PLN_FBO>-OBJ_INDEX = 1.
</SCMTMS/S_UI_PLN_FBO>-KEY_TR = 1.
</SCMTMS/S_UI_PLN_FBO>-TOR_ID_TR = 1.
ENDLOOP.

LOOP AT IT_/SCMTMS/S_UI_PLN_FBO INTO WA_/SCMTMS/S_UI_PLN_FBO.
*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_FBO-TOR_TYPE_TR, sy-vline,
WA_/SCMTMS/S_UI_PLN_FBO-LABELTXT_TR, sy-vline,
WA_/SCMTMS/S_UI_PLN_FBO-TSPID_TR, sy-vline,
WA_/SCMTMS/S_UI_PLN_FBO-TSP_SCAC_TR, sy-vline,
WA_/SCMTMS/S_UI_PLN_FBO-TSP_DESCRIPTION_TR, sy-vline,
WA_/SCMTMS/S_UI_PLN_FBO-PARTNER_MBL_ID_TR, sy-vline.
ENDLOOP. *Add any further fields from structure WA_/SCMTMS/S_UI_PLN_FBO 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_FBO 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_FBO INTO WA_/SCMTMS/S_UI_PLN_FBO. *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_ID_TR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FBO-TOR_ID_TR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FBO-TOR_ID_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_FBO-TSPID_TR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FBO-TSPID_TR.
WRITE:/ 'New Value:', ld_input.

*Conversion exit TSTLC, internal->external for field CREATED_ON_TR CALL FUNCTION 'CONVERSION_EXIT_TSTLC_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FBO-CREATED_ON_TR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FBO-CREATED_ON_TR.
WRITE:/ 'New Value:', ld_input.

*Conversion exit CUNIT, internal->external for field OPEN_CAP_WEI_UNI_TR CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FBO-OPEN_CAP_WEI_UNI_TR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FBO-OPEN_CAP_WEI_UNI_TR.
WRITE:/ 'New Value:', ld_input.

*Conversion exit CUNIT, internal->external for field OPEN_CAP_VOL_UNI_TR CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FBO-OPEN_CAP_VOL_UNI_TR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FBO-OPEN_CAP_VOL_UNI_TR.
WRITE:/ 'New Value:', ld_input.

*Conversion exit CUNIT, internal->external for field GRO_WEI_UNICAP_TR CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FBO-GRO_WEI_UNICAP_TR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FBO-GRO_WEI_UNICAP_TR.
WRITE:/ 'New Value:', ld_input.

*Conversion exit CUNIT, internal->external for field GRO_VOL_UNICAP_TR CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FBO-GRO_VOL_UNICAP_TR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FBO-GRO_VOL_UNICAP_TR.
WRITE:/ 'New Value:', ld_input.

*Conversion exit CUNIT, internal->external for field TOT_DISTANCE_UOM_UI_TR CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FBO-TOT_DISTANCE_UOM_UI_TR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FBO-TOT_DISTANCE_UOM_UI_TR.
WRITE:/ 'New Value:', ld_input.

*Conversion exit PLDUR, internal->external for field TOT_DURATION_GROSS_TR CALL FUNCTION 'CONVERSION_EXIT_PLDUR_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FBO-TOT_DURATION_GROSS_TR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FBO-TOT_DURATION_GROSS_TR.
WRITE:/ 'New Value:', ld_input.

*Conversion exit PLDUR, internal->external for field TOT_DURATION_NET_TR CALL FUNCTION 'CONVERSION_EXIT_PLDUR_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FBO-TOT_DURATION_NET_TR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FBO-TOT_DURATION_NET_TR.
WRITE:/ 'New Value:', ld_input.

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

*Conversion exit CUNIT, internal->external for field NET_WEI_UNI_I CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FBO-NET_WEI_UNI_I IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FBO-NET_WEI_UNI_I.
WRITE:/ 'New Value:', ld_input.

*Conversion exit CUNIT, internal->external for field CONT_CNT_UNI_I CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/SCMTMS/S_UI_PLN_FBO-CONT_CNT_UNI_I IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCMTMS/S_UI_PLN_FBO-CONT_CNT_UNI_I.
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_FBO_STR,
KEY TYPE STRING,
TOR_UUID TYPE STRING,
OBJ_INDEX TYPE STRING,
KEY_TR TYPE STRING,
TOR_ID_TR TYPE STRING,
TOR_TYPE_TR TYPE STRING,
LABELTXT_TR TYPE STRING,
TSPID_TR TYPE STRING,
TSP_SCAC_TR TYPE STRING,
TSP_DESCRIPTION_TR TYPE STRING,
PARTNER_MBL_ID_TR TYPE STRING,
PARTNER_REF_ID_TR TYPE STRING,
DGO_INDICATOR_TR TYPE STRING,
DGO_CHECK_ERROR_TXT_TR TYPE STRING,
FIXATION_ICON_TR TYPE STRING,
FIXATION_TXT_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,
CREATED_BY_TR TYPE STRING,
CREATED_ON_TR TYPE STRING,
MAX_UTIL_TR TYPE STRING,
MAX_UTIL_PI_TR TYPE STRING,
MAX_UTIL_TOOLTIP_TR TYPE STRING,
MAX_UTIL_MASS_TR TYPE STRING,
MAX_UTIL_MASS_PI_TR TYPE STRING,
MAX_UTIL_MASS_TOOLTIP_TR TYPE STRING,
MAX_UTIL_VOLUME_TR TYPE STRING,
MAX_UTIL_VOLUME_PI_TR TYPE STRING,
MAX_UTIL_VOLUME_TOOLTIP_TR TYPE STRING,
OPEN_CAP_WEI_VAL_TR TYPE STRING,
OPEN_CAP_WEI_UNI_TR TYPE STRING,
OPEN_CAP_VOL_VAL_TR TYPE STRING,
OPEN_CAP_VOL_UNI_TR TYPE STRING,
GRO_WEI_VALCAP_TR TYPE STRING,
GRO_WEI_UNICAP_TR TYPE STRING,
GRO_VOL_VALCAP_TR TYPE STRING,
GRO_VOL_UNICAP_TR TYPE STRING,
TOT_DISTANCE_UI_TR TYPE STRING,
TOT_DISTANCE_UOM_UI_TR TYPE STRING,
TOT_DURATION_GROSS_TR TYPE STRING,
TOT_DURATION_NET_TR TYPE STRING,
TOR_STATUS_ICON_TR TYPE STRING,
TOR_STATUS_TOOLTIP_TR TYPE STRING,
READ_ONLY_REF_TR TYPE STRING,
CONFIRMATION_TR TYPE STRING,
CONFIRMATION_TXT_TR TYPE STRING,
KEY_I TYPE STRING,
SCHED_ID_I TYPE STRING,
VOYAGE_ID_I TYPE STRING,
VOYAGE_ID_READ_ONLY_I TYPE STRING,
VESSEL_ID_I TYPE STRING,
VESSEL_ID_READ_ONLY_I TYPE STRING,
IMO_ID_I TYPE STRING,
IMO_ID_READ_ONLY_I TYPE STRING,
NET_WEI_VAL_I TYPE STRING,
NET_WEI_UNI_I TYPE STRING,
CONT_CNT_VAL_I TYPE STRING,
CONT_CNT_UNI_I TYPE STRING,
SCHED_KEY_I TYPE STRING,
KEY_SD TYPE STRING,
LOG_LOCID_SD TYPE STRING,
LOG_LOCUN_SD TYPE STRING,
LOC_DESCRIPTION_SD TYPE STRING,
LOC_STREET_NUMBER_SD TYPE STRING,
LOC_CODE_CITY_SD TYPE STRING,
LOC_COUNTRY_REGION_SD TYPE STRING,
PLAN_TRANS_TIME_D_SD TYPE STRING,
PLAN_TRANS_TIME_T_SD TYPE STRING,
CUTOFF_CARGO_D_SD TYPE STRING,
CUTOFF_CARGO_T_SD TYPE STRING,
CUTOFF_CARGO_TZ_SD TYPE STRING,
KEY_SA TYPE STRING,
LOG_LOCID_SA TYPE STRING,
LOG_LOCUN_SA TYPE STRING,
LOC_DESCRIPTION_SA TYPE STRING,
LOC_STREET_NUMBER_SA TYPE STRING,
LOC_CODE_CITY_SA TYPE STRING,
LOC_COUNTRY_REGION_SA TYPE STRING,
PLAN_TRANS_TIME_D_SA TYPE STRING,
PLAN_TRANS_TIME_T_SA TYPE STRING,
CUTOFF_CARGO_D_SA TYPE STRING,
CUTOFF_CARGO_T_SA TYPE STRING,
CUTOFF_CARGO_TZ_SA TYPE STRING,
KEY_MD TYPE STRING,
LOG_LOCID_MD TYPE STRING,
LOG_LOCUN_MD TYPE STRING,
LOC_DESCRIPTION_MD TYPE STRING,
CUTOFF_CARGO_D_MD TYPE STRING,
CUTOFF_CARGO_T_MD TYPE STRING,
KEY_MA TYPE STRING,
LOG_LOCID_MA TYPE STRING,
LOG_LOCUN_MA TYPE STRING,
LOC_DESCRIPTION_MA TYPE STRING,
CUTOFF_CARGO_D_MA TYPE STRING,
CUTOFF_CARGO_T_MA 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_FBO_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_FBO_STR-KEY sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-TOR_UUID sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-OBJ_INDEX sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-KEY_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-TOR_ID_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-TOR_TYPE_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-LABELTXT_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-TSPID_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-TSP_SCAC_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-TSP_DESCRIPTION_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-PARTNER_MBL_ID_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-PARTNER_REF_ID_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-DGO_INDICATOR_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-DGO_CHECK_ERROR_TXT_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-FIXATION_ICON_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-FIXATION_TXT_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-BLK_PLAN_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-BLK_EXEC_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-BRC_PLAN_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-BRC_EXEC_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-BRC_PLAN_TXT_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-BRC_EXEC_TXT_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-CREATED_BY_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-CREATED_ON_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-MAX_UTIL_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-MAX_UTIL_PI_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-MAX_UTIL_TOOLTIP_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-MAX_UTIL_MASS_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-MAX_UTIL_MASS_PI_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-MAX_UTIL_MASS_TOOLTIP_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-MAX_UTIL_VOLUME_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-MAX_UTIL_VOLUME_PI_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-MAX_UTIL_VOLUME_TOOLTIP_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-OPEN_CAP_WEI_VAL_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-OPEN_CAP_WEI_UNI_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-OPEN_CAP_VOL_VAL_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-OPEN_CAP_VOL_UNI_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-GRO_WEI_VALCAP_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-GRO_WEI_UNICAP_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-GRO_VOL_VALCAP_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-GRO_VOL_UNICAP_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-TOT_DISTANCE_UI_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-TOT_DISTANCE_UOM_UI_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-TOT_DURATION_GROSS_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-TOT_DURATION_NET_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-TOR_STATUS_ICON_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-TOR_STATUS_TOOLTIP_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-READ_ONLY_REF_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-CONFIRMATION_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-CONFIRMATION_TXT_TR sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-KEY_I sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-SCHED_ID_I sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-VOYAGE_ID_I sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-VOYAGE_ID_READ_ONLY_I sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-VESSEL_ID_I sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-VESSEL_ID_READ_ONLY_I sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-IMO_ID_I sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-IMO_ID_READ_ONLY_I sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-NET_WEI_VAL_I sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-NET_WEI_UNI_I sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-CONT_CNT_VAL_I sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-CONT_CNT_UNI_I sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-SCHED_KEY_I sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-KEY_SD sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-LOG_LOCID_SD sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-LOG_LOCUN_SD sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-LOC_DESCRIPTION_SD sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-LOC_STREET_NUMBER_SD sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-LOC_CODE_CITY_SD sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-LOC_COUNTRY_REGION_SD sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-PLAN_TRANS_TIME_D_SD sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-PLAN_TRANS_TIME_T_SD sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-CUTOFF_CARGO_D_SD sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-CUTOFF_CARGO_T_SD sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-CUTOFF_CARGO_TZ_SD sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-KEY_SA sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-LOG_LOCID_SA sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-LOG_LOCUN_SA sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-LOC_DESCRIPTION_SA sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-LOC_STREET_NUMBER_SA sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-LOC_CODE_CITY_SA sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-LOC_COUNTRY_REGION_SA sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-PLAN_TRANS_TIME_D_SA sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-PLAN_TRANS_TIME_T_SA sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-CUTOFF_CARGO_D_SA sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-CUTOFF_CARGO_T_SA sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-CUTOFF_CARGO_TZ_SA sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-KEY_MD sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-LOG_LOCID_MD sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-LOG_LOCUN_MD sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-LOC_DESCRIPTION_MD sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-CUTOFF_CARGO_D_MD sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-CUTOFF_CARGO_T_MD sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-KEY_MA sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-LOG_LOCID_MA sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-LOG_LOCUN_MA sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-LOC_DESCRIPTION_MA sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-CUTOFF_CARGO_D_MA sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-CUTOFF_CARGO_T_MA sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-FPM_ROW_ACTIONS_COLUMN sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-VISIBLE_PUSH_TO_MAP sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-VISIBLE_REMOVE_FROM_MAP sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-VISIBLE_SHOW_DETAILS sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_STR-VISIBLE_REMOVE_DETAILS sy-vline
WA_/SCMTMS/S_UI_PLN_FBO_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.