03-10-2009 10:46 AM
Hi,
I cant say within a subscreen LEAVE TO SCREEN xxx
eg. if a condition is not true
How can I prevent to step forward while the condition is not true in this case
Regards
sas
03-10-2009 11:55 AM
just want to know some information.
how are you checking the condition( is it based on subscreen values ) or based on the main screen.
if it is based on subscreen then you can do those checks at PAI of the screen where you are calling the subscreen.
for second case
you can conditionally call the subscreen.
03-10-2009 10:51 AM
Hi SAS!
Would you please post your question a little bit elaborately?
Thanks & Regards.
03-10-2009 10:53 AM
use call screen 'xxx' in pai of main screen depending on the condition.
03-10-2009 10:57 AM
03-10-2009 10:57 AM
03-10-2009 11:05 AM
Jansi Dorai please dont reply to have been responded. Moderator note: irrelevant responses removed.
I have read both sides and there is nothing what is related to my question
>Flow logic of a subscreen screen may not contain any dialog modules containing the statements SET >TITLEBAR, SET PF-STATUS, SET SCREEN, LEAVE SCREEN, or LEAVE TO SCREEN. Any of these >statements causes a runtime error. You cannot change the GUI status of a main screen in a >subscreen screen.
This is exactly what I have ment. What can be done in this case ?
Reagrds
sas
Edited by: erdem sas on Mar 10, 2009 12:07 PM
Edited by: erdem sas on Mar 10, 2009 12:18 PM
Edited by: Matt on Mar 10, 2009 1:18 PM - fixed formatting
03-10-2009 11:39 AM
go the initial screen
there in module user -command and give leave to screen.
Please let meknow if i have to brief u more
03-10-2009 11:45 AM
03-10-2009 11:48 AM
Suppose if u have created subscreens for 200 as 201 and 202.
201 has two fields
202 has one field
in 200 pbo call those subscreens also in pai.
then in 200 user command.
the fields which u need in this screen
give leave tos creen 200.
03-10-2009 11:52 AM
hi ,
you can not call another screen from sub screen...
but u have possiblity to call another screen by using call transaction..
--> create transaction for every individual screen and use call transaction when ever necessary.
Regards,
Prabhudas
03-10-2009 11:55 AM
just want to know some information.
how are you checking the condition( is it based on subscreen values ) or based on the main screen.
if it is based on subscreen then you can do those checks at PAI of the screen where you are calling the subscreen.
for second case
you can conditionally call the subscreen.
03-10-2009 12:06 PM
Dudla and the others thx for your reply .
I have created a wizard with Transaction SBPT_WB.
it is based on subscreen the checks are at PAI of the subscreen. There isn t a
main screen
Therefore there are only subscreens. A program is also not existing. Thus I cant create
a transaction in order to call it by the trx.
Regards
sas