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

OBJEC STRUCTURE

Former Member
0 Likes
561

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

2 REPLIES 2
Read only

Former Member
0 Likes
433

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

Read only

Former Member
0 Likes
433

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