SAP FM_FMUDREL_CHANGE_DOC_CALL Function Module for









FM_FMUDREL_CHANGE_DOC_CALL is a standard fm fmudrel change doc call 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 fmudrel change doc call FM, simply by entering the name FM_FMUDREL_CHANGE_DOC_CALL into the relevant SAP transaction such as SE37 or SE38.

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



Function FM_FMUDREL_CHANGE_DOC_CALL 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_FMUDREL_CHANGE_DOC_CALL'"
EXPORTING
I_FISC_YEAR = "
I_FM_AREA = "
* I_F_FMAA = "
* I_FLG_IS_SENDER = 'X' "
* I_FLG_IS_RECEIVER = "
.



IMPORTING Parameters details for FM_FMUDREL_CHANGE_DOC_CALL

I_FISC_YEAR -

Data type: FM01UD-GJAHR
Optional: No
Call by Reference: Yes

I_FM_AREA -

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

I_F_FMAA -

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

I_FLG_IS_SENDER -

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

I_FLG_IS_RECEIVER -

Data type: FMDY-XFELD
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for FM_FMUDREL_CHANGE_DOC_CALL 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_fisc_year  TYPE FM01UD-GJAHR, "   
lv_i_fm_area  TYPE FM01UD-FIKRS, "   
lv_i_f_fmaa  TYPE FMKT_FINANZKONTO, "   
lv_i_flg_is_sender  TYPE FMDY-XFELD, "   'X'
lv_i_flg_is_receiver  TYPE FMDY-XFELD. "   

  CALL FUNCTION 'FM_FMUDREL_CHANGE_DOC_CALL'  "
    EXPORTING
         I_FISC_YEAR = lv_i_fisc_year
         I_FM_AREA = lv_i_fm_area
         I_F_FMAA = lv_i_f_fmaa
         I_FLG_IS_SENDER = lv_i_flg_is_sender
         I_FLG_IS_RECEIVER = lv_i_flg_is_receiver
. " FM_FMUDREL_CHANGE_DOC_CALL




ABAP code using 7.40 inline data declarations to call FM FM_FMUDREL_CHANGE_DOC_CALL

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 GJAHR FROM FM01UD INTO @DATA(ld_i_fisc_year).
 
"SELECT single FIKRS FROM FM01UD INTO @DATA(ld_i_fm_area).
 
 
"SELECT single XFELD FROM FMDY INTO @DATA(ld_i_flg_is_sender).
DATA(ld_i_flg_is_sender) = 'X'.
 
"SELECT single XFELD FROM FMDY INTO @DATA(ld_i_flg_is_receiver).
 


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!