cancel
Showing results for 
Search instead for 
Did you mean: 

Badi DPR_EVENTS

Former Member
0 Kudos

hi,

I am using the badi DPR_EVENTS (and implemented it in a class) to get the changes of the project definition (dpo) in cprojects.

it workes fine for the on_change event but how can I find out which field of the project description has changed (e. g. Project description or project number)?

my aim is to handle only the case when the project description has changed...

Accepted Solutions (1)

Accepted Solutions (1)

thomas_berndt
Active Participant
0 Kudos

Hi Thorsten,

this can become a bit tricky. The description is language dependant and is therefore treated a bit different from the other attributes.

But I found a method call with which you can get the description from the database. This you could to test against the current description as found on the UI:


  rv_description = cl_dpr_common_services=>get_description_by_cgpl(
                            ir_common  = me
                            iv_langu   = iv_langu ).

Maybe this helps.

Best regards,

Thomas

Answers (0)