Ansicht
Dokumentation
ABENLOGICAL_DATABASE_ABEXA - LOGICAL DATABASE ABEXA
Fill RESBD Structure from EBP Component Structure General Material DataThis documentation is copyright by SAP AG.
- Calls Using a Function Module
This example demonstrates calling a logical database using the function module LDB_PROCESS.
Source Code
Description
The program reads data using the logical database F1S. First a program-specific selection screen is defined. The data object wa_spfli is only required here. Next, suitable variables for the interface are declared.
The internal table callback is filled in such a way that, for the two nodes SPFLI and SFLIGHT, different callback routines in the calling program are called. For the node SPFLI, the corresponding routine for GET and GET LATE is only to be called for GET in the case of SFLIGHT.
The internal table seltab is filled with values from the selection table s_carr of the standalone selection screen 1100 for the selections of node SPFLI.
The function module LDB_PROCESS is called with these parameters.
The subroutines callback_spfli and callback_sflight are used as callback routines. Since the interface parameter wa is completely typed, the individual components of the work area can be accessed. In callback_spfli, the events GET and GET LATE are handled differently.
Fill RESBD Structure from EBP Component Structure RFUMSV00 - Advance Return for Tax on Sales/Purchases
This documentation is copyright by SAP AG.
Length: 1607 Date: 20240424 Time: 202944 sap01-206 ( 36 ms )