Ansicht
Dokumentation

/IBX/RAPI_CAT - Define Database Access ID

/IBX/RAPI_CAT - Define Database Access ID

BAL_S_LOG - Application Log: Log header data   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

In this activity, you define the database access ID used to access database tables. The specified tables are dynamically connected and can be read and written to.

When you create a database access ID, the table should first be actively available in the DDIC. In addition, the relevant access class must be actively available. If the write function of the database access ID is needed, a suitable update module must also be available.

There are two implementations for access classes, which offer the general functions: read worklist, read single data records or small sets of data records, insert, change and delete data records. However, the implementations differ in the way the worklist is created:

Read with random number: The table must contain a field of type /IBX/E_RND_DB_ACCESS, which can contain a three-digit random number. During writing, the RAPI automatically fills the field with a random number between 0 and 999 (inclusive). When the worklist is created, the business objects are already pregrouped in the main process as the system evenly distributes the random numbers among the available processes. The class available for this is called /LDB/CL_RAPI_GEN_RND. A prerequisite is that the random number is maintained as a field in the activity Assign Physical Field Names to Logical Field Names.

Read without random number: The system creates the worklist by reading the primary key and grouping the objects into packages based on package size. The class available for this is called /IBX/CL_RAPI_GEN_WCL.

If the available methods for using the database do not suffice, you can create a custom implementation, either by implementing interface /IBX/IF_RAPI_GEN or through inheritance of one of the two standard classes.






rdisp/max_wprun_time - Maximum work process run time   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 1993 Date: 20240420 Time: 151453     sap01-206 ( 47 ms )