SAP Function Modules

RSDAW_TABLE_SELECT SAP Function module - Starts the selective reading of a table







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

Associated Function Group: RSDAW_NEARLINE_SERVER
Released Date: Not Released
Processing type: Remote-Enabled
remote enabled module settings


Pattern for FM RSDAW_TABLE_SELECT - RSDAW TABLE SELECT





CALL FUNCTION 'RSDAW_TABLE_SELECT' "Starts the selective reading of a table
  EXPORTING
    i_owner =                   " rsdaw_owner   Owner
    i_table_name =              " rsdaw_table_name  Table Name
    i_t_query_column_definitions =   " rsdaw_t_query_column_defs  Column definition for a query
    i_where_clause =            " rsdaw_where_clause  Where condition as SQL expression
    i_package_size =            " rsdaw_package_size  Expected number of records per package
  IMPORTING
    e_t_data_records =          " rsdaw_t_csv_records  Records in CSV format
    e_end_of_data =             " rsdaw_end_of_data  Indicator for the end of the selection
    e_context_container =       " rsdaw_context_container  Containers for the query context
    .  "  RSDAW_TABLE_SELECT

ABAP code example for Function Module RSDAW_TABLE_SELECT





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

DATA:
ld_e_t_data_records  TYPE RSDAW_T_CSV_RECORDS ,
ld_e_end_of_data  TYPE RSDAW_END_OF_DATA ,
ld_e_context_container  TYPE RSDAW_CONTEXT_CONTAINER .

DATA(ld_i_owner) = 'Check type of data required'.
DATA(ld_i_table_name) = 'Check type of data required'.
DATA(ld_i_t_query_column_definitions) = 'Check type of data required'.
DATA(ld_i_where_clause) = 'Check type of data required'.
DATA(ld_i_package_size) = 'Check type of data required'. . CALL FUNCTION 'RSDAW_TABLE_SELECT' EXPORTING i_owner = ld_i_owner i_table_name = ld_i_table_name i_t_query_column_definitions = ld_i_t_query_column_definitions i_where_clause = ld_i_where_clause i_package_size = ld_i_package_size IMPORTING e_t_data_records = ld_e_t_data_records e_end_of_data = ld_e_end_of_data e_context_container = ld_e_context_container . " RSDAW_TABLE_SELECT
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_e_t_data_records  TYPE RSDAW_T_CSV_RECORDS ,
ld_i_owner  TYPE RSDAW_OWNER ,
ld_e_end_of_data  TYPE RSDAW_END_OF_DATA ,
ld_i_table_name  TYPE RSDAW_TABLE_NAME ,
ld_e_context_container  TYPE RSDAW_CONTEXT_CONTAINER ,
ld_i_t_query_column_definitions  TYPE RSDAW_T_QUERY_COLUMN_DEFS ,
ld_i_where_clause  TYPE RSDAW_WHERE_CLAUSE ,
ld_i_package_size  TYPE RSDAW_PACKAGE_SIZE .

ld_i_owner = 'Check type of data required'.
ld_i_table_name = 'Check type of data required'.
ld_i_t_query_column_definitions = 'Check type of data required'.
ld_i_where_clause = 'Check type of data required'.
ld_i_package_size = 'Check type of data required'.

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