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

Module Pool - Module Dialog Box

Former Member
0 Likes
562

Hi all,

I am facing a tipical problem, I have created 2 screen 200 and 300

200 is with Normal Screen

300 is Modal Dialog Box

screen 200 has some buttons set in pf-status

when I call the screen 300 from 200 the same buttons which are in 200 are comming in the screen 300 at the botton.

My code in screen 200 to call 300 is as follows

MODULE grade INPUT.

IF sy-ucomm = 'QTY_GRADE'.

CALL SCREEN 300 starting at 10 10 ending at 50 50.

ENDIF.

ENDMODULE. " GRADE INPUT

Can any body please help me.

Thanks in Advance

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
529

You need to put in PAI module a command SET PF-STATUS to have your new PF-STATUS.

Regards,

Christophe.

Don't hesitate to reward if helpful

3 REPLIES 3
Read only

Former Member
0 Likes
530

You need to put in PAI module a command SET PF-STATUS to have your new PF-STATUS.

Regards,

Christophe.

Don't hesitate to reward if helpful

Read only

Former Member
0 Likes
529

Hi Ranjith,

Currently, you don't change the status either in PAI of screen 200 or PBO of screen 300, it remains same on screen 300.

Create a new status (say NEW) that you want for screen 300.

Then in the PBO of screen 300 call a module to set this new status using


module 300_output.

SET PF-STATUS 'NEW'.

Hope this helps.

Thanks

Sanjeev

Read only

Former Member
0 Likes
529

hi check one thing...

the user command most be always 4 chars in capitals....

you can check this in all standard pf-status...it wil be always 4 or less.. ...&ALL ...P++.....ENTR,....

first change the user-command ..'QTY_GRADE' to QGRD ..

activate it and check that...

regards,

venkat