Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

XLSX Upload through UI5 into BACKend (ABAP)

$
0
0

Hi All,

 

We are uploading an XLS(x) file from SAP UI5 web page, through BSP ( where the file data is read in Xstring format( content from http body)), which in turn is provided as input to ABAP class-method.

Here we are facing an issue in converting the received Xstring to String, we have used all the FM’s ‘ SCMX_XTSRING_to_Binary’  and ‘SCMS_BINARY_TO_STRING’.And also tried with Classes ‘cl_bcs_convert’ etc.

 

Note: conversion doesn’t work well with only xls(x) files. It works with tab delimited /CSV files which is not our actual requirement.

 

Issue is we cannot access the User’s hard-drive to read the file from backend, the only input we have is Xstring which gives many other special characters when converted to string, trying to retrieve the file data .

 

Is there any other way in which the xls(x) file content can be retreived when loading through UI? Kindly provide your inputs

 

We are not using CRM system and active X controls are not in place.

System, compoenet version being used : SAP NetWeaver AS ABAP 7.31

 

 

Thanks and Regards,

Archana


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>