cancel
Showing results for 
Search instead for 
Did you mean: 

Format to convert image used by web dynpro.

ronaldo_aparecido
Contributor
0 Kudos

Hi experts.

I was debuggin standard web dynpro aplicattion /SAPTRX/EM_FPM_UI .

This aplication has a field for attachments images declared in View container ui element.

When i see the image coverted in my debug i see it like a  xstring file :

My doubt is :

I 'm creating a z with similar function of this standard program but i wll receive image from external system by web service.

i can inform the other system to send the image like XSTRING THEN I CAN USE INSIDE SAP ?

I HAVE THIS DOUBT.

THANKS.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member197425
Active Participant
0 Kudos

Hi,

We can convert the format of data which will be sent by external system in SAP,but it depends on which format the image is being sent .There are some F.M's available for data format conversions like

ECATT_CONV_STRING_TO_XSTRING, ECATT_CONV_XSTRING_TO_STRING etc..

So first we need to identify in which format source is sending the data to SAP...

Thanks,

Nandi

ronaldo_aparecido
Contributor
0 Kudos

Thanks Nandi .

They will send in binary .How can i change it to xstring?

former_member197425
Active Participant
0 Kudos

Hi,

We can use F.M SCMS_BINARY_TO_XSTRING for binary to xstring conversion..

Thanks,

Nandi