SAP FAGL_FC_VAL_SELECT_AR_OI Function Module for









FAGL_FC_VAL_SELECT_AR_OI is a standard fagl fc val select ar oi 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 val select ar oi FM, simply by entering the name FAGL_FC_VAL_SELECT_AR_OI 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): Remote-Enabled
Update:



Function FAGL_FC_VAL_SELECT_AR_OI 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_VAL_SELECT_AR_OI'"
EXPORTING
ED_TABLENAME = "Table Name
* ET_DIMEN = "Additional Fields
* ET_FIELD_MAP = "Mapping for Field Names
ES_VAL_METHOD_PROP = "Foreign Currency Valuation Methods
ES_VAL_AREA_PROP = "FI Depreciation Area
* ED_FORCE_REM_CURT2 = "
* ED_FORCE_REM_CURT3 = "
* EV_BTE_0119 = "
ET_RA_CCODE = "Range Table for Company Codes
ET_RA_KUNNR = "Range Table for Accounts
ED_VALUATION_AREA = "Valuation area for FI year-end closing
ED_KEYDATE = "Valuation Key Date
ETS_CCODE_PROP = "Company Code Properties
ED_LEDGER_GROUP = "Ledger Group
* ED_TARGET_CCODE = "Company Code
* ET_FREESEL = "Table >> WHERE Clauses

CHANGING
CT_DOCS = "Posting Table
* CT_PARTPAYM = "Foreign Currency Valuation: Table of Partial Payment Items
CT_MESSAGES = "FI Messages
.



IMPORTING Parameters details for FAGL_FC_VAL_SELECT_AR_OI

ED_TABLENAME - Table Name

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

ET_DIMEN - Additional Fields

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

ET_FIELD_MAP - Mapping for Field Names

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

ES_VAL_METHOD_PROP - Foreign Currency Valuation Methods

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

ES_VAL_AREA_PROP - FI Depreciation Area

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

ED_FORCE_REM_CURT2 -

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

ED_FORCE_REM_CURT3 -

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

EV_BTE_0119 -

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

ET_RA_CCODE - Range Table for Company Codes

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

ET_RA_KUNNR - Range Table for Accounts

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

ED_VALUATION_AREA - Valuation area for FI year-end closing

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

ED_KEYDATE - Valuation Key Date

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

ETS_CCODE_PROP - Company Code Properties

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

ED_LEDGER_GROUP - Ledger Group

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

ED_TARGET_CCODE - Company Code

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

ET_FREESEL - Table >> WHERE Clauses

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

CHANGING Parameters details for FAGL_FC_VAL_SELECT_AR_OI

CT_DOCS - Posting Table

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

CT_PARTPAYM - Foreign Currency Valuation: Table of Partial Payment Items

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

CT_MESSAGES - FI Messages

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

Copy and paste ABAP code example for FAGL_FC_VAL_SELECT_AR_OI 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_ct_docs  TYPE FAGL_FC_T_DOCS, "   
lv_ed_tablename  TYPE TABNAME, "   
lv_et_dimen  TYPE FAGL_R_T_FIELDNAME, "   
lv_et_field_map  TYPE FAGL_T_FIELD_MAPPING, "   
lv_es_val_method_prop  TYPE T044A, "   
lv_es_val_area_prop  TYPE T033, "   
lv_ed_force_rem_curt2  TYPE CURTP, "   
lv_ed_force_rem_curt3  TYPE CURTP, "   
lv_ev_bte_0119  TYPE FLAG, "   
lv_ct_partpaym  TYPE FAGL_FC_T_PARTPAYM, "   
lv_et_ra_ccode  TYPE FAGL_RANGE_T_BUKRS, "   
lv_ct_messages  TYPE FB_T_FIMSG, "   
lv_et_ra_kunnr  TYPE FAGL_RANGE_T_KUNNR, "   
lv_ed_valuation_area  TYPE BWBER, "   
lv_ed_keydate  TYPE SBEWSTAG, "   
lv_ets_ccode_prop  TYPE FAGL_T_CCODE_PROP, "   
lv_ed_ledger_group  TYPE FAGL_LDGRP, "   
lv_ed_target_ccode  TYPE ALLGZBUKR, "   
lv_et_freesel  TYPE FB_T_TABLE_WHERE. "   

  CALL FUNCTION 'FAGL_FC_VAL_SELECT_AR_OI'  "
    EXPORTING
         ED_TABLENAME = lv_ed_tablename
         ET_DIMEN = lv_et_dimen
         ET_FIELD_MAP = lv_et_field_map
         ES_VAL_METHOD_PROP = lv_es_val_method_prop
         ES_VAL_AREA_PROP = lv_es_val_area_prop
         ED_FORCE_REM_CURT2 = lv_ed_force_rem_curt2
         ED_FORCE_REM_CURT3 = lv_ed_force_rem_curt3
         EV_BTE_0119 = lv_ev_bte_0119
         ET_RA_CCODE = lv_et_ra_ccode
         ET_RA_KUNNR = lv_et_ra_kunnr
         ED_VALUATION_AREA = lv_ed_valuation_area
         ED_KEYDATE = lv_ed_keydate
         ETS_CCODE_PROP = lv_ets_ccode_prop
         ED_LEDGER_GROUP = lv_ed_ledger_group
         ED_TARGET_CCODE = lv_ed_target_ccode
         ET_FREESEL = lv_et_freesel
    CHANGING
         CT_DOCS = lv_ct_docs
         CT_PARTPAYM = lv_ct_partpaym
         CT_MESSAGES = lv_ct_messages
. " FAGL_FC_VAL_SELECT_AR_OI




ABAP code using 7.40 inline data declarations to call FM FAGL_FC_VAL_SELECT_AR_OI

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.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!