Ansicht
Dokumentation
/FRE/UI_DIF_TREE_SELECT - Pre-Select data for DIF tree
ABAP Short Reference Addresses (Business Address Services)This documentation is copyright by SAP AG.
Functionality
This function returns selection parameters to restrict the data displayed in the Demand Influencing Factor Tree.
If a default user variant exists and is not obsolete, the function returns the value of the selection parameters contained by that default variant in a table of type /FRE/DIF_TREE_PARAM_UI_TTY. This table contains all the values of the selection parameters that the user saved as his or her variant. If the variant is obsolete or if no variant exists, the function calls a selection screen.
To enter a default user variant for the DIF Tree, select an existing variant in the selection screen and choose Save as default. The default user variant is saved in the database table /FRE/DIF_TR_CFG.
If you call the function with the flag I_FORCE_CALL_SCREEN set to 'X', the selection screen will be displayed, even if a default variant exists.
The selection criteria entered by the user in the selection screen are returned in a table of type RSDS_TRANGE.. This is a table of tables that contains:
- The name of the database table where the data is to be selected
- The name of the field in that table that is a selection criterion
- A range table that contains the value of the selection criterion
If the user exits the screen using the cancel or exit button, the E_CANCEL flag will be selected, and no selection criteria will be returned.
Example
Notes
Further information
Parameters
ET_ACCESS_PARAMET_VARIANT
E_CANCEL
E_RECUR_NO
E_RECUR_YES
E_VALID_FROM
E_VALID_TO
E_VARIANT_NAME
I_DEFAULT_VARIANT
I_FORCE_CALL_SCREEN
Exceptions
/FRE/CX_UI_DIF_SCR_SELECT_ERFunction Group
/SAPLUI_DIFTXBHW - Original Tax Base Amount in Local Currency rdisp/max_wprun_time - Maximum work process run time
This documentation is copyright by SAP AG.
Length: 2044 Date: 20240328 Time: 191448 sap01-206 ( 34 ms )