Ansicht
Dokumentation
RFIDTRWEKO_BADI_001 - Dynamic Selections in Bill of Exchange List
CL_GUI_FRONTEND_SERVICES - Frontend Services rdisp/max_wprun_time - Maximum work process run timeThis documentation is copyright by SAP AG.
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:
- Create a copy of table BSED called ZBSED, and, in the copy, define the bill of exchange number as a key field.
- Modify the system so that whenever a clerk enters a bill of exchange receivable, the system saves it in table BSED and in ZBSED.
- Implement this Add-In, following the instructions under "Activities" above and using the sample code (see below), so that when you run the report:
- The report exports the bill of exchange number to the Add-In implementation.
- The implementation checks the table ZBSED to find out the document number of the bill of exchange.
- The implementation exports the document number to the report.
- 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 )