/FRE/UI_DIF_TREE_SELECT - Pre-Select data for DIF tree
General Material Data SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3upThis 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 selectionparameters contained by that default variant in a table of type /FRE/DIF_TREE_PARAM_UI_TTY. This tablecontains 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 screenand 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_DIFSUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up ABAP Short Reference
This documentation is copyright by SAP AG.
Length: 1932 Date: 20120524 Time: 150611 triton ( 95 ms )






