SAP FM_ACTUALS_CHECK_WITH_CO_DATA Function Module for









FM_ACTUALS_CHECK_WITH_CO_DATA is a standard fm actuals check with co data SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 fm actuals check with co data FM, simply by entering the name FM_ACTUALS_CHECK_WITH_CO_DATA into the relevant SAP transaction such as SE37 or SE38.

Function Group: FMRA
Program Name: SAPLFMRA
Main Program: SAPLFMRA
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function FM_ACTUALS_CHECK_WITH_CO_DATA 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 'FM_ACTUALS_CHECK_WITH_CO_DATA'"
EXPORTING
* I_COST_OBJNR = "
* I_COST_ELEMENT = "
* I_FUNDS_AREA = "
* I_GJAHR = "
* I_ABGJAHR = "
* I_BSGJAHR = '9999' "

IMPORTING
E_FLG_BOOKED = "

TABLES
* T_COST_ELEMENT = "
.



IMPORTING Parameters details for FM_ACTUALS_CHECK_WITH_CO_DATA

I_COST_OBJNR -

Data type: FMZUOB-OBJNR
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_COST_ELEMENT -

Data type: FMZUKA-KSTAR
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FUNDS_AREA -

Data type: FM01-FIKRS
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_GJAHR -

Data type: FMZUOB-ABGJR
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ABGJAHR -

Data type: FMZUOB-ABGJR
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_BSGJAHR -

Data type: FMZUOB-ABGJR
Default: '9999'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for FM_ACTUALS_CHECK_WITH_CO_DATA

E_FLG_BOOKED -

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

TABLES Parameters details for FM_ACTUALS_CHECK_WITH_CO_DATA

T_COST_ELEMENT -

Data type: RANGE_C10
Optional: Yes
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for FM_ACTUALS_CHECK_WITH_CO_DATA 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_flg_booked  TYPE FMDY-XFELD, "   
lv_i_cost_objnr  TYPE FMZUOB-OBJNR, "   
lt_t_cost_element  TYPE STANDARD TABLE OF RANGE_C10, "   
lv_i_cost_element  TYPE FMZUKA-KSTAR, "   
lv_i_funds_area  TYPE FM01-FIKRS, "   
lv_i_gjahr  TYPE FMZUOB-ABGJR, "   
lv_i_abgjahr  TYPE FMZUOB-ABGJR, "   
lv_i_bsgjahr  TYPE FMZUOB-ABGJR. "   '9999'

  CALL FUNCTION 'FM_ACTUALS_CHECK_WITH_CO_DATA'  "
    EXPORTING
         I_COST_OBJNR = lv_i_cost_objnr
         I_COST_ELEMENT = lv_i_cost_element
         I_FUNDS_AREA = lv_i_funds_area
         I_GJAHR = lv_i_gjahr
         I_ABGJAHR = lv_i_abgjahr
         I_BSGJAHR = lv_i_bsgjahr
    IMPORTING
         E_FLG_BOOKED = lv_e_flg_booked
    TABLES
         T_COST_ELEMENT = lt_t_cost_element
. " FM_ACTUALS_CHECK_WITH_CO_DATA




ABAP code using 7.40 inline data declarations to call FM FM_ACTUALS_CHECK_WITH_CO_DATA

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 XFELD FROM FMDY INTO @DATA(ld_e_flg_booked).
 
"SELECT single OBJNR FROM FMZUOB INTO @DATA(ld_i_cost_objnr).
 
 
"SELECT single KSTAR FROM FMZUKA INTO @DATA(ld_i_cost_element).
 
"SELECT single FIKRS FROM FM01 INTO @DATA(ld_i_funds_area).
 
"SELECT single ABGJR FROM FMZUOB INTO @DATA(ld_i_gjahr).
 
"SELECT single ABGJR FROM FMZUOB INTO @DATA(ld_i_abgjahr).
 
"SELECT single ABGJR FROM FMZUOB INTO @DATA(ld_i_bsgjahr).
DATA(ld_i_bsgjahr) = '9999'.
 


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!