CIF_DELTA3_GET_STOCKS 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 CIF_DELTA3_GET_STOCKS into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
CID3
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'CIF_DELTA3_GET_STOCKS' "
* EXPORTING
* iv_select_typ = " cif_imod-status
* iv_objecttype = " cif_imod-imtyp
* iv_logsys = " cif_imod-logsys
* iv_modname = " cif_imod-modelname
* iv_extended = " cif_imod-status
* iv_struct_is_allowed = " sy-debug
* iv_max_stock = " cif_aporel-cifcounter
* iv_no_zeros = SPACE " cif_imod-active
IMPORTING
ev_ret = " cif_imod-active
ev_is_unicode_sys = " sy-debug
ev_struct_is_filled = " sy-debug
* TABLES
* it_flt_objects = " cif_immatk
* et_erglist = " anonympara
* it_ext_matnr = " cifrefmats
* it_ext_locno = " cifrefwerk
* et_stock_objects = " cif_stockn
. " CIF_DELTA3_GET_STOCKS
The ABAP code below is a full code listing to execute function module CIF_DELTA3_GET_STOCKS 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_ev_ret | TYPE CIF_IMOD-ACTIVE , |
| ld_ev_is_unicode_sys | TYPE SY-DEBUG , |
| ld_ev_struct_is_filled | TYPE SY-DEBUG , |
| it_it_flt_objects | TYPE STANDARD TABLE OF CIF_IMMATK,"TABLES PARAM |
| wa_it_flt_objects | LIKE LINE OF it_it_flt_objects , |
| it_et_erglist | TYPE STANDARD TABLE OF ANONYMPARA,"TABLES PARAM |
| wa_et_erglist | LIKE LINE OF it_et_erglist , |
| it_it_ext_matnr | TYPE STANDARD TABLE OF CIFREFMATS,"TABLES PARAM |
| wa_it_ext_matnr | LIKE LINE OF it_it_ext_matnr , |
| it_it_ext_locno | TYPE STANDARD TABLE OF CIFREFWERK,"TABLES PARAM |
| wa_it_ext_locno | LIKE LINE OF it_it_ext_locno , |
| it_et_stock_objects | TYPE STANDARD TABLE OF CIF_STOCKN,"TABLES PARAM |
| wa_et_stock_objects | LIKE LINE OF it_et_stock_objects . |
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_ev_ret | TYPE CIF_IMOD-ACTIVE , |
| ld_iv_select_typ | TYPE CIF_IMOD-STATUS , |
| it_it_flt_objects | TYPE STANDARD TABLE OF CIF_IMMATK , |
| wa_it_flt_objects | LIKE LINE OF it_it_flt_objects, |
| ld_ev_is_unicode_sys | TYPE SY-DEBUG , |
| ld_iv_objecttype | TYPE CIF_IMOD-IMTYP , |
| it_et_erglist | TYPE STANDARD TABLE OF ANONYMPARA , |
| wa_et_erglist | LIKE LINE OF it_et_erglist, |
| ld_ev_struct_is_filled | TYPE SY-DEBUG , |
| ld_iv_logsys | TYPE CIF_IMOD-LOGSYS , |
| it_it_ext_matnr | TYPE STANDARD TABLE OF CIFREFMATS , |
| wa_it_ext_matnr | LIKE LINE OF it_it_ext_matnr, |
| ld_iv_modname | TYPE CIF_IMOD-MODELNAME , |
| it_it_ext_locno | TYPE STANDARD TABLE OF CIFREFWERK , |
| wa_it_ext_locno | LIKE LINE OF it_it_ext_locno, |
| ld_iv_extended | TYPE CIF_IMOD-STATUS , |
| it_et_stock_objects | TYPE STANDARD TABLE OF CIF_STOCKN , |
| wa_et_stock_objects | LIKE LINE OF it_et_stock_objects, |
| ld_iv_struct_is_allowed | TYPE SY-DEBUG , |
| ld_iv_max_stock | TYPE CIF_APOREL-CIFCOUNTER , |
| ld_iv_no_zeros | TYPE CIF_IMOD-ACTIVE . |
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 CIF_DELTA3_GET_STOCKS or its description.