Ansicht
Dokumentation

FKK_SAMPLE_2614 - INV: Additional Postings for Billing Documents

FKK_SAMPLE_2614 - INV: Additional Postings for Billing Documents

rdisp/max_wprun_time - Maximum work process run time   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Event 2614 is processed in invoicing when the invoicing function Invoicing of Billing Documents is executed.

Using the function modules called at event 2614, you can add additional (customer-specific or industry-specific) fields to the posting documents generated during invoicing of billing documents. You can also create additional posting documents and integrate them in the invoicing document.

For these additional posting items/posting documents, you can choose to create the invoicing items yourself, or you can have the invoicing program create them automatically.

The event is processed in the invoicing program directly after processing of the billing documents.

The billing documents of the invoicing unit and the postings already derived by the invoicing program for these documents are made available in the event in parameter I_INV_UNIT_PUBLIC.

You can transfer the following tables to the invoicing program: posting document headers C_FKKKO_2614_TAB, business partner items C_FKKOP_2614_TAB, and G/L items C_FKKOPK_2614_TAB.

You can choose to have the invoicing program create the invoicing document items automatically (recommended), or you can create them yourself and transfer them to the invoicing program in table C_INVDOC_I_2614_TAB.

You can add additional items to a posting document already created by the invoicing program, and you can create one or more new documents. You differentiate between the documents using temporary numbering of documents in the OPBEL field. You might want to adopt the posting items in a posting document that was already created by the invoicing program. In that case, assign the document number of the posting document you want to add the items to (see the OPBEL_TMP field in document container FKKINV_FKKDOC of the posting document) to these document items.

If the posting/invoicing items relate explicitly to individual billing documents, you can enter the source document number of the billing document in the SRCDOCNO field of these items.

The invoicing program adopts the posting documents/posting document items unchanged, and checks them for completeness and consistency.

For each document, you can use a separate reference document type (field FKKKO_2614-CADOCTYPE).

For each business partner item, you can specify if the invoicing program automatically generates an invoicing document item for the item (by setting the indicator FKKOP_2614-INVDOC_I_REL). Otherwise, you can return the invoicing item you created yourself in table C_INVDOC_I_2614_TAB.

For identifying the business partner item in the invoicing document, you can also assign the invoicing item type (in field FKKOP_2614-ITEMTYPE) to the items. You can also specify if the amount of the business partner items should be added to the final invoice amount (field FKKOP_2614-TOTALREL).

Example

Notes

If you create the invoicing items yourself and enter them in table C_INVDOC_I_2614_TAB, for each posting document, make sure that the balance of the business partner items that are marked with TOTALREL (in field BETRW) is the same as the balance of the invoicing items belonging to them that are also marked with TOTALREL.

Further information





Parameters

C_FKKKO_2614_TAB
C_FKKOPK_2614_TAB
C_FKKOP_2614_TAB
C_INVDOC_I_2614_TAB
I_INV_UNIT_PUBLIC

Exceptions

Function Group

FKKINV_EVENT

CPI1466 during Backup   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 3904 Date: 20240523 Time: 064109     sap01-206 ( 78 ms )