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

sy-repid

Former Member
0 Likes
1,041

Hi friends......

what is the use of sy-repid.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
983

it contains the name of the report.

When you execute a report. In some FM or classes it is required to point at the report name. There it comes in use..

Regards

Vijai

Rewrd pnts if useful.

it contains the name of the report.

When you execute a report. In some FM or classes it is required to point at the report name. There it comes in use..

Regards

Vijai

Rewrd pnts if useful.

6 REPLIES 6
Read only

Former Member
0 Likes
983

Hi ,

Sy-repid is a variable which stores report/Program name.

Its ues is many times in report u have to five ur program name, so at that places u can use this variable.

Reward points if useful

Read only

Former Member
0 Likes
983

HI,

sy-repid will give the current main program name.

have a look at this link

http://help.sap.com/saphelp_nw2004s/helpdata/en/7b/fb96c8882811d295a90000e8353423/frameset.htm

<b>please reward points and close ur thread.</b>

rgds,

bharat.

Read only

Former Member
0 Likes
984

it contains the name of the report.

When you execute a report. In some FM or classes it is required to point at the report name. There it comes in use..

Regards

Vijai

Rewrd pnts if useful.

Read only

Former Member
0 Likes
983

hi,

sy-repid gives the report name.

This is a system variable that gives the name of the report which u are working.

Read only

Former Member
0 Likes
983

hi,

sy-repid is a system variable [SYST} which will give the current main program name. it is useful in mainly when ur delaing subroutines as one subroutine may call another.............. in such situations to get the name of current program i.e calling from main program its very useful.

if helpful reward some points.

with regards,

Suresh.A

Read only

Former Member
0 Likes
983

hi prajaval,

sy-repid is the system defined variable..it stores the program name of abap editor...

so when u go in a particular program for example..ztest1.

when u write a command as

write 😕 sy-repid.

o/p will be : ztest1

hope this may be helpfull...

please reward in case usefull...

regards,

prashant