Application Development and Automation 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: 
Read only

Table which Stores Program, and its source code

Former Member
0 Likes
2,561

Dear All,

Can you please let me know the tables which stores program names,its variant, soruce code and related information.

Appreciate your early help

1 ACCEPTED SOLUTION
Read only

jayanthi_jayaraman
Active Contributor
0 Likes
1,940

Hi,

Check this.

D010SINF ABAP: Information about ABAP program source code

D010TINF ABAP: Information about ABAP text elements

TRDIR

TADIR

Kindly reward points by clicking the star on the left of reply,if it helps.

10 REPLIES 10
Read only

Former Member
0 Likes
1,940

try transection SE49 (if ur authorised to use it)

Read only

FredericGirod
Active Contributor
0 Likes
1,940

Hi,

please use the search option of the forum

Variants :

Rgd

Frédéric

Read only

Former Member
0 Likes
1,940

i think it is TADIR table

Read only

Former Member
0 Likes
1,940

Hi,

TRDIR is used to for the program names.

regards

vijay

Read only

Former Member
0 Likes
1,940

Hi praveen,

1. REPOSRC

This stores the source code.

(but its in RAW format)

2. Variants

Variant Table VARI

Variant Texts VARIT

VARI stores the variant contents

in RAW Format

regards,

amit m.

Message was edited by: Amit Mittal

Read only

Former Member
0 Likes
1,940

It is distributed...

TRDIRE/TRDIR -- program

variant

VARI - ABAP/4: Variant storage (similar to INDX)

VARICON - Selection variants: Content

VARICONCI - Selection Variants: Content (Cross-Client)

VARID - Variant directory

VARIDESC - Selection Variants: Description

VARIDESCCI - Selection Variants: Description (Cross-Cli

VARID_CI - Variant Catalog, Cross-Client

VARINUM - Internal number assignment for variants

VARIS - Assignment of variant to selection screen

VARIS_CI - Assignment of Variant to Selection Screen

VARIT - Variant Texts

VARIT_CI - Variant Texts, Cross-Client

Source code is in DO10S (i think) but u cannot access it via SAP.

Read only

Former Member
0 Likes
1,940

Hai Praveen,

SAP has a table <b>TVARV</b> for storing the variants.

A record may be created in TVARV for all the programs that require this kind of incremental records.

For Ex: the record could be 100Zmm10001 MM sequence rec where first part consists of client code and the program being run. Client code is required because TVARV does not has a field for client code. The second part is the description indicating the purpose what the record is created. This entire string may be posted in the Name field (char - 30).

The Type field ( char- 1) may be populated with P or S (Parameter or Selection)

Low field (char- 45) may be populated with '0001' when run first time and increment it by one in your program for downloading of the internal table.

Just See whether these links may help you.....

http://help.sap.com/saphelp_nw04/helpdata/en/c0/9803aae58611d194cc00a0c94260a5/content.htm

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
1,941

Hi,

Check this.

D010SINF ABAP: Information about ABAP program source code

D010TINF ABAP: Information about ABAP text elements

TRDIR

TADIR

Kindly reward points by clicking the star on the left of reply,if it helps.

Read only

Laxmana_Appana_
Active Contributor
0 Likes
1,940

Hi,

check this FM : SVRS_GET_REPS_FROM_OBJECT. you can get all the information about programs.

code sample

DATA :repos_tab_old LIKE abaptxt255 OCCURS 0 WITH HEADER LINE,

trdir_tab_old LIKE trdir OCCURS 0 WITH HEADER LINE.

DATA : object_name LIKE vrsd-objname,

object_type LIKE vrsd-objtype,

versno LIKE vrsd-versno,

destination LIKE rfcdes-rfcdest.

CALL FUNCTION 'SVRS_GET_REPS_FROM_OBJECT'

EXPORTING

object_name = object_name

object_type = object_type

versno = versno

  • DESTINATION = ' '

TABLES

repos_tab = repos_tab_old

trdir_tab = trdir_tab_old

EXCEPTIONS

no_version = 1

OTHERS = 2

.

IF sy-subrc <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

Laxman

Read only

Former Member
0 Likes
1,940

HI

THE TABLE NAMES ARE

1 <u>D010SINF</u> ABAP- Information about ABAP program source code

2 <u>VARID</u> Variant directory

YOU CAN GET MORE DETAILS FROM THE LINK

<a href="http://www.sapgenie.com/abap/tables_system.htm">http://www.sapgenie.com/abap/tables_system.htm</a>

IF IT FINDS TO BE USEFUL PLEASE REWARD POINTS BY CLICKING ON THE STAR ON LEFT

REGARDS

ANOOP

Message was edited by: ANOOP R.S

Message was edited by: ANOOP R.S