SAP Function Modules

RSDS_ACCESS_DBEXTRACT_SETGET SAP Function module - Set and Get DB-Extract gloabl fields







RSDS_ACCESS_DBEXTRACT_SETGET 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 RSDS_ACCESS_DBEXTRACT_SETGET into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: RSDS_ACCESS_FRONTEND
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM RSDS_ACCESS_DBEXTRACT_SETGET - RSDS ACCESS DBEXTRACT SETGET





CALL FUNCTION 'RSDS_ACCESS_DBEXTRACT_SETGET' "Set and Get DB-Extract gloabl fields
* EXPORTING
*   i_logsys =                  " rsslogsys     Source system
*   i_refresh =                 " rs_bool       Refresh global parameters
*   i_refresh_field =           " rs_bool       Refresh field parameters
*   i_display_only =            " rs_bool       Display only flag
*   i_datasource_type =         " rsds_requtype  Data Type of a DataSource
*   ir_accessmethods =          " cl_rsds_accessmethods  Access to Access Methods
*   ir_attributes =             " object
* CHANGING
*   i_rsds_tx_db_object =       " rsds_tx_db_object  Table of Database Object
*   e_rsds_tx_db_object =       " rsds_tx_db_object  Table of Database Object
*   i_rsds_tx_segments =        " rsds_tx_segments  DB Fields
*   e_rsds_tx_segments =        " rsds_tx_segments  DB Fields
*   i_for_ipak =                " rs_bool       Flag for info package
    .  "  RSDS_ACCESS_DBEXTRACT_SETGET

ABAP code example for Function Module RSDS_ACCESS_DBEXTRACT_SETGET





The ABAP code below is a full code listing to execute function module RSDS_ACCESS_DBEXTRACT_SETGET 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).


DATA(ld_i_rsds_tx_db_object) = 'Check type of data required'.
DATA(ld_e_rsds_tx_db_object) = 'Check type of data required'.
DATA(ld_i_rsds_tx_segments) = 'Check type of data required'.
DATA(ld_e_rsds_tx_segments) = 'Check type of data required'.
DATA(ld_i_for_ipak) = 'Check type of data required'.
DATA(ld_i_logsys) = 'some text here'.
DATA(ld_i_refresh) = 'some text here'.
DATA(ld_i_refresh_field) = 'some text here'.
DATA(ld_i_display_only) = 'some text here'.
DATA(ld_i_datasource_type) = 'some text here'.
DATA(ld_ir_accessmethods) = 'some text here'.
DATA(ld_ir_attributes) = 'some text here'. . CALL FUNCTION 'RSDS_ACCESS_DBEXTRACT_SETGET' * EXPORTING * i_logsys = ld_i_logsys * i_refresh = ld_i_refresh * i_refresh_field = ld_i_refresh_field * i_display_only = ld_i_display_only * i_datasource_type = ld_i_datasource_type * ir_accessmethods = ld_ir_accessmethods * ir_attributes = ld_ir_attributes * CHANGING * i_rsds_tx_db_object = ld_i_rsds_tx_db_object * e_rsds_tx_db_object = ld_e_rsds_tx_db_object * i_rsds_tx_segments = ld_i_rsds_tx_segments * e_rsds_tx_segments = ld_e_rsds_tx_segments * i_for_ipak = ld_i_for_ipak . " RSDS_ACCESS_DBEXTRACT_SETGET
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

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_i_rsds_tx_db_object  TYPE RSDS_TX_DB_OBJECT ,
ld_i_logsys  TYPE RSSLOGSYS ,
ld_e_rsds_tx_db_object  TYPE RSDS_TX_DB_OBJECT ,
ld_i_refresh  TYPE RS_BOOL ,
ld_i_rsds_tx_segments  TYPE RSDS_TX_SEGMENTS ,
ld_i_refresh_field  TYPE RS_BOOL ,
ld_e_rsds_tx_segments  TYPE RSDS_TX_SEGMENTS ,
ld_i_display_only  TYPE RS_BOOL ,
ld_i_for_ipak  TYPE RS_BOOL ,
ld_i_datasource_type  TYPE RSDS_REQUTYPE ,
ld_ir_accessmethods  TYPE CL_RSDS_ACCESSMETHODS ,
ld_ir_attributes  TYPE OBJECT .

ld_i_rsds_tx_db_object = 'some text here'.
ld_i_logsys = 'some text here'.
ld_e_rsds_tx_db_object = 'some text here'.
ld_i_refresh = 'some text here'.
ld_i_rsds_tx_segments = 'some text here'.
ld_i_refresh_field = 'some text here'.
ld_e_rsds_tx_segments = 'some text here'.
ld_i_display_only = 'some text here'.
ld_i_for_ipak = 'some text here'.
ld_i_datasource_type = 'some text here'.
ld_ir_accessmethods = 'some text here'.
ld_ir_attributes = 'some text here'.

Contribute (Add Comments)

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 RSDS_ACCESS_DBEXTRACT_SETGET or its description.