cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

cProjects-PS Integration

former_member187668
Participant
0 Likes
274

Hi,

I have a requirement wherein when the user sets the cProject status to "Flag for Transfer", I want to throw up an error message depending on certain conditions. Do we have any event for this?

Also while creating the WBS element, I plan to use the BADI Implementation CPRO_PROJECT_LABEL. I kept a breakpoint in GET_WBS_ELEMENT method to observer the parameters, but it didn't stop there though the WBS element is created succefully.

Do we have any other ways of debugging this?

I am sure its going into CPRO_PROJECT_LABEL because I enhanced GET_WBS_ELEMENT and hardcoded the WBS description and the new WBS element has this hardcoded description.

Thanks

Regards,

Ravikanth

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member201206
Active Contributor
0 Likes

Hi Ravikanth,

For the event handling, you can use the BADI DPR_EVENTS to implment your own logic to react of the status change.

Regarding Breakpoint, if the implemented codes works and breakpoint not stopped, it can be the problem with different servers.

Either make sure, that the UI (Internet explorer) uses the same server where the break-point is set. Alternative start tcode SRDEBUG to active for all servers. Additionally the user-id should be the same for the UI and the break-point.

Kind regards,

Zhenbo

former_member187668
Participant
0 Likes

Hi Zhenbo,

Should I use the CHANGED event of class IF_DPR_COMMON for DPR_EVENT implementation?

Regarding debugging, I tried all ways but couldnt succeed. From the internet explorer it opens the PPM debugging session. But from there if I try to debugg the RFC FM (that calls R/3 system), it doesnt go inside. It just behaves as if I did F6, though I did F5.

Any ideas?

Regards,

Ravikanth

Former Member
0 Likes

Hi,

For the event, changed event seems the most relevant one, as there's no "flag for transfer" available.

For your debugging issue, you need to logon to the R/3 system with the RFC user.

That's why F5 is not working.

Please check the RFC user and logon the R/3 system with it.

Matthias