SAP FAGL_FC_UXD_ACC_DETERMINE Function Module for









FAGL_FC_UXD_ACC_DETERMINE is a standard fagl fc uxd acc determine 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 fagl fc uxd acc determine FM, simply by entering the name FAGL_FC_UXD_ACC_DETERMINE into the relevant SAP transaction such as SE37 or SE38.

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



Function FAGL_FC_UXD_ACC_DETERMINE 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 'FAGL_FC_UXD_ACC_DETERMINE'"
EXPORTING
ID_CCODE = "Company Code
ID_CURRENCY_KEY = "Currency Key
ID_ACCOUNT = "G/L Account Number
ID_CURRENCY_TYPE = "Currency type and valuation view
ID_VALUATION_AREA = "Valuation area for FI year-end closing
* ID_XUSE_T030H = 'X' "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')

CHANGING
CD_BAL_ADJUST_ACCOUNT = "G/L Account Number
CD_UXD_GAIN_ACCOUNT = "G/L Account Number
CD_UXD_LOSS_ACCOUNT = "G/L Account Number
CD_OK = "Single-Character Indicator
.



IMPORTING Parameters details for FAGL_FC_UXD_ACC_DETERMINE

ID_CCODE - Company Code

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

ID_CURRENCY_KEY - Currency Key

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

ID_ACCOUNT - G/L Account Number

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

ID_CURRENCY_TYPE - Currency type and valuation view

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

ID_VALUATION_AREA - Valuation area for FI year-end closing

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

ID_XUSE_T030H - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')

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

CHANGING Parameters details for FAGL_FC_UXD_ACC_DETERMINE

CD_BAL_ADJUST_ACCOUNT - G/L Account Number

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

CD_UXD_GAIN_ACCOUNT - G/L Account Number

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

CD_UXD_LOSS_ACCOUNT - G/L Account Number

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

CD_OK - Single-Character Indicator

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

Copy and paste ABAP code example for FAGL_FC_UXD_ACC_DETERMINE 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_id_ccode  TYPE BUKRS, "   
lv_cd_bal_adjust_account  TYPE SAKNR, "   
lv_id_currency_key  TYPE WAERS, "   
lv_cd_uxd_gain_account  TYPE SAKNR, "   
lv_id_account  TYPE SAKNR, "   
lv_cd_uxd_loss_account  TYPE SAKNR, "   
lv_cd_ok  TYPE CHAR1, "   
lv_id_currency_type  TYPE CURTP, "   
lv_id_valuation_area  TYPE BWBER, "   
lv_id_xuse_t030h  TYPE XFELD. "   'X'

  CALL FUNCTION 'FAGL_FC_UXD_ACC_DETERMINE'  "
    EXPORTING
         ID_CCODE = lv_id_ccode
         ID_CURRENCY_KEY = lv_id_currency_key
         ID_ACCOUNT = lv_id_account
         ID_CURRENCY_TYPE = lv_id_currency_type
         ID_VALUATION_AREA = lv_id_valuation_area
         ID_XUSE_T030H = lv_id_xuse_t030h
    CHANGING
         CD_BAL_ADJUST_ACCOUNT = lv_cd_bal_adjust_account
         CD_UXD_GAIN_ACCOUNT = lv_cd_uxd_gain_account
         CD_UXD_LOSS_ACCOUNT = lv_cd_uxd_loss_account
         CD_OK = lv_cd_ok
. " FAGL_FC_UXD_ACC_DETERMINE




ABAP code using 7.40 inline data declarations to call FM FAGL_FC_UXD_ACC_DETERMINE

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_id_xuse_t030h) = '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!