ABAP Select data from SAP table /SCWM/S_JIT_SEL_MON 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 /SCWM/S_JIT_SEL_MON 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 /SCWM/S_JIT_SEL_MON. 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 /SCWM/S_JIT_SEL_MON 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_/SCWM/S_JIT_SEL_MON TYPE STANDARD TABLE OF /SCWM/S_JIT_SEL_MON, WA_/SCWM/S_JIT_SEL_MON TYPE /SCWM/S_JIT_SEL_MON, 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: </SCWM/S_JIT_SEL_MON> TYPE /SCWM/S_JIT_SEL_MON. *Process all fields in table header/work area as string values PERFORM process_as_string_field_values CHANGING wa_/SCWM/S_JIT_SEL_MON. SELECT * *restrict ABAP select to first 10 rows UP TO 10 ROWS FROM /SCWM/S_JIT_SEL_MON INTO TABLE IT_/SCWM/S_JIT_SEL_MON. *Select data and declare internal table using in-line method @DATA *SELECT * * FROM /SCWM/S_JIT_SEL_MON * INTO TABLE @DATA(IT_/SCWM/S_JIT_SEL_MON2). *--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_/SCWM/S_JIT_SEL_MON INDEX 1 INTO DATA(WA_/SCWM/S_JIT_SEL_MON2). *Demonstrate how to loop at an internal table and update values using a FIELD-SYMBOL LOOP AT IT_/SCWM/S_JIT_SEL_MON ASSIGNING </SCWM/S_JIT_SEL_MON>.*To update a field value using a field symbol simply change the value via the field symbol pointer
</SCWM/S_JIT_SEL_MON>-LGNUM = 1.
</SCWM/S_JIT_SEL_MON>-CALL_NUM = 1.
</SCWM/S_JIT_SEL_MON>-CALL_NUM_EXT = 1.
</SCWM/S_JIT_SEL_MON>-CALL_TYPE = 1.
</SCWM/S_JIT_SEL_MON>-COMPONENT_GROUP_MATERIAL = 1.
ENDLOOP. LOOP AT IT_/SCWM/S_JIT_SEL_MON INTO WA_/SCWM/S_JIT_SEL_MON. *Write horizonal line to screen report. WRITE:/ sy-uline. *Write selected data to screen/report before conversion. WRITE:/ sy-vline, WA_/SCWM/S_JIT_SEL_MON-COMPONENT_GROUP, sy-vline,
WA_/SCWM/S_JIT_SEL_MON-EXT_COMPONENT_GROUP, sy-vline,
WA_/SCWM/S_JIT_SEL_MON-DOCNO, sy-vline,
WA_/SCWM/S_JIT_SEL_MON-ITEMNO, sy-vline,
WA_/SCWM/S_JIT_SEL_MON-VEHICLE_IDENT, sy-vline,
WA_/SCWM/S_JIT_SEL_MON-SEQUENCE_NUM_INT, sy-vline.
ENDLOOP. *Add any further fields from structure WA_/SCWM/S_JIT_SEL_MON 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_/SCWM/S_JIT_SEL_MON 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_/SCWM/S_JIT_SEL_MON INTO WA_/SCWM/S_JIT_SEL_MON. *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 CALL_NUM CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/SCWM/S_JIT_SEL_MON-CALL_NUM IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCWM/S_JIT_SEL_MON-CALL_NUM.
WRITE:/ 'New Value:', ld_input.
*Conversion exit MATN1, internal->external for field COMPONENT_GROUP_MATERIAL CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = WA_/SCWM/S_JIT_SEL_MON-COMPONENT_GROUP_MATERIAL IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCWM/S_JIT_SEL_MON-COMPONENT_GROUP_MATERIAL.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field DOCNO CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/SCWM/S_JIT_SEL_MON-DOCNO IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCWM/S_JIT_SEL_MON-DOCNO.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPH0, internal->external for field ITEMNO CALL FUNCTION 'CONVERSION_EXIT_ALPH0_OUTPUT' EXPORTING input = WA_/SCWM/S_JIT_SEL_MON-ITEMNO IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCWM/S_JIT_SEL_MON-ITEMNO.
WRITE:/ 'New Value:', ld_input.
*Conversion exit MDLPD, internal->external for field MATID CALL FUNCTION 'CONVERSION_EXIT_MDLPD_OUTPUT' EXPORTING input = WA_/SCWM/S_JIT_SEL_MON-MATID IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCWM/S_JIT_SEL_MON-MATID.
WRITE:/ 'New Value:', ld_input.
*Conversion exit MATN1, internal->external for field MATNR CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = WA_/SCWM/S_JIT_SEL_MON-MATNR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCWM/S_JIT_SEL_MON-MATNR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field PSA CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/SCWM/S_JIT_SEL_MON-PSA IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCWM/S_JIT_SEL_MON-PSA.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field CONTROL_CYCLE CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/SCWM/S_JIT_SEL_MON-CONTROL_CYCLE IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCWM/S_JIT_SEL_MON-CONTROL_CYCLE.
WRITE:/ 'New Value:', ld_input.
*Conversion exit BPMAP, internal->external for field OWNER CALL FUNCTION 'CONVERSION_EXIT_BPMAP_OUTPUT' EXPORTING input = WA_/SCWM/S_JIT_SEL_MON-OWNER IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCWM/S_JIT_SEL_MON-OWNER.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field ENTITLED CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/SCWM/S_JIT_SEL_MON-ENTITLED IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCWM/S_JIT_SEL_MON-ENTITLED.
WRITE:/ 'New Value:', ld_input.
*Conversion exit TSTWH, internal->external for field SUPPLY_DT CALL FUNCTION 'CONVERSION_EXIT_TSTWH_OUTPUT' EXPORTING input = WA_/SCWM/S_JIT_SEL_MON-SUPPLY_DT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCWM/S_JIT_SEL_MON-SUPPLY_DT.
WRITE:/ 'New Value:', ld_input.
*Conversion exit TSTWH, internal->external for field WHSE_ACT_END_DT CALL FUNCTION 'CONVERSION_EXIT_TSTWH_OUTPUT' EXPORTING input = WA_/SCWM/S_JIT_SEL_MON-WHSE_ACT_END_DT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCWM/S_JIT_SEL_MON-WHSE_ACT_END_DT.
WRITE:/ 'New Value:', ld_input.
*Conversion exit TSTWH, internal->external for field CREATED_AT CALL FUNCTION 'CONVERSION_EXIT_TSTWH_OUTPUT' EXPORTING input = WA_/SCWM/S_JIT_SEL_MON-CREATED_AT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCWM/S_JIT_SEL_MON-CREATED_AT.
WRITE:/ 'New Value:', ld_input.
*Conversion exit TSTWH, internal->external for field CHANGED_AT CALL FUNCTION 'CONVERSION_EXIT_TSTWH_OUTPUT' EXPORTING input = WA_/SCWM/S_JIT_SEL_MON-CHANGED_AT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCWM/S_JIT_SEL_MON-CHANGED_AT.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPH0, internal->external for field TANUM CALL FUNCTION 'CONVERSION_EXIT_ALPH0_OUTPUT' EXPORTING input = WA_/SCWM/S_JIT_SEL_MON-TANUM IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCWM/S_JIT_SEL_MON-TANUM.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPH0, internal->external for field WAVE CALL FUNCTION 'CONVERSION_EXIT_ALPH0_OUTPUT' EXPORTING input = WA_/SCWM/S_JIT_SEL_MON-WAVE IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCWM/S_JIT_SEL_MON-WAVE.
WRITE:/ 'New Value:', ld_input.
*Conversion exit TSTWH, internal->external for field RLS_DT CALL FUNCTION 'CONVERSION_EXIT_TSTWH_OUTPUT' EXPORTING input = WA_/SCWM/S_JIT_SEL_MON-RLS_DT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCWM/S_JIT_SEL_MON-RLS_DT.
WRITE:/ 'New Value:', ld_input.
*Conversion exit TSTWH, internal->external for field CUTOFF_DT CALL FUNCTION 'CONVERSION_EXIT_TSTWH_OUTPUT' EXPORTING input = WA_/SCWM/S_JIT_SEL_MON-CUTOFF_DT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCWM/S_JIT_SEL_MON-CUTOFF_DT.
WRITE:/ 'New Value:', ld_input.
*Conversion exit TSTWH, internal->external for field LOAD_COMP_DT CALL FUNCTION 'CONVERSION_EXIT_TSTWH_OUTPUT' EXPORTING input = WA_/SCWM/S_JIT_SEL_MON-LOAD_COMP_DT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCWM/S_JIT_SEL_MON-LOAD_COMP_DT.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPH0, internal->external for field WHO CALL FUNCTION 'CONVERSION_EXIT_ALPH0_OUTPUT' EXPORTING input = WA_/SCWM/S_JIT_SEL_MON-WHO IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCWM/S_JIT_SEL_MON-WHO.
WRITE:/ 'New Value:', ld_input.
*Conversion exit PROCR, internal->external for field PROCESSOR CALL FUNCTION 'CONVERSION_EXIT_PROCR_OUTPUT' EXPORTING input = WA_/SCWM/S_JIT_SEL_MON-PROCESSOR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCWM/S_JIT_SEL_MON-PROCESSOR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit TSTWH, internal->external for field CREATED_AT_WO CALL FUNCTION 'CONVERSION_EXIT_TSTWH_OUTPUT' EXPORTING input = WA_/SCWM/S_JIT_SEL_MON-CREATED_AT_WO IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCWM/S_JIT_SEL_MON-CREATED_AT_WO.
WRITE:/ 'New Value:', ld_input.
*Conversion exit HUID, internal->external for field HUIDENT CALL FUNCTION 'CONVERSION_EXIT_HUID_OUTPUT' EXPORTING input = WA_/SCWM/S_JIT_SEL_MON-HUIDENT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCWM/S_JIT_SEL_MON-HUIDENT.
WRITE:/ 'New Value:', ld_input.
*Conversion exit MATN1, internal->external for field PMAT CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = WA_/SCWM/S_JIT_SEL_MON-PMAT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SCWM/S_JIT_SEL_MON-PMAT.
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_/SCWM/S_JIT_SEL_MON_STR,
LGNUM TYPE STRING,
CALL_NUM TYPE STRING,
CALL_NUM_EXT TYPE STRING,
CALL_TYPE TYPE STRING,
COMPONENT_GROUP_MATERIAL TYPE STRING,
COMPONENT_GROUP TYPE STRING,
EXT_COMPONENT_GROUP TYPE STRING,
DOCNO TYPE STRING,
ITEMNO TYPE STRING,
VEHICLE_IDENT TYPE STRING,
SEQUENCE_NUM_INT TYPE STRING,
PLANNED_ORDER TYPE STRING,
PRIORITY TYPE STRING,
MISSING_MATERIAL TYPE STRING,
JIT_LIFECYCLE_STATUS_VALUE TYPE STRING,
STATUS_VALUE_DWP_I TYPE STRING,
STATUS_VALUE_DWI_I TYPE STRING,
STATUS_VALUE_TRANSFERRED TYPE STRING,
STATUS_VALUE_DBO_I TYPE STRING,
STATUS_VALUE_DBV_I TYPE STRING,
MATID TYPE STRING,
MATNR TYPE STRING,
LGPLA TYPE STRING,
NLPLA TYPE STRING,
PSA TYPE STRING,
CONTROL_CYCLE TYPE STRING,
OWNER TYPE STRING,
ENTITLED TYPE STRING,
PROCTY TYPE STRING,
WAVEFLG TYPE STRING,
SUPPLY_DT TYPE STRING,
SUPPLY_DATE TYPE STRING,
SUPPLY_TIME TYPE STRING,
WHSE_ACT_END_DT TYPE STRING,
WHSE_ACT_END_DATE TYPE STRING,
WHSE_ACT_END_TIME TYPE STRING,
CREATED_AT TYPE STRING,
CREATED_AT_DATE TYPE STRING,
CREATED_AT_TIME TYPE STRING,
CREATED_BY TYPE STRING,
CHANGED_AT TYPE STRING,
CHANGED_AT_DATE TYPE STRING,
CHANGED_AT_TIME TYPE STRING,
CHANGED_BY TYPE STRING,
TANUM TYPE STRING,
TOSTATUS TYPE STRING,
CHARG TYPE STRING,
CAT TYPE STRING,
AAREA TYPE STRING,
VLTYP TYPE STRING,
QUEUE TYPE STRING,
IDPLATE TYPE STRING,
WAVE TYPE STRING,
WAVETYPE TYPE STRING,
WAVECAT TYPE STRING,
RLS_MTHD TYPE STRING,
RLS_DT TYPE STRING,
RLS_DATE TYPE STRING,
RLS_TIME TYPE STRING,
CUTOFF_DT TYPE STRING,
CUTOFF_DATE TYPE STRING,
CUTOFF_TIME TYPE STRING,
LOAD_COMP_DT TYPE STRING,
LOAD_COMP_DATE TYPE STRING,
LOAD_COMP_TIME TYPE STRING,
WAVE_STAT TYPE STRING,
WHO TYPE STRING,
WCR TYPE STRING,
WCRTYPE TYPE STRING,
HDR_PROCTY TYPE STRING,
WHOSTATUS TYPE STRING,
PROCESSOR TYPE STRING,
CREATED_DATE_WO TYPE STRING,
CREATED_TIME_WO TYPE STRING,
CREATED_AT_WO TYPE STRING,
HUIDENT TYPE STRING,
PMAT TYPE STRING,
PMTYP TYPE STRING,
HUTYP TYPE STRING,
JIT_SEL_DUMMY TYPE STRING,END OF T_EKKO_STR. DATA: WA_/SCWM/S_JIT_SEL_MON_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_/SCWM/S_JIT_SEL_MON_STR-LGNUM sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-CALL_NUM sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-CALL_NUM_EXT sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-CALL_TYPE sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-COMPONENT_GROUP_MATERIAL sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-COMPONENT_GROUP sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-EXT_COMPONENT_GROUP sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-DOCNO sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-ITEMNO sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-VEHICLE_IDENT sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-SEQUENCE_NUM_INT sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-PLANNED_ORDER sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-PRIORITY sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-MISSING_MATERIAL sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-JIT_LIFECYCLE_STATUS_VALUE sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-STATUS_VALUE_DWP_I sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-STATUS_VALUE_DWI_I sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-STATUS_VALUE_TRANSFERRED sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-STATUS_VALUE_DBO_I sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-STATUS_VALUE_DBV_I sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-MATID sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-MATNR sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-LGPLA sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-NLPLA sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-PSA sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-CONTROL_CYCLE sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-OWNER sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-ENTITLED sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-PROCTY sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-WAVEFLG sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-SUPPLY_DT sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-SUPPLY_DATE sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-SUPPLY_TIME sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-WHSE_ACT_END_DT sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-WHSE_ACT_END_DATE sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-WHSE_ACT_END_TIME sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-CREATED_AT sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-CREATED_AT_DATE sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-CREATED_AT_TIME sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-CREATED_BY sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-CHANGED_AT sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-CHANGED_AT_DATE sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-CHANGED_AT_TIME sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-CHANGED_BY sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-TANUM sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-TOSTATUS sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-CHARG sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-CAT sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-AAREA sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-VLTYP sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-QUEUE sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-IDPLATE sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-WAVE sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-WAVETYPE sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-WAVECAT sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-RLS_MTHD sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-RLS_DT sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-RLS_DATE sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-RLS_TIME sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-CUTOFF_DT sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-CUTOFF_DATE sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-CUTOFF_TIME sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-LOAD_COMP_DT sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-LOAD_COMP_DATE sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-LOAD_COMP_TIME sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-WAVE_STAT sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-WHO sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-WCR sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-WCRTYPE sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-HDR_PROCTY sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-WHOSTATUS sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-PROCESSOR sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-CREATED_DATE_WO sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-CREATED_TIME_WO sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-CREATED_AT_WO sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-HUIDENT sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-PMAT sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-PMTYP sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-HUTYP sy-vline
WA_/SCWM/S_JIT_SEL_MON_STR-JIT_SEL_DUMMY sy-vline INTO ld_text SEPARATED BY SPACE. *Add any further fields from structure WA_EKKO_STR you want to CONCATENATE... ENDLOOP. ENDFORM.