on 2010 Apr 23 9:26 PM
Hi,
I want to display Report on xmii browser without saving , I tried PDF action but it is giving error when calling url "File doesn't begin with %PDF-". When using image saver for saving file it saved on given path successfully.
I also used isBinary=true in url paremeter, which I found in forum for one of the reason of this error but still it didn't work.
Steps I am following for test case:
1. Create PDF document action block
2. Create PDF page action block - link to pdf document
3. Craete PDF text action block with some value - link to pdf document
4. Assign output parameter of PDF document action to BLS transaction output of type string.
5. call url:
Please advise if I am missing something, I am using xMII 11.5.
Thanks and Regards,
Alok
I just hit a working test URL on a 12.0 server and aside from the web app name your url looks good:
/XMII/Runner?OutputParameter=PDFOutput&Transaction=Development/I808614/TestPDF&IsBinary=true&Content-Type=application/pdf
Does it work if the browser instance is logged in first?
To test you could also append &XacuteLoginName=xxxx&XacuteLoginPassword=xxxx to the end (clear text of course)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jeremy,
I tried with passing username and password to login while executing BLS for url, it is giving same error.
Thanks and Regards,
Alok
Alok,
There are two things which u mainly need to check here...
At First, i dont think "Runner" will work with xMII 11.5. Plz confirm it with experts. Instead u can try using http://<server>/Lighthammer/Illuminator?Server=XacuteConnector&Mode=Query&Transaction=<NAME>&OutputP...;
Secondly, Also check whether is it possible to use Content-Type "application/pdf". When i checked, it gave me an error as "Illuminator Error [-100] - The content-type supplied is not supported at this time. "
plz chk this link....
[Output Parameter Reference|http://help.sap.com/saphelp_xmii115/helpdata/en/Advanced_Topics/Customizing_Output/Customizing_Output_Paramerter_Reference.htm]
hope this helps
Muzammil
Muzammil - Indeed Runner works with 11.5 too and its the Key to trigger a BLS trx via URL.
You can use Illuminator to execute Query templates so on via URL.
Alok - Your URL looks good but still if you are getting same error "%PDF" then check whether you are providing exact Output parameter you have mapped in BLS trx.
Also you can refer to below few threads on the same issue.
Hope this helps!!
Regards,
Adarsh
User | Count |
---|---|
4 | |
2 | |
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.