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

how to debug dynamic calls

Former Member
0 Likes
1,526

Hi Gurus,

Can any one tell me how to debug dynamic calls?

The scenario is:

I know the message that is getting fired from a message class.

I didnot find its usage from the where-used list, as it says - possible dynamic calls.

How do i know, from where this message is getting fired?

Pls suggest.

Thanks, Rashmi

Hi Gurus,

Can any one tell me how to debug dynamic calls?

The scenario is:

I know the message that is getting fired from a message class.

I didnot find its usage from the where-used list, as it says - possible dynamic calls.

How do i know, from where this message is getting fired?

Pls suggest.

Thanks, Rashmi

10 REPLIES 10
Read only

Former Member
0 Likes
1,465

where are u getting this message??

and which message class and message id??

Read only

0 Likes
1,465

Thanks soumya,

It is a message class within my application package. And not a sap common package.

I should be able to trace this right?

Read only

0 Likes
1,465

if dats not a standard one i.e. its a customized one, .. then wont be much prob to find the use... at least give a where used on the message class and see if dats giving u any value...

by the way.. isnt that message documented??

Read only

0 Likes
1,465

No, i tried the where-used list and it says- No usage found, possible dynamic calls.

So, is there a way to debug these dynamic calls? Thats my question..

Read only

0 Likes
1,465

Hi,

Just try this

In the new debugger Breakpoints --> Breakpoint at --> Breakpoint at Statement

give MESSAGE

This will set break point at all message statement. Execute till you get the message

Regards

Read only

0 Likes
1,465

Hi rajvansh,

i have tried this too. But no luck

Also, i tried puttin break points at ABAP commands RAISE, CATCH too.

But its not getting where this message is getting raised from.

Thanks, Rashmi

Read only

0 Likes
1,465

Hi,

I have an idea, but i've not tried this.

In the SYST there is MSGID (Class Message Name).

You can set in debug a watchpoint SYST-MSGID = Custom Class. Remove all BreakPoints and press F8.

Angelo.

Read only

Former Member
0 Likes
1,465

Hi,

Can you give some more information. When do you get the message. which program or transcation are you executing?

Susanta

Read only

0 Likes
1,465

i tried setting watch point for variable SYST-MSGID. but it didnt hit there too.

I am debugging the CRM IC webclient UI. the message class is known, but i donot know where it is getting called from.

Read only

0 Likes
1,465

Hi Rashmi,

I am facing the same problem in a program ZSAPM07DR do u have the solution for this .

thanks

-


Channappa