2008 May 06 1:27 PM
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 ...
2008 May 06 1:42 PM
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 ...
2008 May 06 1:28 PM
Hi,
use call screen syntax it wil display in pop up.
create modal dialog screen for that.
2008 May 06 1:33 PM
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
2008 May 06 1:42 PM
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 .