Ansicht
Dokumentation
RFIDTRBOE2_BADI_001 - Dynamic Selections in Bill of Exchange Reversals Program
General Material Data ABAP Short ReferenceThis 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 Reversal of Bill of Exchange Transactions program.
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 program 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 program, 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 program:
- The program 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 program.
- The program 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>
Vendor Master (General Section) General Material Data
This documentation is copyright by SAP AG.
Length: 2864 Date: 20240607 Time: 095812 sap01-206 ( 44 ms )