on 02-13-2016 5:54 AM
Hi,
I am accessing the report using the report ID, is there a way to access it using the name. So even if the ID changes, the report can be still accessed using its name. If more than one copy of the same report is available in different folders how will it pick and chose the report to run?
Thanks,
Arun
Hi Arun,
You can use the report name and the CUID of the report.
SI_ID -> used to identify an object in one environment. It does not stay the same across environments.
SI_CUID -> used to uniquely identify an object across different deployments (e.g. development, staging and production). When using the Import Wizard, this value stays the same across environments.
However there is a constraint in this. If the report is save manually then the CUID will be changed.
Please go through the below link for more details.
http://www.forumtopics.com/busobj/viewtopic.php?p=617787
Thanks,
Kamalessh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arun,
If a report with the same name exists in several different folders, then the way to identify the different reports is with its folder ID so you know which folder and which report you are looking for. You can't have two objects of the same type with the same name in a single folder.
If you copy a report to a different folder using the restful API then you need to specify its parent folder ID to do the copy and the response gives you the ID of the new copy so that should not be an issue. You have the required values to identify the report.
Navigation of the repository through the REST APIs is achieved using the ID or CUID of objects in the repository and should be able to achieve what you need to do. Also, have a look at the following thread: http://scn.sap.com/message/16530383#16530383
If I've missed something in your requirements, please let me know,
Dan
Hi Dan,
Thank you for the response.
My requirement is to export a report to PDF and i am able to do it with RESTFUL. But there are many users accessing the same report copy (same report name in different folder) but with slight design changes. Instead of capturing each report by its ID, i was thinking if i can capture by the report name.
I think accessing by report name is not possible, like you suggested i have to try using folderID
Thanks,
Arun
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.