Application Development 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: 

Howto to get the dynpro number of the running transaction

Former Member
0 Kudos
1,307

Hi all,

I ask this question for both, SAP standard and my own programs: Is it possible to evaluate the number of the active dynpro, that is displayed at the moment? I know that I can start the debugger via the SAP GUI "System" menu, but then the debugger is started only when I do something wihtin the program. But I would be interested in the dynpro number w/o doing anything.

Thanks in advance for your help.

Kind regards, Matthias

1 ACCEPTED SOLUTION

Former Member
0 Kudos
442

You can find the dynpro number using the F1 option in the screen. Place the cursor on the screen field. Press F1. There go to technical details, you can find the program name and screen number(dynpro).

Regards,

Lakshmi.

4 REPLIES 4

Former Member
0 Kudos
443

You can find the dynpro number using the F1 option in the screen. Place the cursor on the screen field. Press F1. There go to technical details, you can find the program name and screen number(dynpro).

Regards,

Lakshmi.

0 Kudos
442

Thanks Lakshmi, that did the trick for me.

Kind regards, Matthias

Former Member
0 Kudos
442

Hi Matthias,

Field SY-DYNNR will hold the current dynpro number.

Regards,

John.

Former Member
0 Kudos
442

Hi,

do you need the screen number at runtime? if you want the screen number at runtime, system parameter *sy-dynnr have the screen number at runtime.

Reward if found helpful.

Regards,

Boobalan Suburaj