‎2007 Nov 07 7:53 PM
Hi all
can we create internal table from se11..if so how?
Thanks
abapuser
‎2007 Nov 07 7:56 PM
This is not possible,you can create internal table in SE38 ( ABAP Editor),internal table get the data from database table(SE11) during run time.
You can create DB Tables in SE11.
Hope you got it
Thanks
Seshu
‎2007 Nov 07 7:57 PM
No we cant...
Internal Table is only attached to one perticular Program.
You can create structures, table types and use these objects to create your internal tables in your programs.
Regards,
Naimesh Patel
‎2007 Nov 07 8:26 PM
Thanks for everyone.unfortunately iam not able to give points for some reason.
Regards
abap user
‎2007 Nov 07 8:30 PM
Nothing to worry about reward points.we are happy that you got answer.
SDN People blocked reward points system currently and may be reward points will remove soon.
Thanks
Seshu
‎2007 Nov 07 8:41 PM
‎2007 Nov 09 11:05 PM
Rob, once again, is correct.
Internal table definitions are quite common in the Data Dictionary.
Look at almost any class (for example) that uses tables, such as CL_GUI_ALV_GRID, and you will see that they make copious use of internal tables that are defined in the Data Dictionary.
In CL_GUI_ALV_GRID
You have internal tables such as
IT_FIELDCATALOG Type LVC_T_FCAT Field Catalog
IT_SORT Type LVC_T_SORT Sort Criteria
IT_FILTER Type LVC_T_FILT Filter Criteria
These table types (LVC_T_FCAT, LVC_T_SORT, LVC_T_FILT) are all defined in the data dictionary via SE11.
Many many more examples could be given.
If you don't believe me, go into SE11 and check off Data Type and put any one of these in the data type selection field and press Display.
You will see that they are defined in there.
In fact, it is a requirement when doing OO programming to use such table types when you want to pass tables to forms (for example) and have them appropriately typed, since the TABLES addition is obsolete, so this is the way to do it.
Good luck
Brian
Fix formatting and spelling
Message was edited by:
Brian Sammond
‎2007 Nov 09 8:37 PM
Hi,
You can't create internal table through SE11 Tcode.
Internal table is a template of DB Table which will holds data during the run time of the program.Which will not physically stored in Database. Its a 2 Dimensional table as like Database table.
you can only create/declare internal table within the program.
Regards,
Satish
‎2007 Nov 22 10:15 AM
We can never create an internal table using SE11. here are some ways to create an internal table.
report ztx1102.
data: begin of it1 occurs 10, "has a header line
f1,
f2,
f3,
end of it1.
data it2 like ztxlfa1 occurs 100. "doesn't have a header line
data it3 like ztxlfa1 occurs 100 with header line. "it does now
data it4 like it3 occurs 100. "doesn't have a header line
data begin of it5 occurs 100. "has a header line
include structure ztxlfa1.
data end of it5.
data begin of it6 occurs 100. "this is why you might use
include structure ztxlfa1. "the include statement
data: delflag,
rowtotal,
end of it6.
data: begin of it7 occurs 100, "don't do it this way
s like ztxlfa1, "component names will be
end of it7. "prefixed with it7-s-
data it8 like sy-index occurs 10
with header line.
data: begin of it9 occurs 10,
f1 like sy-index,