cancel
Showing results for 
Search instead for 
Did you mean: 

URL parameters for cProjects

Former Member
0 Kudos

Hi,

We are on version 4.0. There is a need to launch the cProjects (WDA component DPR_MAINFRAME) application in way that it opens certain project. So in other words, when a user launches the application, a project should be pre-selected and the user should enter into the project screen automatically. Is this possible?

Basically at this point I am giving parameter startview (=project), and then it opens the application in a way that the projects tab is selected (example URL: http://<host>:<port>/sap/bc/webdynpro/sap/cprojects?startview=Projects). But then the user still needs to click/choose the project from the list.

There seems to be many parameters in the application that look promising, but I don't know that which parameters I should use and how. I haven't found any documentation regarding the parameters.

Any hints are appreciated.

Regards,

Karri

Accepted Solutions (1)

Accepted Solutions (1)

FA1
Active Participant
0 Kudos

Hi,

did you use button "Favorite (Browser)" within cProjects? (in the detail view

of a project, between the "Favorite" and the "Print" button).

Kind regards,

Florian

Answers (1)

Answers (1)

FA1
Active Participant
0 Kudos

Hi Karri,

if you open a project and click button "Favorite (Browser)", you will get a pop-up showing the URL to directly open that project, e.g.

https://us4505.wdf.sap.corp:44302/sap/bc/webdynpro/sap/cprojects?sap-client=002&STARTVIEW=Projects&O...

You can have a look at function module DPR_API_UI_GET_URL for the parameters and their meaning (short text).

Kind regards,

Florian

Former Member
0 Kudos

Hi,

Thanks Florian. I tries to trick with the favourite button. Maybe I misunderstood you, but for me it doesn't seem to work. If I first open the cprojects application like this:

https://<host>:<port>/sap/bc/webdynpro/sap/cprojects and then drill-down to the project/role, and try to save it as favourite, it saves the above-mentioned URL. So I cannot see the parameters in that way.

Anyhow, your example was really helpful, and now I have a nice URL, which directs me directly to the project and to a role.

By the way, I already found out the function module, but it didn't help that much. I already knew the parameters, but the function module itself is not documented and I hadn't that much idea how to really use it.

Regards,

Karri

Former Member
0 Kudos

Hi Florian,

OK, now I got it. First I thought that you mean the Favorites button in the browser. Well, anyway now everything is working as required. Thanks for helping me out.

Regards,

Karri