cancel
Showing results for 
Search instead for 
Did you mean: 

WD_BADI_DOMODIFYVIEW identify onaction?

kersra
Explorer
0 Kudos

Hi all,

it is possible to identify which event (onAction) has invoked the WD_BADI_DOMODIFYVIEW?

We are trying to call the same view two times and we want to modify the screen with WD_BADI_DOMODIFYVIEW badi based from which event the view was called.

Thanks

Best regards

Ralplh

Accepted Solutions (0)

Answers (1)

Answers (1)

nishantbansal91
Active Contributor
0 Kudos

Dear Ralph,

Put the breakpoint inside the method thn check the call stack desktop2.

Check the calling method chaining.

Thanks

Nishant

kersra
Explorer
0 Kudos

Dear Nishant,

this is what I already did. But I'm not able to see where the call is comming from.

Best regards

Ralph

nishantbansal91
Active Contributor
0 Kudos

Hi ,

this is the interface that is used inside  BADI IF_WD_BADI_DOMODIFYVIEW.

Do one thing use the where to use of this interface inside your component and find the data object or reference object.

After where to use you will find the

data lr_data type ref to if_Wd_badi_domodifyview.

Now double click on lr_Data.

Other put breakpoint on GET BADI statement.


Thanks

Nishant