pls provide the solution for the below problem.
in my prog the selection screen contains 4 fields.
out of which 2 fields are mandatory always. this is OK.
but the remaining 2 fields i have to handle dynamically.
if i run the prog in fore ground the 2 fields should be mandatory, but if i run in back ground they should be optional.