SAP Function Modules

IPM_BTE_00001030 SAP Function module







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

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


Pattern for FM IPM_BTE_00001030 - IPM BTE 00001030





CALL FUNCTION 'IPM_BTE_00001030' "
  EXPORTING
    i_bkdf =                    " bkdf
    i_uf05a =                   " uf05a
*   i_xvbup = 'X'               " ofiwa-xvbup
  TABLES
*   t_ausz1 =                   " ausz1
*   t_ausz2 =                   " ausz2
*   t_ausz3 =                   " ausz_clr
    t_bkp1 =                    " bkp1
    t_bkpf =                    " bkpf
    t_bsec =                    " bsec
    t_bsed =                    " bsed
    t_bseg =                    " bseg
    t_bset =                    " bset
    t_bseu =                    " bseu
    .  "  IPM_BTE_00001030

ABAP code example for Function Module IPM_BTE_00001030





The ABAP code below is a full code listing to execute function module IPM_BTE_00001030 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_t_ausz1  TYPE STANDARD TABLE OF AUSZ1,"TABLES PARAM
wa_t_ausz1  LIKE LINE OF it_t_ausz1 ,
it_t_ausz2  TYPE STANDARD TABLE OF AUSZ2,"TABLES PARAM
wa_t_ausz2  LIKE LINE OF it_t_ausz2 ,
it_t_ausz3  TYPE STANDARD TABLE OF AUSZ_CLR,"TABLES PARAM
wa_t_ausz3  LIKE LINE OF it_t_ausz3 ,
it_t_bkp1  TYPE STANDARD TABLE OF BKP1,"TABLES PARAM
wa_t_bkp1  LIKE LINE OF it_t_bkp1 ,
it_t_bkpf  TYPE STANDARD TABLE OF BKPF,"TABLES PARAM
wa_t_bkpf  LIKE LINE OF it_t_bkpf ,
it_t_bsec  TYPE STANDARD TABLE OF BSEC,"TABLES PARAM
wa_t_bsec  LIKE LINE OF it_t_bsec ,
it_t_bsed  TYPE STANDARD TABLE OF BSED,"TABLES PARAM
wa_t_bsed  LIKE LINE OF it_t_bsed ,
it_t_bseg  TYPE STANDARD TABLE OF BSEG,"TABLES PARAM
wa_t_bseg  LIKE LINE OF it_t_bseg ,
it_t_bset  TYPE STANDARD TABLE OF BSET,"TABLES PARAM
wa_t_bset  LIKE LINE OF it_t_bset ,
it_t_bseu  TYPE STANDARD TABLE OF BSEU,"TABLES PARAM
wa_t_bseu  LIKE LINE OF it_t_bseu .

DATA(ld_i_bkdf) = 'Check type of data required'.
DATA(ld_i_uf05a) = 'Check type of data required'.

DATA(ld_i_xvbup) = some text here

"populate fields of struture and append to itab
append wa_t_ausz1 to it_t_ausz1.

"populate fields of struture and append to itab
append wa_t_ausz2 to it_t_ausz2.

"populate fields of struture and append to itab
append wa_t_ausz3 to it_t_ausz3.

"populate fields of struture and append to itab
append wa_t_bkp1 to it_t_bkp1.

"populate fields of struture and append to itab
append wa_t_bkpf to it_t_bkpf.

"populate fields of struture and append to itab
append wa_t_bsec to it_t_bsec.

"populate fields of struture and append to itab
append wa_t_bsed to it_t_bsed.

"populate fields of struture and append to itab
append wa_t_bseg to it_t_bseg.

"populate fields of struture and append to itab
append wa_t_bset to it_t_bset.

"populate fields of struture and append to itab
append wa_t_bseu to it_t_bseu. . CALL FUNCTION 'IPM_BTE_00001030' EXPORTING i_bkdf = ld_i_bkdf i_uf05a = ld_i_uf05a * i_xvbup = ld_i_xvbup TABLES * t_ausz1 = it_t_ausz1 * t_ausz2 = it_t_ausz2 * t_ausz3 = it_t_ausz3 t_bkp1 = it_t_bkp1 t_bkpf = it_t_bkpf t_bsec = it_t_bsec t_bsed = it_t_bsed t_bseg = it_t_bseg t_bset = it_t_bset t_bseu = it_t_bseu . " IPM_BTE_00001030
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_bkdf  TYPE BKDF ,
it_t_ausz1  TYPE STANDARD TABLE OF AUSZ1 ,
wa_t_ausz1  LIKE LINE OF it_t_ausz1,
ld_i_uf05a  TYPE UF05A ,
it_t_ausz2  TYPE STANDARD TABLE OF AUSZ2 ,
wa_t_ausz2  LIKE LINE OF it_t_ausz2,
ld_i_xvbup  TYPE OFIWA-XVBUP ,
it_t_ausz3  TYPE STANDARD TABLE OF AUSZ_CLR ,
wa_t_ausz3  LIKE LINE OF it_t_ausz3,
it_t_bkp1  TYPE STANDARD TABLE OF BKP1 ,
wa_t_bkp1  LIKE LINE OF it_t_bkp1,
it_t_bkpf  TYPE STANDARD TABLE OF BKPF ,
wa_t_bkpf  LIKE LINE OF it_t_bkpf,
it_t_bsec  TYPE STANDARD TABLE OF BSEC ,
wa_t_bsec  LIKE LINE OF it_t_bsec,
it_t_bsed  TYPE STANDARD TABLE OF BSED ,
wa_t_bsed  LIKE LINE OF it_t_bsed,
it_t_bseg  TYPE STANDARD TABLE OF BSEG ,
wa_t_bseg  LIKE LINE OF it_t_bseg,
it_t_bset  TYPE STANDARD TABLE OF BSET ,
wa_t_bset  LIKE LINE OF it_t_bset,
it_t_bseu  TYPE STANDARD TABLE OF BSEU ,
wa_t_bseu  LIKE LINE OF it_t_bseu.

ld_i_bkdf = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_ausz1 to it_t_ausz1.
ld_i_uf05a = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_ausz2 to it_t_ausz2.

ld_i_xvbup = some text here

"populate fields of struture and append to itab
append wa_t_ausz3 to it_t_ausz3.

"populate fields of struture and append to itab
append wa_t_bkp1 to it_t_bkp1.

"populate fields of struture and append to itab
append wa_t_bkpf to it_t_bkpf.

"populate fields of struture and append to itab
append wa_t_bsec to it_t_bsec.

"populate fields of struture and append to itab
append wa_t_bsed to it_t_bsed.

"populate fields of struture and append to itab
append wa_t_bseg to it_t_bseg.

"populate fields of struture and append to itab
append wa_t_bset to it_t_bset.

"populate fields of struture and append to itab
append wa_t_bseu to it_t_bseu.

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