Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Dynamically embed picrtures fro0m ADS

Hi all,

we have to dynamically include a picture out of our abap coding before the pdf is created with the ads.

The problem is, that the picture element in the visual designer has no binding option, so that I cannot

just pass the path to the picture.

One way I found is to pass the path to the picture to a hidden textfield of the pdf. Via javascript I can

then read the path out of the textfield and set it as the URL for the picture element.

Textfeld1.rawValue = http:///images/apply_f2.png

this.parent.StatischesBild1.resolveNode("value.image").href = this.parent.Textfeld1.rawValue;

This works but only if the ADS has an access to http:///images/apply_f2.png.

The problem is, that the client has no web server and does not want to install one. They want to store the pictures on the

server filesystem. Unfortunately, the ADS ignores the pictures if I specifiy a path to the file system like d: mppicture.png.

BTW:

Interesting is that the pictures can really be embedded in the pdf by the ADS. I thought javascript is a client

technology only...

Any idea how I can embed a picture dynamically from the file system of the ADS or an other drive?

Any help is highly appreciated.

Thanks!!!

Best regards,

Martin M├╝llenberg

Not what you were looking for? View more on this topic or Ask a question