cancel
Showing results for 
Search instead for 
Did you mean: 

PPT Upload through webdynpro application

Former Member
0 Kudos

Hi,

I am developing an application in which i want to upload ppt through it. How can I achieve this

Please help me to know if there is any tutorial for yhe same.

Thanx in advance

Accepted Solutions (1)

Accepted Solutions (1)

anand_nidamanuru
Active Participant
0 Kudos

Hi,

The File Upload UI element can be used to upload any type of documents.

Thanks,

Anand

Answers (3)

Answers (3)

Former Member
0 Kudos

thanks

Former Member
0 Kudos

hi ,

ur PPT is Xstring , for uploading this or Excel file as well , u can proceed like this :

1 use file upload UI and make a action for the same , use the OnAction property of the UI

2 create a context attribute under the Context tab , say DATASOURCE of type XSRTING

3 bind the DATA property of the fileupload UI to this attribute DATASOURCE

4 read the context attribute using code wizard using get_attribute , press control F7 and choose read context node/attribute

5 use the FM HR_KR_XSTRING_TO_STRING to convert the xstring u got using get_attribute

6 Now split the string at new line so as to make an internal table .


 SPLIT l_string AT cl_abap_char_utilities=>newline INTO TABLE it_table.

here it_table is type table of string.

7 .now loop at the internal table and separate the content of this table separated by tab.


DATA : it_new type string_table.
SPLIT wa_table AT cl_abap_char_utilities=>horizontal_tab INTO TABLE it_new.

refer the similar thread :

regards,

amit

Chaitanya_Priya
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

As mentioned File Upload UI element can be used.

Refer the Std wd comp

WDR_TEST_EVENTS

VIEW:FILEUPLOAD.

[http://help.sap.com/saphelp_nw70ehp1/helpdata/en/d1/af8841349e1909e10000000a155106/frameset.htm]

Priya