This is a test message to test the length of the message box.
Login
|

Write a comment

Writing comments is only allowed to registered users, registration is free and does not require an email address and can be done quickly here.

How download / upload the excel using XCO?

Nikesh Singh - 09/08/2025 - 15:09

How can we download / upload the excel data using XCO class? If XCO does not have the functionality for download / upload then is there any clean approach to handle such operation by using some released classes?


Xexer - 09/08/2025 - 20:37

Hello Nikesh,

the XCO Library is only for conversion of a binary. The up-/download is a frontend feature of ABAP. So you can use the GUI frontend services for SAP GUI. For ABAP you have to implement it at the moment for yourself. An easy solution is planned in RAP for the future, at the moment you can use the Streams.

Greetings Björn


How to work with Timestamps

Nikhitha - 08/08/2025 - 08:53

My excel contains a column that is a timestamp. When I parse it with the XCO library to write to an internal table, it gets converted to some random string value. What should I do?


Xexer - 08/08/2025 - 16:15

Hello Nikhitha,

you can try out to change the transformation from string to IDENTITY (method set_value_transformation) for example. Normally it's not a random number, it's a calculation. You can also check google for the conversion from the timestamp to a date or datetime to find the formula.

Greetings Björn