on 03-02-2012 3:28 PM
Hi,
I'm having a problem that is not a problem at all in 11.5 but looks difficult in 12.x. Hope I can get some tips here.
I have a customized action block that can generate jpeg file on local address of the server machine. I would like to run a scheduled job to regularly generate jpegs and display them on the irpt page.
In 11.5, I can save the file under inetpub/wwwroot/project/abc.jpg and use it in irpt like src="./abc.jpg". How can I do the same thing in 12.x?
THanks in advance for the answer!
Best regards,
UMeng
Since the webroot is now embedded in the NW database, you should use the web:// prefix in your path to have it saved into the project and published to disk for the web application server.
Not sure why it is uppercased, but this should help: http://help.sap.com/saphelp_mii122/helpdata/EN/4c/c8e3e98e9b60c5e10000000a15822d/content.htm
web://project/abc.jpg would then effectvely be viewed at http://server:port/XMII/CM/project/abc.jpg at runtime in your irpt page
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would also check the Classes which changed from 11.5 to 12.1. You may be encountering some problems with that change as some functions are different or replaced by others in the newer version. Generally you will need to rebuild any custom action blocks after you have migrated to the newer installation.
Regards,
Mike
User | Count |
---|---|
9 | |
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.