ABAP Select data from SAP table EDOC_BR_ISU_EE_MAP 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 EDOC_BR_ISU_EE_MAP 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 EDOC_BR_ISU_EE_MAP. 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 EDOC_BR_ISU_EE_MAP 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_EDOC_BR_ISU_EE_MAP TYPE STANDARD TABLE OF EDOC_BR_ISU_EE_MAP,
      WA_EDOC_BR_ISU_EE_MAP TYPE EDOC_BR_ISU_EE_MAP,
      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: <EDOC_BR_ISU_EE_MAP> TYPE EDOC_BR_ISU_EE_MAP.

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

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

*Select data and declare internal table using in-line method @DATA
*SELECT *
*  FROM EDOC_BR_ISU_EE_MAP
*  INTO TABLE @DATA(IT_EDOC_BR_ISU_EE_MAP2).
*--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_EDOC_BR_ISU_EE_MAP INDEX 1 INTO DATA(WA_EDOC_BR_ISU_EE_MAP2).


*Demonstrate how to loop at an internal table and update values using a FIELD-SYMBOL
LOOP AT IT_EDOC_BR_ISU_EE_MAP ASSIGNING <EDOC_BR_ISU_EE_MAP>.
*To update a field value using a field symbol simply change the value via the field symbol pointer
<EDOC_BR_ISU_EE_MAP>-AUTHORIZATION = 1.
<EDOC_BR_ISU_EE_MAP>-UUID = 1.
<EDOC_BR_ISU_EE_MAP>-ISSUING_STATE = 1.
<EDOC_BR_ISU_EE_MAP>-ENVIRONMENT_TYPE = 1.
<EDOC_BR_ISU_EE_MAP>-ISSUING_TYPE = 1.
ENDLOOP.

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

*Write selected data to screen/report before conversion.
  WRITE:/ sy-vline,   WA_EDOC_BR_ISU_EE_MAP-ISSUER_IDENTIFIER, sy-vline,
WA_EDOC_BR_ISU_EE_MAP-RECEIVER_IDENTIFIER, sy-vline,
WA_EDOC_BR_ISU_EE_MAP-ISSUING_DATE, sy-vline,
WA_EDOC_BR_ISU_EE_MAP-DOCUMENT_INFO, sy-vline,
WA_EDOC_BR_ISU_EE_MAP-LAYOUT_VERSION, sy-vline,
WA_EDOC_BR_ISU_EE_MAP-ACCESS_KEY, sy-vline.
ENDLOOP. *Add any further fields from structure WA_EDOC_BR_ISU_EE_MAP 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_EDOC_BR_ISU_EE_MAP 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_EDOC_BR_ISU_EE_MAP INTO WA_EDOC_BR_ISU_EE_MAP. *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.
ENDFORM. *&---------------------------------------------------------------------* *& Form process_as_string_field_values *&---------------------------------------------------------------------* FORM process_as_string_field_values CHANGING p_EKKO LIKE wa_EKKO. TYPES: BEGIN OF T_EDOC_BR_ISU_EE_MAP_STR,
AUTHORIZATION TYPE STRING,
UUID TYPE STRING,
ISSUING_STATE TYPE STRING,
ENVIRONMENT_TYPE TYPE STRING,
ISSUING_TYPE TYPE STRING,
ISSUER_IDENTIFIER TYPE STRING,
RECEIVER_IDENTIFIER TYPE STRING,
ISSUING_DATE TYPE STRING,
DOCUMENT_INFO TYPE STRING,
LAYOUT_VERSION TYPE STRING,
ACCESS_KEY TYPE STRING,
HEADER TYPE STRING,
STATE_CODE TYPE STRING,
ENVIRONMENT_TYPE TYPE STRING,
DOCUMENT_MODEL TYPE STRING,
DOCUMENT_SERIES TYPE STRING,
DOCUMENT_NUMBER TYPE STRING,
ACCESS_KEY_RANDOM_NUMBER TYPE STRING,
ACCESS_KEY_CHECK_DIGIT TYPE STRING,
ISSUE_DATE_TIME TYPE STRING,
ISSUING_TYPE TYPE STRING,
TAX_RETENTION_CITY_CODE TYPE STRING,
ISSUING_FUNCTION TYPE STRING,
APPLICATION_VERSION TYPE STRING,
CONTINGENCY_DATE_TIME TYPE STRING,
CONTINGENCY_REASON TYPE STRING,
ISSUER TYPE STRING,
CNPJ TYPE STRING,
STATE_INSCRIPTION TYPE STRING,
COMPANY_NAME TYPE STRING,
TRADE_NAME TYPE STRING,
ADDRESS TYPE STRING,
ADDRESS_NAME TYPE STRING,
ADDRESS_NUMBER TYPE STRING,
COMPLEMENT TYPE STRING,
DISTRICT TYPE STRING,
CITY_CODE TYPE STRING,
CITY_NAME TYPE STRING,
ZIP TYPE STRING,
STATE TYPE STRING,
PHONE TYPE STRING,
EMAIL TYPE STRING,
RECIPIENT TYPE STRING,
NAME TYPE STRING,
CNPJ TYPE STRING,
CPF TYPE STRING,
OTHER_ID TYPE STRING,
STATE_INSCRIPTION_INDICATOR TYPE STRING,
STATE_INSCRIPTION TYPE STRING,
MUNICIPAL_INSCRIPTION TYPE STRING,
NIS TYPE STRING,
ADDITIONAL_NAME TYPE STRING,
ADDRESS TYPE STRING,
ADDRESS_NAME TYPE STRING,
ADDRESS_NUMBER TYPE STRING,
COMPLEMENT TYPE STRING,
DISTRICT TYPE STRING,
CITY_CODE TYPE STRING,
CITY_NAME TYPE STRING,
ZIP TYPE STRING,
STATE TYPE STRING,
PHONE TYPE STRING,
EMAIL TYPE STRING,
BENEFIT_NUMBER TYPE STRING,
ACESSOR TYPE STRING,
ID_ACESSOR TYPE STRING,
COD_CUSTOMER TYPE STRING,
TYPE_ACCESSOR TYPE STRING,
UNIT_CONSUMING_NAME TYPE STRING,
TYPE_CLASS TYPE STRING,
TYPE_SUB_CLASS TYPE STRING,
TYPE_PHASE TYPE STRING,
TYPE_GRP_TENSION TYPE STRING,
TYPE_RATE_MODE TYPE STRING,
GPS_LATITUDE TYPE STRING,
GPS_LONGITUDE TYPE STRING,
COD_METER_READING TYPE STRING,
SUBSTITUTION TYPE STRING,
ACCESS_KEY_REFERENCED TYPE STRING,
SUBSTITUTION_REASON TYPE STRING,
CNPJ TYPE STRING,
DOCUMENT_SERIES TYPE STRING,
DOCUMENT_NUMBER TYPE STRING,
DOCUMENT_YEAR_MONTH TYPE STRING,
DOCUMENT_PAYMENT_TAX_DATE TYPE STRING,
HASH115 TYPE STRING,
JURIDIC TYPE STRING,
ACCESS_KEY_REFERENCED TYPE STRING,
CONTRACTED_QUANTITIES TYPE STRING,
METERS TYPE STRING,
SCEE TYPE STRING,
TYPE_PARTICIPATION_SCEE TYPE STRING,
CAPACITY_INSTALLED TYPE STRING,
SCEE_CONSUMERS TYPE STRING,
SCEE_CREDIT_BALANCE TYPE STRING,
PRODUCT_SERVICE_DETAILS TYPE STRING,
TOTAL TYPE STRING,
PRODUCT_SERVICE_TOTAL_VALUE TYPE STRING,
TAXES TYPE STRING,
TOTAL_AMOUNT TYPE STRING,
TAX_WITHHOLDING_TOTAL TYPE STRING,
PIS_AMOUNT TYPE STRING,
COFINS_AMOUNT TYPE STRING,
CSLL_AMOUNT TYPE STRING,
IRRF_AMOUNT TYPE STRING,
INVOICE TYPE STRING,
INVOICE_REFERENCE_YEAR_MONTH TYPE STRING,
INVOICE_DUE_DATE TYPE STRING,
INVOICE_PRESENTATION_DATE TYPE STRING,
NEXT_MEASURE_DATE TYPE STRING,
INVOICE_NUMBER TYPE STRING,
INVOICE_BAR_CODE TYPE STRING,
ACCOUNT_DEBIT_AUTH_CODE TYPE STRING,
BANK_DEBIT_CODE TYPE STRING,
AGENCY_DEBIT_CODE TYPE STRING,
ADDRESS TYPE STRING,
ADDRESS_NAME TYPE STRING,
ADDRESS_NUMBER TYPE STRING,
COMPLEMENT TYPE STRING,
DISTRICT TYPE STRING,
CITY_CODE TYPE STRING,
CITY_NAME TYPE STRING,
ZIP TYPE STRING,
STATE TYPE STRING,
PHONE TYPE STRING,
EMAIL TYPE STRING,
PIX TYPE STRING,
QR_CODE_URL TYPE STRING,
ANEEL TYPE STRING,
INVOICING_HISTORY TYPE STRING,
AUTHORIZED_DOWNLOAD TYPE STRING,
ADDITIONAL_INFO TYPE STRING,
FISCO_ADDITIONAL_INFORMATION TYPE STRING,
COMP_ADDITIONAL_INFORMATION TYPE STRING,
TECHNICIAN TYPE STRING,
CNPJ_RESP_TECH_SYSTEM_ISS_TAX TYPE STRING,
CONTACT_NAME TYPE STRING,
CONTACT_EMAIL TYPE STRING,
PHONE_NUMBER TYPE STRING,
SECURITY_CODE TYPE STRING,
HASH TYPE STRING,
SUPPLEMENTARY_INFO TYPE STRING,
QR_CODE TYPE STRING,END OF T_EKKO_STR. DATA: WA_EDOC_BR_ISU_EE_MAP_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_EDOC_BR_ISU_EE_MAP_STR-AUTHORIZATION sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-UUID sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-ISSUING_STATE sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-ENVIRONMENT_TYPE sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-ISSUING_TYPE sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-ISSUER_IDENTIFIER sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-RECEIVER_IDENTIFIER sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-ISSUING_DATE sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-DOCUMENT_INFO sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-LAYOUT_VERSION sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-ACCESS_KEY sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-HEADER sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-STATE_CODE sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-ENVIRONMENT_TYPE sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-DOCUMENT_MODEL sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-DOCUMENT_SERIES sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-DOCUMENT_NUMBER sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-ACCESS_KEY_RANDOM_NUMBER sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-ACCESS_KEY_CHECK_DIGIT sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-ISSUE_DATE_TIME sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-ISSUING_TYPE sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-TAX_RETENTION_CITY_CODE sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-ISSUING_FUNCTION sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-APPLICATION_VERSION sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-CONTINGENCY_DATE_TIME sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-CONTINGENCY_REASON sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-ISSUER sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-CNPJ sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-STATE_INSCRIPTION sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-COMPANY_NAME sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-TRADE_NAME sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-ADDRESS sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-ADDRESS_NAME sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-ADDRESS_NUMBER sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-COMPLEMENT sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-DISTRICT sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-CITY_CODE sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-CITY_NAME sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-ZIP sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-STATE sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-PHONE sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-EMAIL sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-RECIPIENT sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-NAME sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-CNPJ sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-CPF sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-OTHER_ID sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-STATE_INSCRIPTION_INDICATOR sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-STATE_INSCRIPTION sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-MUNICIPAL_INSCRIPTION sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-NIS sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-ADDITIONAL_NAME sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-ADDRESS sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-ADDRESS_NAME sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-ADDRESS_NUMBER sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-COMPLEMENT sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-DISTRICT sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-CITY_CODE sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-CITY_NAME sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-ZIP sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-STATE sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-PHONE sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-EMAIL sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-BENEFIT_NUMBER sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-ACESSOR sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-ID_ACESSOR sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-COD_CUSTOMER sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-TYPE_ACCESSOR sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-UNIT_CONSUMING_NAME sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-TYPE_CLASS sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-TYPE_SUB_CLASS sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-TYPE_PHASE sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-TYPE_GRP_TENSION sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-TYPE_RATE_MODE sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-GPS_LATITUDE sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-GPS_LONGITUDE sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-COD_METER_READING sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-SUBSTITUTION sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-ACCESS_KEY_REFERENCED sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-SUBSTITUTION_REASON sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-CNPJ sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-DOCUMENT_SERIES sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-DOCUMENT_NUMBER sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-DOCUMENT_YEAR_MONTH sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-DOCUMENT_PAYMENT_TAX_DATE sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-HASH115 sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-JURIDIC sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-ACCESS_KEY_REFERENCED sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-CONTRACTED_QUANTITIES sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-METERS sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-SCEE sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-TYPE_PARTICIPATION_SCEE sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-CAPACITY_INSTALLED sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-SCEE_CONSUMERS sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-SCEE_CREDIT_BALANCE sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-PRODUCT_SERVICE_DETAILS sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-TOTAL sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-PRODUCT_SERVICE_TOTAL_VALUE sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-TAXES sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-TOTAL_AMOUNT sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-TAX_WITHHOLDING_TOTAL sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-PIS_AMOUNT sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-COFINS_AMOUNT sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-CSLL_AMOUNT sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-IRRF_AMOUNT sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-INVOICE sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-INVOICE_REFERENCE_YEAR_MONTH sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-INVOICE_DUE_DATE sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-INVOICE_PRESENTATION_DATE sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-NEXT_MEASURE_DATE sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-INVOICE_NUMBER sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-INVOICE_BAR_CODE sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-ACCOUNT_DEBIT_AUTH_CODE sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-BANK_DEBIT_CODE sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-AGENCY_DEBIT_CODE sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-ADDRESS sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-ADDRESS_NAME sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-ADDRESS_NUMBER sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-COMPLEMENT sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-DISTRICT sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-CITY_CODE sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-CITY_NAME sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-ZIP sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-STATE sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-PHONE sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-EMAIL sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-PIX sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-QR_CODE_URL sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-ANEEL sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-INVOICING_HISTORY sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-AUTHORIZED_DOWNLOAD sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-ADDITIONAL_INFO sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-FISCO_ADDITIONAL_INFORMATION sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-COMP_ADDITIONAL_INFORMATION sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-TECHNICIAN sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-CNPJ_RESP_TECH_SYSTEM_ISS_TAX sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-CONTACT_NAME sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-CONTACT_EMAIL sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-PHONE_NUMBER sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-SECURITY_CODE sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-HASH sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-SUPPLEMENTARY_INFO sy-vline
WA_EDOC_BR_ISU_EE_MAP_STR-QR_CODE sy-vline INTO ld_text SEPARATED BY SPACE. *Add any further fields from structure WA_EKKO_STR you want to CONCATENATE... ENDLOOP. ENDFORM.