Ansicht
Dokumentation

IDMX_DI_CHECK_EXEC - checks if the processing of digital signing has to be started

IDMX_DI_CHECK_EXEC - checks if the processing of digital signing has to be started

RFUMSV00 - Advance Return for Tax on Sales/Purchases   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

It will be checked if the document type/class of an invoice is assigned to the process of digital invoicing. In case of 'no' a treatable exception will be raised, that can be used for the controlling of following coding.

Es wird überprüft, ob die Dokumentenklasse einer Rechnung dem Prozess der digitalen Rechnungslegung zugeordnet ist. Im Falle von 'nein' wird eine behandelbare Ansnahme ausgelöst über die sich nachfolgendes Coding steuern läßt.

Example

CALL FUNCTION 'IDMX_DI_CHECK_EXEC'
EXPORTING
doc_number = doc_number
EXCEPTIONS
no_digital_invoice = 1
invoice_error = 2
OTHERS = 3.

IF sy-subrc <> 0.
CASE sy-subrc.
WHEN 1.
RAISE no_digital_invoice.
WHEN 2.
RAISE invoice_error.
WHEN 3.
RAISE unknown_error.
ENDCASE.
ENDIF.

Notes

Further information





Parameters

DOC_AWKEY
DOC_AWTYP
DOC_BUKRS
DOC_FY
SAP_RELEASE

Exceptions

INVOICE_ERROR
NO_DIGITAL_INVOICE

Function Group

IDMX_DI_UTILITY

Addresses (Business Address Services)   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 1296 Date: 20240523 Time: 081841     sap01-206 ( 27 ms )