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

Changing a screen type dynamically

sandhya_hariharan
Product and Topic Expert
Product and Topic Expert
0 Likes
695

Hello Colleagues,

Can a screen type be changed dynamically eg: from Normal to Modal Dialog and vice-versa through code ?

Use Cases:

1. I have a screen which performs the activities of CRUD in one use case.

2. In another use case, this screen is called from another transaction only for 'Display purpose.

So I want to re-use the same screen for both the use cases. In Use case 1, I want the screen to be a normal screen and in use case 2, i want it to be modal dialog.

Can I achieve it ?

Regards,

Sandhya

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
664

Try to CALL SCREEN a modal defined dynpro without the STARTING option, what do you get?

Regards,
Raymond

2 REPLIES 2
Read only

RaymondGiuseppi
Active Contributor
0 Likes
665

Try to CALL SCREEN a modal defined dynpro without the STARTING option, what do you get?

Regards,
Raymond

Read only

0 Likes
664

Thank you Raymond. It works as expected.

Regards,

Sandhya