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

Regarding Popupwindow in modulpool

Former Member
0 Likes
609

Hi Experts,

When user click on one push button in main program.

A pop-up should display which should prompt the user to enter the ‘Notification number’ from which the containment action shall be imported.

For this requirment i have created one pop window like one input field and 2 pushbuttons.in this pop up window i have added two pushbuttons like 'Continue' and 'Concel'.

Means If i click 'Continue' button the input field (‘Notification number’ ) to be process ,and if i click 'Cancel' the popup will be disapper.

Notification Number have F4 Help.So how can i create for this requirement F4 help and logic for this requiremnt..

If i click continue i have to take that notification number and do some validation using one function module.

Can any one help on this ...

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
583

Hi shridhar ,

use the following code .

for calling the pop-up screen,

call screen 0100 starting at 40 5.

on this screen give the i/o field for notification number .

create one seach help for notification number and assign it in search help in sceen painter attribute .

create the pstatus for this screen and select dialogue status , it will gives you two buttons on application bar ie continue and cancel .

then use the following code in pai .

Case ok_code .

when 'ENTER' .

select * from table into table itab where field = notification .

when 'CANCEL' .

leave to screen 0 .

encase .

Hi Experts,

When user click on one push button in main program.

A pop-up should display which should prompt the user to enter the ‘Notification number’ from which the containment action shall be imported.

For this requirment i have created one pop window like one input field and 2 pushbuttons.in this pop up window i have added two pushbuttons like 'Continue' and 'Concel'.

Means If i click 'Continue' button the input field (‘Notification number’ ) to be process ,and if i click 'Cancel' the popup will be disapper.

Notification Number have F4 Help.So how can i create for this requirement F4 help and logic for this requiremnt..

If i click continue i have to take that notification number and do some validation using one function module.

Can any one help on this ...

3 REPLIES 3
Read only

Former Member
0 Likes
583

Hi,

use call screen syntax it wil display in pop up.

create modal dialog screen for that.

Read only

rahul_kamble2
Participant
0 Likes
583

Hi Sridhar,

try FM 'POPUP_GET_VALUES_USER_HELP'

pass the parameter f4_formname = : subroutine which called for f4 help

f4_programname = : name of the program which contains the subroutine for F4 help

Check for FM Parameter documentation.

This will surely help.

Regards,

Rahul

Read only

Former Member
0 Likes
584

Hi shridhar ,

use the following code .

for calling the pop-up screen,

call screen 0100 starting at 40 5.

on this screen give the i/o field for notification number .

create one seach help for notification number and assign it in search help in sceen painter attribute .

create the pstatus for this screen and select dialogue status , it will gives you two buttons on application bar ie continue and cancel .

then use the following code in pai .

Case ok_code .

when 'ENTER' .

select * from table into table itab where field = notification .

when 'CANCEL' .

leave to screen 0 .

encase .