‎2009 Sep 29 11:10 AM
Dear All,
I have to developed a new report in which I have to diplay two different report.For that two different report there are two different selection screen.I have developed two tabs in selection screen for two different report.
There are some mandatory fields in each screen,Now problem is that I can't go second tab unless I fill value in mandatory field.
But my requirment is when I want to go for second report then I will go for second tab without filling any value in tab 1 selection screen
Please give a sollution.
Regards,
Amar
‎2009 Sep 29 11:44 AM
Hi,
-Declare your fields as optional in the selection screen
-At selection-screen , check for values in the fields (which are supposed to be mandatory) in the current tab,give an error message if initial.
‎2009 Sep 29 11:16 AM
Can you modify the mandatory screen attributes using LOOP AT SCREEN to ensure that when you click to move to Screen2 the Screen1 attributes are made optional.
‎2009 Sep 29 11:17 AM
Hi ,
Sap does auto field checking before the execution of PAI..so u cannot navigate until u fill the mandatory fields..In order to overcome this you need to make as optional and do the validation inside the code if they are initial.
Regards,
Nagaraj
‎2009 Sep 29 11:27 AM
Hi Amar, <li>You can achieve the same using Dialog program . Instead of selection-screen, use dialog programming, use MODULE mod_name AT EXIT-COMMAND to navigate one tab to another tab. Once you give input on any tab and want to display data use LEAVE TO LIST PROCESSING AND RETURN TO SCREEN 0. <li>Check the link: http://help.sap.com/saphelp_47x200/helpdata/en/9f/dbaa9535c111d1829f0000e829fbfe/content.htm <li>Normally AT EXIT-COMMAND is used to exit without giving mandatory fields. We can use for this situation. Thanks Venkat.O
‎2009 Sep 29 11:44 AM
Hi,
-Declare your fields as optional in the selection screen
-At selection-screen , check for values in the fields (which are supposed to be mandatory) in the current tab,give an error message if initial.
‎2009 Sep 29 11:44 AM
Hi,
-Declare your fields as optional in the selection screen
-At selection-screen , check for values in the fields (which are supposed to be mandatory) in the current tab,give an error message if initial.