ABAP Select data from SAP table /ACCGO/T_UISEVNT 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 /ACCGO/T_UISEVNT 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 /ACCGO/T_UISEVNT. 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 /ACCGO/T_UISEVNT 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_/ACCGO/T_UISEVNT TYPE STANDARD TABLE OF /ACCGO/T_UISEVNT,
      WA_/ACCGO/T_UISEVNT TYPE /ACCGO/T_UISEVNT,
      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: </ACCGO/T_UISEVNT> TYPE /ACCGO/T_UISEVNT.

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

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

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


*Demonstrate how to loop at an internal table and update values using a FIELD-SYMBOL
LOOP AT IT_/ACCGO/T_UISEVNT ASSIGNING </ACCGO/T_UISEVNT>.
*To update a field value using a field symbol simply change the value via the field symbol pointer
</ACCGO/T_UISEVNT>-MANDT = 1.
</ACCGO/T_UISEVNT>-UIS_EVNT_KEY = 1.
</ACCGO/T_UISEVNT>-PARENT_KEY = 1.
</ACCGO/T_UISEVNT>-EVENT_TYPE = 1.
</ACCGO/T_UISEVNT>-PURCHASE_ORG = 1.
ENDLOOP.

LOOP AT IT_/ACCGO/T_UISEVNT INTO WA_/ACCGO/T_UISEVNT.
*Write horizonal line to screen report.
  WRITE:/ sy-uline.

*Write selected data to screen/report before conversion.
  WRITE:/ sy-vline,   WA_/ACCGO/T_UISEVNT-SPECIFIC_MATNR, sy-vline,
WA_/ACCGO/T_UISEVNT-MATERIAL, sy-vline,
WA_/ACCGO/T_UISEVNT-TRACE_ID, sy-vline,
WA_/ACCGO/T_UISEVNT-TICKET, sy-vline,
WA_/ACCGO/T_UISEVNT-TICKET_RC, sy-vline,
WA_/ACCGO/T_UISEVNT-EXT_IDENTIFIER, sy-vline.
ENDLOOP. *Add any further fields from structure WA_/ACCGO/T_UISEVNT 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_/ACCGO/T_UISEVNT 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_/ACCGO/T_UISEVNT INTO WA_/ACCGO/T_UISEVNT. *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 MATN1, internal->external for field SPECIFIC_MATNR CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = WA_/ACCGO/T_UISEVNT-SPECIFIC_MATNR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ACCGO/T_UISEVNT-SPECIFIC_MATNR.
WRITE:/ 'New Value:', ld_input.

*Conversion exit MATN1, internal->external for field MATERIAL CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = WA_/ACCGO/T_UISEVNT-MATERIAL IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ACCGO/T_UISEVNT-MATERIAL.
WRITE:/ 'New Value:', ld_input.

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

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

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

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

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

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

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

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

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

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

*Conversion exit GJAHR, internal->external for field DOC_YEAR CALL FUNCTION 'CONVERSION_EXIT_GJAHR_OUTPUT' EXPORTING input = WA_/ACCGO/T_UISEVNT-DOC_YEAR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ACCGO/T_UISEVNT-DOC_YEAR.
WRITE:/ 'New Value:', ld_input.

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

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

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

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

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

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

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

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

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

*Conversion exit TSTLC, internal->external for field CHANGED_ON CALL FUNCTION 'CONVERSION_EXIT_TSTLC_OUTPUT' EXPORTING input = WA_/ACCGO/T_UISEVNT-CHANGED_ON IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ACCGO/T_UISEVNT-CHANGED_ON.
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_/ACCGO/T_UISEVNT_STR,
MANDT TYPE STRING,
UIS_EVNT_KEY TYPE STRING,
PARENT_KEY TYPE STRING,
EVENT_TYPE TYPE STRING,
PURCHASE_ORG TYPE STRING,
SPECIFIC_MATNR TYPE STRING,
MATERIAL TYPE STRING,
TRACE_ID TYPE STRING,
TICKET TYPE STRING,
TICKET_RC TYPE STRING,
EXT_IDENTIFIER TYPE STRING,
FINAL_DELIVERY TYPE STRING,
DISPUTE_STATUS TYPE STRING,
EVNT_LOC_TYP TYPE STRING,
EVNT_LOC TYPE STRING,
REC_LOC_TYP TYPE STRING,
REC_LOC TYPE STRING,
PLANNED_UNLOAD_LOC_TYP TYPE STRING,
PLANNED_UNLOAD_LOC TYPE STRING,
ADV_DISCH_LOC_TYPE TYPE STRING,
ADV_DISCH_LOC TYPE STRING,
STAGE_LOC TYPE STRING,
APPL_INSTR TYPE STRING,
ON_ACC_OF TYPE STRING,
TC_ID TYPE STRING,
TC_ITEM TYPE STRING,
B2B_TC_ID TYPE STRING,
B2B_TC_ITEM TYPE STRING,
NOMTYP TYPE STRING,
TSYST TYPE STRING,
PO_ID TYPE STRING,
PO_ITEM TYPE STRING,
STO_ID TYPE STRING,
STO_ITEM TYPE STRING,
SO_ID TYPE STRING,
SO_ITEM TYPE STRING,
DEL_ID TYPE STRING,
DEL_ITEM TYPE STRING,
ACCNT_ADDR_FLAG TYPE STRING,
STORAGE_AGREEMENT TYPE STRING,
STORAGE_AGREEMENT_ITEM TYPE STRING,
MAT_DOC TYPE STRING,
DOC_YEAR TYPE STRING,
BOL TYPE STRING,
BOL_DATE TYPE STRING,
NOM_KEY TYPE STRING,
NOM_ID TYPE STRING,
NOM_ITEM TYPE STRING,
MOT TYPE STRING,
TRNSP_GRP TYPE STRING,
MEANS_OF_TRNSP TYPE STRING,
DRIVER_ID TYPE STRING,
LICENSE TYPE STRING,
VEHICLE_ID TYPE STRING,
LEAD_CAR_NO TYPE STRING,
NO_OF_CARS TYPE STRING,
BARGE_ID TYPE STRING,
VESSEL_ID TYPE STRING,
BOOKING_NO TYPE STRING,
DESCR TYPE STRING,
SCALE_TKT_NO TYPE STRING,
LOAD_RT TYPE STRING,
DIS_RT TYPE STRING,
CROP_SEASON_ID TYPE STRING,
DEL_PERIOD TYPE STRING,
DEL_PERIOD_END TYPE STRING,
SOURCE_LOC TYPE STRING,
LOAD_RT_QTY TYPE STRING,
LOAD_RT_TIM TYPE STRING,
DEL_PD_UOM TYPE STRING,
DIS_RT_QTY TYPE STRING,
DIS_RT_TIM TYPE STRING,
LOAD_LOCATION TYPE STRING,
DISCHARGE_LOC TYPE STRING,
VKTRA TYPE STRING,
MEANS_TRNSPT TYPE STRING,
INCO_TERMS TYPE STRING,
DELETION_FLAG TYPE STRING,
ALTERNATE_VENDOR TYPE STRING,
EVNT_ACTUAL_DATE TYPE STRING,
EVNT_ACTUAL_TIME TYPE STRING,
EVNT_ACTUAL_ON TYPE STRING,
EV_ACTION TYPE STRING,
EV_BIN TYPE STRING,
EV_STORAGE TYPE STRING,
COMMENTS TYPE STRING,
RELEASED_BY TYPE STRING,
RELEASED_DATE TYPE STRING,
RELEASED_TIME TYPE STRING,
REL_WGT_QREP_GUID TYPE STRING,
REL_WGT_QREP_VERSION TYPE STRING,
CAR_LOT_RELEVANT TYPE STRING,
POSTING_DATE TYPE STRING,
DPA_NUMBER TYPE STRING,
VKORG TYPE STRING,
VTVEG TYPE STRING,
SPART TYPE STRING,
INCOTERM_UPS TYPE STRING,
AUTO_INCOTERM TYPE STRING,
WERKS TYPE STRING,
CREATED_BY TYPE STRING,
CREATED_ON TYPE STRING,
CHANGED_BY TYPE STRING,
CHANGED_ON TYPE STRING,
ITEM TYPE STRING,
PART_WT_IND TYPE STRING,
CA_DATE TYPE STRING,END OF T_EKKO_STR. DATA: WA_/ACCGO/T_UISEVNT_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_/ACCGO/T_UISEVNT_STR-MANDT sy-vline
WA_/ACCGO/T_UISEVNT_STR-UIS_EVNT_KEY sy-vline
WA_/ACCGO/T_UISEVNT_STR-PARENT_KEY sy-vline
WA_/ACCGO/T_UISEVNT_STR-EVENT_TYPE sy-vline
WA_/ACCGO/T_UISEVNT_STR-PURCHASE_ORG sy-vline
WA_/ACCGO/T_UISEVNT_STR-SPECIFIC_MATNR sy-vline
WA_/ACCGO/T_UISEVNT_STR-MATERIAL sy-vline
WA_/ACCGO/T_UISEVNT_STR-TRACE_ID sy-vline
WA_/ACCGO/T_UISEVNT_STR-TICKET sy-vline
WA_/ACCGO/T_UISEVNT_STR-TICKET_RC sy-vline
WA_/ACCGO/T_UISEVNT_STR-EXT_IDENTIFIER sy-vline
WA_/ACCGO/T_UISEVNT_STR-FINAL_DELIVERY sy-vline
WA_/ACCGO/T_UISEVNT_STR-DISPUTE_STATUS sy-vline
WA_/ACCGO/T_UISEVNT_STR-EVNT_LOC_TYP sy-vline
WA_/ACCGO/T_UISEVNT_STR-EVNT_LOC sy-vline
WA_/ACCGO/T_UISEVNT_STR-REC_LOC_TYP sy-vline
WA_/ACCGO/T_UISEVNT_STR-REC_LOC sy-vline
WA_/ACCGO/T_UISEVNT_STR-PLANNED_UNLOAD_LOC_TYP sy-vline
WA_/ACCGO/T_UISEVNT_STR-PLANNED_UNLOAD_LOC sy-vline
WA_/ACCGO/T_UISEVNT_STR-ADV_DISCH_LOC_TYPE sy-vline
WA_/ACCGO/T_UISEVNT_STR-ADV_DISCH_LOC sy-vline
WA_/ACCGO/T_UISEVNT_STR-STAGE_LOC sy-vline
WA_/ACCGO/T_UISEVNT_STR-APPL_INSTR sy-vline
WA_/ACCGO/T_UISEVNT_STR-ON_ACC_OF sy-vline
WA_/ACCGO/T_UISEVNT_STR-TC_ID sy-vline
WA_/ACCGO/T_UISEVNT_STR-TC_ITEM sy-vline
WA_/ACCGO/T_UISEVNT_STR-B2B_TC_ID sy-vline
WA_/ACCGO/T_UISEVNT_STR-B2B_TC_ITEM sy-vline
WA_/ACCGO/T_UISEVNT_STR-NOMTYP sy-vline
WA_/ACCGO/T_UISEVNT_STR-TSYST sy-vline
WA_/ACCGO/T_UISEVNT_STR-PO_ID sy-vline
WA_/ACCGO/T_UISEVNT_STR-PO_ITEM sy-vline
WA_/ACCGO/T_UISEVNT_STR-STO_ID sy-vline
WA_/ACCGO/T_UISEVNT_STR-STO_ITEM sy-vline
WA_/ACCGO/T_UISEVNT_STR-SO_ID sy-vline
WA_/ACCGO/T_UISEVNT_STR-SO_ITEM sy-vline
WA_/ACCGO/T_UISEVNT_STR-DEL_ID sy-vline
WA_/ACCGO/T_UISEVNT_STR-DEL_ITEM sy-vline
WA_/ACCGO/T_UISEVNT_STR-ACCNT_ADDR_FLAG sy-vline
WA_/ACCGO/T_UISEVNT_STR-STORAGE_AGREEMENT sy-vline
WA_/ACCGO/T_UISEVNT_STR-STORAGE_AGREEMENT_ITEM sy-vline
WA_/ACCGO/T_UISEVNT_STR-MAT_DOC sy-vline
WA_/ACCGO/T_UISEVNT_STR-DOC_YEAR sy-vline
WA_/ACCGO/T_UISEVNT_STR-BOL sy-vline
WA_/ACCGO/T_UISEVNT_STR-BOL_DATE sy-vline
WA_/ACCGO/T_UISEVNT_STR-NOM_KEY sy-vline
WA_/ACCGO/T_UISEVNT_STR-NOM_ID sy-vline
WA_/ACCGO/T_UISEVNT_STR-NOM_ITEM sy-vline
WA_/ACCGO/T_UISEVNT_STR-MOT sy-vline
WA_/ACCGO/T_UISEVNT_STR-TRNSP_GRP sy-vline
WA_/ACCGO/T_UISEVNT_STR-MEANS_OF_TRNSP sy-vline
WA_/ACCGO/T_UISEVNT_STR-DRIVER_ID sy-vline
WA_/ACCGO/T_UISEVNT_STR-LICENSE sy-vline
WA_/ACCGO/T_UISEVNT_STR-VEHICLE_ID sy-vline
WA_/ACCGO/T_UISEVNT_STR-LEAD_CAR_NO sy-vline
WA_/ACCGO/T_UISEVNT_STR-NO_OF_CARS sy-vline
WA_/ACCGO/T_UISEVNT_STR-BARGE_ID sy-vline
WA_/ACCGO/T_UISEVNT_STR-VESSEL_ID sy-vline
WA_/ACCGO/T_UISEVNT_STR-BOOKING_NO sy-vline
WA_/ACCGO/T_UISEVNT_STR-DESCR sy-vline
WA_/ACCGO/T_UISEVNT_STR-SCALE_TKT_NO sy-vline
WA_/ACCGO/T_UISEVNT_STR-LOAD_RT sy-vline
WA_/ACCGO/T_UISEVNT_STR-DIS_RT sy-vline
WA_/ACCGO/T_UISEVNT_STR-CROP_SEASON_ID sy-vline
WA_/ACCGO/T_UISEVNT_STR-DEL_PERIOD sy-vline
WA_/ACCGO/T_UISEVNT_STR-DEL_PERIOD_END sy-vline
WA_/ACCGO/T_UISEVNT_STR-SOURCE_LOC sy-vline
WA_/ACCGO/T_UISEVNT_STR-LOAD_RT_QTY sy-vline
WA_/ACCGO/T_UISEVNT_STR-LOAD_RT_TIM sy-vline
WA_/ACCGO/T_UISEVNT_STR-DEL_PD_UOM sy-vline
WA_/ACCGO/T_UISEVNT_STR-DIS_RT_QTY sy-vline
WA_/ACCGO/T_UISEVNT_STR-DIS_RT_TIM sy-vline
WA_/ACCGO/T_UISEVNT_STR-LOAD_LOCATION sy-vline
WA_/ACCGO/T_UISEVNT_STR-DISCHARGE_LOC sy-vline
WA_/ACCGO/T_UISEVNT_STR-VKTRA sy-vline
WA_/ACCGO/T_UISEVNT_STR-MEANS_TRNSPT sy-vline
WA_/ACCGO/T_UISEVNT_STR-INCO_TERMS sy-vline
WA_/ACCGO/T_UISEVNT_STR-DELETION_FLAG sy-vline
WA_/ACCGO/T_UISEVNT_STR-ALTERNATE_VENDOR sy-vline
WA_/ACCGO/T_UISEVNT_STR-EVNT_ACTUAL_DATE sy-vline
WA_/ACCGO/T_UISEVNT_STR-EVNT_ACTUAL_TIME sy-vline
WA_/ACCGO/T_UISEVNT_STR-EVNT_ACTUAL_ON sy-vline
WA_/ACCGO/T_UISEVNT_STR-EV_ACTION sy-vline
WA_/ACCGO/T_UISEVNT_STR-EV_BIN sy-vline
WA_/ACCGO/T_UISEVNT_STR-EV_STORAGE sy-vline
WA_/ACCGO/T_UISEVNT_STR-COMMENTS sy-vline
WA_/ACCGO/T_UISEVNT_STR-RELEASED_BY sy-vline
WA_/ACCGO/T_UISEVNT_STR-RELEASED_DATE sy-vline
WA_/ACCGO/T_UISEVNT_STR-RELEASED_TIME sy-vline
WA_/ACCGO/T_UISEVNT_STR-REL_WGT_QREP_GUID sy-vline
WA_/ACCGO/T_UISEVNT_STR-REL_WGT_QREP_VERSION sy-vline
WA_/ACCGO/T_UISEVNT_STR-CAR_LOT_RELEVANT sy-vline
WA_/ACCGO/T_UISEVNT_STR-POSTING_DATE sy-vline
WA_/ACCGO/T_UISEVNT_STR-DPA_NUMBER sy-vline
WA_/ACCGO/T_UISEVNT_STR-VKORG sy-vline
WA_/ACCGO/T_UISEVNT_STR-VTVEG sy-vline
WA_/ACCGO/T_UISEVNT_STR-SPART sy-vline
WA_/ACCGO/T_UISEVNT_STR-INCOTERM_UPS sy-vline
WA_/ACCGO/T_UISEVNT_STR-AUTO_INCOTERM sy-vline
WA_/ACCGO/T_UISEVNT_STR-WERKS sy-vline
WA_/ACCGO/T_UISEVNT_STR-CREATED_BY sy-vline
WA_/ACCGO/T_UISEVNT_STR-CREATED_ON sy-vline
WA_/ACCGO/T_UISEVNT_STR-CHANGED_BY sy-vline
WA_/ACCGO/T_UISEVNT_STR-CHANGED_ON sy-vline
WA_/ACCGO/T_UISEVNT_STR-ITEM sy-vline
WA_/ACCGO/T_UISEVNT_STR-PART_WT_IND sy-vline
WA_/ACCGO/T_UISEVNT_STR-CA_DATE sy-vline INTO ld_text SEPARATED BY SPACE. *Add any further fields from structure WA_EKKO_STR you want to CONCATENATE... ENDLOOP. ENDFORM.