Ansicht
Dokumentation

RFIDTRBOE2_BADI_001 - Dynamic Selections in Bill of Exchange Reversals Program

RFIDTRBOE2_BADI_001 - Dynamic Selections in Bill of Exchange Reversals Program

General Material Data   ABAP Short Reference  
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 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:

  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 program:
    1. The program 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 program.
    4. 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 )