Show TOC

 Customer-Specific Enhancements for Postings and Documents

Use

You can use the function modules that are called up for the events listed below to trigger industry- or installation-specific additional actions when you are posting or reversing a document in Contract Accounts Receivable and Payable .

Features

Additional Activities When Posting and Reversing

Event

You can use a function module called up for this event to:

0010

Trigger additional actions when you are posting a document in Contract Accounts Receivable and Payable . To do this, you can use all the document data (except for the document number) in this event.See the documentation for the sample function module FKK_SAMPLE_0010.

0020

Trigger additional actions when you are posting a document in Contract Accounts Receivable and Payable and simultaneously clearing or partially clearing open items. You can use all the document data (except for the document number) and all the data for the items to be cleared for this event.See the documentation for the sample function module FKK_SAMPLE_0020.

0030

Close additional actions initiated by event 0010 (document posted) or 0020 (document posted and items cleared). You can use the document header, including the document number assigned (I_FKKKO_OPBEL).See the documentation for the sample function module FKK_SAMPLE_0030.

0090

Reset the data noted for events 0010, 0020, and 0030 to ensure consistent data for a ROLLBACK WORK.See the documentation for the sample function module FKK_SAMPLE_0090.

Additional Items in the Document

Using a function module called up for event 0032, you can create additional line items in a document. Event 0032 is processed before the creation of items for cross-company code clearing.

See the documentation for the sample function module FKK_SAMPLE_0032.

Note Note

The event is not processed if you post reversals, returns, or clearing reversals. You cannot create additional items for purely statistical documents.

End of the note.

Dependent Documents

You can use events 0010, 0020, or 0030 to create an additional document for a document automatically. To do this, in the events, define a function module that creates the additional document, checks it, and the calls up the function module FKK_CREATE_DOC_ADDITIONAL.

For more information, see the documentation for the function module FKK_CREATE_DOC_ADDITIONAL.

Checks during Reversal

You can use a function module called up for event 0070 to integrate document reversal. To check whether the reversal is permitted, you can use the document header data, I_FKKKO, the desired reversal date, I_STODT, and an ID for the reversal trigger, I_CALLR.

See the documentation for the sample function module FKK_SAMPLE_0070.

Checks during Clearing Reversal

You can use a function module called up for event 0071 to integrate clearing reversal. See the documentation for the sample function module FKK_SAMPLE_0071.

Dual Control Principle for Posting and Reversing

You can use function modules called up for events 5500 and 5502 to subject document posting and reversal to a check. For more information, see the documentation for the sample function modules FKK_SAMPLE_5500 and FKK_SAMPLE_5502 and the section Dual Control Principle for Posting and Reversing .

Dual Control Principle for Document Changes

In event 5504, you can subject changes to documents to a check and subsequent release in accordance with the dual control principle dependent on document data. See the documentation for the sample function module FKK_SAMPLE_5504.

Dual Control Principle for Repayment Requests

In event 5508, you can check and approve repayment requests in a workflow. See the documentation for the sample function module FKK_SAMPLE_5508.

Dual Control Principle for Write-Offs

In event 5512, you can subject write-offs of documents to a check and subsequent release in accordance with the dual control principle dependent on document data. See the documentation for the sample function module FKK_SAMPLE_5512.

Activities

  1. Write function modules for the events stated above as required.

  2. Define these function modules for the relevant events in the Implementation Guide for Contract Accounts Receivable and Payable under Start of the navigation path Program Enhancements Next navigation step Define Customer-Specific Function Modules End of the navigation path .