RSB_API_OHS_SOURCE_SELECT is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name RSB_API_OHS_SOURCE_SELECT into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
RSB_EMBEDDED
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'RSB_API_OHS_SOURCE_SELECT' "Selects a data source and starts BW processes
EXPORTING
* client = " mandt 3-Byte Field
* logsys = " logsys Source System
tlogo = RS_C_TLOGO-DATASOURCE " rstlogo BW: Object Type (TLOGO)
objnm = " rsobjnm Name of Source
IMPORTING
return = " bapiret2 Return Parameter(s)
* TABLES
* selections = " rsselect Scheduler: Selection Structure
* t_updmode = " rsb_s_updmode List of Possible Update Behaviors
* t_messages = " bapirettab Table with BAPI Return Information
. " RSB_API_OHS_SOURCE_SELECT
The ABAP code below is a full code listing to execute function module RSB_API_OHS_SOURCE_SELECT including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| ld_return | TYPE BAPIRET2 , |
| it_selections | TYPE STANDARD TABLE OF RSSELECT,"TABLES PARAM |
| wa_selections | LIKE LINE OF it_selections , |
| it_t_updmode | TYPE STANDARD TABLE OF RSB_S_UPDMODE,"TABLES PARAM |
| wa_t_updmode | LIKE LINE OF it_t_updmode , |
| it_t_messages | TYPE STANDARD TABLE OF BAPIRETTAB,"TABLES PARAM |
| wa_t_messages | LIKE LINE OF it_t_messages . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_return | TYPE BAPIRET2 , |
| ld_client | TYPE MANDT , |
| it_selections | TYPE STANDARD TABLE OF RSSELECT , |
| wa_selections | LIKE LINE OF it_selections, |
| ld_logsys | TYPE LOGSYS , |
| it_t_updmode | TYPE STANDARD TABLE OF RSB_S_UPDMODE , |
| wa_t_updmode | LIKE LINE OF it_t_updmode, |
| ld_tlogo | TYPE RSTLOGO , |
| it_t_messages | TYPE STANDARD TABLE OF BAPIRETTAB , |
| wa_t_messages | LIKE LINE OF it_t_messages, |
| ld_objnm | TYPE RSOBJNM . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name RSB_API_OHS_SOURCE_SELECT or its description.
RSB_API_OHS_SOURCE_SELECT - Selects a data source and starts BW processes RSB_API_OHS_SOURCE_GETLIST - Provides list of DataSources RSB_API_OHS_REQUEST_SETSTATUS - Set the Status of the 3rd party tool in the Monitor RSB_API_OHS_DEST_SETPARAMS - Set of parameters in the BW system RSB_API_OHS_DEST_READ_DATA_RAW - Read an OHD Databasetable RSB_API_OHS_DEST_READ_DATA - Read an OHD Databasetable