Ansicht
Dokumentation

ISCD_SAMPLE_V520 - Sample Module for Item Selection in Broker Report

ISCD_SAMPLE_V520 - Sample Module for Item Selection in Broker Report

ABAP Short Reference   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

The function module called up for event V520 gives you the option of changing the open line items selected when processing and posting a broker report from the FS-CD standard system.

'Change' means that you can enhance the preselected open line items with line items that are to be taken into account, or eliminate those preselected line items that are not to be taken into account.

The open line items that are preselected by the standard software are delivered to the function module in the T_FKKCLparameter. In the same table, the function module must also return the line items to be taken into account to the caller.

You use the IT_DESELECTEDparameter to receive the line items that have been selected from the database, but which are to be excluded, after certain criteria have been checked in the FS-CD standard system. The IT_DESELECTED-EXCEPTION_CODE field informs you why the line item has not been selected. The individual values for the exception reason are defined as fixed values in the EXCEPTCODE_BRO domain. The IBRCONST include contains the fixed values for corresponding constants, which you can use in the function module for event V520.

In the broker report, if you take into account items that have been excluded by the standard software, you can append the items from the FKKCL field in the IT_DESELECTED table to the T_FKKCL table, in thefunction module for the event. You can also remove the items from the T_FKKCL table that are not to be taken into account.

The broker report header (parameter I_BRO_STMH) and the tables with the selection criteria used to execute open item selection in the FS-CD standard system (using the FKK_OPEN_ITEM_SELECT module) are available in the interface as additional information.

IT_SELTAB - Selection conditions for open item selection

IT_AGRTAB - Clearing restrictions permitted for selection

IT_BUKTAB - selected company codes

Example

Notes

Further information





Parameters

IT_AGRTAB
IT_BUKTAB
IT_DESELECTED
IT_DESELECTED_ADD
IT_SELTAB
I_BRO_STMH
I_BRO_STMP
T_FKKCL

Exceptions

Function Group

IBR09

rdisp/max_wprun_time - Maximum work process run time   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 2523 Date: 20240604 Time: 090111     sap01-206 ( 57 ms )