Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Calling Multiple Normal Screens

Former Member
0 Likes
1,570

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,431

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.

10 REPLIES 10
Read only

Former Member
0 Likes
1,432

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.

Read only

0 Likes
1,431

This message was moderated.

Read only

0 Likes
1,431

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.

Read only

0 Likes
1,431

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á

Read only

0 Likes
1,431

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

Read only

0 Likes
1,431

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

Read only

0 Likes
1,431

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.

Read only

0 Likes
1,431

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

Read only

faisalatsap
Active Contributor
0 Likes
1,431

This message was moderated.

Read only

0 Likes
1,431

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.