‎2008 Jun 24 4:17 PM
Hi experts,
Is there any way to find out the screen elements/controls from a Program Name (pgmid) and Dynpro Number (dynnr)?
Thanks & Regards
‎2008 Jun 25 2:47 PM
Hi,
Thanks for your replies.
I am writing a Function Module.
Import Parameters for the FM 1. Program name eg: SAPLZMY_PRG.
2. Screen No (DYNNR) eg: 0100.
The FM should be able to give following information in the export parameters.
1. Screen Elements/Controls like Pushbuttons etc in the given screen number.
2. Function code assigned to the pushbuttons.
3. If possible Function Keys assigned to the Pushbuttons.
Please let me know if you need more clarification.
Thanks
‎2008 Jun 24 4:20 PM
try this
system -> status
reward if useful
by,
raghul
Edited by: raghul kanna on Jun 24, 2008 5:21 PM
‎2008 Jun 24 4:20 PM
Hari,
can you please close one thread by giving mark i have already update your another one
either you can see screen no and prg from menu bar :
System>status
or open your prg in se38 than press Ctrl+shift+F5.Amit.
‎2008 Jun 25 2:52 AM
Hi Hari haran,
In addition to other replies, Plese let us know what is ur requirement .
If you are looking for controls, variables placed on ur screen, if you want to change, modify them dynamically then You can change the visible length , output field , and invisible attributes etc dynamically by using the system table SCREEN.
Otherwise you can get the complete information abot screen, program in System-> Status as others informed you.
Regards,
Naveen Veshala
‎2008 Jun 25 2:47 PM
Hi,
Thanks for your replies.
I am writing a Function Module.
Import Parameters for the FM 1. Program name eg: SAPLZMY_PRG.
2. Screen No (DYNNR) eg: 0100.
The FM should be able to give following information in the export parameters.
1. Screen Elements/Controls like Pushbuttons etc in the given screen number.
2. Function code assigned to the pushbuttons.
3. If possible Function Keys assigned to the Pushbuttons.
Please let me know if you need more clarification.
Thanks
‎2008 Jun 26 7:49 AM
Hi Hari haran,
I hope you may use the standard function module RS_IMPORT_DYNPRO to fulfil ur requirement.
This function module takes input as program name, screen no and gives the complete information abot that screen.
The tables parameter FTAB holds the information regarding all controls in the screen.
FTAB parameters :
FNAM : control name
FILL : control type incase of push button it would be P
STXT : Label or text of the control
RES1 : Function code ,
You can check all other parameter , and debug that function module.
Hope it resolve your problem.
Regards,
Naveen Veshala
‎2008 Jun 26 2:42 PM