cancel
Showing results for 
Search instead for 
Did you mean: 

How to debug method IF_EX_RSU5_SAPI_BADI~HIER_TRANSFORM in ZRSU5_SAPI_BADI?

martin_lehmann4
Active Participant
0 Kudos

Hallo all,

I wonder why I can't reach my hierarchy method IF_EX_RSU5_SAPI_BADI~HIER_TRANSFORM via Datasource Extraction Test in ta. RSA6. It is intended for a datasource enhancement of 0WBS_ELEMT_WBSH_HIER. I tried it with an endless loop in the method and with a hard BREAKPOINT but without success.... We have PI_BASIS release 2005_1_70000 level 15 sp SAPKIPYJ7F.

What next is to be done? I also reactivated BAdI implementation ZRSU5_SAPI_BADI - I remember it used to work once!

Any help is appreciated,

regards Martin

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Martin,

Did you ever received answer how to debug it.

Regards,

Abhi

martin_lehmann4
Active Participant
0 Kudos

Hello Abhi,

no chance - I tried it also with a second one (customizing the hierarchy to position plan 0GLACCEXT)... I finally solved this issue by transforming my hierarchy directly on the BW hierachy tables - with help of this useful document: http://scn.sap.com/docs/DOC-12237 . But be aware of a quite demanding ABAP code - you has to deal with binary trees as data structure wherin the BW hierarchies are implemented in.

Best regards

Martin

Former Member
0 Kudos

Hi Martin,

Thanks for the answer, Its a bit tricky but I'm able to debug it now, trick is to put a endless loop inside the method IF_EX_RSU5_SAPI_BADI~HIER_TRANSFORM, then execute it, now look at the job log monitor, if you switch on the debugger  there that you will directly take you to the method and to that endless loop, now switch it off the endless loop in debugging mode.

Now you are there to debug your code.

Hope this will help you in future.

Regards,

Abhi