ABAP Select data from SAP table RECP_FDP_AJR_RECORD 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 RECP_FDP_AJR_RECORD 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 RECP_FDP_AJR_RECORD. 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 RECP_FDP_AJR_RECORD 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_RECP_FDP_AJR_RECORD TYPE STANDARD TABLE OF RECP_FDP_AJR_RECORD, WA_RECP_FDP_AJR_RECORD TYPE RECP_FDP_AJR_RECORD, 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: <RECP_FDP_AJR_RECORD> TYPE RECP_FDP_AJR_RECORD. *Process all fields in table header/work area as string values PERFORM process_as_string_field_values CHANGING wa_RECP_FDP_AJR_RECORD. SELECT * *restrict ABAP select to first 10 rows UP TO 10 ROWS FROM RECP_FDP_AJR_RECORD INTO TABLE IT_RECP_FDP_AJR_RECORD. *Select data and declare internal table using in-line method @DATA *SELECT * * FROM RECP_FDP_AJR_RECORD * INTO TABLE @DATA(IT_RECP_FDP_AJR_RECORD2). *--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_RECP_FDP_AJR_RECORD INDEX 1 INTO DATA(WA_RECP_FDP_AJR_RECORD2). *Demonstrate how to loop at an internal table and update values using a FIELD-SYMBOL LOOP AT IT_RECP_FDP_AJR_RECORD ASSIGNING <RECP_FDP_AJR_RECORD>.*To update a field value using a field symbol simply change the value via the field symbol pointer
<RECP_FDP_AJR_RECORD>-MANDT = 1.
<RECP_FDP_AJR_RECORD>-RECORDGUID = 1.
<RECP_FDP_AJR_RECORD>-PROCESSGUID = 1.
<RECP_FDP_AJR_RECORD>-INTRENO = 1.
<RECP_FDP_AJR_RECORD>-TERMNO = 1.
ENDLOOP. LOOP AT IT_RECP_FDP_AJR_RECORD INTO WA_RECP_FDP_AJR_RECORD. *Write horizonal line to screen report. WRITE:/ sy-uline. *Write selected data to screen/report before conversion. WRITE:/ sy-vline, WA_RECP_FDP_AJR_RECORD-ADJMRULE, sy-vline,
WA_RECP_FDP_AJR_RECORD-ADJMSUBRULE, sy-vline,
WA_RECP_FDP_AJR_RECORD-ADJMSUBMETH, sy-vline,
WA_RECP_FDP_AJR_RECORD-ADJMDRECORDSTAT, sy-vline,
WA_RECP_FDP_AJR_RECORD-ADJMRULEDEFAULT, sy-vline,
WA_RECP_FDP_AJR_RECORD-ADJMRECSTEPNO, sy-vline.
ENDLOOP. *Add any further fields from structure WA_RECP_FDP_AJR_RECORD 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_RECP_FDP_AJR_RECORD 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_RECP_FDP_AJR_RECORD INTO WA_RECP_FDP_AJR_RECORD. *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 TERMNO CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_RECP_FDP_AJR_RECORD-TERMNO IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_RECP_FDP_AJR_RECORD-TERMNO.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field ADJMRULE CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_RECP_FDP_AJR_RECORD-ADJMRULE IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_RECP_FDP_AJR_RECORD-ADJMRULE.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field ADJMSUBRULE CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_RECP_FDP_AJR_RECORD-ADJMSUBRULE IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_RECP_FDP_AJR_RECORD-ADJMSUBRULE.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field ADJMSUBMETH CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_RECP_FDP_AJR_RECORD-ADJMSUBMETH IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_RECP_FDP_AJR_RECORD-ADJMSUBMETH.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field ADJMRULEDEFAULT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_RECP_FDP_AJR_RECORD-ADJMRULEDEFAULT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_RECP_FDP_AJR_RECORD-ADJMRULEDEFAULT.
WRITE:/ 'New Value:', ld_input.
*Conversion exit REDAT, internal->external for field CONDVALIDTOOLD CALL FUNCTION 'CONVERSION_EXIT_REDAT_OUTPUT' EXPORTING input = WA_RECP_FDP_AJR_RECORD-CONDVALIDTOOLD IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_RECP_FDP_AJR_RECORD-CONDVALIDTOOLD.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field ADJMREASON CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_RECP_FDP_AJR_RECORD-ADJMREASON IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_RECP_FDP_AJR_RECORD-ADJMREASON.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field CHGREASON CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_RECP_FDP_AJR_RECORD-CHGREASON IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_RECP_FDP_AJR_RECORD-CHGREASON.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field CHGREASONOLD CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_RECP_FDP_AJR_RECORD-CHGREASONOLD IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_RECP_FDP_AJR_RECORD-CHGREASONOLD.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field CARRYOVERCT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_RECP_FDP_AJR_RECORD-CARRYOVERCT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_RECP_FDP_AJR_RECORD-CARRYOVERCT.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field CONDTYPECEA CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_RECP_FDP_AJR_RECORD-CONDTYPECEA IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_RECP_FDP_AJR_RECORD-CONDTYPECEA.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field CONDTYPENEW CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_RECP_FDP_AJR_RECORD-CONDTYPENEW IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_RECP_FDP_AJR_RECORD-CONDTYPENEW.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field TERMNOAJNEW CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_RECP_FDP_AJR_RECORD-TERMNOAJNEW IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_RECP_FDP_AJR_RECORD-TERMNOAJNEW.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field CONDGROUP CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_RECP_FDP_AJR_RECORD-CONDGROUP IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_RECP_FDP_AJR_RECORD-CONDGROUP.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field CONDTYPE CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_RECP_FDP_AJR_RECORD-CONDTYPE IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_RECP_FDP_AJR_RECORD-CONDTYPE.
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_RECP_FDP_AJR_RECORD_STR,
MANDT TYPE STRING,
RECORDGUID TYPE STRING,
PROCESSGUID TYPE STRING,
INTRENO TYPE STRING,
TERMNO TYPE STRING,
ADJMRULE TYPE STRING,
ADJMSUBRULE TYPE STRING,
ADJMSUBMETH TYPE STRING,
ADJMDRECORDSTAT TYPE STRING,
ADJMRULEDEFAULT TYPE STRING,
ADJMRECSTEPNO TYPE STRING,
DERF TYPE STRING,
TERF TYPE STRING,
RERF TYPE STRING,
FDELETE TYPE STRING,
CONDGUIDOLD TYPE STRING,
CONDGUIDNEW TYPE STRING,
CONDGUIDREF TYPE STRING,
ADJMFROMOLD TYPE STRING,
ADJMFROMCALC TYPE STRING,
ADJMFROMMOD TYPE STRING,
UNITPRICEOLD TYPE STRING,
UNITPRICECALC TYPE STRING,
UNITPRICEMOD TYPE STRING,
ADJMCONDDELETE TYPE STRING,
METHREFGUID TYPE STRING,
ADJMFROMMODDATE TYPE STRING,
ADJMFROMMODUSER TYPE STRING,
UNITPRICEMODDATE TYPE STRING,
UNITPRICEMODUSER TYPE STRING,
CONDVALIDTOOLD TYPE STRING,
ADJMCONDNEW TYPE STRING,
UPBEFORECAPPING TYPE STRING,
MONTHCAPPING TYPE STRING,
DISSOLVEINGUID TYPE STRING,
ADJMREASON TYPE STRING,
CHGREASON TYPE STRING,
CHGREASONOLD TYPE STRING,
CARRYFROMGUID TYPE STRING,
CARRYOVERCT TYPE STRING,
RECGROUPGUID TYPE STRING,
INTRENODEPEND TYPE STRING,
RECORDUPDATE TYPE STRING,
UNITPRICEANN TYPE STRING,
ADJMFROMANN TYPE STRING,
CONDPURPOSENEW TYPE STRING,
CONDTYPECEA TYPE STRING,
CONDTYPENEW TYPE STRING,
TERMNOAJNEW TYPE STRING,
TAKETERMNO TYPE STRING,
MAXINCREL TYPE STRING,
UPLESSCAPMONTH TYPE STRING,
ADJMFROMLESSCM TYPE STRING,
UPPOSMARGIN TYPE STRING,
UPPOSMARGINUSED TYPE STRING,
UPINCALLOWED TYPE STRING,
UNITPRICEMODZERO TYPE STRING,
ADJMACTIVDATE TYPE STRING,
ADJMACTIVUSER TYPE STRING,
DUEDATEUP TYPE STRING,
DUEDATEUPOLD TYPE STRING,
ADJMANNOUNCETO TYPE STRING,
ADJMANNOUNCEDATE TYPE STRING,
ADJMANNOUNCEUSER TYPE STRING,
ADJMAPPROVALTO TYPE STRING,
ADJMAPPROVALDATE TYPE STRING,
ADJMAPPROVALUSER TYPE STRING,
ADJMDECLINEDATE TYPE STRING,
ADJMDECLINEUSER TYPE STRING,
ADJMREVERSALDATE TYPE STRING,
ADJMREVERSALUSER TYPE STRING,
ADJMDOCDATE TYPE STRING,
ADJMDOCCOUNT TYPE STRING,
ADJMDUNLEVEL TYPE STRING,
ADJMDUNDATE TYPE STRING,
ADJMDUNCOUNT TYPE STRING,
ADJMAPPDATE TYPE STRING,
ADJMAPPCOUNT TYPE STRING,
ADJMANNDATE TYPE STRING,
ADJMANNCOUNT TYPE STRING,
ADJMDEACTIVDATE TYPE STRING,
ADJMDEACTIVUSER TYPE STRING,
ADJMSUBINDEX TYPE STRING,
OBJNR TYPE STRING,
XADJMDRECORDSTAT TYPE STRING,
PROCESSEXTID TYPE STRING,
XOBJECTID TYPE STRING,
XADJMSUBRULE TYPE STRING,
XCONDITIONOLD TYPE STRING,
XSCONDITIONOLD TYPE STRING,
XADJMMETH TYPE STRING,
XTERM TYPE STRING,
DTCHANGEABLE TYPE STRING,
CHANGEDIRECTION TYPE STRING,
CONDGROUP TYPE STRING,
CONDTYPE TYPE STRING,
CONDPURPOSE TYPE STRING,
XCONDPURPOSE TYPE STRING,
XCONDTYPE TYPE STRING,
CONDOBJ TYPE STRING,
XCONDOBJ TYPE STRING,
METHORDER TYPE STRING,
APPROVAL TYPE STRING,
ACTIFNOAPPR TYPE STRING,
TAKEVALUE TYPE STRING,
SIMULATIONRULE TYPE STRING,
NEXTADJMDATE TYPE STRING,
FIRSTADJMDATE TYPE STRING,
LASTADJMDATE TYPE STRING,
UNITPRICEDIFF TYPE STRING,
VALIDFROMEFF TYPE STRING,
UNITPRICEEFF TYPE STRING,
CURRENCY TYPE STRING,
PERCENTAGEPASS TYPE STRING,
XOBJECTDES TYPE STRING,
NODOCUMENT TYPE STRING,END OF T_EKKO_STR. DATA: WA_RECP_FDP_AJR_RECORD_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_RECP_FDP_AJR_RECORD_STR-MANDT sy-vline
WA_RECP_FDP_AJR_RECORD_STR-RECORDGUID sy-vline
WA_RECP_FDP_AJR_RECORD_STR-PROCESSGUID sy-vline
WA_RECP_FDP_AJR_RECORD_STR-INTRENO sy-vline
WA_RECP_FDP_AJR_RECORD_STR-TERMNO sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMRULE sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMSUBRULE sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMSUBMETH sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMDRECORDSTAT sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMRULEDEFAULT sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMRECSTEPNO sy-vline
WA_RECP_FDP_AJR_RECORD_STR-DERF sy-vline
WA_RECP_FDP_AJR_RECORD_STR-TERF sy-vline
WA_RECP_FDP_AJR_RECORD_STR-RERF sy-vline
WA_RECP_FDP_AJR_RECORD_STR-FDELETE sy-vline
WA_RECP_FDP_AJR_RECORD_STR-CONDGUIDOLD sy-vline
WA_RECP_FDP_AJR_RECORD_STR-CONDGUIDNEW sy-vline
WA_RECP_FDP_AJR_RECORD_STR-CONDGUIDREF sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMFROMOLD sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMFROMCALC sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMFROMMOD sy-vline
WA_RECP_FDP_AJR_RECORD_STR-UNITPRICEOLD sy-vline
WA_RECP_FDP_AJR_RECORD_STR-UNITPRICECALC sy-vline
WA_RECP_FDP_AJR_RECORD_STR-UNITPRICEMOD sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMCONDDELETE sy-vline
WA_RECP_FDP_AJR_RECORD_STR-METHREFGUID sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMFROMMODDATE sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMFROMMODUSER sy-vline
WA_RECP_FDP_AJR_RECORD_STR-UNITPRICEMODDATE sy-vline
WA_RECP_FDP_AJR_RECORD_STR-UNITPRICEMODUSER sy-vline
WA_RECP_FDP_AJR_RECORD_STR-CONDVALIDTOOLD sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMCONDNEW sy-vline
WA_RECP_FDP_AJR_RECORD_STR-UPBEFORECAPPING sy-vline
WA_RECP_FDP_AJR_RECORD_STR-MONTHCAPPING sy-vline
WA_RECP_FDP_AJR_RECORD_STR-DISSOLVEINGUID sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMREASON sy-vline
WA_RECP_FDP_AJR_RECORD_STR-CHGREASON sy-vline
WA_RECP_FDP_AJR_RECORD_STR-CHGREASONOLD sy-vline
WA_RECP_FDP_AJR_RECORD_STR-CARRYFROMGUID sy-vline
WA_RECP_FDP_AJR_RECORD_STR-CARRYOVERCT sy-vline
WA_RECP_FDP_AJR_RECORD_STR-RECGROUPGUID sy-vline
WA_RECP_FDP_AJR_RECORD_STR-INTRENODEPEND sy-vline
WA_RECP_FDP_AJR_RECORD_STR-RECORDUPDATE sy-vline
WA_RECP_FDP_AJR_RECORD_STR-UNITPRICEANN sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMFROMANN sy-vline
WA_RECP_FDP_AJR_RECORD_STR-CONDPURPOSENEW sy-vline
WA_RECP_FDP_AJR_RECORD_STR-CONDTYPECEA sy-vline
WA_RECP_FDP_AJR_RECORD_STR-CONDTYPENEW sy-vline
WA_RECP_FDP_AJR_RECORD_STR-TERMNOAJNEW sy-vline
WA_RECP_FDP_AJR_RECORD_STR-TAKETERMNO sy-vline
WA_RECP_FDP_AJR_RECORD_STR-MAXINCREL sy-vline
WA_RECP_FDP_AJR_RECORD_STR-UPLESSCAPMONTH sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMFROMLESSCM sy-vline
WA_RECP_FDP_AJR_RECORD_STR-UPPOSMARGIN sy-vline
WA_RECP_FDP_AJR_RECORD_STR-UPPOSMARGINUSED sy-vline
WA_RECP_FDP_AJR_RECORD_STR-UPINCALLOWED sy-vline
WA_RECP_FDP_AJR_RECORD_STR-UNITPRICEMODZERO sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMACTIVDATE sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMACTIVUSER sy-vline
WA_RECP_FDP_AJR_RECORD_STR-DUEDATEUP sy-vline
WA_RECP_FDP_AJR_RECORD_STR-DUEDATEUPOLD sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMANNOUNCETO sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMANNOUNCEDATE sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMANNOUNCEUSER sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMAPPROVALTO sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMAPPROVALDATE sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMAPPROVALUSER sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMDECLINEDATE sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMDECLINEUSER sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMREVERSALDATE sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMREVERSALUSER sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMDOCDATE sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMDOCCOUNT sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMDUNLEVEL sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMDUNDATE sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMDUNCOUNT sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMAPPDATE sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMAPPCOUNT sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMANNDATE sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMANNCOUNT sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMDEACTIVDATE sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMDEACTIVUSER sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ADJMSUBINDEX sy-vline
WA_RECP_FDP_AJR_RECORD_STR-OBJNR sy-vline
WA_RECP_FDP_AJR_RECORD_STR-XADJMDRECORDSTAT sy-vline
WA_RECP_FDP_AJR_RECORD_STR-PROCESSEXTID sy-vline
WA_RECP_FDP_AJR_RECORD_STR-XOBJECTID sy-vline
WA_RECP_FDP_AJR_RECORD_STR-XADJMSUBRULE sy-vline
WA_RECP_FDP_AJR_RECORD_STR-XCONDITIONOLD sy-vline
WA_RECP_FDP_AJR_RECORD_STR-XSCONDITIONOLD sy-vline
WA_RECP_FDP_AJR_RECORD_STR-XADJMMETH sy-vline
WA_RECP_FDP_AJR_RECORD_STR-XTERM sy-vline
WA_RECP_FDP_AJR_RECORD_STR-DTCHANGEABLE sy-vline
WA_RECP_FDP_AJR_RECORD_STR-CHANGEDIRECTION sy-vline
WA_RECP_FDP_AJR_RECORD_STR-CONDGROUP sy-vline
WA_RECP_FDP_AJR_RECORD_STR-CONDTYPE sy-vline
WA_RECP_FDP_AJR_RECORD_STR-CONDPURPOSE sy-vline
WA_RECP_FDP_AJR_RECORD_STR-XCONDPURPOSE sy-vline
WA_RECP_FDP_AJR_RECORD_STR-XCONDTYPE sy-vline
WA_RECP_FDP_AJR_RECORD_STR-CONDOBJ sy-vline
WA_RECP_FDP_AJR_RECORD_STR-XCONDOBJ sy-vline
WA_RECP_FDP_AJR_RECORD_STR-METHORDER sy-vline
WA_RECP_FDP_AJR_RECORD_STR-APPROVAL sy-vline
WA_RECP_FDP_AJR_RECORD_STR-ACTIFNOAPPR sy-vline
WA_RECP_FDP_AJR_RECORD_STR-TAKEVALUE sy-vline
WA_RECP_FDP_AJR_RECORD_STR-SIMULATIONRULE sy-vline
WA_RECP_FDP_AJR_RECORD_STR-NEXTADJMDATE sy-vline
WA_RECP_FDP_AJR_RECORD_STR-FIRSTADJMDATE sy-vline
WA_RECP_FDP_AJR_RECORD_STR-LASTADJMDATE sy-vline
WA_RECP_FDP_AJR_RECORD_STR-UNITPRICEDIFF sy-vline
WA_RECP_FDP_AJR_RECORD_STR-VALIDFROMEFF sy-vline
WA_RECP_FDP_AJR_RECORD_STR-UNITPRICEEFF sy-vline
WA_RECP_FDP_AJR_RECORD_STR-CURRENCY sy-vline
WA_RECP_FDP_AJR_RECORD_STR-PERCENTAGEPASS sy-vline
WA_RECP_FDP_AJR_RECORD_STR-XOBJECTDES sy-vline
WA_RECP_FDP_AJR_RECORD_STR-NODOCUMENT sy-vline INTO ld_text SEPARATED BY SPACE. *Add any further fields from structure WA_EKKO_STR you want to CONCATENATE... ENDLOOP. ENDFORM.