Scrol

SAP Trainings contact sap.sreeram@gmail.com or 091-9916083157, 001-210-399-8414

Client concept In SAP


What is the Client concept in SAP? What is the meaning of Client independent?

In commercial, organizational and technical terms, the client is a self contained unit in the R3 system, with separate set of Master data and its own set of Tables.
When a change is made in one client all other clients are affected in the system - this type of objects are called Client independent objects.

What is a variant and where do you use it?


What is a variant and where do you use it?

            If you want to run a report program with same selections at regular intervals (for example, for monthly sales statistics), you would not want to enter the same values each time. So, ABAP/4 offers you a possibility to combine the desired values for all these selections in one selection set. You can create as many different selection sets as you like for each report program and they remain assigned only to the report program in question. Such a selection set is called a variant.
Using Variants Online
Using Variants in Background Processing
Online, starting a report via variant saves the user work,minimizes input errors. In background processing, a variant is the only possibility you have to pass values for the selections.

To fill certain selections with values that change according to the application, you use a variant, which takes the variable values from Table TVARV.

Report Validations in a selection screen

How do you validate the selection criteria of a report? And how do you display initial values in a selection screen?
The selection criteria is validated in the processing block of the AT SELECTION SCREEN event for the input values on the screen and respective messages can be sent.
To display initial values in the selection screen:
·         Use INITIALIZATION EVENT
·         Use DEFAULT VALUE option of PARAMETERS Statement
·         Use SPA/GPA Parameters (PIDs).

ABAP DD Questions


What is a check table and What is a value table?

The relational data model contains not only tables, but also relationships between tables. These relationships are defined in the ABAP/4 Dictionary by foreign keys. An important function of foreign keys is to support data integrity in the relational data model. Foreign key fields may assume only those values allowed by the check table, in other words, values occurring in the primary key of the check table.
A foreign key provides a link between two tables, for eg.,T1 and T2 by including a reference in table T1 to the primary key of table T2. For this purpose, Foreign key fields assigned to the primary key fields of T2 are included in T1. Table T1, which is the one being checked, is called a foreign key table, and table T2 is called a check table. The terms dependent (foreign key) table and referenced (check) table are also used.

VALUE TABLE:If the domain of the check field has a value table, this is proposed by the system as check table in the foreign field maintenance. The key fields of the value table are in this case assigned fields of the foreign key table with the same domain. These fields may assume only those values allowed by the value table.
The value range of the domain can be defined by specifying value table.All table fields referring to this domain can then be checked against the corresponding field of this value table.In order the check can be executed, a foreign key must be defined for the value table.


What are matchcodes? Describe?

A matchcode is a tool to search for data records in the system. Matchcodes are an efficient and user-friendly search aid for cases where the key of a record is unknown.
It consists of two stages one is Match code object and the other is Matchcode ID.
A matchcode object describes the set of all possible search paths for a search term.
Matchcode ID describes a special search path for a search term.


What are ranges? What are number ranges?

It is often necessary to directly access individual records in a data structure. This is done using unique keys. Number ranges are used to assign numbers to individual database records for a commercial object, to complete the key. Such numbers are e.g. order numbers or material master numbers.

What happens when a table is activated in DD?


What happens when a table is activated in DD?

When the table is activated, a physical table definition in the database is added to the table definition stored in the ABAP/4 Dictionary. The database-independent table definition from the ABAP/4 Dictionary is translated into a definition of the relevant database.