‎2010 Sep 27 7:11 AM
Hi All,
I have 6 Normal Screens. Now I want to call One by one in sequence. How can it will be possible? In Dialog programing
Thanks in Advance
‎2010 Sep 27 8:07 AM
Hi Ravi Narayan Padhi ,
Will you click on any button or by just pressing enter?
If by pressing enter then write CALL SCREEN in the PAI of the each screen when SY-UCOMM is initial. Like, if you have 6 screens in series 100,200,300,400,500 & 600, then in PAI of screen 100 write :
Case SY-UCOMM.
When ''.
CALL SCREEN 200.
ENDCASE.
Or if you have button then put that function code like, When 'CLICK'.
Similarly for other screens also.
Thanks & Regards,
Rock.
‎2010 Sep 27 8:07 AM
Hi Ravi Narayan Padhi ,
Will you click on any button or by just pressing enter?
If by pressing enter then write CALL SCREEN in the PAI of the each screen when SY-UCOMM is initial. Like, if you have 6 screens in series 100,200,300,400,500 & 600, then in PAI of screen 100 write :
Case SY-UCOMM.
When ''.
CALL SCREEN 200.
ENDCASE.
Or if you have button then put that function code like, When 'CLICK'.
Similarly for other screens also.
Thanks & Regards,
Rock.
‎2010 Sep 27 8:31 AM
‎2010 Sep 27 8:37 AM
Hi Ravi Narayan Padhi,
For that also you have to do the same as described above, in PAI of Screen 100 write the following :
Case SY-UCOMM.
When ''.
CALL SCREEN 200.
ENDCASE.
In PAI of Screen 200 write the following :
Case SY-UCOMM.
When ''.
CALL SCREEN 300.
ENDCASE.
In PAI of Screen 300 write the following :
Case SY-UCOMM.
When ''.
CALL SCREEN 400.
ENDCASE.
In PAI of Screen 400 write the following :
Case SY-UCOMM.
When ''.
CALL SCREEN 500.
ENDCASE.
In PAI of Screen 500 write the following :
Case SY-UCOMM.
When ''.
CALL SCREEN 600.
ENDCASE.
Hope this will help.
Thanks & Regards,
Rock.
‎2010 Sep 27 8:39 AM
Hi!
This can be made easily. Just set the Next screen attribute on the Dynpro's attributes tab.
For example at 0100 dynpro set the next screen to 0200 and so on.
However if I might suggest you something, use only 1 screen and put more tabs on it. It's a much more user friendly solution.
You can use the Tabstrip with wizard option on the layout editor, for a quick and easy solution.
Regards
Tamá
‎2010 Sep 27 8:51 AM
Hi Rock,
Actually I donot have any button only my user will hit ENTER after that user will pass from one screen to another screen.
Thanks for all your post for this issue.
I have done this the same manner the way told, But actully my doubt is only thta with out pressing any button my user will hit enter the way we move in any Transaction while dpoing rrecording through (SHDB T-Code). the situatuion is same here.
Can we use SET Screen also in palce of CALL SCREEN.
So need ur help.
Thanks
Ravi NarayanPadhi
‎2010 Sep 27 9:03 AM
Hi Tamas,
Actually my scenario is my user will enter some data in the first screent hen he/she will hit enter then he/she will move to the next screen after that in the 2nd screen he/she will enter some data then he/she will hit enter, the same process will continue upto 6th screen.
Thanks for your valuable suggestion, But my friend my client's requiremnet is different. Thanks for your reply.
But iThink the way Mr. Rock is saying that is the appropriate way as per my knowledge. I have never used the way you told me. SAP is very big my knowledge is limited so please don't take it other wise.
Thanks
‎2010 Sep 27 9:13 AM
Hi Ravi Narayan Padhi,
SET SCREEN DYNR will set the next screen number as DYNR and once the PAI of the current screen is finished then automatically the screen DYNR will get called. I think using SET SCREEN will also give the same functionality.
Thanks & Regards,
Rock.
‎2010 Sep 27 9:50 AM
Hi Rock,
Thanks the Issue got nearly resolved. I think now I can proceed to achive the desired result.
Thanks and Regards
Ravi Narayan Padhi
‎2010 Sep 27 8:13 AM
‎2010 Sep 27 8:26 AM
Mr.Faisal,
Yes this might be basic question for you. I have only worked in TABLE CONTROL in Dialog programing, So only I have posted in the forum.