‎2006 Nov 06 7:01 AM
Hi,
I've a tabstrip with 2 subscreens.
i want to put validation on the field of 1st subscreen so that unless user inputs the value in that field he shouldn't be allowed to navigate to the 2nd subscreen.
Can anyone pls guide me?
Thanks in Adbvance,
Sipra
‎2006 Nov 06 8:18 AM
Hi,
First thing you need to do is avoid free navigation between the tabs this you can do by removing the function type 'P'. Then the PAI event gets triggered. There you can check for your field and raise an error message which will make the same sub screen to appear again.
Regards,
Sesh
‎2006 Nov 06 7:07 AM
Have a look at below link. It may help you.
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbabfe35c111d1829f0000e829fbfe/content.htm
‎2006 Nov 06 7:25 AM
Hello ,
use the floe logic keywords :
field & chain .....end chain .
ex : chain .
field : sbook-carrid.
end chain.
Thanks & Regards ,
latha murthy
‎2006 Nov 06 7:41 AM
Hi Sipra,
You can do one thing.. The field Which u want to make it manidatory. Then u have an option in the module pool itself. Just Double click on the field then in the program tab. Check Input Check box and Select from the Drop Down LKist as " Required".
Unless the user Enters some value into it. It will not allow to go to the next screen or even to come out.
Murthy
‎2006 Nov 06 8:06 AM
Hi Sipra,
Wat u can do.. is just make that field mandatory/required
by checking d INPUT checkbox and choosing the required from drop down list in properties for that field.
regards
Sachin Dhingra
‎2006 Nov 06 8:18 AM
Hi,
First thing you need to do is avoid free navigation between the tabs this you can do by removing the function type 'P'. Then the PAI event gets triggered. There you can check for your field and raise an error message which will make the same sub screen to appear again.
Regards,
Sesh