cancel
Showing results for 
Search instead for 
Did you mean: 

F4 help not working in for 0PLANT in Selection Screen.

Former Member
0 Kudos
523

Hi

I have created query in which I have characteristic restriction over Plant (0PLANT) (custom name Site).

Restricted with a variable (Charectristic value, Multiple single value, Optional,Ready for input).

Now when I execute the query , selection screen appears, when I press F4 for 0Plant , I stead of showing the possible values , it hangs

executing it in  RSTS and using F4 there also it goes in debugging mode

Moreover Supplier i.e. 0VENDOR has same infoobject settings and is restricticted with same type of variable (only mandatory) is working fine.

Please help me to know what is happening and how can I correct it .

View Entire Topic
MXK
Explorer
0 Kudos

i found out that in BADI RSR_VARIABLE_F4_RESTRICT_BADI the standard SAP code jumps into the standard coding AFTER the BADI (in my eyes wrong sequence) and then executes a loop over 0salesorg, an attribute (not compounded ...) of 0PLANT. for me it takes me F4-BADI values, jumps into the upper class of the standard SAP Exit and loops over 0PLANT 0SALESORG again and populates the full list of plants.

- so for me the F4 BADI doesn't work for 0PLANT because SAP hit the wrong stop in the coding and pushes non-user exit on top of the user exit by default.

- a reminder to anyone else: it really depends on the Frontend (which you use) how it behaves. The F4 implementation ist kind of frontend-related too and not really done by the backend.

- the only way at least what i see is to take modes M (master data) or D (as booked - but honestly who wants to pre-book).

In my opinion SAP did some big BS here for 0PLANT in this BADI.