SAP Function Modules

RSQ_ISET_WRITE_INFOSET_DB SAP Function module - InfoSet: Write all properties







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

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


Pattern for FM RSQ_ISET_WRITE_INFOSET_DB - RSQ ISET WRITE INFOSET DB





CALL FUNCTION 'RSQ_ISET_WRITE_INFOSET_DB' "InfoSet: Write all properties
  EXPORTING
    i_header =                  " rsq_s_iset_cat  InfoSet Catalog with Texts
    i_header_ext =              " rsqsisetx     InfoSet: Include Structure for Technical Enhancements
    it_fobj =                   " rsq_t_fobj    TType: InfoSet Field Objects
*   it_fobj_hist =              " rsq_t_fobj    TType: InfoSet Field Objects
    it_tobj =                   " rsq_t_tobj    TType: InfoSet Table Objects
*   it_tobj_hist =              " rsq_t_tobj    TType: InfoSet Table Objects
    it_where =                  " rsq_t_where   TType: Standard WHERE Condition in InfoSet
    it_on =                     " rsq_t_on      TType: ON Conditions in InfoSet
    it_tmon =                   " rsq_t_tmon    TType: Temporal ON Conditions in InfoSet
    it_dim =                    " rsq_t_dim     TType: InfoSet Dimensions
  EXCEPTIONS
    CX_RS_FAILED = 1            "               Operation Failed
    .  "  RSQ_ISET_WRITE_INFOSET_DB

ABAP code example for Function Module RSQ_ISET_WRITE_INFOSET_DB





The ABAP code below is a full code listing to execute function module RSQ_ISET_WRITE_INFOSET_DB 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_header) = 'Check type of data required'.
DATA(ld_i_header_ext) = 'Check type of data required'.
DATA(ld_it_fobj) = 'Check type of data required'.
DATA(ld_it_fobj_hist) = 'Check type of data required'.
DATA(ld_it_tobj) = 'Check type of data required'.
DATA(ld_it_tobj_hist) = 'Check type of data required'.
DATA(ld_it_where) = 'Check type of data required'.
DATA(ld_it_on) = 'Check type of data required'.
DATA(ld_it_tmon) = 'Check type of data required'.
DATA(ld_it_dim) = 'Check type of data required'. . CALL FUNCTION 'RSQ_ISET_WRITE_INFOSET_DB' EXPORTING i_header = ld_i_header i_header_ext = ld_i_header_ext it_fobj = ld_it_fobj * it_fobj_hist = ld_it_fobj_hist it_tobj = ld_it_tobj * it_tobj_hist = ld_it_tobj_hist it_where = ld_it_where it_on = ld_it_on it_tmon = ld_it_tmon it_dim = ld_it_dim EXCEPTIONS CX_RS_FAILED = 1 . " RSQ_ISET_WRITE_INFOSET_DB
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here 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_header  TYPE RSQ_S_ISET_CAT ,
ld_i_header_ext  TYPE RSQSISETX ,
ld_it_fobj  TYPE RSQ_T_FOBJ ,
ld_it_fobj_hist  TYPE RSQ_T_FOBJ ,
ld_it_tobj  TYPE RSQ_T_TOBJ ,
ld_it_tobj_hist  TYPE RSQ_T_TOBJ ,
ld_it_where  TYPE RSQ_T_WHERE ,
ld_it_on  TYPE RSQ_T_ON ,
ld_it_tmon  TYPE RSQ_T_TMON ,
ld_it_dim  TYPE RSQ_T_DIM .

ld_i_header = 'Check type of data required'.
ld_i_header_ext = 'Check type of data required'.
ld_it_fobj = 'Check type of data required'.
ld_it_fobj_hist = 'Check type of data required'.
ld_it_tobj = 'Check type of data required'.
ld_it_tobj_hist = 'Check type of data required'.
ld_it_where = 'Check type of data required'.
ld_it_on = 'Check type of data required'.
ld_it_tmon = 'Check type of data required'.
ld_it_dim = '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 RSQ_ISET_WRITE_INFOSET_DB or its description.