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

wat are structures ?explain about them

Former Member

plz reply

7 REPLIES 7
Read only

Former Member
0 Likes
1,074

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.

Read only

Former Member
0 Likes
1,074

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

Read only

Former Member
0 Likes
1,074

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..

Read only

Former Member
0 Likes
1,074

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

Read only

Former Member
0 Likes
1,074

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

Read only

Former Member
0 Likes
1,074

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.

Read only

Former Member
0 Likes
1,074

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.