‎2007 Dec 10 6:09 AM
good morning to all Guru's,
can anybody tell me what's the difference between object id(OBJID) and extended object id(REALO) in the structure OBJEC.
THANKS & REGARDS
PRIYALATHA
‎2008 Jun 26 10:31 AM
Hi Priyalatha.
greetings.
OBJEC is a struture....so i cant c the data its stooring.
OBJID is NUMC type.....so it will contain this type of data
and
REALO is CHAR type.so u can use this for char type values only................
reward points if found helpful
regards
prashant tiwari
‎2008 Jun 26 4:56 PM
Hi Priya.
Your question is absolutely valid.
The concept is that, OBJEC is a structure and it contains no data.
We use internal table to fill the structure and store the data in the table itself. This is basic ABAP dictionary, have a look at it.
But, the two fields 'OBJEC-OBJID' & 'OBJEC-REALO' are of the same type and nature. Forget the length specifications as that does not come in picture much.
We can't see the contents of the structure OBJEC - You can try out as no icon appears at top for viewing the contents.
To be honest, the respective fields are used when some condition in the program is given and a table is used which may be used to access this structure. In that context, we cannot generalize the use of these two fields.
Yes, but offcourse know their basic nature that they are the assignment numbers for a particular organizational or activity data e.g Object id for an Electrician under some organization is 50012624.
So, If your requirement has some specifications, they can be configured to use in a particular manner or for a different cause by using the appropriate table.
like:
data: begin of fs_objec,
objid like objec-objid,
......
end of fs_objec.
data:
t_objec like
standard table
of fs_objec.
And so on....
Hope you are able to understand my justification.
If you find some sentences you are unable to understand,
feel free to ask for more explanation as I had also faced the similar problem.
Reward points if you find the information usefull.
Regards
Harsh