Ansicht
Dokumentation

FKK_SAMPLE_2641 - INV: Payment Method Determination

FKK_SAMPLE_2641 - INV: Payment Method Determination

Fill RESBD Structure from EBP Component Structure   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

In the function module processed for event 2641, you can set the payment method of the invoice document (for invoice printing) and the payment method for the business partner items created in invoicing.

The payment method of the invoice document determined by the invoicing program is transferred in parameter C_INVDOC_PYMET. You can change it.

In addition, table C_FKKOP_2641_TAB of the business partner items considered in the final invoice amount is transferred to the interface. The new line items to be created have a temporary document number starting with //. Line items that are preselected internally for (partial) clearing (for example, by account maintenance in invoicing) have a clearing amount AUGBW not equal to zero.

The fields to be influenced in the individual line items have the suffix _2641.

Note that the payment method determined in invoicing is not automatically transferred to the individual business partner items. This is because both the new business partner items to be posted and the business partner items posted before invoicing (subitems) can be considered in the final invoice amount. In invoicing, you cannot change the payment method in items that have already been posted.

However, if you want to set a payment method in the new business partner items to be posted, you can do this by setting the payment method (parameter PYMET_2641) in the line items.

If the invoicing function Payment Reference is active in the invoicing process, then the system generates payment references of the type Invoicing Document (payment reference type 003) for the open items (dependent on the configuration). These are then transferred in this event in table C_FKK_PYREF_TAB. You can populate the individual payment reference records in your own fields, or you can enter new reference entries, for example for your own payment reference category.

Example

Notes

Further information





Parameters

C_FKKOP_2641_TAB
C_FKK_PYREF_TAB
C_INVDOC_PYMET
E_PCARD_NEW_TAB
I_INV_UNIT_PUBLIC
I_PCARD_TAB

Exceptions

Function Group

FKKINV_EVENT

General Data in Customer Master   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 2582 Date: 20240523 Time: 063526     sap01-206 ( 61 ms )