cancel
Showing results for 
Search instead for 
Did you mean: 

Excel Upload in Web Dynpro

Former Member
0 Kudos

Hi all

I have got a requirement wherein i need to upload excel in Web Dynpro.

Currently we are trying to upload an excel file in our WDC. However it gives an error (Error occurred during character conversion) and dumps while converting the data to xstring format.

It converts csv files successfully, but we must have excel file conversion.

If anyone before has worked on this kind of requirement or if has got any ideas then please share the same.

Thanks,

Shantanu

Accepted Solutions (1)

Accepted Solutions (1)

vipin_v2
Participant
0 Kudos

Hi Shantanu,

Firstly , convert the uploaded data in XSTRING format into STRING format using FM u2018HR_KR_XSTRING_TO_STRINGu2019 .

Then using the utilities cl_abap_char_utilities , convert string into horizontal tabs and bind the data accordingly.

I hope this helps.

With Regards,

Vipin.

Answers (3)

Answers (3)

former_member185086
Active Contributor
0 Kudos

This message was moderated.

chander_kararia4
Contributor
0 Kudos

This message was moderated.

Former Member
0 Kudos

This message was moderated.