2006 May 22 10:12 AM
hi all.
what is diff b/w report name and report id.
using report id. how to find the report name.
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
2006 May 22 10:22 AM
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
2006 May 22 10:26 AM
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
2006 May 22 10:35 AM
Hi,
SY-REPID is the one you are looking for . using that you can find out the Report name or ID.
Regards
vijay
2006 May 22 10:40 AM
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 ...
2006 May 22 10:46 AM
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
2006 May 22 11:01 AM
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.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |