‎2006 Nov 13 3:29 PM
Hi All,
In ALV after selecting one line using checkbox, I will press a button. Then I need some popup screen which should ask for input(which would be some number) and then when I press ok i should capture that number entered in popup in my program. How exactly I do that?
Could some one suggest me with that pls?
Thank You,
Suresh.
‎2006 Nov 13 4:28 PM
hi, just put if condition first.
if sy-ucomm = 'FCT code of that push battan'.
then u call the function module. 1) reuse_alv_popup_display.
and pass the width, hight and some other inforamtion what u want in the popup screen..........
note:if it is usefull plz review the points
‎2006 Nov 13 4:44 PM
You can also try the function module POPUP_TO_FILL_COMMAND_LINE for interaction.
Regards, Felipe Cunha.
‎2006 Nov 13 7:00 PM
Hi,
you can simply declare a selection-screen like this:
selection-screen begin of screen 9000.
parameters: your_number TYPE your_type.
selection-screen end of screen 9000.
This screen will not be displayed in the selection-screen of your program, because it needs to be called.
So:
In the callback form for user-command you can simply test your ucomm like this:
CASE p_ucomm.
WHEN 'your_func'.
CALL SELECTION-SCREEN 9000 STARTING at x y.
your_variable = your_number.
WHEN OTHERS.
ENDCASE.
Variable "your_variable" contains the value.
This method is convenient, because you don't need to call a FM neither create an ad-hoc dynpro.
Regards,
Roby.
‎2006 Nov 14 4:56 AM