‎2008 Jul 29 12:50 PM
Hi All,
What is the difference between the structure we declare with type and we define with se11...
plz explain and in which situation we need to define in se11..
Thanks & Regards
Ashu Singh
‎2008 Jul 29 12:52 PM
Hi
The Types that you create in the SE11 those are global and they can be accessed by any application.
But when you declare a type inside a structure then it is local to the program that you have defined
when you have a situtation where you will use the TYPE in many programs then it is a good idea to define it in a SE11
and when you have very less use or if you are using once in a program then go for a STRUCTURE
Regards
pavan
‎2008 Jul 29 12:52 PM
Hi
The Types that you create in the SE11 those are global and they can be accessed by any application.
But when you declare a type inside a structure then it is local to the program that you have defined
when you have a situtation where you will use the TYPE in many programs then it is a good idea to define it in a SE11
and when you have very less use or if you are using once in a program then go for a STRUCTURE
Regards
pavan
‎2008 Jul 29 12:52 PM
Hi,
The structure we define in SE11 is Global.
The structure we define with type is local to the Program.
Regards,
rama.
‎2008 Jul 29 12:53 PM
The structure we declare with type is onlly availble to the program in which it is defind
where as
strcuture declared using se11 is gloabally availble to each program in SAP
Regards
rajesh
‎2008 Jul 29 12:54 PM
hiii
when you create a structure using SE11 it will be global and one more advantage is we can append it to any table for using that fields.
while by creating in program we create a local structure and can be accesed in that program only.
regards
twinkal
‎2008 Jul 29 12:57 PM
no difference but the difference is
if you create from SE11 it is global if you craete from program it is local.
thanks
Srinivas-SAP
‎2008 Jul 29 1:10 PM
hi check this...
the use of the structure is reusability if you declare in the se11 then it can be accessed by programs ,function modules ...
‎2008 Jul 29 1:13 PM
What is the difference between the structure we declare with type and we define with se11...
plz explain and in which situation we need to define in se11..
Visibility-> SE11 structures visible Globally, Reusable
But when you take program Structures then it is local. But Try to avoid creating the Custom Dictionary Objects, if unavoidable situation we can proceed with SE11.
‎2008 Jul 29 1:16 PM
If we create a structure in a program, Only that program has access to that structure and no other program can use it (no reusability).
But, If you are creating a strucutre in the ABAP Dictionary, It can be accessed by any program and is available globally (reusable).