07-29-2008 6:22 AM
Hi Experts,
How to find screen exit for a T code.
Different methods to find.
Thank you.
07-29-2008 6:23 AM
HI
Copy the below code in a report and execute the report and enter the T-code for which you want to find the screen exits .
tables: modsap, modact, tstc.
parameters: input1 like tstc-tcode default ' ',
input2 like modsap-typ default ' '.
data: search1(6),
search2(3),
search3 like modsap-member.
data : first_row value 'Y'.
concatenate: '%' input1 '%' into search1,
'%' input2 into search2.
select * from tstc where tcode like search1.
first_row = 'Y'.
check tstc-pgmna ne space.
concatenate '%' tstc-pgmna '%' into search3.
select * from modsap where typ like search2
and member like search3.
select single * from modact where member = modsap-name.
if first_row eq 'Y'.
write: / tstc-tcode, 6 tstc-pgmna, 16 modsap-name, 32 modsap-typ,
45 modsap-member, 70 modact-name.
first_row = 'N'.
else.
write: /16 modsap-name, 32 modsap-typ, 45 modsap-member, 70
modact-name.
endif.
clear : modsap, modact.
endselect.
if sy-subrc ne 0.
write : / tstc-tcode, 6 tstc-pgmna, 30 'No exits found'.
endif.
clear tstc.
endselect.
end-of-selection.
clear: search1, search2, search3.
Regards
Pavan
07-29-2008 6:23 AM
HI
Copy the below code in a report and execute the report and enter the T-code for which you want to find the screen exits .
tables: modsap, modact, tstc.
parameters: input1 like tstc-tcode default ' ',
input2 like modsap-typ default ' '.
data: search1(6),
search2(3),
search3 like modsap-member.
data : first_row value 'Y'.
concatenate: '%' input1 '%' into search1,
'%' input2 into search2.
select * from tstc where tcode like search1.
first_row = 'Y'.
check tstc-pgmna ne space.
concatenate '%' tstc-pgmna '%' into search3.
select * from modsap where typ like search2
and member like search3.
select single * from modact where member = modsap-name.
if first_row eq 'Y'.
write: / tstc-tcode, 6 tstc-pgmna, 16 modsap-name, 32 modsap-typ,
45 modsap-member, 70 modact-name.
first_row = 'N'.
else.
write: /16 modsap-name, 32 modsap-typ, 45 modsap-member, 70
modact-name.
endif.
clear : modsap, modact.
endselect.
if sy-subrc ne 0.
write : / tstc-tcode, 6 tstc-pgmna, 30 'No exits found'.
endif.
clear tstc.
endselect.
end-of-selection.
clear: search1, search2, search3.
Regards
Pavan
07-29-2008 6:26 AM
07-29-2008 6:24 AM
hi,
refer to the link.
http://www.sap-basis-abap.com/abap/how-to-find-a-screen-exit-in-a-given-sap-standard-t-code.htm
Regards
Sumit Agarwal
07-29-2008 6:24 AM
hi Praveen,
Plz refer to the link below:
http://www.sap-basis-abap.com/abap/how-to-find-a-screen-exit-in-a-given-sap-standard-t-code.htm
With luck,
Pritam.
07-29-2008 6:26 AM
Hi praveen
Go through this link.
http://saptechnical.com/Tutorials/ExitsBADIs/FindUserExitswithTCode.htm
Regards.
Eshwar.
07-29-2008 6:28 AM
Hi
http://www.sap-basis-abap.com/abap/how-to-find-a-screen-exit-in-a-given-sap-standard-t-code.htm
Reward if useful.
Regards
Divya
07-29-2008 6:31 AM
Hi experts,
Any other method to find screen exit for a T code
Thank you
07-29-2008 6:34 AM
hi,
refer to the link.
http://www.abaptalk.com/forum_posts.asp?TID=31&SID=3b18fa1dc8b7b9a1dbdedf36fe3bc2az&PID=56
Regards
Sumit Agarwal