Ansicht
Dokumentation

ISU_SAMPLE_R403_COLL_BILL - Event R403: Invoicing Grouping

ISU_SAMPLE_R403_COLL_BILL - Event R403: Invoicing Grouping

Vendor Master (General Section)   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module. which runs for event R403, checks whether all associated single print documents for the collective bill contract account were created during collective bill creation.

If all documents are available, the collective bill is created. If not, invoicing is stopped and the missing single bill contract accounts are displayed.

Invoicing is not stopped if a single print document is due in the next 10 days. This setting can be individually adjusted by changing the SelDate parameter in the function module. A check is also made to see whether active contracts exist for the single contract account. If no contracts are available, the collective bill can still be created.

Ensure that this function module is just an example and that it in no way represents a complete solution.

Adjust the function module as your requirements dictate.

Notes

The following data is available as information in the interface:

  • X_ERGRD: Bill creation reason
  • X_FKKVK: Contract account
  • X_FKKVKP: Contract account
  • X_PARAM : Start parameters for invoicing
  • T_EVER: Table of all contracts for contract account
  • T_EITR: Table of all selection data for the contract account, which can contain references to billed and non-invoiced contract billing documents or to SD billing documents to be invoiced
  • T_EABPS: Table of all selected budget billing plan items for the contract account for which a bill is created
  • T_BILL_DOC: Table of all invoicable contract billing documents for the contract account
  • T_VKK_DOC: Table of all invoicable SD template documents for the contract account





Parameters

T_BILL_DOC
T_EABPS
T_EITR
T_EVER
T_VKK_DOC
X_ERGRD
X_FKKVK
X_FKKVKP
X_PARAM
X_XEND

Exceptions

Function Group

E21U

Vendor Master (General Section)   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 2280 Date: 20240523 Time: 150538     sap01-206 ( 36 ms )