cancel
Showing results for 
Search instead for 
Did you mean: 

Change the schedule's properties via RESTful SDK (4.2sp5p2)?

first_last
Participant
0 Kudos

I know that I can create a scheduled instance (for 'Now' in my example) by sending a POST to http://[server]:8080/biprws/v1/infostore/[CUID]/schedules/schedule/now. This creates a new, scheduled instance using the report's default values.

Is there a way to modify the scheduled instance's properties (e.g. change the parameters' values) when creating it?

I don't have access to SAP's portal--is there another place to locate the SDK's documentation?

Accepted Solutions (1)

Accepted Solutions (1)

DellSC
Active Contributor

You can find the documentation at http://help.sap.com/bobip. Look for the "Development" section. Note that the documentation you can find is related to the version that's specified in the drop-down at the top right. Also, documentation is only published for a version where it has been documented, so you may have to go backwards a couple of service packs to find the correct documentation for the RESTful API in the version of BOBJ that you are working with.

There is a way to update the parameter properties when you schedule a Webi report and possibly for Crystal for Enterprise, but not for "classic" Crystal.

To get the XML for the parameters, you would use the following URL template:

http://<;server>:<port>/biprws/raylight/v1/documents/<ReportID>/parameters?lovInfo=<true or false>

The "lovInfo" part specifies whether you want to include the data from the list of values for the parameter. When you POST the schedule back to the server, the LOV data should NOT be included in the XML. You only need it if you're going to use it to provide the list to users who are scheduling the report.

-Dell

first_last
Participant
0 Kudos

Thanks, Dell. That's helpful.

For "classic" Crystal, I'm probably relegated to the .Net SDK, correct?

Raylight can now be use for CR4E?

Speaking of CR4E, when I attempt to launch it from ePortfolio (Applications menu), a file with a BLCP extension is generated. What am I supposed to do with it?

DellSC
Active Contributor
0 Kudos

The .NET and Java SDKs still have functionality to deal with classic Crystal report.

Raylight does not work with CR4E, you access CR4E through the /infostore/ URI. There's separate documentation for it. I haven't really worked with this part of it, but it looks like it's more about accessing data that's defined in a CR4E report instead of scheduling/viewing the report itself.

When I started working with Raylight a couple of years ago, there was a bunch of info about scheduling reports with parameters that wasn't clear or was missing from the documentation. I ended up having to open a ticket with SAP to get the info that I needed for it. I'm working on a sample C# scheduling app that uses this so that I can put it up on my website. It should be there either later today or tomorrow. http://dellstinnett.com/sample_code.html.

-Dell

Answers (0)