how to make mandatory optin for a field when particlr rbutton is selected
I am having one requirement.
In my selection screen i am having three fields they are plant , product group and purchase group. Here plant is the mandatory field in my selection screen and i am having 2 radiobuttons they are normal(r1) and live share(r2). when i select the live share radiobutton by that time plant and purchase group should be mandatory . when i select normal radiobutton plant should be mandatory. anybody can send me the code how to do this.
write in at selection-screen event
if Rad1_share = 'X'.
if p_werks is initial and p_ekgrp is initial.
message e000 with ; enter plant and pur group'.
if p_werks is initial.
message e000 with ; enter plant'.