SAP OIA_MM_CALLOFF_CREATE Function Module for Create MM CallOff









OIA_MM_CALLOFF_CREATE is a standard oia mm calloff create SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Create MM CallOff processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for oia mm calloff create FM, simply by entering the name OIA_MM_CALLOFF_CREATE into the relevant SAP transaction such as SE37 or SE38.

Function Group: OIAL
Program Name: SAPLOIAL
Main Program: SAPLOIAL
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function OIA_MM_CALLOFF_CREATE pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'OIA_MM_CALLOFF_CREATE'"Create MM CallOff
EXPORTING
I_EVRTN = "
I_EVRTP = "
I_ASQTY = "
I_VRKME = "
I_LFDAT = "

IMPORTING
E_BUKRS = "
E_BSTNR = "
E_BSTPO = "
.



IMPORTING Parameters details for OIA_MM_CALLOFF_CREATE

I_EVRTN -

Data type: EKPO-EBELN
Optional: No
Call by Reference: No ( called with pass by value option)

I_EVRTP -

Data type: EKPO-EBELP
Optional: No
Call by Reference: No ( called with pass by value option)

I_ASQTY -

Data type: OIA11-ASQTY
Optional: No
Call by Reference: No ( called with pass by value option)

I_VRKME -

Data type: OIA11-VRKME
Optional: No
Call by Reference: No ( called with pass by value option)

I_LFDAT -

Data type: LIKP-LFDAT
Optional: No
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for OIA_MM_CALLOFF_CREATE

E_BUKRS -

Data type: EKKO-BUKRS
Optional: No
Call by Reference: No ( called with pass by value option)

E_BSTNR -

Data type: EKPO-EBELN
Optional: No
Call by Reference: No ( called with pass by value option)

E_BSTPO -

Data type: EKPO-EBELP
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for OIA_MM_CALLOFF_CREATE Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.

DATA:
lv_e_bukrs  TYPE EKKO-BUKRS, "   
lv_i_evrtn  TYPE EKPO-EBELN, "   
lv_e_bstnr  TYPE EKPO-EBELN, "   
lv_i_evrtp  TYPE EKPO-EBELP, "   
lv_e_bstpo  TYPE EKPO-EBELP, "   
lv_i_asqty  TYPE OIA11-ASQTY, "   
lv_i_vrkme  TYPE OIA11-VRKME, "   
lv_i_lfdat  TYPE LIKP-LFDAT. "   

  CALL FUNCTION 'OIA_MM_CALLOFF_CREATE'  "Create MM CallOff
    EXPORTING
         I_EVRTN = lv_i_evrtn
         I_EVRTP = lv_i_evrtp
         I_ASQTY = lv_i_asqty
         I_VRKME = lv_i_vrkme
         I_LFDAT = lv_i_lfdat
    IMPORTING
         E_BUKRS = lv_e_bukrs
         E_BSTNR = lv_e_bstnr
         E_BSTPO = lv_e_bstpo
. " OIA_MM_CALLOFF_CREATE




ABAP code using 7.40 inline data declarations to call FM OIA_MM_CALLOFF_CREATE

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

"SELECT single BUKRS FROM EKKO INTO @DATA(ld_e_bukrs).
 
"SELECT single EBELN FROM EKPO INTO @DATA(ld_i_evrtn).
 
"SELECT single EBELN FROM EKPO INTO @DATA(ld_e_bstnr).
 
"SELECT single EBELP FROM EKPO INTO @DATA(ld_i_evrtp).
 
"SELECT single EBELP FROM EKPO INTO @DATA(ld_e_bstpo).
 
"SELECT single ASQTY FROM OIA11 INTO @DATA(ld_i_asqty).
 
"SELECT single VRKME FROM OIA11 INTO @DATA(ld_i_vrkme).
 
"SELECT single LFDAT FROM LIKP INTO @DATA(ld_i_lfdat).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!