SAP Function Modules

OUTBOUND_CALL_00503201_E SAP Function module







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

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


Pattern for FM OUTBOUND_CALL_00503201_E - OUTBOUND CALL 00503201 E





CALL FUNCTION 'OUTBOUND_CALL_00503201_E' "
  EXPORTING
    rebate_agreement =          " kona          Rebate Agreement
    rebate_agreement_type =     " t6b1          Rebate agreement type
    credit_note_type =          "
  TABLES
    condition =                 " konp
    condition_scale =           " condscale
    credit_note_positions =     " bonuskom
    partners =                  " vbpakom
  CHANGING
    sales_header =              " vbakkom
    .  "  OUTBOUND_CALL_00503201_E

ABAP code example for Function Module OUTBOUND_CALL_00503201_E





The ABAP code below is a full code listing to execute function module OUTBOUND_CALL_00503201_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_condition  TYPE STANDARD TABLE OF KONP,"TABLES PARAM
wa_condition  LIKE LINE OF it_condition ,
it_condition_scale  TYPE STANDARD TABLE OF CONDSCALE,"TABLES PARAM
wa_condition_scale  LIKE LINE OF it_condition_scale ,
it_credit_note_positions  TYPE STANDARD TABLE OF BONUSKOM,"TABLES PARAM
wa_credit_note_positions  LIKE LINE OF it_credit_note_positions ,
it_partners  TYPE STANDARD TABLE OF VBPAKOM,"TABLES PARAM
wa_partners  LIKE LINE OF it_partners .

DATA(ld_sales_header) = 'Check type of data required'.
DATA(ld_rebate_agreement) = 'Check type of data required'.
DATA(ld_rebate_agreement_type) = 'Check type of data required'.
DATA(ld_credit_note_type) = 'some text here'.

"populate fields of struture and append to itab
append wa_condition to it_condition.

"populate fields of struture and append to itab
append wa_condition_scale to it_condition_scale.

"populate fields of struture and append to itab
append wa_credit_note_positions to it_credit_note_positions.

"populate fields of struture and append to itab
append wa_partners to it_partners. . CALL FUNCTION 'OUTBOUND_CALL_00503201_E' EXPORTING rebate_agreement = ld_rebate_agreement rebate_agreement_type = ld_rebate_agreement_type credit_note_type = ld_credit_note_type TABLES condition = it_condition condition_scale = it_condition_scale credit_note_positions = it_credit_note_positions partners = it_partners CHANGING sales_header = ld_sales_header . " OUTBOUND_CALL_00503201_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_sales_header  TYPE VBAKKOM ,
ld_rebate_agreement  TYPE KONA ,
it_condition  TYPE STANDARD TABLE OF KONP ,
wa_condition  LIKE LINE OF it_condition,
ld_rebate_agreement_type  TYPE T6B1 ,
it_condition_scale  TYPE STANDARD TABLE OF CONDSCALE ,
wa_condition_scale  LIKE LINE OF it_condition_scale,
ld_credit_note_type  TYPE STRING ,
it_credit_note_positions  TYPE STANDARD TABLE OF BONUSKOM ,
wa_credit_note_positions  LIKE LINE OF it_credit_note_positions,
it_partners  TYPE STANDARD TABLE OF VBPAKOM ,
wa_partners  LIKE LINE OF it_partners.

ld_sales_header = 'Check type of data required'.
ld_rebate_agreement = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_condition to it_condition.
ld_rebate_agreement_type = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_condition_scale to it_condition_scale.
ld_credit_note_type = 'some text here'.

"populate fields of struture and append to itab
append wa_credit_note_positions to it_credit_note_positions.

"populate fields of struture and append to itab
append wa_partners to it_partners.

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