SAP---ABAP

Monday, November 26, 2007

>>>PREVIOUS>>>


Q) Version Management functions –


- Canceling changes - reset revised version to active version

- Storing changes - active version will be temporarily stored in version


Q)Switching changes - switch between active and revised versions Version catalog - list of all existing versions of an object

Q)Revised version - produced when we edit an existing object


- active version - produced when we activate an object

- Temporary version - produced when we copy the active version temporarily to the database with store version functions

- Historical versions - created when 1. Correctuib us created 2 cirrectuib us Released

Q)Table Buffering : Possible buffering types


- full buffering - either, whole table or none of the table is located in the buffer (Tables up to 30 kb done in client dependent fully buffered tables)

- Generic buffering - generic areas of the table are fully buffered.

- Generic key - left justified section of primary key of a table.

- Generic area - all records for which fields of generic key correspond

Single record buffering - records actually being accessed are loaded to buffers, large records where few records are accessed.



Q)Types of internal tables?Internal Tables ? Types ?


STANDARD table

Key access to a standard table uses a linear search. This means that the time required for a search is in linear relation to the number of table entries.

You should use inde operations to access standard tables.

SORTED table

Defines the table as one that is always saved correctly sorted.

Key access to a sorted table uses a binary key. If the key is not unique, the system takes the entry with the lowest index. The runtime required for key access is logarithmically related to the number of table entries.

HASHED table

Defines the table as one that is managed with an internal hash procedure

You can only access a hashed table using the generic key operations or other generic operations (SORT, LOOP, AND SO ON). Explicit or implicit index operations (such as LOOP . . . FROM oe INSERT itab within a LOOP) are not allowed.

INDEX table

A table that can be accessed using an index.

Index table is only used to specify the type of generic parameters in a FORM or FUNCTION. That means that you can’t create a table of type INDEX.

Standar tables and sorted tables are index tables.

Syntax :


DATA itab TYPE table type of line type [WITH UNIQUE/NON-UNIQUE KEY ] [Initial size n] [WITH HEADER LINE]



No comments: