Good Afternoon everyone,
I know there is a lot of information on the web regarding this topic but I couldn't land the correct solution on my case.
I created a BSP solution where I'm sending some information and an image in Base64 format via string data. Once I on the ABAP side, I'm trying to download this information to some share directory I have on the application server. The problem shows at the moment the image is placed on this directory, the image it is always corrupted.
I tried using different methods without any result:
1. I tried using the OPEN DATASET directly with the first string i received
2. I tried using FM to convert the Base64 information to XSTRING, then convert the XSTRING to Binary table and finally download the table via OPEN DATASET
3. Once I have the Binary table I tried to download this table via download FM and method from the front end services, but as I working with the BSP I cannot use these methods (via background)
Have somebody achieve this solution? .... If yes, do you have any suggestion/ideas on why the image is getting corrupt at the moment I save it?
Thanks in advance for your inputs.
Have a great day,