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

error in using GUI_DOWNLOAD

Former Member
0 Likes
842

Hi !!

I am accessing my Module Pool program in web browser as a .dll file .

I am using the function GUI_DOWNLOAD to save internal data in a text file.

However It is working fine in SAP , when i run the program in a web browser

it gives me error .

Kindly Help !!!!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
804

Krunal,

GUI_DOWNLOAD cannot be used for browser based ,it is only for GUI

check this class CL_WD_RUNTIME_SERVICES and method ATTACH_FILE_TO_RESPONSE

Thanks

Bala Duvvuri

Dipak ,

Thanks for help , but my problem is I am working in 4.7

and not able to access any of the Web Dynpro Environment classes like

CL_WD_RUNTIME_SERVICES

Any other suggestions ??

Regards

Krunal

5 REPLIES 5
Read only

Former Member
0 Likes
805

Krunal,

GUI_DOWNLOAD cannot be used for browser based ,it is only for GUI

check this class CL_WD_RUNTIME_SERVICES and method ATTACH_FILE_TO_RESPONSE

Thanks

Bala Duvvuri

Read only

0 Likes
804

Bala ,

I am not able to find the class CL_WD_RUNTIME_SERVICES

I am working in 4.7 not in ECC 6.0 .

can it be the issue ?? can u advice any alternate option for 4.7 ?

Read only

0 Likes
804

Can anybody suggest me the functions

which can save internal table data to local file without using SAP GUI ?

Read only

0 Likes
804

Hi,

I never face such type of issue. I don't know the alternative for CL_WD_RUNTIME_SERVICES.

But i searched some help for you.

Please visit these links:

http://help.sap.com/saphelp_NW70EHP1core/helpdata/en/47/a8d95673b12fe2e10000000a42189d/frameset.htm

Actually your problem is displaying binary file from SAP GUI. Please go through these links.

May it helps you.

Regards.

DS.

Read only

0 Likes
804

Dipak ,

Thanks for help , but my problem is I am working in 4.7

and not able to access any of the Web Dynpro Environment classes like

CL_WD_RUNTIME_SERVICES

Any other suggestions ??

Regards

Krunal