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: 

what is SY_DYNNR, can we assing two screens to this variable at a time

Former Member
0 Kudos

give simple example...when we use sy-dynnr

4 REPLIES 4

Former Member
0 Kudos

HI,

it will give u the current screen number.

rgds,

bharat.

hymavathi_oruganti
Active Contributor
0 Kudos

sy-dynnr is the system variable which stores the current screen.

example:

suppose u r in the screen 100.

set screen 100 or call screen 100.

suppose u want to call the same screen,

call screen sy-dynnr.

instead of specifying the screen number.

Message was edited by:

Hymavathi Oruganti

Former Member
0 Kudos

Hi

no you can't use

because it gives you the current screen number only

reward if useful

Former Member
0 Kudos

HI,

SY-DYNNR IS A SSYTEM FIELD AVAILABLE IN SYST TABLE. IT GIVES THE CURRENT SCREEN NO.

ITS USEFUL FOR US IN MODULE POOLS N IN BDC.

IN MODULE POOLS WHEN U USE CALL SCREEN ............. THEN SYSTEM STOPS EXECUTING CURRENT SCREEN AND GOES TO NEXT SCREENN COMES BACK TO TO EXECUTE PREVOIUS SCREEN . IN ALL CASES SCREEN NO IS HELD BY THIS FIELD.

SIMILARLY IN BDC WHILE RECORDING ALL THE FIELDS OF A SCREEN ARE DONE USING SCREEN NO.

IF HELPFUL REWARD SOME POINTS.

WITH REGARDS,

SURESH ALURI.