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

report id

Former Member
0 Likes
1,943

hi all.

what is diff b/w report name and report id.

using report id. how to find the report name.

hi all.

what is diff b/w report name and report id.

using report id. how to find the report name.

6 REPLIES 6
Read only

Former Member
0 Likes
1,116

Hi,

ZTEST is the report id...

which u get using <b>sy-repid</b>. used in alv as repname.

"My test program" is the title 'sy-title'

Regards,

Anjali

Read only

Former Member
0 Likes
1,116

Priya,

Using SY-REPID you can see the current report name.

There is nothing in SAP Like report name

(Programaticaly).

So, you use SY-REPID to find report name.

Dharmesh

Read only

Former Member
0 Likes
1,116

Hi,

SY-REPID is the one you are looking for . using that you can find out the Report name or ID.

Regards

vijay

Read only

Former Member
0 Likes
1,116

hi

normally system gives report 'reportname'

for every program developed , this is a must

for every program

current program name can be found out using

system field sy-repid , this is not to b confused wid

report id ,

report id term is not used ...

thanks ...

Read only

Former Member
0 Likes
1,116

HI

GOOD

REPORT NAME-Its a name of the report and the report can be any kind of report depends upon the requirement.

*variable for Report ID

DATA: V_REPID LIKE SY-REPID .

SY-REPID

Name of the current ABAP program. For externally-called procedures, it is the name of the main program of the procedure. If you pass SY-REPID as an actual parameter to an external procedure, the formal parameter does not contain the name of the caller, but that of the main program of the procedure. To avoid this, assign SY-REPID to an auxiliary variable and use that in the call, or use the system field SY-CPROG.

SY-CPROG

The name of the calling program in an external routine, otherwise the name of the current program.

THANKS

MRUTYUN

Read only

Former Member
0 Likes
1,116

Hi priya,

1. Both are same only.

2. SAP uses the nomenclature Report ID

eg. SY-REPID

It will contain the name of the report only.

regards,

amit m.