Ansicht
Dokumentation

GLE_MCA_GET_TAGGFLD_A - Get aggregation fields incl. Fixed Fields

GLE_MCA_GET_TAGGFLD_A - Get aggregation fields incl. Fixed Fields

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function determines all aggregation fields, which are used for the Multi Currency Accounting processes. It combines the fixed standard fields with the customized ones defined by the customer.

A. The used standard fields (see chapter "Hints") partly depend on process parameters. They are selected as follows:

1. All Currencies, Process Type, Ledger Group, Ledger

2a. For source aggregation event:

i. For Customer account type: The Customer Number and for 4-Pack posting scheme additionally the Account Number

ii. For Vendor account type: The Vendor Number and for 4-Pack posting scheme additionally the Account Number

iii. For other account types: The Account Number

2b. For other aggregation events: Account Number

3. For exact posting date handling: Posting Date

4. For source aggregation for Adjustments of Implicit FX Transactions: Clearing Document Number

5. For Adjustments of Implicit FX Transactions: Update Currency

B. The customized fields of an aggregation variant can be defined via Customizing activity FAGL_MCA_VAGGFLD, which is part of the MCA Customizing (see SAP Reference IMG or transaction FAGL_MCA_CUST). The data field foundation is composed of the business fields of the delta items table GLE_MCA_DELTAITM (see also documentation of structure GLE_MCA_STR_DELTA_ITEMS_BKEY)..

Note: The freely defined aggregation fields are only returned if the corresponding aggregation variant is passed.

Example

The customer defined the following fields as freely defined aggregation fields of an aggregation variant: Cost and Profit Center

a. For source aggregations of G/L accounts with the Backpack scenario the following fields are determined:

All Currencies, Process Type, Ledger Group, Ledger, Account Number plus Cost and Profit Center

b. For source aggregations of vendor accounts with the 4-Pack scenario the following fields are determined:

All Currencies, Process Type, Ledger Group, Ledger, Vendor, Account Number plus Cost and Profit Center

c. For target aggregations w/o Adjustments of Implicit FX Transactions the following fields are determined:

All Currencies, Process Type, Ledger Group, Ledger, Account Number plus Cost and Profit Center

If the function doesn't obtain the aggregation variant only the fixed fields and no freely defined fields are returned.

Notes

The following table shows all fields that are fix of the MCA aggregation:

Field Name,,Data Element,,Description

BUDAT,,BUDAT,,,,Posting Date in the Document

PRCTYPE,,GLE_MCA_DTE_PRC_TYPE,,Process Type

RLDNR,,FINS_LEDGER,,Ledger in General Ledger Accounting

LDGRP,,FAGL_LDGRP,,Ledger Group

WAERS,,WAERS,,,,Currency Key

HKONT,,HKONT,,,,General Ledger Account

KUNNR,,KUNNR,,,,Customer Number

LIFNR,,LIFNR,,,,Account Number of Supplier

AUGBL,,AUGBL,,,,Document Number of the Clearing Document

PSWSL,,PSWSL,,,,Update Currency for General Ledger Transaction Figures

RWCUR,,FINS_CURRW,,Transaction Currency

RHCUR,,FINS_CURRH,,Company Code Currency

RKCUR,,FINS_CURRK,,Global Currency

ROCUR,,FINS_CURR1,,Freely Defined Currency 1

RVCUR,,FINS_CURR2,,Freely Defined Currency 2

RBCUR,,FINS_CURR3,,Freely Defined Currency 3

RCCUR,,FINS_CURR4,,Freely Defined Currency 4

RDCUR,,FINS_CURR5,,Freely Defined Currency 5

RECUR,,FINS_CURR6,,Freely Defined Currency 6

RFCUR,,FINS_CURR7,,Freely Defined Currency 7

RGCUR,,FINS_CURR8,,Freely Defined Currency 8

Further information

An MCA variant in combination with the process category (Customizing activity FAGL_MCA_VPRCCATP) can use a field group that allows to influence the MCA document number generation. This field group depicts a field combination that is used to identify a new MCA document with own document number. Use the Customizing activity FAGL_MCA_VMCAFLDG to define the fields of the group. It has the same data field foundation as the above explained aggregation.





Parameters

E_TAB_TAGGFLD
I_ACCTYPE
I_LOG_HANDLE
I_POSTINGSCHEME
I_PRCCAT

Exceptions

Function Group

GLE_MCA_PER_CONF_ACCESS

RFUMSV00 - Advance Return for Tax on Sales/Purchases   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 4640 Date: 20240523 Time: 114227     sap01-206 ( 65 ms )