Ansicht
Dokumentation

FKKINV_EVENT_SAMPLE_2603_XX - Deactivate ODN invoicing function for special source doc. type and country

FKKINV_EVENT_SAMPLE_2603_XX - Deactivate ODN invoicing function for special source doc. type and country

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

Functionality

Event 2603 for defining the invoicing type that is to be used when invoicing an invoicing unit. For decision-making, you can use table I_INVTRIG_TABfor the invoicing orders to be processed in the current invoicing unit.

Function module FKKINV_EVENT_SAMPLE_2603_XX handles system-internal process types in order to suppress the generation of internal or external official document numbers for correction and revision documents created for tax invoices. The resulting rules for official document numbering are country-dependent and are recorded in the S-tables TFK_ODNFRMTCHG and TFK_ODNFRMTRES.

The system sets the invoicing type according to the source document type. To suppress the generation of an official document number, the invoicing function OFFIC_DOC_NO(official document numbering) must not be assigned to that invoicing type.

The sample function module uses the value TXN for source document type and XN for invoicing type. If these values and the deactivation of the invoicing function OFFIC_DOC_NO do not match your system settings, copy the function module and change the coding to set different values for the source document type (lv_srcdoctype_trigger) and invoicing type (lv_new_inv_type).

You must not change values in event 2603 after this function module has been processed. This function module must be called at event 2603 with the highest sequence number if a country that is stored in the tables mentioned above (see the LANDfield) is used in your system.

Example

Notes

Further information





Parameters

C_BLDAT
C_BUDAT
C_INV_TYPE
C_WAERS
I_FKKVKP
I_INVTRIG_TAB
I_INV_PARAMS

Exceptions

Function Group

FKKINV_ODN_EVENT_XX

RFUMSV00 - Advance Return for Tax on Sales/Purchases   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 2039 Date: 20240523 Time: 065341     sap01-206 ( 32 ms )