ABAP Select data from SAP table FAP_OC_S_CHECK_POSTTAB 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 FAP_OC_S_CHECK_POSTTAB 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 FAP_OC_S_CHECK_POSTTAB. 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 FAP_OC_S_CHECK_POSTTAB 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_FAP_OC_S_CHECK_POSTTAB TYPE STANDARD TABLE OF FAP_OC_S_CHECK_POSTTAB,
      WA_FAP_OC_S_CHECK_POSTTAB TYPE FAP_OC_S_CHECK_POSTTAB,
      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: <FAP_OC_S_CHECK_POSTTAB> TYPE FAP_OC_S_CHECK_POSTTAB.

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

SELECT *
*restrict ABAP select to first 10 rows
 UP TO 10 ROWS      
  FROM FAP_OC_S_CHECK_POSTTAB
  INTO TABLE IT_FAP_OC_S_CHECK_POSTTAB.

*Select data and declare internal table using in-line method @DATA
*SELECT *
*  FROM FAP_OC_S_CHECK_POSTTAB
*  INTO TABLE @DATA(IT_FAP_OC_S_CHECK_POSTTAB2).
*--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_FAP_OC_S_CHECK_POSTTAB INDEX 1 INTO DATA(WA_FAP_OC_S_CHECK_POSTTAB2).


*Demonstrate how to loop at an internal table and update values using a FIELD-SYMBOL
LOOP AT IT_FAP_OC_S_CHECK_POSTTAB ASSIGNING <FAP_OC_S_CHECK_POSTTAB>.
*To update a field value using a field symbol simply change the value via the field symbol pointer
<FAP_OC_S_CHECK_POSTTAB>-XAUTH = 1.
<FAP_OC_S_CHECK_POSTTAB>-XHELL = 1.
<FAP_OC_S_CHECK_POSTTAB>-ACTIV = 1.
<FAP_OC_S_CHECK_POSTTAB>-ANLN1 = 1.
<FAP_OC_S_CHECK_POSTTAB>-ANLN2 = 1.
ENDLOOP.

LOOP AT IT_FAP_OC_S_CHECK_POSTTAB INTO WA_FAP_OC_S_CHECK_POSTTAB.
*Write horizonal line to screen report.
  WRITE:/ sy-uline.

*Write selected data to screen/report before conversion.
  WRITE:/ sy-vline,   WA_FAP_OC_S_CHECK_POSTTAB-AUFNR, sy-vline,
WA_FAP_OC_S_CHECK_POSTTAB-AUGBL, sy-vline,
WA_FAP_OC_S_CHECK_POSTTAB-AUGDT, sy-vline,
WA_FAP_OC_S_CHECK_POSTTAB-BELNR, sy-vline,
WA_FAP_OC_S_CHECK_POSTTAB-BLART, sy-vline,
WA_FAP_OC_S_CHECK_POSTTAB-BLDAT, sy-vline.
ENDLOOP. *Add any further fields from structure WA_FAP_OC_S_CHECK_POSTTAB 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_FAP_OC_S_CHECK_POSTTAB 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_FAP_OC_S_CHECK_POSTTAB INTO WA_FAP_OC_S_CHECK_POSTTAB. *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 ANLN1 CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_FAP_OC_S_CHECK_POSTTAB-ANLN1 IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FAP_OC_S_CHECK_POSTTAB-ANLN1.
WRITE:/ 'New Value:', ld_input.

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

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

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

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

*Conversion exit AC132, internal->external for field BWWRT CALL FUNCTION 'CONVERSION_EXIT_AC132_OUTPUT' EXPORTING input = WA_FAP_OC_S_CHECK_POSTTAB-BWWRT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FAP_OC_S_CHECK_POSTTAB-BWWRT.
WRITE:/ 'New Value:', ld_input.

*Conversion exit AC132, internal->external for field BWWR2 CALL FUNCTION 'CONVERSION_EXIT_AC132_OUTPUT' EXPORTING input = WA_FAP_OC_S_CHECK_POSTTAB-BWWR2 IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FAP_OC_S_CHECK_POSTTAB-BWWR2.
WRITE:/ 'New Value:', ld_input.

*Conversion exit AC132, internal->external for field BWWR3 CALL FUNCTION 'CONVERSION_EXIT_AC132_OUTPUT' EXPORTING input = WA_FAP_OC_S_CHECK_POSTTAB-BWWR3 IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FAP_OC_S_CHECK_POSTTAB-BWWR3.
WRITE:/ 'New Value:', ld_input.

*Conversion exit AC132, internal->external for field DMSHB CALL FUNCTION 'CONVERSION_EXIT_AC132_OUTPUT' EXPORTING input = WA_FAP_OC_S_CHECK_POSTTAB-DMSHB IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FAP_OC_S_CHECK_POSTTAB-DMSHB.
WRITE:/ 'New Value:', ld_input.

*Conversion exit AC132, internal->external for field DMBE2 CALL FUNCTION 'CONVERSION_EXIT_AC132_OUTPUT' EXPORTING input = WA_FAP_OC_S_CHECK_POSTTAB-DMBE2 IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FAP_OC_S_CHECK_POSTTAB-DMBE2.
WRITE:/ 'New Value:', ld_input.

*Conversion exit AC132, internal->external for field DMBE3 CALL FUNCTION 'CONVERSION_EXIT_AC132_OUTPUT' EXPORTING input = WA_FAP_OC_S_CHECK_POSTTAB-DMBE3 IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FAP_OC_S_CHECK_POSTTAB-DMBE3.
WRITE:/ 'New Value:', ld_input.

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

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

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

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

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

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

*Conversion exit AC132, internal->external for field QBSHB CALL FUNCTION 'CONVERSION_EXIT_AC132_OUTPUT' EXPORTING input = WA_FAP_OC_S_CHECK_POSTTAB-QBSHB IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FAP_OC_S_CHECK_POSTTAB-QBSHB.
WRITE:/ 'New Value:', ld_input.

*Conversion exit AC132, internal->external for field QSFBT CALL FUNCTION 'CONVERSION_EXIT_AC132_OUTPUT' EXPORTING input = WA_FAP_OC_S_CHECK_POSTTAB-QSFBT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FAP_OC_S_CHECK_POSTTAB-QSFBT.
WRITE:/ 'New Value:', ld_input.

*Conversion exit AC132, internal->external for field QSSHB CALL FUNCTION 'CONVERSION_EXIT_AC132_OUTPUT' EXPORTING input = WA_FAP_OC_S_CHECK_POSTTAB-QSSHB IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FAP_OC_S_CHECK_POSTTAB-QSSHB.
WRITE:/ 'New Value:', ld_input.

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

*Conversion exit AC132, internal->external for field SKFBT CALL FUNCTION 'CONVERSION_EXIT_AC132_OUTPUT' EXPORTING input = WA_FAP_OC_S_CHECK_POSTTAB-SKFBT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FAP_OC_S_CHECK_POSTTAB-SKFBT.
WRITE:/ 'New Value:', ld_input.

*Conversion exit AC132, internal->external for field SKNTO CALL FUNCTION 'CONVERSION_EXIT_AC132_OUTPUT' EXPORTING input = WA_FAP_OC_S_CHECK_POSTTAB-SKNTO IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FAP_OC_S_CHECK_POSTTAB-SKNTO.
WRITE:/ 'New Value:', ld_input.

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

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

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

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

*Conversion exit AC132, internal->external for field WRSHB CALL FUNCTION 'CONVERSION_EXIT_AC132_OUTPUT' EXPORTING input = WA_FAP_OC_S_CHECK_POSTTAB-WRSHB IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FAP_OC_S_CHECK_POSTTAB-WRSHB.
WRITE:/ 'New Value:', ld_input.

*Conversion exit AC132, internal->external for field WSKTO CALL FUNCTION 'CONVERSION_EXIT_AC132_OUTPUT' EXPORTING input = WA_FAP_OC_S_CHECK_POSTTAB-WSKTO IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FAP_OC_S_CHECK_POSTTAB-WSKTO.
WRITE:/ 'New Value:', ld_input.

*Conversion exit AC152, internal->external for field ZINSZ CALL FUNCTION 'CONVERSION_EXIT_AC152_OUTPUT' EXPORTING input = WA_FAP_OC_S_CHECK_POSTTAB-ZINSZ IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FAP_OC_S_CHECK_POSTTAB-ZINSZ.
WRITE:/ 'New Value:', ld_input.

*Conversion exit AC132, internal->external for field ASKTO CALL FUNCTION 'CONVERSION_EXIT_AC132_OUTPUT' EXPORTING input = WA_FAP_OC_S_CHECK_POSTTAB-ASKTO IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FAP_OC_S_CHECK_POSTTAB-ASKTO.
WRITE:/ 'New Value:', ld_input.

*Conversion exit EXCRT, internal->external for field KURSE CALL FUNCTION 'CONVERSION_EXIT_EXCRT_OUTPUT' EXPORTING input = WA_FAP_OC_S_CHECK_POSTTAB-KURSE IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FAP_OC_S_CHECK_POSTTAB-KURSE.
WRITE:/ 'New Value:', ld_input.

*Conversion exit AU132, internal->external for field PSWBT CALL FUNCTION 'CONVERSION_EXIT_AU132_OUTPUT' EXPORTING input = WA_FAP_OC_S_CHECK_POSTTAB-PSWBT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FAP_OC_S_CHECK_POSTTAB-PSWBT.
WRITE:/ 'New Value:', ld_input.

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

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

*Conversion exit AU132, internal->external for field ABSBT CALL FUNCTION 'CONVERSION_EXIT_AU132_OUTPUT' EXPORTING input = WA_FAP_OC_S_CHECK_POSTTAB-ABSBT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FAP_OC_S_CHECK_POSTTAB-ABSBT.
WRITE:/ 'New Value:', ld_input.

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

*Conversion exit AU132, internal->external for field PYAMT CALL FUNCTION 'CONVERSION_EXIT_AU132_OUTPUT' EXPORTING input = WA_FAP_OC_S_CHECK_POSTTAB-PYAMT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FAP_OC_S_CHECK_POSTTAB-PYAMT.
WRITE:/ 'New Value:', ld_input.

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

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

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

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

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

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

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

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

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

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

*Conversion exit ALPHA, internal->external for field U_REBZG CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_FAP_OC_S_CHECK_POSTTAB-U_REBZG IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FAP_OC_S_CHECK_POSTTAB-U_REBZG.
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_FAP_OC_S_CHECK_POSTTAB_STR,
XAUTH TYPE STRING,
XHELL TYPE STRING,
ACTIV TYPE STRING,
ANLN1 TYPE STRING,
ANLN2 TYPE STRING,
AUFNR TYPE STRING,
AUGBL TYPE STRING,
AUGDT TYPE STRING,
BELNR TYPE STRING,
BLART TYPE STRING,
BLDAT TYPE STRING,
BSCHL TYPE STRING,
BSTAT TYPE STRING,
BUDAT TYPE STRING,
BUKRS TYPE STRING,
BUZEI TYPE STRING,
BWWRT TYPE STRING,
BWWR2 TYPE STRING,
BWWR3 TYPE STRING,
DMSHB TYPE STRING,
HWAER TYPE STRING,
DMBE2 TYPE STRING,
HWAE2 TYPE STRING,
DMBE3 TYPE STRING,
HWAE3 TYPE STRING,
EBELN TYPE STRING,
EBELP TYPE STRING,
ETEN2 TYPE STRING,
FAEDT TYPE STRING,
FILKD TYPE STRING,
GJAHR TYPE STRING,
GSBER TYPE STRING,
JAMON TYPE STRING,
KOART TYPE STRING,
KONTO TYPE STRING,
KOSTL TYPE STRING,
MABER TYPE STRING,
MADAT TYPE STRING,
MANSP TYPE STRING,
MANST TYPE STRING,
MONAT TYPE STRING,
MSCHL TYPE STRING,
MWSKZ TYPE STRING,
POSN2 TYPE STRING,
PRCTR TYPE STRING,
QBSHB TYPE STRING,
QSFBT TYPE STRING,
QSSHB TYPE STRING,
REBZG TYPE STRING,
SAMNR TYPE STRING,
SGTXT TYPE STRING,
SHKZG TYPE STRING,
SKFBT TYPE STRING,
SKNTO TYPE STRING,
STAKZ TYPE STRING,
UMSKS TYPE STRING,
UMSKZ TYPE STRING,
UZAWE TYPE STRING,
VALUT TYPE STRING,
VBEL2 TYPE STRING,
VBELN TYPE STRING,
VBEWA TYPE STRING,
VBUND TYPE STRING,
VERTN TYPE STRING,
VERTT TYPE STRING,
VERZ1 TYPE STRING,
VERZN TYPE STRING,
WERKS TYPE STRING,
WRSHB TYPE STRING,
WAERS TYPE STRING,
WSKTO TYPE STRING,
WVERW TYPE STRING,
XBLNR TYPE STRING,
XSTRP TYPE STRING,
XZAHL TYPE STRING,
ZALDT TYPE STRING,
ZBD1P TYPE STRING,
ZBD1T TYPE STRING,
ZBD2P TYPE STRING,
ZBD2T TYPE STRING,
ZBD3T TYPE STRING,
ZFBDT TYPE STRING,
ZINSZ TYPE STRING,
ZLSCH TYPE STRING,
ZLSPR TYPE STRING,
ZTERM TYPE STRING,
ZUONR TYPE STRING,
XREF1 TYPE STRING,
XREF2 TYPE STRING,
XARCH TYPE STRING,
RSTGR TYPE STRING,
ASKTO TYPE STRING,
KURSE TYPE STRING,
REBZT TYPE STRING,
PSWSL TYPE STRING,
PSWBT TYPE STRING,
HKONT TYPE STRING,
XNEGP TYPE STRING,
ZBFIX TYPE STRING,
RFZEI TYPE STRING,
CCBTC TYPE STRING,
KKBER TYPE STRING,
XREF3 TYPE STRING,
DTWS1 TYPE STRING,
DTWS2 TYPE STRING,
DTWS3 TYPE STRING,
DTWS4 TYPE STRING,
ABSBT TYPE STRING,
KKBWR TYPE STRING,
PROJK TYPE STRING,
XPYPR TYPE STRING,
KIDNO TYPE STRING,
XAUGP TYPE STRING,
BUPLA TYPE STRING,
SECCO TYPE STRING,
GKART TYPE STRING,
GKONT TYPE STRING,
PYCUR TYPE STRING,
PYAMT TYPE STRING,
PYORD TYPE STRING,
XTEXT TYPE STRING,
TDID TYPE STRING,
XDUEN TYPE STRING,
XDUE1 TYPE STRING,
XRAGL TYPE STRING,
XSELP TYPE STRING,
CESSION_KZ TYPE STRING,
BUZID TYPE STRING,
AUGGJ TYPE STRING,
AGZEI TYPE STRING,
LONGNUM TYPE STRING,
RUNID TYPE STRING,
_DATAAGING TYPE STRING,
/SAPF15/STATUS TYPE STRING,
/SAPF15/BEWIRTSCHAFTER TYPE STRING,
/SAPF15/HAUSHALTSSTELLE TYPE STRING,
/SAPF15/OBJEKTNUMMER TYPE STRING,
/SAPF15/BELNR TYPE STRING,
/SAPF15/VSL TYPE STRING,
/SAPF15/ZUV TYPE STRING,
/SAPF15/KASSENZEICHEN TYPE STRING,
/SAPF15/DATENTRAEGER TYPE STRING,
/SAPF15/BETRAG TYPE STRING,
/SAPF15/STATUS_ELKO TYPE STRING,
/SAPF15/HKR_BETRAG TYPE STRING,
/SAPF15/HKR_STATUS TYPE STRING,
/SAPF15/ERSDA TYPE STRING,
/SAPF15/ERZET TYPE STRING,
/SAPF15/ERNAM TYPE STRING,
/SAPF15/LAEDA TYPE STRING,
/SAPF15/AEZET TYPE STRING,
/SAPF15/AENAM TYPE STRING,
EXT_KEY TYPE STRING,
PROCESSOR TYPE STRING,
PRIORITY_TEXT TYPE STRING,
STAT_ORDERNO_TEXT TYPE STRING,
CDIS_BELNR TYPE STRING,
PINR TYPE STRING,
MINR TYPE STRING,
VIRTACCTNR TYPE STRING,
INVSUMPAYER TYPE STRING,
INVSUMRECIP TYPE STRING,
INVCSMMRYPAYERNAME TYPE STRING,
INVCSMMRYRECIPIENTNAME TYPE STRING,
PRODPER TYPE STRING,
VNAME TYPE STRING,
EGRUP TYPE STRING,
BTYPE TYPE STRING,
PROPMANO TYPE STRING,
U_REBZG TYPE STRING,
XBKPF TYPE STRING,
XBSEG TYPE STRING,
XBSEC TYPE STRING,
XBSED TYPE STRING,
XPAYR TYPE STRING,
XBSEGC TYPE STRING,
XBSBV TYPE STRING,
XMOD TYPE STRING,END OF T_EKKO_STR. DATA: WA_FAP_OC_S_CHECK_POSTTAB_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_FAP_OC_S_CHECK_POSTTAB_STR-XAUTH sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-XHELL sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-ACTIV sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-ANLN1 sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-ANLN2 sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-AUFNR sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-AUGBL sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-AUGDT sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-BELNR sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-BLART sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-BLDAT sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-BSCHL sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-BSTAT sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-BUDAT sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-BUKRS sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-BUZEI sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-BWWRT sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-BWWR2 sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-BWWR3 sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-DMSHB sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-HWAER sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-DMBE2 sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-HWAE2 sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-DMBE3 sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-HWAE3 sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-EBELN sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-EBELP sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-ETEN2 sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-FAEDT sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-FILKD sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-GJAHR sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-GSBER sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-JAMON sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-KOART sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-KONTO sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-KOSTL sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-MABER sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-MADAT sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-MANSP sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-MANST sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-MONAT sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-MSCHL sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-MWSKZ sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-POSN2 sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-PRCTR sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-QBSHB sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-QSFBT sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-QSSHB sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-REBZG sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-SAMNR sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-SGTXT sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-SHKZG sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-SKFBT sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-SKNTO sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-STAKZ sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-UMSKS sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-UMSKZ sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-UZAWE sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-VALUT sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-VBEL2 sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-VBELN sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-VBEWA sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-VBUND sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-VERTN sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-VERTT sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-VERZ1 sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-VERZN sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-WERKS sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-WRSHB sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-WAERS sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-WSKTO sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-WVERW sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-XBLNR sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-XSTRP sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-XZAHL sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-ZALDT sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-ZBD1P sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-ZBD1T sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-ZBD2P sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-ZBD2T sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-ZBD3T sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-ZFBDT sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-ZINSZ sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-ZLSCH sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-ZLSPR sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-ZTERM sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-ZUONR sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-XREF1 sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-XREF2 sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-XARCH sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-RSTGR sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-ASKTO sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-KURSE sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-REBZT sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-PSWSL sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-PSWBT sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-HKONT sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-XNEGP sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-ZBFIX sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-RFZEI sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-CCBTC sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-KKBER sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-XREF3 sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-DTWS1 sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-DTWS2 sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-DTWS3 sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-DTWS4 sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-ABSBT sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-KKBWR sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-PROJK sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-XPYPR sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-KIDNO sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-XAUGP sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-BUPLA sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-SECCO sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-GKART sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-GKONT sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-PYCUR sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-PYAMT sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-PYORD sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-XTEXT sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-TDID sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-XDUEN sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-XDUE1 sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-XRAGL sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-XSELP sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-CESSION_KZ sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-BUZID sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-AUGGJ sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-AGZEI sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-LONGNUM sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-RUNID sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-_DATAAGING sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-/SAPF15/STATUS sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-/SAPF15/BEWIRTSCHAFTER sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-/SAPF15/HAUSHALTSSTELLE sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-/SAPF15/OBJEKTNUMMER sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-/SAPF15/BELNR sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-/SAPF15/VSL sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-/SAPF15/ZUV sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-/SAPF15/KASSENZEICHEN sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-/SAPF15/DATENTRAEGER sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-/SAPF15/BETRAG sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-/SAPF15/STATUS_ELKO sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-/SAPF15/HKR_BETRAG sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-/SAPF15/HKR_STATUS sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-/SAPF15/ERSDA sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-/SAPF15/ERZET sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-/SAPF15/ERNAM sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-/SAPF15/LAEDA sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-/SAPF15/AEZET sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-/SAPF15/AENAM sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-EXT_KEY sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-PROCESSOR sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-PRIORITY_TEXT sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-STAT_ORDERNO_TEXT sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-CDIS_BELNR sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-PINR sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-MINR sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-VIRTACCTNR sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-INVSUMPAYER sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-INVSUMRECIP sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-INVCSMMRYPAYERNAME sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-INVCSMMRYRECIPIENTNAME sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-PRODPER sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-VNAME sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-EGRUP sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-BTYPE sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-PROPMANO sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-U_REBZG sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-XBKPF sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-XBSEG sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-XBSEC sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-XBSED sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-XPAYR sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-XBSEGC sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-XBSBV sy-vline
WA_FAP_OC_S_CHECK_POSTTAB_STR-XMOD sy-vline INTO ld_text SEPARATED BY SPACE. *Add any further fields from structure WA_EKKO_STR you want to CONCATENATE... ENDLOOP. ENDFORM.