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

Report for Browser window

Former Member
0 Likes
362

Hi,

I need the code for creating a browser window.

Regards,

Asha

Thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
340

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

2 REPLIES 2
Read only

Former Member
0 Likes
340

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

Read only

Former Member
0 Likes
341

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