Ansicht
Dokumentation

RFIDTRWEKO_BADI_001 - Dynamic Selections in Bill of Exchange List

RFIDTRWEKO_BADI_001 - Dynamic Selections in Bill of Exchange List

CL_GUI_FRONTEND_SERVICES - Frontend Services   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Use

This Business Add-In enables you to change the selection criteria that the user enters in the dynamic selections in the Bill of Exchange List.

This is particularly useful for improving performance when you look for a bill of exchange (or check) using just the bill of exchange number. For more information, see the example below.

Requirements

Standard settings

In the standard system, the Add-In is not activated. It is not filter-dependent and it is not reusable.

Activities

Example

Assume that a clerk enters a bill of exchange in the system. Two weeks later, one of your accountants inquires about the bill, so you look it up in the system. To do so, you run the report and, on the selection screen, you enter the selection criteria: the company code, the fiscal year, and the bill of exchange number

When you execute the report, the system requires a long time to find the bill, because the bill of exchange number is not a key field in the table where the bills of exchange are stored, BSED.

You can improve performance as follows:

  1. Create a copy of table BSED called ZBSED, and, in the copy, define the bill of exchange number as a key field.
  2. Modify the system so that whenever a clerk enters a bill of exchange receivable, the system saves it in table BSED and in ZBSED.
  3. Implement this Add-In, following the instructions under "Activities" above and using the sample code (see below), so that when you run the report:
    1. The report exports the bill of exchange number to the Add-In implementation.
    2. The implementation checks the table ZBSED to find out the document number of the bill of exchange.
    3. The implementation exports the document number to the report.
    4. The report uses the document number as an additional selection criterion.
Since the document number is a key field in the table BSED, the performance improves considerably.
If you use the sample code, change all references to table BSED to ZBSED. To display the sample code, choose Goto -> Sample Code -> Display.

Methods

Change Dynamic Selections Selections






General Material Data   General Material Data  
This documentation is copyright by SAP AG.

Length: 2843 Date: 20240523 Time: 200623     sap01-206 ( 49 ms )