cancel
Showing results for 
Search instead for 
Did you mean: 

How to upload Graphic in ADobe forms

Former Member
0 Kudos

Hi Guru,

I have a requirment to upload the Graphic to Adobe forms .

How to I use the logo(Graphics) which is stored in the application server

I have 2 sales organizations which has different "LOGOs" used. Same Adobe form is used to print Invoices for both sales organizations. When I print Invoice for a particular sales organization, I need to print its "LOGO" and when same adobe form prints the invoice for another sales organization it should print its logo.

How can i control the above situation dynamically ?

Please help.

thanks ,

Raju s

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Raju,

Whatever Sai suggested specially 2nd approach is perfect.

You will find the same thing in the below tutorial. Go through it.

[tutorial|http://www.saptechnical.com/Tutorials/AdobeForms/Photos/Index.htm]

Vishvesh

OttoGold
Active Contributor
0 Kudos

you didn´t search for a second, right?

nothing like google keywords like sap adobe form image dynamic

Otto

Former Member
0 Kudos

Hi Raju,

Images in a Adobe form can be embeded in 2 different ways.

Approach1: This is static approach form would have only one image at all times which is refered by the file name (alter natively if you can manage to place different images with the same file name at runtime then this can be dynamic)

1) have the image located in the application server path.

2) Have the Emage lement in Adobe form pass the file location path to the element source.

3) At run time it will fetch the file from the location.

Approach2: (I am not a core abaper so not sure how its done but we have done it for a mobile application)

1) using your abap code read the image from the location (find out how to pick the org specific's image).

2) convert the image into byte stream.

3) pass on this byte stream to the form via a string field.

4) in the form have the image field.

5) this time here instead of selecting the path, bind it to this particular field from the data source.

i think there are coup[le of blogs here @ this, please search it ..

Cheers,

Sai