cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to display Dynamic image in PDF ADOBE FORM

Former Member
0 Kudos

Hi,

I am NOT able to display dynamic image in PDF Form.

I created 1 image field which is <b>binded</b> with a context variable having <b>URL</b> of the image from <b>RFC</b>.

This URL is coming as a datatype <b>STRING</b> from the RFC (Remote enabled Function Module).

For Example URL is:: "<b><i>http://abc.com/x.jpg</i></b>".

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Chandan,

In order to bind a dynamic image u need not write a code for binary conversion of the image.

If working in webdynpro u can bind the image with the code

below

try { String url = WDURLGenerator.getAbsoluteWebResourceURL( wdComponentAPI.getDeployableObjectPart(), "sap_online_shop.jpg"); wdContext.currentDataSourceElement().setSapOnlineShopUrl(url); } catch(Exception e) { throw new WDRuntimeException(e); }

nd FormCalc script statement, which enables the dynamic integration of the image.

Show: initialize

Script: this.value.image.href = xfa.resolveNode(this.value.image.href).value; Language: FormCalc

Run At: Client

Cheers

Swathi

Do offer pts:-)