SAP FMKU_CORRECT_FMBDP_FROM_AW Function Module for Correct FMBDP and FMBDT from FMBH and FMBL









FMKU_CORRECT_FMBDP_FROM_AW is a standard fmku correct fmbdp from aw SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Correct FMBDP and FMBDT from FMBH and FMBL 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 fmku correct fmbdp from aw FM, simply by entering the name FMKU_CORRECT_FMBDP_FROM_AW into the relevant SAP transaction such as SE37 or SE38.

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



Function FMKU_CORRECT_FMBDP_FROM_AW 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 'FMKU_CORRECT_FMBDP_FROM_AW'"Correct FMBDP and FMBDT from FMBH and FMBL
EXPORTING
I_FM_AREA = "Financial Management Area
I_AWREF = "Reference document number of an accounting document
I_AWTYP = "Reference procedure
* I_AWORG = "Reference organisational units
I_REFRYEAR = "Reference fiscal year
* I_TESTRUN = 'X' "testrun
I_TIME = "delta time between two FMBDP

IMPORTING
E_T_FMBDP_DOCNR = "FMBDP docnr and light
E_T_FMBH_DOCID = "FM entry document ID
.



IMPORTING Parameters details for FMKU_CORRECT_FMBDP_FROM_AW

I_FM_AREA - Financial Management Area

Data type: FIKRS
Optional: No
Call by Reference: Yes

I_AWREF - Reference document number of an accounting document

Data type: REFBELNR
Optional: No
Call by Reference: Yes

I_AWTYP - Reference procedure

Data type: AWTYP
Optional: No
Call by Reference: Yes

I_AWORG - Reference organisational units

Data type: AWORG
Optional: Yes
Call by Reference: Yes

I_REFRYEAR - Reference fiscal year

Data type: REFGJAHR
Optional: No
Call by Reference: Yes

I_TESTRUN - testrun

Data type: XFELD
Default: 'X'
Optional: No
Call by Reference: Yes

I_TIME - delta time between two FMBDP

Data type: I
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for FMKU_CORRECT_FMBDP_FROM_AW

E_T_FMBDP_DOCNR - FMBDP docnr and light

Data type: FMMP_T_HEADER
Optional: No
Call by Reference: Yes

E_T_FMBH_DOCID - FM entry document ID

Data type: FMED_T_DOCID
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FMKU_CORRECT_FMBDP_FROM_AW 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_i_fm_area  TYPE FIKRS, "   
lv_e_t_fmbdp_docnr  TYPE FMMP_T_HEADER, "   
lv_i_awref  TYPE REFBELNR, "   
lv_e_t_fmbh_docid  TYPE FMED_T_DOCID, "   
lv_i_awtyp  TYPE AWTYP, "   
lv_i_aworg  TYPE AWORG, "   
lv_i_refryear  TYPE REFGJAHR, "   
lv_i_testrun  TYPE XFELD, "   'X'
lv_i_time  TYPE I. "   

  CALL FUNCTION 'FMKU_CORRECT_FMBDP_FROM_AW'  "Correct FMBDP and FMBDT from FMBH and FMBL
    EXPORTING
         I_FM_AREA = lv_i_fm_area
         I_AWREF = lv_i_awref
         I_AWTYP = lv_i_awtyp
         I_AWORG = lv_i_aworg
         I_REFRYEAR = lv_i_refryear
         I_TESTRUN = lv_i_testrun
         I_TIME = lv_i_time
    IMPORTING
         E_T_FMBDP_DOCNR = lv_e_t_fmbdp_docnr
         E_T_FMBH_DOCID = lv_e_t_fmbh_docid
. " FMKU_CORRECT_FMBDP_FROM_AW




ABAP code using 7.40 inline data declarations to call FM FMKU_CORRECT_FMBDP_FROM_AW

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.

 
 
 
 
 
 
 
DATA(ld_i_testrun) = 'X'.
 
 


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!