01-23-2007 6:59 AM
Dear all,
Pllz tel me abt all concerned to the system field <b>SY-REPID</b>.
Thanks.
Regards.
Farooq
01-23-2007 7:03 AM
hi,
sy-repid is used to idenfy the object , generally this you use in alv's to aasign the program name to field catelog
01-23-2007 7:03 AM
hi,
sy-repid is used to idenfy the object , generally this you use in alv's to aasign the program name to field catelog
01-23-2007 7:03 AM
01-23-2007 7:04 AM
Its the report name.
The system field SY-REPID is not part of SYST or SY. Instead, every program contains the predefined constants SY-REPID and SYST-REPID, which both contain the name of the corresponding program. Furthermore, there are two predefined types of the same name, SY-REPID and SYST-REPID.
All system fields are addressed using SY field name and their types using SYST field name.
<b>SY-REPID
Name of current ABAP program. With externally called procedures this is the name of the procedures main program.
If SY-REPID was transferred to an external procedure as an actual parameter before Release 6.10, the formal parameter was not given the name of the caller, but the name of the procedures main program. SY-REID had to be transferred to an auxiliary variable before the call or you had to use SY-PROG.
As of Release 6.10, SY-REPID is a separate constant that is no longer part of the structure SYST or SY. It can be transferred to external procedures directly</b>.
Rfer this link
http://help.sap.com/saphelp_nw2004s/helpdata/en/7b/fb96c8882811d295a90000e8353423/content.htm
Hope this solves ur problem, reward points.
01-23-2007 7:06 AM
Hi Farooq,
The system field SY-REPID is not part of SYST or SY. Instead, every program contains the predefined constants <b>SY-REPID and SYST-REPID, which both contain the name of the corresponding program.</b> Furthermore, there are two predefined types of the same name, SY-REPID and SYST-REPID.
01-23-2007 7:08 AM
Hi Farooq,
1)SY-REPID -> Name of the current ABAP Program.
2)With externally called procedures this is the name of the procedures main program.
3)The system field SY-REPID is not part of SYST or SY. Instead, every program contains the predefined constants SY-REPID and SYST-REPID, which both contain the name of the corresponding program.
4) It can have upto 40 character long
Regards,
-Priyanka.
01-23-2007 7:35 AM
Sy-repid holds the name of the program currently running.
We use it in areas like MPP.
Cheers.
01-23-2007 7:46 AM
every program contains the predefined constants SY-REPID and SYST-REPID, which both contain the name of the corresponding program.
SY-REPID
type length description
CHAR 40 Current main program
01-23-2007 7:58 AM
How to see if so & so is there in SY-REPID & SYST-REPID of a particular Program????????
01-23-2007 8:01 AM
Hi farooq,
1. The structure SYST (which we can see from se11 also),
(also called as SY)
2. is available in all programs, by default,
and its values are filled by the r/3 system auatomatically.
3. one of its field is REPID,
which contains the current, running program name.
regards,
amit m.
01-23-2007 8:20 AM
01-23-2007 8:32 AM
hi,
sy-repid is the system defined variable which will hold the current program
name, where ever u want to use the current program name u can use this
variable. u can find all system defined variable in structure syst.
regards,
Praveen.