SAP Function Modules

OUTBOUND_CALL_00506002_E SAP Function module







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

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


Pattern for FM OUTBOUND_CALL_00506002_E - OUTBOUND CALL 00506002 E





CALL FUNCTION 'OUTBOUND_CALL_00506002_E' "
  EXPORTING
    is_control =                " mccontrol
    iv_zeitp =                  " tmc5-zeitp
* TABLES
*   it_mcinf =                  " mcsoinf
*   it_xmckomv =                " mckomvb
*   it_xmcvbak =                " mcvbakb
*   it_xmcvbap =                " mcvbapb
*   it_xmcvbapf =               " mcvbafb
*   it_xmcvbep =                " mcvbepb
*   it_xmcvbfa =                " mcvbfab
*   it_xmcvbkd =                " mcvbkdb
*   it_xmcvbpa =                " mcvbpab
*   it_xmcvbuk =                " mcvbukb
*   it_xmcvbup =                " mcvbupb
*   it_xmcfplt =                " mcfpltb
*   it_xmclikp =                " mclikpb
*   it_xmclips =                " mclipsb
*   it_xmcvbel =                " mcvbelb
    .  "  OUTBOUND_CALL_00506002_E

ABAP code example for Function Module OUTBOUND_CALL_00506002_E





The ABAP code below is a full code listing to execute function module OUTBOUND_CALL_00506002_E 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_it_mcinf  TYPE STANDARD TABLE OF MCSOINF,"TABLES PARAM
wa_it_mcinf  LIKE LINE OF it_it_mcinf ,
it_it_xmckomv  TYPE STANDARD TABLE OF MCKOMVB,"TABLES PARAM
wa_it_xmckomv  LIKE LINE OF it_it_xmckomv ,
it_it_xmcvbak  TYPE STANDARD TABLE OF MCVBAKB,"TABLES PARAM
wa_it_xmcvbak  LIKE LINE OF it_it_xmcvbak ,
it_it_xmcvbap  TYPE STANDARD TABLE OF MCVBAPB,"TABLES PARAM
wa_it_xmcvbap  LIKE LINE OF it_it_xmcvbap ,
it_it_xmcvbapf  TYPE STANDARD TABLE OF MCVBAFB,"TABLES PARAM
wa_it_xmcvbapf  LIKE LINE OF it_it_xmcvbapf ,
it_it_xmcvbep  TYPE STANDARD TABLE OF MCVBEPB,"TABLES PARAM
wa_it_xmcvbep  LIKE LINE OF it_it_xmcvbep ,
it_it_xmcvbfa  TYPE STANDARD TABLE OF MCVBFAB,"TABLES PARAM
wa_it_xmcvbfa  LIKE LINE OF it_it_xmcvbfa ,
it_it_xmcvbkd  TYPE STANDARD TABLE OF MCVBKDB,"TABLES PARAM
wa_it_xmcvbkd  LIKE LINE OF it_it_xmcvbkd ,
it_it_xmcvbpa  TYPE STANDARD TABLE OF MCVBPAB,"TABLES PARAM
wa_it_xmcvbpa  LIKE LINE OF it_it_xmcvbpa ,
it_it_xmcvbuk  TYPE STANDARD TABLE OF MCVBUKB,"TABLES PARAM
wa_it_xmcvbuk  LIKE LINE OF it_it_xmcvbuk ,
it_it_xmcvbup  TYPE STANDARD TABLE OF MCVBUPB,"TABLES PARAM
wa_it_xmcvbup  LIKE LINE OF it_it_xmcvbup ,
it_it_xmcfplt  TYPE STANDARD TABLE OF MCFPLTB,"TABLES PARAM
wa_it_xmcfplt  LIKE LINE OF it_it_xmcfplt ,
it_it_xmclikp  TYPE STANDARD TABLE OF MCLIKPB,"TABLES PARAM
wa_it_xmclikp  LIKE LINE OF it_it_xmclikp ,
it_it_xmclips  TYPE STANDARD TABLE OF MCLIPSB,"TABLES PARAM
wa_it_xmclips  LIKE LINE OF it_it_xmclips ,
it_it_xmcvbel  TYPE STANDARD TABLE OF MCVBELB,"TABLES PARAM
wa_it_xmcvbel  LIKE LINE OF it_it_xmcvbel .

DATA(ld_is_control) = 'Check type of data required'.

SELECT single ZEITP
FROM TMC5
INTO @DATA(ld_iv_zeitp).


"populate fields of struture and append to itab
append wa_it_mcinf to it_it_mcinf.

"populate fields of struture and append to itab
append wa_it_xmckomv to it_it_xmckomv.

"populate fields of struture and append to itab
append wa_it_xmcvbak to it_it_xmcvbak.

"populate fields of struture and append to itab
append wa_it_xmcvbap to it_it_xmcvbap.

"populate fields of struture and append to itab
append wa_it_xmcvbapf to it_it_xmcvbapf.

"populate fields of struture and append to itab
append wa_it_xmcvbep to it_it_xmcvbep.

"populate fields of struture and append to itab
append wa_it_xmcvbfa to it_it_xmcvbfa.

"populate fields of struture and append to itab
append wa_it_xmcvbkd to it_it_xmcvbkd.

"populate fields of struture and append to itab
append wa_it_xmcvbpa to it_it_xmcvbpa.

"populate fields of struture and append to itab
append wa_it_xmcvbuk to it_it_xmcvbuk.

"populate fields of struture and append to itab
append wa_it_xmcvbup to it_it_xmcvbup.

"populate fields of struture and append to itab
append wa_it_xmcfplt to it_it_xmcfplt.

"populate fields of struture and append to itab
append wa_it_xmclikp to it_it_xmclikp.

"populate fields of struture and append to itab
append wa_it_xmclips to it_it_xmclips.

"populate fields of struture and append to itab
append wa_it_xmcvbel to it_it_xmcvbel. . CALL FUNCTION 'OUTBOUND_CALL_00506002_E' EXPORTING is_control = ld_is_control iv_zeitp = ld_iv_zeitp * TABLES * it_mcinf = it_it_mcinf * it_xmckomv = it_it_xmckomv * it_xmcvbak = it_it_xmcvbak * it_xmcvbap = it_it_xmcvbap * it_xmcvbapf = it_it_xmcvbapf * it_xmcvbep = it_it_xmcvbep * it_xmcvbfa = it_it_xmcvbfa * it_xmcvbkd = it_it_xmcvbkd * it_xmcvbpa = it_it_xmcvbpa * it_xmcvbuk = it_it_xmcvbuk * it_xmcvbup = it_it_xmcvbup * it_xmcfplt = it_it_xmcfplt * it_xmclikp = it_it_xmclikp * it_xmclips = it_it_xmclips * it_xmcvbel = it_it_xmcvbel . " OUTBOUND_CALL_00506002_E
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_is_control  TYPE MCCONTROL ,
it_it_mcinf  TYPE STANDARD TABLE OF MCSOINF ,
wa_it_mcinf  LIKE LINE OF it_it_mcinf,
ld_iv_zeitp  TYPE TMC5-ZEITP ,
it_it_xmckomv  TYPE STANDARD TABLE OF MCKOMVB ,
wa_it_xmckomv  LIKE LINE OF it_it_xmckomv,
it_it_xmcvbak  TYPE STANDARD TABLE OF MCVBAKB ,
wa_it_xmcvbak  LIKE LINE OF it_it_xmcvbak,
it_it_xmcvbap  TYPE STANDARD TABLE OF MCVBAPB ,
wa_it_xmcvbap  LIKE LINE OF it_it_xmcvbap,
it_it_xmcvbapf  TYPE STANDARD TABLE OF MCVBAFB ,
wa_it_xmcvbapf  LIKE LINE OF it_it_xmcvbapf,
it_it_xmcvbep  TYPE STANDARD TABLE OF MCVBEPB ,
wa_it_xmcvbep  LIKE LINE OF it_it_xmcvbep,
it_it_xmcvbfa  TYPE STANDARD TABLE OF MCVBFAB ,
wa_it_xmcvbfa  LIKE LINE OF it_it_xmcvbfa,
it_it_xmcvbkd  TYPE STANDARD TABLE OF MCVBKDB ,
wa_it_xmcvbkd  LIKE LINE OF it_it_xmcvbkd,
it_it_xmcvbpa  TYPE STANDARD TABLE OF MCVBPAB ,
wa_it_xmcvbpa  LIKE LINE OF it_it_xmcvbpa,
it_it_xmcvbuk  TYPE STANDARD TABLE OF MCVBUKB ,
wa_it_xmcvbuk  LIKE LINE OF it_it_xmcvbuk,
it_it_xmcvbup  TYPE STANDARD TABLE OF MCVBUPB ,
wa_it_xmcvbup  LIKE LINE OF it_it_xmcvbup,
it_it_xmcfplt  TYPE STANDARD TABLE OF MCFPLTB ,
wa_it_xmcfplt  LIKE LINE OF it_it_xmcfplt,
it_it_xmclikp  TYPE STANDARD TABLE OF MCLIKPB ,
wa_it_xmclikp  LIKE LINE OF it_it_xmclikp,
it_it_xmclips  TYPE STANDARD TABLE OF MCLIPSB ,
wa_it_xmclips  LIKE LINE OF it_it_xmclips,
it_it_xmcvbel  TYPE STANDARD TABLE OF MCVBELB ,
wa_it_xmcvbel  LIKE LINE OF it_it_xmcvbel.

ld_is_control = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_it_mcinf to it_it_mcinf.

SELECT single ZEITP
FROM TMC5
INTO ld_iv_zeitp.


"populate fields of struture and append to itab
append wa_it_xmckomv to it_it_xmckomv.

"populate fields of struture and append to itab
append wa_it_xmcvbak to it_it_xmcvbak.

"populate fields of struture and append to itab
append wa_it_xmcvbap to it_it_xmcvbap.

"populate fields of struture and append to itab
append wa_it_xmcvbapf to it_it_xmcvbapf.

"populate fields of struture and append to itab
append wa_it_xmcvbep to it_it_xmcvbep.

"populate fields of struture and append to itab
append wa_it_xmcvbfa to it_it_xmcvbfa.

"populate fields of struture and append to itab
append wa_it_xmcvbkd to it_it_xmcvbkd.

"populate fields of struture and append to itab
append wa_it_xmcvbpa to it_it_xmcvbpa.

"populate fields of struture and append to itab
append wa_it_xmcvbuk to it_it_xmcvbuk.

"populate fields of struture and append to itab
append wa_it_xmcvbup to it_it_xmcvbup.

"populate fields of struture and append to itab
append wa_it_xmcfplt to it_it_xmcfplt.

"populate fields of struture and append to itab
append wa_it_xmclikp to it_it_xmclikp.

"populate fields of struture and append to itab
append wa_it_xmclips to it_it_xmclips.

"populate fields of struture and append to itab
append wa_it_xmcvbel to it_it_xmcvbel.

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