‎2009 Nov 14 4:20 AM
HI.
I want to get Screen elements lables(texts).
i.e if i give screen element Vbak-auart,then 'sales document ' type should be displayed
(If it is a table field or structure field,i can find data element and it's label).
Here i give Screen element and i need to find label associated with it.
I want to get all Screen elements if tocde is given.
I.e if i give tcode 'Va01',then screen elements such as Vbak-auart,vbak-vkorg... should be displayed.
are there any Sap defined function modules..
Please give me a solution.
‎2009 Nov 14 5:39 AM
Hello,
There is no function module define by SAP to exactly match your requirement, but for your requirement you can use the tcode SE80.
In this you need to give the Program Name, if you want to know program name you can use SE93 or in menu path SYSTEM --> STATUS.
From SE80 you will get all list of screen, screen elements and many more.
Hope it helps to you,
Anil.
‎2009 Nov 14 5:39 AM
Hello,
There is no function module define by SAP to exactly match your requirement, but for your requirement you can use the tcode SE80.
In this you need to give the Program Name, if you want to know program name you can use SE93 or in menu path SYSTEM --> STATUS.
From SE80 you will get all list of screen, screen elements and many more.
Hope it helps to you,
Anil.
‎2009 Nov 14 9:55 AM
Hi Dariusz.
Thanq.
I got the screen elemnts for my tcode for below code ..
But screen elements lables are displayed in German.
I want to display them in English..
Could u give any suggesiton..
TABLES: tstc.
DATA: BEGIN OF dynp_id,
prog LIKE d020s-prog,
dnum LIKE d020s-dnum,
END OF dynp_id.
DATA: h LIKE d020s.
DATA: f LIKE d021s OCCURS 0 WITH HEADER LINE.
DATA: e LIKE d022s OCCURS 0 WITH HEADER LINE.
DATA: m LIKE d023s OCCURS 0 WITH HEADER LINE.
select single * from tstc where tcode = 'VA01'.
dynp_id-prog = tstc-PGMNA.
dynp_id-dnum = tstc-DYPNO.
IMPORT DYNPRO h f e m ID dynp_id.
LOOP AT f.
WRITE: / f-FNAM.
ENDLOOP.
‎2009 Nov 14 8:27 PM
Hi Ilayarajaramana,
try this
CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD'
EXPORTING
called_for_tab = lv_tabname
called_for_field = lv_fieldname
EXCEPTIONS
object_not_found = 1
sapscript_error = 2
OTHERS = 3.Regards,
Clemens
‎2010 Apr 24 4:16 PM