cancel
Showing results for 
Search instead for 
Did you mean: 

Does All FM will work in WebDynpro

Former Member
0 Kudos

Hi Experts,

FM like ARCHIVFILE_CLIENT_TO_SERVER and TMP_GUI_DIRECTORY_LIST_FILES,I noticed they are not working .

Please give me soltion

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hai Thomas Jung,

In File Upload UI Element --How does the Browse function works,..? I need to impliment the same functionality in one of my WD Application..?

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

>

> Hai Thomas Jung,

>

> In File Upload UI Element --How does the Browse function works,..? I need to impliment the same functionality in one of my WD Application..?

The Browser functionality isn't done by Web Dynpro, but by the Client Internet Browser. When you run in a Browser the application is sandboxed to protect the client machine against malicious websites. Therefore all you can do is specify in the HTML that you want an input field to be of type file Upload and the Browser does the rest. There is no way really to emulate this functionality without the FileUpload UI element.

The only alternatives are to use the ACFUpDownload UI element in 7.01 (uses a Java Applet to get around some security restrictions) or FlashIslands - also in 7.01. Both of these approaches are still sandboxed, but allow a little more freedom in the file upload process - for example, multiple file uploads.

Former Member
0 Kudos

Hi Jung

But when u click on browse button of the File Upload UI Element in Design Time of View,it opens file dialog. What u say about this..?

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

>

> Hi Jung

>

> But when u click on browse button of the File Upload UI Element in Design Time of View,it opens file dialog. What u say about this..?

I don't know what that has to do with the question. The Design time preview is a web browser in place in the SAPGUI. It is rendering basically the same HTML that will be sent to the client browser.

surjith_kumar
Active Contributor
0 Kudos

Hi,

If this FM not coming. Create Class, inside the Method call this FM. Then call the Class in the Web Dynpro.

Regards,

Surjith

Former Member
0 Kudos

Hi,

I did the same,but FM TMP_GUI_DIRECTORY_LIST_FILES didnt executed in Web Dynpro,but when i execute this in class it executed. My requirement is to get the list if files and folder under a directory in Presentaio Server in web Dynpro.

frank_stdle
Participant
0 Kudos

The GUI methods can not be used in web dynpro context since they rely on the control framework of the SAPGUI. You will have to use some other suitable UI element for filehandling, such as FILE_UPLOAD.

former_member226239
Contributor
0 Kudos

FM's should be Remote enabled(in other words RFC). The above mentioned FM's are normal FM's.

I think you can call only remote enabled FM's from WebDynpro.

-Chandra