Ansicht
Dokumentation

EXIT_SAPLFCIN_210 -

EXIT_SAPLFCIN_210 -

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function exit allows you to influence value fields in a data record to be rolled up into Consolidation immediately before update. The exit is called up from the standard exit provided for rollups into Consolidation (EC-CS) prior to updating. This allows you, for example, to summarize period values to the period to be entered.

The function exit has the following interface parameters:

  • the name I_ROLLUP of the present rollup
  • the name I_FROMTAB of the sender table from which the data is being rolled
  • the date I_FROM_DATE, starting from which data from the sender table is to be selected (see I_FROM_PERIOD and I_FROM_YEAR)
This field is only used if, in at least one case, the fiscal year variant of an organizational unit (company code or company) for which data is to be rolled up differs from that in Consolidation.
  • the date I_TO_DATE, up to which data from the sender table is to be rolled up
The same restrictions apply for I_TO_DATE as for I_FROM_DATE.
  • the period I_FROM_PERIOD, starting from which data is to be rolled up from the sender table
This field is used if all organizational units (company code or company) for which data is to be rolled up employ the same fiscal year variant as Consolidation.
  • the fiscal year I_FROM_YEAR, starting from which data is to be selected from the sender table
This field is used if the criteria described for I_FROM_PERIOD are met.
  • the period I_TO_PERIOD, up to which data from the sender table is to be rolled up
This field is used if the criteria described for I_FROM_PERIOD are met.
  • the fiscal year I_TO_YEAR, up to which data is to be selected from the sender table
This field is used if the criteria described for I_FROM_YEAR are met.
  • the year I_YEAR_GLOB defined in the global parameters for Consolidation (EC-CS)
If status management is active, only data for this fiscal year can be updated in Consolidation.
  • the period I_PERIOD_GLOB defined in the global parameters for Consolidation (EC-CS)
If status management is active, only data for this period can be updated in Consolidation.
  • the structure I_GLU1 of the characteristic fields
  • die structure C_GLU2 of the value fields
This is the only structure you can change in the function exit.

Example

You want to cumulate the values to be rolled up in transaction, local and ledger currency to the period defined in the global parameters for Consolidation. The form routine VALUES_CUMULATE is provided for this purpose (see Include LXC01F10). You can use this in the manner described below. All values transferred in the carry forward period and in the period fields up to the globally defined period are totalled and entered in the field corresponding to the globally defined period.

CHECK I_GLU1-RYEAR EQ I_YEAR_GLOB.
PERFORM VALUES_CUMULATE USING '000' I_PERIOD_GLOB I_PERIOD_GLOB
'X' 'X' 'X' ' ' ' ' ' '
CHANGING C_GLU2.

Notes

Note that, in this function exit, you can only changes the fields in structure C_GLU2. All other fields are read-only.

Further information

For further informatione on the interface for form routine VALUES_CUMULATE, see include file LXC01F10.






RFUMSV00 - Advance Return for Tax on Sales/Purchases   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 3932 Date: 20240419 Time: 112245     sap01-206 ( 37 ms )