cancel
Showing results for 
Search instead for 
Did you mean: 

Passing a parameter from a URL into Crystal Report

Former Member
0 Kudos

Hi

We have a URL that contains a parameter.

We want to pass the number from the URL into the crystal report.

Is this possible?

If so how do you do this?

Regards,

Gary

Accepted Solutions (0)

Answers (2)

Answers (2)

abhilash_kumar
Active Contributor
0 Kudos

Hi Gary,

Please provide more info:

- What kind of a URL?

- Where is the URL being generated from?

- How do you call the report?

-Abhilash

Former Member
0 Kudos

Hi

we have program which creates a URL with a number at the end for example 1234

We want to take the 1234 number, or what ever number it is and get in to transfer into the crystal report parameter to display the data. Do we need the opendocument to do this?

Regards

Gary

abhilash_kumar
Active Contributor
0 Kudos

openDocument only works with BusinessObjects.

I'm guessing what you're trying to do needs to handled inside some kind of code written to call reports (using the CR SDK).

-Abhilash

Former Member
0 Kudos

Hi

I have not used CR SDK

can you elaborate on how this will help me achieve my target?

Thanks you.

former_member183750
Active Contributor
0 Kudos

Well, you'd want to use either the CR SDK for .NET or Java.

The you'd load the report using an API

Log it onto the database

pass the number to some object int he report (txt, formula, other (?))

View the report.

The CR SDK for .NET is here:

http://scn.sap.com/docs/DOC-7824

Help Files:

SAP Crystal Reports .NET SDK Developer Guide

SAP Crystal Reports .NET API Guide

Report Application Server .NET SDK Developer Guide

Report Application Server .NET API Guide

Samples:

http://wiki.sdn.sap.com/wiki/x/JQBmBQ

http://wiki.sdn.sap.com/wiki/x/IgBmBQ

- Ludek

Senior Support Engineer AGS Product Support, Global Support Center Canada

Follow us on Twitter

Former Member
0 Kudos

Hi Gary,

You can use OpenDoc to pass parameters to crystal reports.

For more details: http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_url_reporting_opendocument_en.pd...

Thanks,

Nilesh

Former Member
0 Kudos

Hi

thanks for the reply!

We don't have business objects installed. Is this needed to pass the parameter?

Gary