Sunteți pe pagina 1din 18

Working with Infosets User Groups Query in detail

By Suraj Kumar Pabbathi, YASH Technologies


In this document we shall cover Topic#2. For topic#1, click here.
INCLUDEPICTURE
"http://www.saptechnical.com/Tutorials/SAPQuery/Part2/Page1.15.gif"
\*
MERGEFORMATINET

INCLUDEPICTURE
"http://www.saptechnical.com/Tutorials/SAPQuery/Part2/Page1.16.gif"

\*

MERGEFORMATINET

Infosets Components
InfoSets are special views of data sources.
An InfoSet describes which fields of a data source can be reported on in queries.
InfoSets are assigned to user groups.

End-users are able to work only with those InfoSets that are relevant to their
particular area, as designated by the role or user group that they are assigned to.

Eg: Vendor master data can be important in purchasing as well as in accountancy.


The relevant InfoSet is assigned to both roles/user groups. This means that queries
based on this InfoSet can be copied and executed by both groups.
Creating and changing Infosets

Creating Infosets Prerequisites


Assign Data sources
Infoset Display/Change
Definition of field groups

Obtaining additional information


Creating Selections
Further Codes
Application Specific Enhancements
Creating Infosets Prerequisites
The following questions help in meeting the prerequisites of creating an infoset.
Which data source corresponds to the requirements?
For example: Material reports in Materials Management
Document reports in Financial Accounting
Which fields do you need to include in the InfoSet?

Do you need additional information which is not available in the data source?
(This means you are going to have to connect additional tables and the definitions
of additional fields.)

Do you need parameters and selection criteria? (Parameters and selection criteria
appear on the selection screens of queries that are created using the InfoSet).
Do you need to include any particular measures such as access protection?

Do you need to be able to change the long texts and headers for the selected
fields?

Assign Data sources


1.
2.
3.

Name
Authorization group: This means that only users authorized to execute programs from this
authorization
group
are
able
to
execute
these
queries.
Use
Tcode:
AUTH_DISPLAY_OBJECTS
Choose Data Source:

Table join using a table: Is used when Query is prepared for retrieving data from
more than one database tables having relationships.
Reading tables directly: Is used when Query is prepared for retrieving data from
one table.

Logical databases: Is used when Query is prepared for retrieving data


based on a Logical database (LDB)

4.

Using programs to retrieve data: Here a program can be written with own logic. Declaration in
data section of the program will help the query to select the elements of data to be retrieved
from database. As per the logic, data is validated, processed. The selection screen can be
prepared in Query and data is retrieved for output.

Sequential datasets
4.

Options

No Automatic Text Recognition


Fixed Point Arithmetic
Display/Change Infoset
The InfoSet display allows you to examine or change the structure of the InfoSet.
Assigning additional tables
Creating additional fields
Creating additional Structures
Extras
Selections
Further Code
Application Specific Enhancements
Definition of field groups
A field group combines related fields together into a meaningful unit.
Fields must be assigned to a field group before they can be used in queries.
Include all table fields
Include key fields
Create empty field groups
Note:

Logical Database having more than 4 structures has different way of creating field
groups.Eg: PNP
User Groups Components

The User Groups component is used to maintain user groups. The system
administrator uses it to set up the work environment for end-users.

Every user assigned to the user group is able to execute the query.
Users are not allowed to modify queries from other user groups, although they
may, under certain circumstances, copy and execute

1.Creating infosets or functional areas

Tcode-SQ02

Continued...
Working with Infosets, User Groups, Query in detail
...Previous

2. To create user groups and assign to infosets


Tcode-SQ03

Continued...
Working with Infosets, User Groups, Query in detail
...Previous
3. To create a query

Tcode-SQ01

Steps to create selection criteria to the query


Tcode-SQ01

S-ar putea să vă placă și