Ansicht
Dokumentation

FKK_SAMPLE_2640 - INV: Determination of Due Date of Invoicing Document

FKK_SAMPLE_2640 - INV: Determination of Due Date of Invoicing Document

General Data in Customer Master   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

In the standard system, invoicing processes event 1330 of Contract Accounts Receivable and Payable to determine the due date. The due date determined at event 1330 (and possibly the cash discount deadline with the related cash discount percentage entry) is adopted in all newly created posting items of the invoicing document, as well as in the invoicing document header, as the due date of the invoice. The final invoice amount is not yet known at event 1330.

Event 2640 is available to augment invoicing, allowing you to check and possibly change the invoice due date determined in event 1330 after determination of the final invoice amount (following integrated account maintenance and creation of subitems). To do so, change the parameters C_FAEDS, C_SKTPZ and C_FAEDN.

If you want the new values to be adopted in all posting items and invoicing items to be created in the invoicing, set the parameter C_SET_TO_ALL_ITEMS = 'X'.

If you want the new values to be adopted only in the posting items and invoicing items relevant for the final invoice amount, set the parameter C_SET_TO_TOTALREL_ITEMS = 'X'.

If you want to have the system post posting documents with different due dates for the invoicing document, you can assign the due date to each invoicing/posting item. To make this possible, the system provides table C_FKKOP_2640_TAB for posting items and table C_INVDOC_I_2640_TAB for invoicing items at the interface. The fields to be influenced in the individual items have the suffix _2640. These fields receive as default values the due date information determined up to this point in time. You can overwrite the values in these fields, if necessary.

Note that if the parameters C_SET_TO_ALL_ITEMS or C_SET_TO_TOTALREL_ITEMS are set, then the system ignores the entries in tables C_FKKOP_2640_TAB and C_INVDOC_I_2640_TAB.

Example

Notes

In order to ensure the consistency of the invoicing document, you should set the same due date in the posting items and in the related invoicing items. The posting items and invoicing items that belong together are linked using the fields CADOCTYPE and OPBEL. This linking information is sufficient for you to be able to assign a separate due date for each posting document. If you want to use differing due dates within a single posting document, you have to use additional characteristics of the document items, in addition to the fields already mentioned, to identify the items that belong together.

Further information





Parameters

C_FAEDN
C_FAEDS
C_FKKOP_2640_TAB
C_INVDOC_I_2640_TAB
C_SET_TO_ALL_ITEMS
C_SET_TO_TOTALREL_ITEMS
C_SKTPZ
I_INV_UNIT_PUBLIC

Exceptions

Function Group

FKKINV_EVENT

CPI1466 during Backup   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 3493 Date: 20240604 Time: 054018     sap01-206 ( 80 ms )