Ansicht
Dokumentation

EXIT_SAPLFCIN_240 -

EXIT_SAPLFCIN_240 -

rdisp/max_wprun_time - Maximum work process run time   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function exit enables you to influence the value fields of a given data record to be rolled into the Consolidation component immediately prior to writing the data. The exit is called from the standard exit that is chosen for rollups to EC-CS Consolidation at the time of the database update. For example, you can use the exit to summarize the period values for the period in question.

The following interface parameters are passed on to the function exit:

  • I_ROLLUP - the name of the rollup currently being executed
  • I_FROMTAB - the name of the sender table, from which the data is being rolled
  • I_FROM_DATE - the starting date from which data is selected from the sender table (see also I_FROM_PERIOD and I_FROM_YEAR)
You only fill this field if there is at least one organizational unit (company code or company) being rolled whose fiscal year variant differs from the variant used in the Consolidation component.
  • I_TO_DATE - the ending date up to which data is rolled from the sender table
I_TO_DATE shares the same restrictions as I_FROM_DATE.
  • I_FROM_PERIOD - the starting period from which the data is rolled from the sender table
You fill this field if all organizational units (company codes or companies) being rolled share the same fiscal year as the Consolidation component.
  • I_FROM_YEAR - the starting fiscal year from which data is selected from the sender table
This field shares the same restrictions as I_FROM_PERIOD.
  • I_TO_PERIOD - the ending period up to which data is rolled from the sender table
This field shares the same restrictions as I_FROM_PERIOD.
  • I_TO_YEAR - the ending fiscal year up to which data is selected from the sender table
This field shares the same restrictions as I_FROM_YEAR.
  • I_YEAR_GLOB - the fiscal year currently set in the global parameters of EC-CS Consolidation
If status management is active, this is the only fiscal year for which you are able to write data to Consolidation.
  • I_PERIOD_GLOB - the period currently set in the global parameters of EC-CS Consolidation
If status management is active, this is the only period for which you are able to write data to Consolidation.
  • I_GLU1 - the structure of the characteristic fields
  • C_GLU2 - the structure of the value fields
This is the only structure in which the function exit is permitted to modify values.

Example

Say, you want to accumulate the values in transaction, local and ledger currencies for the period currently set in the global parameters of EC-CS. You could use the form routine VALUES_CUMULATE (see also the Include LXC01F10) in the manner described below. The values passed on in the carryforward period as well as the period fields up to and including the globally-defined period are totaled and written to the field that corresponds 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

Remember that the function exit may only modify the fields in the structure C_GLU2. All other fields may only be read.

Further information

See the Include File LXC01F10 for more information concerning the interface of form routine VALUES_CUMULATE.






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 4027 Date: 20240328 Time: 184234     sap01-206 ( 56 ms )