Tab strip movin from one tab to another

Question:
Hei,
I have a tab strip control on my screen. the first tab has certain mandatory fields, without entering these I cannot move to the next tab. Can any one tell me the work around for this problem?
Samm
Answer:
if these fields are mandatory via a CHAIN..ENCHAIN and corresponding module, then you could just check the user-command (ok_code) value in the module and only cause the E message if the command is not the tab-strip.....??
Answer:
Geee... Thnx.. I guess I wasn't thinkin hard enuff. Thank u for the solution.
Answer:
hai all,
ur problem can be solved through loop at screen ... endloop.
what basically u want is not to allow user to go to second tab till he has fililed up all the fields.
jugaad(solution) for ur code:
specify the group name for the screen fields in the screen field group1 attribute and then in the coding do like this:
loop at screen.
if screen-group1 = 'screenfieldgroupname'.
or screen-group1 = 'someotherfieldgroupname'.
screen-required = 1.
endif.
modify screen.
endloop.
try this code hope this will work fine, its like setting the attribute obligatory for the parameter.
pindropsilence thanking u all,
keep smiling

More Articles:

Writing RTF Documents?
Mass Upload for Artical Material by using BAPI or LSMW?
Programatically add default material classification?
F4 in dialog Prog.?
Codepage - Urgent?
How to check no. of hits for a program (Urgent)?