Ansicht
Dokumentation

EDI_DOCUMENT_CLOSE_TRACE - EDI interface: Close IDoc after insertion

EDI_DOCUMENT_CLOSE_TRACE - EDI interface: Close IDoc after insertion

RFUMSV00 - Advance Return for Tax on Sales/Purchases   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module closes the simulation of the construction of an
IDoc which was started via the function module
'EDI_DOCUMENT_OPEN_FOR_TRACE'. No IDoc number is specified nor is the
IDoc written onto the database.
All status records which were compiled at creation, are returned to a
table.

Example

After an IDoc has been opened and data has been entered, using the function modules
EDI_DOCUMENT_OPEN_FOR_TRACE and
EDI_SEGMENT_ADD_NEXT or EDI_SEGMENTS_ADD_BLOCK,
this IDoc should be closed - without saving it to the database.
* Ident - Identification from the open function module
data: begin of int_edids occurs 0.
include structure edids.
data: end of int_edids.
call function 'EDI_DOCUMENT_CLOSE_TRACE'
exporting
identifier = ident
tables
messages = int_edids
exceptions
others = 04.

Using the status records, you can check the status
of this IDoc in the database.

Further information





Parameters

IDENTIFIER
MESSAGES

Exceptions

DOCUMENT_NOT_OPEN
PARAMETER_ERROR

Function Group

EDI1

Vendor Master (General Section)   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 1434 Date: 20240523 Time: 103049     sap01-206 ( 19 ms )