Ansicht
Dokumentation

FKKINV_EVENT_SAMPLE_2737_XX - Change source document type of tax invoice trigger in case of reversal

FKKINV_EVENT_SAMPLE_2737_XX - Change source document type of tax invoice trigger in case of reversal

Fill RESBD Structure from EBP Component Structure   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Function module FKKINV_EVENT_SAMPLE_2737_XX that is called at event 2737 during the creation of invoicing orders for tax invoices. The system changes the source document type if a reversal is posted. This is done to indicate that the invoicing type must be changed in event 2603 for the subequent document.

The sample function module uses the value TXNfor the source document type. If this value does not match your system settings, copy the function module and change the coding to set a different value for the source document type (lv_new_srcdoctype). The value for the source document type must match the source document type value of function module FKKINV_EVENT_SAMPLE_2603_XX or its copy that is processed at event 2603.

You must not change values in event 2737 after this function module has been processed.

Example

Notes

Further information





Parameters

C_INVTRIG
I_FKKREP06_TAB
I_INVDOC_H

Exceptions

Function Group

FKKINV_ODN_EVENT_XX

BAL_S_LOG - Application Log: Log header data   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 1191 Date: 20240523 Time: 061852     sap01-206 ( 34 ms )