Ansicht
Dokumentation

EDOC_CL_IDTE_REPORT - eDocument Chile: Upload Incoming Documents

EDOC_CL_IDTE_REPORT - eDocument Chile: Upload Incoming Documents

ABAP Short Reference   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

You use this report to upload in your system electronic documents you received from your vendors or from your customers. There are two scenarios:

  • Incoming DTEs from your vendors

In Chile, vendors issue their customers using fiscal electronic documents (in Spanish, Documento Tributario Electrónico, DTE). The incoming DTEs are XML files which, in turn, are bundled together in another XML file, the envelope (EnvioDTE).

After you have saved the envelope in your file system, you can upload it to the SAP ERP system and automatically create eDocuments for the individual DTEs contained in the envelope. The eDocuments are then displayed in the Create and Submit eDocumentreport (EDOC_COCKPIT), where you proceed with further actions, such as sending an acknowledgment of the DTE receipt and its acceptance to the vendor.

For more information on the actions you can perform on each uploaded DTE, see the documentation of the Create and Submit eDocument report.

  • Incoming acknowledgment files from your customers

You send your customers eDocuments related to a transaction. Your customers send you back XML files acknowledging the receipt of the eDocuments as well as the goods and services.

After you have saved these files to your file system, you can upload them to the SAP ERP system. When you process these files in this program, the system updates the status of the respective eDocument in the Create and Submit eDocument report.

Integration

Prerequisites

You can use this report for both the Basic and Full eDocument solutions. If you are using the Basic eDocument solution, some of the actions you can perform in individual eDocuments in the Create and Submit eDocumentreport has to be enabled via BAdI Implementation.

Features

Selection

For a company code, indicate the location of the DTE envelope or acknowledge files to upload. You have the following options:

  • Indicate the location of the XML file for upload.
  • Browse to the folder where you saved the XML files for upload.
  • Indicate that you want to upload the XML files from the application server. You must have defined the directories using AL11 transaction. In the FILE transaction you have defined:
  • The logical file names for upload (EDOC_CL_IDTE_FILE_NAME_XXXX). Where where XXXX is file name specific for your company code.

  • The file format as DIR

  • For achiving files, you have different logical file paths, depending the type of document:
  • ARCHIVE_EDOC_CL_ACCACK_FILE_PATH_XXXX. Name: eDocument Chile: Logical file path for Accept Acknow Archiv.

  • ARCHIVE_EDOC_CL_GDRACK_FILE_PATH_XXXX. Name: eDocument Chile: Logical file path for Goods Acknow Archiving.

  • ARCHIVE_EDOC_CL_ENVIO_FILE_PATH_XXXX. Name: eDocument Chile: Logical file path for Envelope Acknow Archiv.

For the DTE files, you can define that the system automatically creates eDocuments for all incoming files you have uploaded.

You can also use the report to only display any DTE envelope you have previously uploaded.

Standard Variants

Output

The system displays the uploaded DTEs according to your definition in the selection screen.

Activities

If you have defined that the system automatically creates eDcouments for each DTE upon the envelope upload, you can navigate to the Create and Submit eDocumentreport by clicking on the individual eDocument.

Otherwise, you can select the uploaded document and create an eDocument for it in this screen. If you are using the Full solution, when you click Process Files, the system performs the following steps:

  • Creates eDocuments for envelope and for each individual DTE in the envelope.
  • Checks the status with SII for each DTE in the envelope.
  • Prepares the XML with the status received from SII.
  • Signs the XML from HANA Cloud Integration (HCI).
  • Sends the signed XML to the customer using the mail funcionality of HCI.

The next steps related to the incoming process of DTEs and acknowledge files you perform in the Create and Submit eDocument report.

Example






ROGBILLS - Synchronize billing plans   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 5365 Date: 20240520 Time: 065555     sap01-206 ( 88 ms )