Overview
It is possible to restrict the input help in the variable screen according to different criteria by using the Business Add-In (BAdI) RSR_VARIABLE_F4_RESTRICT_BADI. In transaction SE18, enhancement spot RSR_VARIABLE_F4_RESTRICT, you can find a documentation (button 'BDAI Documentation'). Click here to get it displayed. There is also the class CL_RSR_VAR_F4_RESTRICT_EXAMPLE where you can find some simple sample code.
There are 3 methods:
- IF_RSR_VARIABLE_F4_RESTRICT~GET_RESTRICTION_FLAT - to restrict F4 help for value variables
- IF_RSR_VARIABLE_F4_RESTRICT~GET_RESTRICTION_NODE - to restrict F4 help for ´hierarchy node variables
- IF_RSR_VARIABLE_F4_RESTRICT~GET_RESTRICTION_HIER - to restrict F4 help for hierarchy variables
If the characteristic is defined with a conversion routine, the restriction defined in F4 BADI should use internal format values.
Examples
- RESTRICTION_FLAT
- RESTRICTION_NODE
- RESTRICTION_HIER
- Dynamic Hierarchy Selection during Query Execution
- Change F4 Mode