Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
Read only

Code_scanner missing text in class methods

Former Member
0 Likes
1,044

Hello everyone,

I've found the transaction code_scanner to be very useful, but I've noticed it does not always pick up text in our CRM system.

For example, looking for text in the class methods of package CRM_UIU_PP. If I search for "GET_CUSTOM_CONTROLLER" I will get results, but if I search for  "on_bo_changed" I get no results, despite it being there in method CL_CRM_PP_PRODPROPLISTVIE_IMPL->DO_INIT_CONTEXT.

Do we need to perform any kind of source code aggregation to have code_scanner pick this text up?

We have recently installed a support package, I wonder if that has had an effect also.

Any advice very much appreciated!

Cheers,

Stuart.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
813

Hi Stuart

You may have solved this problem by now but... have you tried program RS_ABAP_SOURCE_SCAN instead of transaction CODE_SCANNER? I don't have access to a CRM to check your specific scenario but it might be worth a shot.

Regards

Glen

4 REPLIES 4
Read only

Former Member
0 Likes
814

Hi Stuart

You may have solved this problem by now but... have you tried program RS_ABAP_SOURCE_SCAN instead of transaction CODE_SCANNER? I don't have access to a CRM to check your specific scenario but it might be worth a shot.

Regards

Glen

Read only

0 Likes
813

Thank you Glen!

Running program  RS_ABAP_SOURCE_SCAN gives many more results than code_scanner does!

Cheers,

Stuart.

Read only

0 Likes
813

No worries. Happy scanning!

Read only

wol
Active Participant
0 Likes
813

Hello Stuart,

perhapas the Method "on_bo_changed" is of type event method and these cannot be found?

Otherwise, please try to find an example outside CRM, best on ERP...

Regards

Stefan