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

call screen in Function Module

Former Member
0 Likes
4,837

Hi all,

I want to call a Screen in function module.Is it possible?

If possible.How can I do that?

I tried calling a screen from a function module but the PAI module is not getting accessed.

I am able to see the screen but when I click on the push button the cursor is not entering the PAI.

I maintained the FCT codes for the push buttons...dont suggest me to do that.

If anybody know it, please help me.

Thanks in advance...................

regards,

vinil.

Edited by: vinil kumar aturi on Jul 1, 2009 4:40 PM

1 ACCEPTED SOLUTION
Read only

former_member194416
Contributor
0 Likes
1,844

It is possible, not really different than calling from a program. After creating screen from SE80 tcode look at the screen and PBO, PAI blocks.

If your function module generate a popup screen you must create your gui status in dialog box type. You can also check code in popup_to_confirm fm to make it clear.

4 REPLIES 4
Read only

former_member194416
Contributor
0 Likes
1,845

It is possible, not really different than calling from a program. After creating screen from SE80 tcode look at the screen and PBO, PAI blocks.

If your function module generate a popup screen you must create your gui status in dialog box type. You can also check code in popup_to_confirm fm to make it clear.

Read only

0 Likes
1,844

Thank you guys...U solved my problem

Read only

0 Likes
1,844

Hello Vinil,

I think I am having same issue I want to call first screen of transaction i.e. want to use only first screen of transaction.

example : In my program I will call transaction MM01(only first screen), then it should come back to my program.

Is it possible?

Thanks

Read only

Former Member
0 Likes
1,844

Yes,it is possible.

for example see the function module MCP_MATRIX_EDIT You will get an idea.