2009 Apr 01 9:43 AM
Hi Experts,
I have a report ZTEST.
In the report I have few CALL TRANSACTION statements calling different transactions.
Is there a table in which these Transactions are stored against the program name?
Thanks in advance.
Ajith
2009 Apr 01 10:07 AM
hi Ajith
you can find all the transaction codes in the table TSTC,
and the texts of the transaction codes in the table TSTCT, through which you can find the
T-code easily.
Regards,
Jaya rama kumar
Hi Experts,
I have a report ZTEST.
In the report I have few CALL TRANSACTION statements calling different transactions.
Is there a table in which these Transactions are stored against the program name?
Thanks in advance.
Ajith
2009 Apr 01 9:49 AM
hi,
u can found those in TSTC tables lets check it once.
thanq,
rajesh.k
2009 Apr 01 10:07 AM
hi Ajith
you can find all the transaction codes in the table TSTC,
and the texts of the transaction codes in the table TSTCT, through which you can find the
T-code easily.
Regards,
Jaya rama kumar
2009 Apr 01 10:29 AM
Hi,
I think I was not clear with the question earlier.
I'll explain in detail.
I have a report ZTEST.
Report ZTEST.
......
CALL TRANSACTION 'ZZ01'.
.......
CALL TRASACTION 'ZZ02'.
.......
Is there any table in which this information is stored? i.e ZZ01 and ZZ02 are called in the report ZTEST.
Thanks.
Ajith
2009 Apr 01 11:37 AM
Well I don't think so because, the CALL TRANSACTION is a satatement and it is executed at runtime ,
2009 Apr 01 1:08 PM
hi Ajith
i agree with Pavan Bhamidipati, i dont think it stored in any table . if you want to check just find out the package where you saved your Custom transactions and use where used list for finding Where it is used or in which program it used.
2009 Apr 01 12:57 PM
Hello
There are no exist such table.
Try this code:
REPORT ZSEARCH.
PARAMETERS: P_NAME LIKE D010SINF-PROG.
DATA: PROGTXT(72) TYPE C OCCURS 0 WITH HEADER LINE.
DATA: TRANS TYPE TCODE OCCURS 0 WITH HEADER LINE.
READ REPORT P_NAME INTO PROGTXT.
LOOP AT PROGTXT.
IF PROGTXT CS 'CALL TRANSACTION'.
SEARCH PROGTXT FOR ''''.
IF SY-SUBRC = 0.
DO.
SHIFT PROGTXT LEFT BY 1 PLACES.
IF PROGTXT(1) = ''''.
SHIFT PROGTXT LEFT BY 1 PLACES.
DO.
SHIFT PROGTXT RIGHT BY 1 PLACES.
IF PROGTXT+71(1) = ''''.
SHIFT PROGTXT RIGHT BY 1 PLACES.
CONDENSE PROGTXT.
TRANS = PROGTXT. COLLECT TRANS. EXIT.
ENDIF.
ENDDO.
EXIT.
ENDIF.
ENDDO.
ENDIF.
ENDIF.
ENDLOOP.
LOOP AT TRANS.
WRITE: TRANS. NEW-LINE.
ENDLOOP.
2009 Apr 03 2:29 AM
Hi KRISHNA,
Try the standard program through which we can scan the abap source code :RPR_ABAP_SOURCE_SCAN
AND
Standard table REPOSRC which stores abap source code.'
Hope this will help you
Regards,
Sreenivasa Sarma K
2009 Apr 03 10:34 AM
HI,
IN TSTC Table u will have the TCode and the Programs related to it.
Tanks And Regards]
Suraj S Nair
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |