Show TOC

 Determination of Additional Information to be Printed on Invoices

Purpose

If you want to remind your customers about current open items on the invoice, the settlement system can communicate with Contract Accounts Receivable and Payable (FI-CA) at the time of invoice creation, determine the open items for the business partner in FI-CA, and copy the data onto the invoice.

Process Flow

The external billing system transfers IDocs to FI-CA. These contain an identification of the business partners, contract accounts, or contracts that are being settled. The open items are selected in FI-CA and provided to the settlement system in the form of an IDoc. This IDoc can prepare the information and print it on the invoice.

The incoming IDocs, that is, the selection of the open items, takes place via parallel jobs in the mass activity FKK_EBS_POI. The entities being settled are identified in the incoming IDoc. The IDoc has the message type FKK_EBS_POI_IN (POI = provide open items); the basis type and the assigned transaction code have the same name. The IDoc has only one segment (E1FKK_EBS_POI_IN), which in turn has only the field SEL_ENT_ID. This is an identifier for the selection entity for which you can use the business partner, contract account, or contract.

In event 2410 you can also implement customer-specific identifiers. As selection entity you can use the business partner, the contract account, or the contract.

Combinations implemented

Selection Entity Identifier

Selection Entity

Function

Business partner

Business partners

Selection of the open items of the specified business partner

Business partners

Contract account

Selection of the open items of all contract accounts of the specified business partner

Contract account

Contract account

Selection of the open items of the specified contract account

Contract account

Business partners

Selection of the open items of the business partner assigned to the specified contract accountOpen items can also be selected from other contract account to the one specified.

Contract

Contract

Selection of the open items of the specified contract

The open items of the relevant selection entity are selected in event 2411. An outgoing IDoc is created from each incoming IDoc. This means that all open items of the selection entities identified in an IDoc are in an IDoc again. The outgoing IDoc has the message type FKK_EBS_POI_OUT. The Basis type has the same name. It consists of one segment - E1FKK_EBS_POI_OUT. The fields of this segment form a subquantity of structure FKKOP. If you add additional fields of structure FKKOP to the segment, these are automatically in the outgoing IDoc, since the source text at the corresponding point is realized by the ABAP program command MOVE-CORRESPONDING.

Note Note

An RFC of a function module that selects the open items could also carry out the function described. The advantage of the processing explained here is in the option for conversion between an identifier and a selection entity in the SAP System. This means that the SAP entities do not have to be made known to the external system. A further advantage results from the use of the IDoc technology (asynchronous process), which documents errors in the case of incorrect processing and enables postprocessing of the IDoc.

End of the note.