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

Reg: Callig a screen in function module

Former Member
0 Likes
357

Hi All,

I create a custom function module in that i call a screen as a model dialog box and i set the pf-status in PBO of the screen flow logic when executing the GUI status is not appear on model dialog box. GUI status set in another include statement of same Function group. Please help me what can i do to set the pf-status for model dialog box.

1 REPLY 1
Read only

Former Member
0 Likes
307

Hi Venkat

Check the SAP documentation below for dialog screen.......

Screen type for modal dialog box

In the program, you call the screen with

CALL SCREEN STARTING AT <top left>

ENDING AT <bottom right>.

Unlike normal pop-ups, a modal dialog box has its own pushbuttons and title. There is no menu bar and command field entries are not possible.

(1)In the screen being called(in attributes tab..use the radio button for "Dialog screen")

(2)In the PF status created (while creating we have 3 options normal/Dialog/context menu->click dialog) we have the option of "Dialog Box'" ..first they should be enabled...Only Application tool bar and Function keys are available for the Pf status of a dialog screen,,,so in the application bar we need to create our buttons and write the code to act accordingly in the PAI of the screen

As long as the above 2 are done and the call PF-status is in PBO flow logic of the screen,the buttons will come

Hope it helps

Pls check and revert

Regards

Byju