Ansicht
Dokumentation

FKK_EVENT_1190_IT - Determine attributes for official document numbering

FKK_EVENT_1190_IT - Determine attributes for official document numbering

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

Functionality

This function module is used for Italian company codes only. It fills table FKKEXTDOC with attributes and official document numbers already assigned in external transactions (for instance, documents posted from Sales and Distribution). It fills the attributes of the structure for official document numbers with Italy-specific attributes as follows:

  • DFKKEXTDOC-ATTRIBUTE1 = company code
  • DFKKEXTDOC-ATTRIBUTE2 = posting date
  • DFKKEXTDOC-ATTRIBUTE3 = document type
  • DFKKEXTDOC-ATTRIBUTE4 = number group
  • DFKKEXTDOC-ATTRIBUTE5 = reporting frequency

Example

Notes

The function module only processes documents with one of the following document source keys (FKKKO-HERKF):

  • 01 manual posting
  • 02 reversal
  • 07 interest document
  • 10 SD billing document
  • 19 manual payment
  • 28 interest document from dunning
  • 29 interest document from invoicing
  • 30 interest from installment plan
  • R4 IS-U invoicing
  • R9 IS-U invoicing reversal
  • RF IS-U invoicing

The system checks that these documents have a document type that is relevant for official document numbering; otherwise, the document is not considered. Based on the document's number group, the system retrieves its number group.

In the case of reversals (document source keys 02 and R9), the system processes only those reversals for which there are active entries of the original document in structure FKKCL - it marks the original documents of processed documents as canceled in table DFKKEXTDOC.

In the case of cash desk payments (document source key 19), the system only assigns an official document number to those payment documents that clear security deposit request documents in structure FKKCL.

For all documents with relevant document source keys and document types, the system compares the date of last number assignment with the posting date of the processed document as follows. Within each number group, it checks that the posting date is equal to or more recent than the date of the last official document number; otherwise the document is not assigned an official document number. Since it is possible to have several entries for one number group, it checks the date of the last number assignment of all document types that belong to the same number group.





Parameters

IT_FKKCL
IT_FKKEXTDOC
IT_FKKEXTDOC_CANCEL
IT_FKKOP
IT_FKKOPK
IT_FKKOPW
IT_FKKRAP
IT_MESSA
I_AUGRD
I_CALLID
I_CANCEL
I_FKKKO
I_PROCESS

Exceptions

Function Group

FKK_EXT_DOC_NUM_IT

CL_GUI_FRONTEND_SERVICES - Frontend Services   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 3361 Date: 20240523 Time: 143245     sap01-206 ( 61 ms )