cancel
Showing results for 
Search instead for 
Did you mean: 

Calling a WAD Report via BI_COMMAND

Former Member
0 Kudos

Hi experts!

Let me explain my scenario, I've an iView and a WAD Report. I create a button in the iView which is calling the WAD report

via hyperlink, sending a parameter which is needed by the WAD Report, with a formula using BI_COMMAND's:

http://URL?TEMPLATE=WA_NAV_PROY&BI_COMMAND_1-BI_COMMAND_TYPE=SET_VARIABLES_STATE&BI_COMMAND_1-VARIAB...

That works ok!, when we push the button we get the information we want on a new page. But now we want to do something better.

Our WAD Report has a button which export the data on screen to a PDF. Anybody knows if it's possible to launch that

WAD Report from our iView, as we are doing, and get the PDF export without getting the information on screen?.

I found a How to Guide, which explain to do that, but it doesn't work for an entire model, it only works for the data we get

on a BAPI, Can anybody help me?.

Thank you!!.

Emilio.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Emilio,

do you mean the [How To Export Data from Visual Composer|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/805709cb-ec97-2910-04b8-f3d6303d8d3b]?

There are some hints on exporting to pdf. Maybe, you can use the url that is described there, in order to print to pdf directly.

Best Regards,

Benni

Former Member
0 Kudos

Hi Benni,

Yes, you're right I mean that how to. At the moment I'm trying to build the URL with the BI_COMMAND's described in that document, but it doesn't work.

Emilio.

Former Member
0 Kudos

Problem solved.

Emilio.

Former Member
0 Kudos

Hi Emilio,

would you mind posting your solution? Did you succeed with the right URL or did you chose a different approach?

Best regards,

Benni

Former Member
0 Kudos

Hi Benni,

At last I succeed using BI-Command's, my final URL is:

http://URL...TEMPLATE=XXXX&BI_COMMAND_1-BI_COMMAND_TYPE=SET_VARIABLES_STATE&BI_COMMAND_1-VARIABLE_VA...

where XXXX is the name of the WAD report and ###001 is the value needed in the WAD Report.

Anybody know where I can find a document which explain exactly how many BI-command's exists and what I can do with them?.

Best Regards,

Emilio.

Former Member
0 Kudos

Hi Emilio,

thanks for the answer. This might be helpful one day for those, who have a similar problem.

If I remember correctly, my colleagues used to implement the needed functions in WAD, took a look at the generated URL and read the specific command from that URL. I don't know whether there's a list of all available commands. Never worked with this myself.

Best Regards, Benni