SAP Function Modules

IE03_SELECT_DATA SAP Function module - Blockweises Selektieren der Equipments







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

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


Pattern for FM IE03_SELECT_DATA - IE03 SELECT DATA





CALL FUNCTION 'IE03_SELECT_DATA' "Blockweises Selektieren der Equipments
  TABLES
    i_equnr =                   " equi_pre
*   i_tables =                  " tabname_sm
*   o_equi =                    " equi
*   o_equz =                    " equz
*   o_eqkt =                    " eqkt
*   o_ihpa =                    " ihpa
*   o_iloa =                    " iloa
*   o_eqst =                    " eqst
*   o_adrc =                    " vadrc         Änderungsbelegstruktur; generiert durch RSSCD000
*   o_adr2 =                    " vadr2         Änderungsbelegstruktur; generiert durch RSSCD000
*   o_adr3 =                    " vadr3         Änderungsbelegstruktur; generiert durch RSSCD000
*   out_stxh_tab =              " stxh
*   out_stxl_tab =              " itxtl
*   o_jest =                    " jest          Einzelstatus pro Objekt
*   o_jsto =                    " jsto          Informationen zum Statusobjekt
*   o_bgmkobj =                 " bgmkobj       Master Warranty - Object Assignment
  EXCEPTIONS
    TABLE_NOT_SUPPORTED = 1     "
    .  "  IE03_SELECT_DATA

ABAP code example for Function Module IE03_SELECT_DATA





The ABAP code below is a full code listing to execute function module IE03_SELECT_DATA 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:
it_i_equnr  TYPE STANDARD TABLE OF EQUI_PRE,"TABLES PARAM
wa_i_equnr  LIKE LINE OF it_i_equnr ,
it_i_tables  TYPE STANDARD TABLE OF TABNAME_SM,"TABLES PARAM
wa_i_tables  LIKE LINE OF it_i_tables ,
it_o_equi  TYPE STANDARD TABLE OF EQUI,"TABLES PARAM
wa_o_equi  LIKE LINE OF it_o_equi ,
it_o_equz  TYPE STANDARD TABLE OF EQUZ,"TABLES PARAM
wa_o_equz  LIKE LINE OF it_o_equz ,
it_o_eqkt  TYPE STANDARD TABLE OF EQKT,"TABLES PARAM
wa_o_eqkt  LIKE LINE OF it_o_eqkt ,
it_o_ihpa  TYPE STANDARD TABLE OF IHPA,"TABLES PARAM
wa_o_ihpa  LIKE LINE OF it_o_ihpa ,
it_o_iloa  TYPE STANDARD TABLE OF ILOA,"TABLES PARAM
wa_o_iloa  LIKE LINE OF it_o_iloa ,
it_o_eqst  TYPE STANDARD TABLE OF EQST,"TABLES PARAM
wa_o_eqst  LIKE LINE OF it_o_eqst ,
it_o_adrc  TYPE STANDARD TABLE OF VADRC,"TABLES PARAM
wa_o_adrc  LIKE LINE OF it_o_adrc ,
it_o_adr2  TYPE STANDARD TABLE OF VADR2,"TABLES PARAM
wa_o_adr2  LIKE LINE OF it_o_adr2 ,
it_o_adr3  TYPE STANDARD TABLE OF VADR3,"TABLES PARAM
wa_o_adr3  LIKE LINE OF it_o_adr3 ,
it_out_stxh_tab  TYPE STANDARD TABLE OF STXH,"TABLES PARAM
wa_out_stxh_tab  LIKE LINE OF it_out_stxh_tab ,
it_out_stxl_tab  TYPE STANDARD TABLE OF ITXTL,"TABLES PARAM
wa_out_stxl_tab  LIKE LINE OF it_out_stxl_tab ,
it_o_jest  TYPE STANDARD TABLE OF JEST,"TABLES PARAM
wa_o_jest  LIKE LINE OF it_o_jest ,
it_o_jsto  TYPE STANDARD TABLE OF JSTO,"TABLES PARAM
wa_o_jsto  LIKE LINE OF it_o_jsto ,
it_o_bgmkobj  TYPE STANDARD TABLE OF BGMKOBJ,"TABLES PARAM
wa_o_bgmkobj  LIKE LINE OF it_o_bgmkobj .


"populate fields of struture and append to itab
append wa_i_equnr to it_i_equnr.

"populate fields of struture and append to itab
append wa_i_tables to it_i_tables.

"populate fields of struture and append to itab
append wa_o_equi to it_o_equi.

"populate fields of struture and append to itab
append wa_o_equz to it_o_equz.

"populate fields of struture and append to itab
append wa_o_eqkt to it_o_eqkt.

"populate fields of struture and append to itab
append wa_o_ihpa to it_o_ihpa.

"populate fields of struture and append to itab
append wa_o_iloa to it_o_iloa.

"populate fields of struture and append to itab
append wa_o_eqst to it_o_eqst.

"populate fields of struture and append to itab
append wa_o_adrc to it_o_adrc.

"populate fields of struture and append to itab
append wa_o_adr2 to it_o_adr2.

"populate fields of struture and append to itab
append wa_o_adr3 to it_o_adr3.

"populate fields of struture and append to itab
append wa_out_stxh_tab to it_out_stxh_tab.

"populate fields of struture and append to itab
append wa_out_stxl_tab to it_out_stxl_tab.

"populate fields of struture and append to itab
append wa_o_jest to it_o_jest.

"populate fields of struture and append to itab
append wa_o_jsto to it_o_jsto.

"populate fields of struture and append to itab
append wa_o_bgmkobj to it_o_bgmkobj. . CALL FUNCTION 'IE03_SELECT_DATA' TABLES i_equnr = it_i_equnr * i_tables = it_i_tables * o_equi = it_o_equi * o_equz = it_o_equz * o_eqkt = it_o_eqkt * o_ihpa = it_o_ihpa * o_iloa = it_o_iloa * o_eqst = it_o_eqst * o_adrc = it_o_adrc * o_adr2 = it_o_adr2 * o_adr3 = it_o_adr3 * out_stxh_tab = it_out_stxh_tab * out_stxl_tab = it_out_stxl_tab * o_jest = it_o_jest * o_jsto = it_o_jsto * o_bgmkobj = it_o_bgmkobj EXCEPTIONS TABLE_NOT_SUPPORTED = 1 . " IE03_SELECT_DATA
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:
it_i_equnr  TYPE STANDARD TABLE OF EQUI_PRE ,
wa_i_equnr  LIKE LINE OF it_i_equnr,
it_i_tables  TYPE STANDARD TABLE OF TABNAME_SM ,
wa_i_tables  LIKE LINE OF it_i_tables,
it_o_equi  TYPE STANDARD TABLE OF EQUI ,
wa_o_equi  LIKE LINE OF it_o_equi,
it_o_equz  TYPE STANDARD TABLE OF EQUZ ,
wa_o_equz  LIKE LINE OF it_o_equz,
it_o_eqkt  TYPE STANDARD TABLE OF EQKT ,
wa_o_eqkt  LIKE LINE OF it_o_eqkt,
it_o_ihpa  TYPE STANDARD TABLE OF IHPA ,
wa_o_ihpa  LIKE LINE OF it_o_ihpa,
it_o_iloa  TYPE STANDARD TABLE OF ILOA ,
wa_o_iloa  LIKE LINE OF it_o_iloa,
it_o_eqst  TYPE STANDARD TABLE OF EQST ,
wa_o_eqst  LIKE LINE OF it_o_eqst,
it_o_adrc  TYPE STANDARD TABLE OF VADRC ,
wa_o_adrc  LIKE LINE OF it_o_adrc,
it_o_adr2  TYPE STANDARD TABLE OF VADR2 ,
wa_o_adr2  LIKE LINE OF it_o_adr2,
it_o_adr3  TYPE STANDARD TABLE OF VADR3 ,
wa_o_adr3  LIKE LINE OF it_o_adr3,
it_out_stxh_tab  TYPE STANDARD TABLE OF STXH ,
wa_out_stxh_tab  LIKE LINE OF it_out_stxh_tab,
it_out_stxl_tab  TYPE STANDARD TABLE OF ITXTL ,
wa_out_stxl_tab  LIKE LINE OF it_out_stxl_tab,
it_o_jest  TYPE STANDARD TABLE OF JEST ,
wa_o_jest  LIKE LINE OF it_o_jest,
it_o_jsto  TYPE STANDARD TABLE OF JSTO ,
wa_o_jsto  LIKE LINE OF it_o_jsto,
it_o_bgmkobj  TYPE STANDARD TABLE OF BGMKOBJ ,
wa_o_bgmkobj  LIKE LINE OF it_o_bgmkobj.


"populate fields of struture and append to itab
append wa_i_equnr to it_i_equnr.

"populate fields of struture and append to itab
append wa_i_tables to it_i_tables.

"populate fields of struture and append to itab
append wa_o_equi to it_o_equi.

"populate fields of struture and append to itab
append wa_o_equz to it_o_equz.

"populate fields of struture and append to itab
append wa_o_eqkt to it_o_eqkt.

"populate fields of struture and append to itab
append wa_o_ihpa to it_o_ihpa.

"populate fields of struture and append to itab
append wa_o_iloa to it_o_iloa.

"populate fields of struture and append to itab
append wa_o_eqst to it_o_eqst.

"populate fields of struture and append to itab
append wa_o_adrc to it_o_adrc.

"populate fields of struture and append to itab
append wa_o_adr2 to it_o_adr2.

"populate fields of struture and append to itab
append wa_o_adr3 to it_o_adr3.

"populate fields of struture and append to itab
append wa_out_stxh_tab to it_out_stxh_tab.

"populate fields of struture and append to itab
append wa_out_stxl_tab to it_out_stxl_tab.

"populate fields of struture and append to itab
append wa_o_jest to it_o_jest.

"populate fields of struture and append to itab
append wa_o_jsto to it_o_jsto.

"populate fields of struture and append to itab
append wa_o_bgmkobj to it_o_bgmkobj.

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