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 window dynamically in smart forms

former_member1716
Active Contributor
0 Likes
1,036

Hello all experts,

I have a requirement to call a window dynamically. That i must make the window visible only on certain conditions else the window must be invisible.

Is it possible to attain this requirement

If yes please help me on this.

Am very thankful to your immediate responses

thanks and regards,

Satish

1 ACCEPTED SOLUTION
Read only

FredericGirod
Active Contributor
0 Likes
953

Hi,

you have a tab Condition into your window. In this tab you could specify if a variable equal a value or not ...  the window will not appear.

So you could add your Abap code just before to modify the value of this variable to manage the display or not of your window

regards

Fred

5 REPLIES 5
Read only

FredericGirod
Active Contributor
0 Likes
954

Hi,

you have a tab Condition into your window. In this tab you could specify if a variable equal a value or not ...  the window will not appear.

So you could add your Abap code just before to modify the value of this variable to manage the display or not of your window

regards

Fred

Read only

former_member227140
Active Participant
0 Likes
953

in conditions tab you can set the condition . apply condition to whole window so that it will be displayed /not displayed as per your requirement.

can you brief when you want to display window and when not to display it???

Read only

Former Member
0 Likes
953

You have a conditions tab for every component.
In this tab you can check the value of a variable defined in the interface of the SAP Smart Form.

It is also possible to add code fragments before a component and build some checks there.

Regards,

Niels

Read only

thangam_perumal
Contributor
0 Likes
953

Hi Sathish,

                   yeah possible your requirements. Please provide the condition on main window in condition Tab as mentioned below screenshots.

above screen just i mentioned the condition.. here you can code as per your requirements..

Regards,

Thangam.P

Read only

former_member1716
Active Contributor
0 Likes
953

Thanks for all your support, I have successfully implemented the requirement

Thanks,

Satish