Application Development 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: 

call screen in Function Module

Former Member
0 Kudos

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

former_member194416
Contributor
0 Kudos

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

former_member194416
Contributor
0 Kudos

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.

0 Kudos

Thank you guys...U solved my problem

0 Kudos

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

Former Member
0 Kudos

Yes,it is possible.

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