‎2007 Jun 06 1:20 PM
Hi,
I need the code for creating a browser window.
Regards,
Asha
Thanks in advance.
‎2007 Jun 06 1:30 PM
HI
Report ABC.
parameters: p_file like rlgrap-filename.
at selection-screen.
At Selection Screen on Value Request
at selection-screen on value-request for p_file.
perform f4_help.
Start-of-selection.
<fetch the data from the tables into Internal tables and download to the file specified in the window>
&----
*& Form f4_help
&----
To Get F4 Help to Select File Name
----
form f4_help.
call function 'F4_FILENAME'
exporting
program_name = sy-cprog
dynpro_number = syst-dynnr
field_name = 'P_FILE'
importing
file_name = p_file.
endform. " f4_help
Reward points for useful Answers
Regards
Anji
‎2007 Jun 06 1:28 PM
Hi,
Declare a paramter in the selection screen:
parameters: p_file like rlgrap-filename. " default 'C:\vijay'.
at selection-screen.
At Selection Screen on Value Request
at selection-screen on value-request for p_file.
perform f4_help.
&----
*& Form f4_help
&----
To Get F4 Help to Select File Name
----
form f4_help.
call function 'F4_FILENAME'
exporting
program_name = sy-cprog
dynpro_number = syst-dynnr
field_name = 'P_FILE'
importing
file_name = p_file.
endform. " f4_help
Now u can save this ...
****do reward if usefull
vijay
‎2007 Jun 06 1:30 PM
HI
Report ABC.
parameters: p_file like rlgrap-filename.
at selection-screen.
At Selection Screen on Value Request
at selection-screen on value-request for p_file.
perform f4_help.
Start-of-selection.
<fetch the data from the tables into Internal tables and download to the file specified in the window>
&----
*& Form f4_help
&----
To Get F4 Help to Select File Name
----
form f4_help.
call function 'F4_FILENAME'
exporting
program_name = sy-cprog
dynpro_number = syst-dynnr
field_name = 'P_FILE'
importing
file_name = p_file.
endform. " f4_help
Reward points for useful Answers
Regards
Anji