Application Development 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: 

Problem while using TEXT_CONVERT_XLS_TO_SAP

far_sid2103
Explorer
0 Kudos
410

Hi

While using this FM I'm getting an error T:

Message class: SOFFICEINTEGRATION

Message number: 899

Message text: Method "&2" of object "&1" was not executed

Does anybody have any suggestions on how to rectify this error?

Thanks

Farhan

5 REPLIES 5

FredericGirod
Active Contributor
324

Yes, do not use this FM

It is not released by SAP, so you should not used it

Use ABAP2XLSx

0 Kudos
324

How can I install this. I tried it but I'm not able to do it.

0 Kudos
324

ABAP2XLSX is an open-source solution that must be installed in your SAP system. Search the Web for it and you will find the whole procedure and documentation on GitHub.

Hope this helps.

Patrice

abo
Active Contributor
0 Kudos
324

Try to provide some context, for example how it is called and with what values

far_sid2103
Explorer
0 Kudos
324
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
* I_FIELD_SEPERATOR = 'X'
I_LINE_HEADER = 'X'
i_tab_raw_data = WA_STRUCT
i_filename = P_FILE
TABLES
i_tab_converted_data = IT_DETAILS[]
EXCEPTIONS
CONVERSION_FAILED = 1
OTHERS = 2
.
Just passing the file name and trying to get the details into an internal table. But the data

is not coming in the internal table sometimes. When I debugged the FM I found this error.



So please if you know anything regarding this or any alternative of it, then please share.