Skip to Content
Apr 18, 2018 at 12:12 PM

Display Image in Adobe from using RAWSTRING data



My requirement is to print an image in Adobe form based on the RAWSTRING received from a front end non-SAP app.

The images are stored on the front end app and the converted RAWSTRING is sent back to SAP system based on user selection. SAP program receives the data as a 2000 character RAWSTRING format through a RFC call.

In Adobe form, I have created an image field and mapped to a graphics node in context menu. In code initialization section, RFC populates the XSTRING variable mapped to graphics node, however, image is not getting displayed on the form.

I tried to put an image in MIME and used it in form, and it worked.

I want your help to understand:

  1. Is it required to convert RAWSTRING to XSTRING before it is used in form?
  2. Is there any way to check the incoming RAWSTRING valid
  3. Is there any other way to achieve this requirement?