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

Need help in finding table

Former Member
0 Likes
1,892

hi everybody,

Can anybody please tell me in which table the program source code gets stored when we create a program in se38???

Thanks..

1 ACCEPTED SOLUTION
Read only

GauthamV
Active Contributor
0 Likes
1,868

hi,

REPOSRC.

18 REPLIES 18
Read only

GauthamV
Active Contributor
0 Likes
1,869

hi,

REPOSRC.

Read only

Former Member
0 Likes
1,868

hi gautham,

thanks for ur reply ..

but this table exists in 6.0

can you pls tell me the table name in 4.6b???

Read only

Former Member
0 Likes
1,868

Hello

I do not know tables, but for 4.6 try this:


TYPES: BEGIN OF T_TYPE, 
         LINE(72), 
       END OF T_TYPE. 
DATA: PROGRAM LIKE SY-REPID VALUE 'PROGNAME', 
      T TYPE STANDARD TABLE OF T_TYPE WITH 
             NON-UNIQUE DEFAULT KEY INITIAL SIZE 500. 

READ REPORT PROGRAM INTO T. 
IF SY-SUBRC <> 0. 
  ... 
ENDIF. 

Read only

Former Member
0 Likes
1,868

hi

check the table REPOSRC ..give the name of the program name

Regards

Divya

Read only

Former Member
0 Likes
1,868

Thanks everybody

Read only

Former Member
0 Likes
1,868

Hi,

The program name will be saved in TRDIR table.but i don't have any idea that where will da source code be stored.I hope it may help u a bit.

Read only

Former Member
0 Likes
1,868

a

Read only

former_member156446
Active Contributor
0 Likes
1,868

check the table D010SINF Information about ABAP program source code

Read only

Former Member
0 Likes
1,868

Hi,

try using

SCAN ABAP-SOURCE itab1 ...TOKENS INTO itab2

This will give you source code of a program.

Read only

Former Member
0 Likes
1,868

Hello manisha,

I have checked both 4.6 and 6.0 & i found that REPOSRC is the table to find the report source code .Please try it once again in se11

Best of luck,

Bhumika

Read only

0 Likes
1,868

hi..

In 6.0 its there. But in 4.6 B Its not there ..i checked it..i want to use this in 4.6 B.. i dont want to use any read report statements and all...

Read only

0 Likes
1,868

hi,

see if this view ia avilable in 4.6b.

D010SINF.

Read only

0 Likes
1,868

hi,

I have already seen this table..this contains the attributes related info..so this is not usefull for me...

Read only

Former Member
0 Likes
1,868

hiii

table REPOSRC stores source code of programs..

regards

twinkal

Read only

Former Member
0 Likes
1,868

Hi,

Only REPOSRC table is there which contains the source code for z and y naming convention programs.

With Regards,

Rupinder

Read only

satsrockford
Active Participant
0 Likes
1,868

hi,

try REPOSRC

thanks

Satish

Read only

Former Member
0 Likes
1,868

Hi,

check the table REPOSRC.

Everything get updated in that table only.

Thanks & Regards

Y.R.Prem Kumar

Read only

Former Member
0 Likes
1,868

Thanks