2007 Dec 05 3:19 AM
plz reply
2007 Dec 05 3:22 AM
structure is scereten of table ,bt i does not hold any data.it hold only overview of fields.while calling the pgm the data will be loaded.
2007 Dec 05 4:54 AM
Hi
Objects that appear in the Query Designer and can be defined freely.
A structure forms the basic framework of the axes in a table (rows or columns). It consists of structural components. We differentiate between key figure structures and characteristic structures.
Structural components of key figure structures are always based on the key figure selections (basic key figures, restricted key figures, and calculated key figures). Characteristic structural components cannot contain key figure selections.
The set up of the structure determines the sequence and number of key figures or characteristic values in the columns and rows of the query. You can navigate through the structure in the executed query and set filters for it.
If you are using two structures (for example, a key figure structure in the columns and a characteristic structure in the rows), a table with fixed cell definitions is created.
If you're only given structures, and your expected to code from them, tell your functional analyst he's not given you enough information. You have to have table names.
If you're permitted to do some analysis yourself, then you need to understand first that the technicals names of fields on screens is the name given to the screen structure. Sometimes that maps directly to a table, but more often than not, it doesn't.
In those cases, you can go through debug to find out which table is used to populate the structure, or you can run SQL trace or Run Time Analysis to find the same.
http://help.sap.com/saphelp_nw04/helpdata/en/4d/e2bebb41da1d42917100471b364efa/content.htm
2007 Dec 05 5:59 AM
hi,
A structure forms the basic framework of the axes in a table (rows or columns). It consists of structural components. We differentiate between key figure structures and characteristic structures.
Structural components of key figure structures are always based on the key figure selections (basic key figures, restricted key figures, and calculated key figures). Characteristic structural components cannot contain key figure selections.
The set up of the structure determines the sequence and number of key figures or characteristic values in the columns and rows of the query. You can navigate through the structure in the executed query and set filters for it.
If you are using two structures (for example, a key figure structure in the columns and a characteristic structure in the rows), a table with fixed cell definitions is created.
Use:
Structures and their structural components are complex objects. Structural components can be formulas or selections.
In key figure structures, each selection structural component has to consist of one key figure selection along with possible characteristic selections.
Within a query definition you can use either no structures or a maximum of two structures. Of these, only one can be a key figure structure.
You can combine structures freely with other characteristics on the axes.
reward if useful..
2007 Dec 05 10:33 AM
Hi
Flat and deep structures in ABAP
http://219.153.41.162/down4/20070625/25135900691.pdf
creating DDIC structures during runtime
http://sapabap.iespana.es/sapabap/manuales/learnabap/ch08/ch08.htm
cheers!
gyanaraj
****Pls reward points if u find this helpful
2007 Dec 07 7:30 AM
Structured types describe the structure and functions of any structured data objects, that is of data structures with components of any type.
A component can be a field with an elementary type or can itself be a structure. A table can also be used as a component in a structure.
A database table always has a structure and is therefore implicitly a structured type. However, the fields of a database table can only have an elementary type.
Rgds,
Hetal
2007 Dec 07 8:01 AM
Table Type:
is a structure which is defined with a 'OCCURS 0' extension with the definition of the structure and can hold data.
Structure:
is a definition with the field details and which can not hold any data in it.
in the case given by you:
1) Data: lt_filetable TYPE filetable, (Table type)
The 'filetable' is a table declaration with 'OCCURS 0' parameter.
2) ls_file TYPE file_table. (Structure).
the 'file_table' is a structure definition.
Rewards if useful.
2007 Dec 07 1:51 PM
Hi,
Structure is a group of data objects which are grouped
together so that values that are related can be put
together.
It can be created globally in the Data Dictionary or
defined locally in the ABAP Program. Eg. as given
below.
TYPES: BEGIN OF STRUCT_TYPE,
FIELD1 TYPE DIC_ELEMENT1,
...
FIELDN TYPE DIC_FIELDN,
END FO STRUCT_TYPE. "Declaring structure type
DATA: STRUCTURE TYPE STRUCT_TYPE.
When setting types for Structure one can make use of:
1. Dictionary structure,
2. A transparent table,
3. A structure type that is locally defined in a
program like the example above.
For further reading you can refer to the following
link:
To know more about structures:
Click on types and then on Structures.
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ea0b4
46011d189700000e8322d00/frameset.htm
To create a structure:
http://help.sap.com/saphelp_46c/helpdata/en/90/8d7310b1
af11d194f600a0c929b3c3/content.htm
To append structure:
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb614
46011d189700000e8322d00/content.htm
Cheers!!!
Rajesh.
P.S: Kindly award points if found helpful.