on ‎2011 Apr 08 9:38 AM
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
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.