Sap Abap Reports
Sap Abap Reports
Sap Abap Reports
Mail: Praveen.srrec@gmail.com
Reports:
• Classical
• Interactive
• Logical Database
• ABAP query
• ALV Reports (ALV stands for ABAP List Viewer)
• Report Writer/Report Painter
• Views (There are different types of views also)
Classical Reports
These are the simplest reports. Programmers learn this one first. It is just an output
of data using the Write statement inside a loop.
• Classical reports are normal reports. These reports are not having any sub
reports. IT IS HAVING ONLY ONE SCREEN/LIST FOR OUTPUT.
Event blocks are introduced by an event keyword. They end when the next
processing block begins. The following processing block can either be an event
block or another processing block allowed in this context – for example, a
subroutine or a dialog module. Event keywords have the same name as the events
to which they react.
Created by Pavan Page 2 of 107
Mail: Praveen.srrec@gmail.com
Syntax:
DATA:...
INITIALIZATION.
...
AT SELECTION-SCREEN.
...
START-OF-SELECTION.
...
GET spfli...
..
...
END-OF-SELECTION.
...
FORM...
...
ENDFORM.
The sequence in which the processing blocks occur in the program is irrelevant.
The actual processing sequence is determined by the external events. However, to
make your programs easier to understand, you should include the event blocks in
your program in approximately the same order in which they will be called by the
system. Subroutines should be placed at the end of the program.
With only two exceptions (AT SELECTION-SCREEN and GET), event blocks
have no local data area. All declarative statements in event blocks are handled
with the global data declarations in the program. You should therefore include all
of your declarations at the start of the program.
Statements that are not assigned to a processing block are never executed. In
executable programs, all non-declarative statements between the REPORT or
PROGRAM statement and the first processing block are assigned to the default
event START-OF-SELECTION. if a program does not contain an explicit
Created by Pavan Page 3 of 107
Mail: Praveen.srrec@gmail.com
*&---------------------------------------------------------------------*
*& Report ZCLASSICAL *
*& *
*&---------------------------------------------------------------------*
*& *
*& *
*&---------------------------------------------------------------------*
REPORT ZCLASSICAL .
TABLES: vbak,vbap.
DATA: v_flag TYPE i.
END OF it_salesorder.
**********INITIALIZATION
INITIALIZATION.
PERFORM initialization.
*********FETCH THE DATA FROM TABLES AND PLACE THEM IN INTERNAL TABLE
START-OF-SELECTION.
PERFORM fetch_data.
**********PAGE HEADINGS
PERFORM Page_headings.
PERFORM display_data.
*&---------------------------------------------------------------------*
*& Form initialization
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
* --> p1 text
* <-- p2 text
*----------------------------------------------------------------------*
FORM initialization .
Created by Pavan Page 7 of 107
Mail: Praveen.srrec@gmail.com
s_kunnr-sign = 'I'.
s_kunnr-option = 'BT'.
s_kunnr-low = '1033'.
s_kunnr-high = '1390'.
APPEND s_kunnr.
s_vbeln-sign = 'I'.
s_vbeln-option = 'BT'.
s_vbeln-low = '4969'.
s_vbeln-high = '5000'.
APPEND s_vbeln.
REFRESH it_salesorder.
CLEAR it_salesorder.
SELECT kunnr
vbak~vbeln
posnr
matnr
bstnk
bstdk
kwmeng
netpr
vbap~netwr
FROM vbak
INNER JOIN vbap ON vbak~vbeln = vbap~vbeln
INTO TABLE IT_SALESORDER
WHERE kunnr IN s_kunnr
AND vbak~vbeln IN s_vbeln.
LOOP AT it_salesorder.
AT NEW vbeln.
format color 3 on. " COLOR START
WRITE: / 'CUSTOMER:',it_salesorder-kunnr.
format reset. "COLOR END
ULINE.
format color 4 on inverse on. "COLOR START
Created by Pavan Page 8 of 107
Mail: Praveen.srrec@gmail.com
AT END OF vbeln.
SKIP 2.
ENDAT.
ENDLOOP.
Interactive Reports:
In simple Interactive reports are nothing but which were user interface the name
itself signifies that it interacts with the users
A classical non-interactive report consists of one program that creates a single list.
Instead of one extensive and detailed list, with interactive reporting you create
basic list from which the user can call detailed information by positioning the
cursor and entering commands. Interactive reporting thus reduces information
retrieval to the data actually required.
Secondary list:
It allows you to enhance the information presented in the basic list. The user can,
for example, select a line of the basic list for which he wants to see more detailed
information. You display these details on a secondary list. Secondary lists may
either overlay the basic list completely or you can display them in an extra
window on the screen. The secondary lists can themselves be interactive again.
To prevent the user from selecting invalid lines, ABAP/4 offers several
possibilities. At the end of the processing block END-OF-SELECTION, delete the
contents of one or more fields you previously stored for valid lines using the HIDE
statement. At the event AT LINE-SELECTION, check whether the work area is
initial or whether the HIDE statement stored field contents there. After processing
the secondary list, clear the work area again. This prevents the user from trying to
create further secondary lists from the secondary list displayed.
Created by Pavan Page 11 of 107
Mail: Praveen.srrec@gmail.com
SY-LSIND Index of the list created during the current event (basic list = 0)
SY-LISTI Index of the list level from which the event was triggered.
SY-LILLI Absolute number of the line from which the event was triggered.
SY-LISEL Contents of the line from which the event was triggered.
SY-CUROW Position of the line in the window from which the event was
triggered (counting starts with 1)
SY-CUCOL Position of the column in the window from which the event was
triggered (counting starts with 2).
SY-CPAGE Page number of the first displayed page of the list from which the
event was triggered.
SY-STARO Number of the first line of the first page displayed of the list from
which the event was triggered (counting starts with 1). Possibly, a page header
occupies this line.
SY-STACO Number of the first column displayed in the list from which the event
was triggered (counting starts with 1).
*&---------------------------------------------------------------------*
*& Report ZSIMPLE_INTERACTIVE *
*& *
*&---------------------------------------------------------------------*
*& *
*& *
*&---------------------------------------------------------------------*
REPORT ZSIMPLE_INTERACTIVE .
TABLES: MARA,MARC,MARD.
***********************************************************
* INITIALIZATION.
***********************************************************
INITIALIZATION.
SMATNR-LOW = '1300-1400'.
SMATNR-HIGH = '1300-2000'.
SMATNR-SIGN = 'I'.
SMATNR-OPTION = 'BT'.
APPEND SMATNR.
***********************************************************
* START-OF-SELECTION.
***********************************************************
START-OF-SELECTION.
ULINE.
HIDE MARA-MBRSH.
ENDSELECT.
***********************************************************
* AT LINE-SELECTION.
***********************************************************
AT LINE-SELECTION.
IF SY-LSIND EQ 1.
WRITE:/ MARC-MATNR,MARC-WERKS.
HIDE MARC-MATNR.
ENDSELECT.
ENDIF.
Created by Pavan Page 15 of 107
Mail: Praveen.srrec@gmail.com
IF SY-LSIND EQ 2.
HIDE MARD-MATNR.
ENDSELECT.
ENDIF.
***********************************************************
* TOP-OF-PAGE DURING LINE-SELECTION.
***********************************************************
IF SY-LSIND EQ 1.
ULINE.
ENDIF.
IF SY-LSIND EQ 2.
ENDIF.
************************************************************************
Created by Pavan Page 16 of 107
Mail: Praveen.srrec@gmail.com
Create Domain
Created by Pavan Page 23 of 107
Mail: Praveen.srrec@gmail.com
In the same way create another table ZCOMP_DETAILS for company details and
save details in that tables from Utilities Table Contents Create Entries
Or from Table Maintenance Generator. Check my another document for that
Created by Pavan Page 26 of 107
Mail: Praveen.srrec@gmail.com
Created by Pavan Page 27 of 107
Mail: Praveen.srrec@gmail.com
Message Class:
This messages which we will set here will be displayed while executing a report.
We can set up 4 kind of messages.
After creating your report then it will directly shows your report name as
REPORT ZSMALL_INTERACTIVE_REPORT.
Now to create a message class you have first declare your message class at the
start of the report as
1. READ:
2. INSERT:
3. MODIFY:
4. DESCRIBE:
5. APPEND:
APPEND <itab>.
6. CLEAR
CLEAR <itab>.
7. REFRESH
REFRESH <itab>.
Created by Pavan Page 35 of 107
Mail: Praveen.srrec@gmail.com
*&---------------------------------------------------------------------*
*& Report ZITAB_WITH_HEADER_MANIPULATION *
*& *
*&---------------------------------------------------------------------*
*& *
*& *
*&---------------------------------------------------------------------*
REPORT ZITAB_WITH_HEADER_MANIPULATION .
REPORT ZITAB_WITHOUT_HEADER .
DATA: BEGIN OF HEADER,
BOOKNO(4) TYPE N,
BOOKNAME(5) TYPE C,
BOOKADD(10) TYPE C,
END OF HEADER.
DATA: BODY LIKE HEADER OCCURS 0.
HEADER-BOOKNO = '1209'.
HEADER-BOOKNAME = 'SAP'.
HEADER-BOOKADD = 'HYD'.
APPEND HEADER TO BODY.
CLEAR HEADER.
HEADER-BOOKNO = '1235'.
HEADER-BOOKNAME = 'ABAP'.
HEADER-BOOKADD = 'PUNJAGUTTA'.
APPEND HEADER TO BODY.
CLEAR HEADER.
HEADER-BOOKNO = '1236'.
HEADER-BOOKNAME = 'ERP'.
HEADER-BOOKADD = 'KOTI'.
APPEND HEADER TO BODY.
CLEAR HEADER.
LOOP AT BODY INTO HEADER.
WRITE:/ HEADER-BOOKNO,HEADER-BOOKNAME,HEADER-BOOKADD.
ENDLOOP.
Created by Pavan Page 38 of 107
Mail: Praveen.srrec@gmail.com
*&---------------------------------------------------------------------*
*& Report ZITAB_WITH_HEADER *
*& *
*&---------------------------------------------------------------------*
*& *
*& *
*&---------------------------------------------------------------------*
REPORT ZITAB_WITH_HEADER .
ENDLOOP.
SKIP 2.
CLEAR ITAB.
WRITE:/ ITAB-BOOKNO,ITAB-BOOKNAME,ITAB-BOOKADD.
SKIP 2.
FREE ITAB.
WRITE:/ ITAB-BOOKNO,ITAB-BOOKNAME,ITAB-BOOKADD.
SKIP 2.
REFRESH ITAB.
LOOP AT ITAB.
WRITE:/ ITAB-BOOKNO,ITAB-BOOKNAME,ITAB-BOOKADD.
ENDLOOP.
Initialization event is to set the initial values for the output that we get for the
report.
Low value – here refers to the low value for the primary key.
High value – here refers to the highest value u need.
Sign – can be either ‘Inclusive’ or ‘exclusive’.
Option – can be ‘BT (between), GT(greater than), LT( lesser than).
Now after declaring your internal table declare these values in your report
INITIALIZATION.
EMP_NO-LOW = '1000'.
EMP_NO-HIGH = '4000'.
EMP_NO-SIGN = 'I'. “ HERE ‘I’ REPRESENTS INTEGER
EMP_NO-OPTION = 'BT'.
APPEND EMP_NO.
CLEAR EMP_NO.
AT SELECTION-SCREEN.
START-OF-SELECTION.
SELECT * FROM ZEMP_DETAILS1 INTO TABLE ITAB WHERE EMPNO IN EMP_NO.
WRITE:/5 SY-ULINE(35).
LOOP AT ITAB.
WRITE:/5 SY-VLINE, 6 ITAB-EMPNO, 17 SY-VLINE,18 ITAB-EMPNAME,28 SY-VLINE
, 39 SY-VLINE.
ENDLOOP.
To get the output in the table format we use 2 system variables such as SY-
ULINE to draw the horizontal line and SY-VLINE to draw the vertical line.
To get the header at the top of every page we use TOP-OF-PAGE event .
TOP-OF-PAGE.
WRITE:/5 SY-ULINE(35).
WRITE:/5 SY-VLINE,6 'EMPNO',17 SY-VLINE,18 'EMPNAME',28 SY-VLINE,
39 SY-VLINE.
WRITE:/5 SY-ULINE(35).
we need to declare In the first line of the program and at the end of each and every
page we can set the page no by using the END-OF PAGE event and at the end of
selection we can set some message telling that the output is closed in the END-
OF-SELECTION event.
END-OF-PAGE.
WRITE:/5 SY-ULINE(35).
WRITE:/ 'THE PAGE NO IS',SY-PAGNO.
END-OF-SELECTION.
WRITE:/ 'THE RECORD IS CLOSED'.
Up to here what we have performed is Classical report the events upto here same
as interactive
1. At line Selection
2. At PFn.
Created by Pavan Page 41 of 107
Mail: Praveen.srrec@gmail.com
3. At User-command.
AT LINE-SELECTION event is triggered by double-clicking on the output value
to get the drilldown report.
AT LINE-SELECTION.
IF SY-LSIND = 1.
SELECT * FROM ZEMP_DETAILS1 INTO TABLE ITAB WHERE EMPNO = ITAB-EMPNO.
LOOP AT ITAB.
WRITE:/5 SY-VLINE,6 ITAB-EMPNO,17 SY-VLINE,18 ITAB-EMPNAME,28 SY-VLINE,
39 SY-VLINE.
ENDLOOP.
WRITE:/5 SY-ULINE(35).
ELSEIF SY-LSIND = 2.
SELECT * FROM ZCOMP_DETAILS INTO TABLE JTAB.
LOOP AT JTAB.
WRITE:/5 SY-VLINE,6 JTAB-COMP_NO,17 SY-VLINE,18 JTAB-COMP_NAME,28
SY-VLINE,
39 SY-VLINE.
ENDLOOP.
WRITE:/5 SY-ULINE(35).
ENDIF.
INITIALIZATION.
EMP_NO-LOW = '1000'.
EMP_NO-HIGH = '4000'.
EMP_NO-SIGN = 'I'.
EMP_NO-OPTION = 'BT'.
APPEND EMP_NO.
CLEAR EMP_NO.
AT SELECTION-SCREEN.
START-OF-SELECTION.
Created by Pavan Page 42 of 107
Mail: Praveen.srrec@gmail.com
LOOP AT ITAB.
WRITE:/5 SY-VLINE, 6 ITAB-EMPNO, 17 SY-VLINE,18 ITAB-EMPNAME,28 SY-VLINE
, 39 SY-VLINE.
ENDLOOP.
TOP-OF-PAGE.
WRITE:/5 SY-ULINE(35).
WRITE:/5 SY-VLINE,6 'EMPNO',17 SY-VLINE,18 'EMPNAME',28 SY-VLINE,
39 SY-VLINE.
WRITE:/5 SY-ULINE(35).
END-OF-PAGE.
WRITE:/5 SY-ULINE(35).
WRITE:/ 'THE PAGE NO IS',SY-PAGNO.
END-OF-SELECTION.
WRITE:/ 'THE RECORD IS CLOSED'.
AT LINE-SELECTION.
IF SY-LSIND = 1.
SELECT * FROM ZEMP_DETAILS1 INTO TABLE ITAB WHERE EMPNO = ITAB-EMPNO.
LOOP AT ITAB.
WRITE:/5 SY-VLINE,6 ITAB-EMPNO,17 SY-VLINE,18 ITAB-EMPNAME,28 SY-VLINE,
39 SY-VLINE.
ENDLOOP.
WRITE:/5 SY-ULINE(35).
ELSEIF SY-LSIND = 2.
SELECT * FROM ZCOMP_DETAILS INTO TABLE JTAB.
LOOP AT JTAB.
WRITE:/5 SY-VLINE,6 JTAB-COMP_NO,17 SY-VLINE,18 JTAB-COMP_NAME,28
SY-VLINE,
39 SY-VLINE.
ENDLOOP.
WRITE:/5 SY-ULINE(35).
ENDIF.
After executing this report if you click on the output any name or number
then it will take you to the another line for which you have defined coding as
above
AT PF7.
Created by Pavan Page 43 of 107
Mail: Praveen.srrec@gmail.com
In the application tool bar it provides option in output such as open, back, exit,
folder etc,
*&---------------------------------------------------------------------*
*& Report ZSMALL_INTERACTIVE_REPORT *
*& *
*&---------------------------------------------------------------------*
*& *
*& *
*&---------------------------------------------------------------------*
INITIALIZATION.
EMP_NO-LOW = '1000'.
EMP_NO-HIGH = '4000'.
EMP_NO-SIGN = 'I'.
EMP_NO-OPTION = 'BT'.
APPEND EMP_NO.
CLEAR EMP_NO.
AT SELECTION-SCREEN.
IF EMP_NO-LOW < '1000'.
MESSAGE S000(ZPA1).
ELSEIF EMP_NO-HIGH > '4000'.
MESSAGE S001.
ENDIF.
START-OF-SELECTION.
LOOP AT ITAB.
WRITE:/5 SY-VLINE,6 ITAB-EMPNO,17 SY-VLINE,18 ITAB-EMPNAME,28 SY-VLINE,
39 SY-VLINE.
HIDE: ITAB-EMPNO.
ENDLOOP.
WRITE:/5 SY-ULINE(35).
TOP-OF-PAGE.
WRITE:/5 SY-ULINE(35).
WRITE:/5 SY-VLINE,6 'EMPNO',17 SY-VLINE,18 'EMPNAME',28 SY-VLINE,
39 SY-VLINE.
WRITE:/5 SY-ULINE(35).
END-OF-PAGE.
WRITE:/5 SY-ULINE(35).
Created by Pavan Page 56 of 107
Mail: Praveen.srrec@gmail.com
END-OF-SELECTION.
AT LINE-SELECTION.
IF SY-LSIND = 1.
SELECT * FROM ZEMP_DETAILS1 INTO TABLE ITAB WHERE EMPNO = ITAB-EMPNO.
LOOP AT ITAB.
WRITE:/5 SY-VLINE,6 ITAB-EMPNO,17 SY-VLINE,18 ITAB-EMPNAME,28 SY-VLINE,
39 SY-VLINE.
ENDLOOP.
WRITE:/5 SY-ULINE(35).
ELSEIF SY-LSIND = 2.
LOOP AT JTAB.
WRITE:/5 SY-VLINE,6 JTAB-COMP_NO,17 SY-VLINE,18 JTAB-COMP_NAME,28
SY-VLINE,
39 SY-VLINE.
ENDLOOP.
WRITE:/5 SY-ULINE(35).
ENDIF.
AT PF7.
IF SY-LSIND = 1.
LOOP AT ITAB.
WRITE:/5 SY-VLINE,6 ITAB-EMPNO,17 SY-VLINE,18 ITAB-EMPNAME,28 SY-VLINE,
39 SY-VLINE.
ENDLOOP.
WRITE:/5 SY-ULINE(35).
ELSEIF SY-LSIND = 2.
LOOP AT JTAB.
WRITE:/5 SY-VLINE,6 JTAB-COMP_NO,17 SY-VLINE,18 JTAB-COMP_NAME,28
SY-VLINE,
39 SY-VLINE.
ENDLOOP.
WRITE:/5 SY-ULINE(35).
ENDIF.
AT USER-COMMAND.
IF SY-UCOMM = '0001'.
Created by Pavan Page 57 of 107
Mail: Praveen.srrec@gmail.com
IF SY-LSIND = 1.
LOOP AT ITAB.
39 SY-VLINE.
ENDLOOP.
WRITE:/5 SY-ULINE(35).
ELSEIF SY-LSIND = 2.
LOOP AT JTAB.
WRITE:/5 SY-VLINE,6 JTAB-COMP_NO,17 SY-VLINE,18 JTAB-COMP_NAME,28
SY-VLINE,
39 SY-VLINE.
ENDLOOP.
WRITE:/5 SY-ULINE(35).
ENDIF.
ENDIF.
Created by Pavan Page 58 of 107
Mail: Praveen.srrec@gmail.com
If you need to find the logical database for a table name, you can used SE36 -
Logical Database Builder.
Steps:-
Go to transaction SE36
Logical databases are special ABAP programs that retrieve data and make it
available to application programs. The most common use of logical databases is
still to read data from database tables and linking them to executable ABAP
programs while setting the program contents. You edit logical databases using the
Logical Database Builder in the ABAP Workbench.
However, since Release 4.5A, it has also been possible to call logical databases
independently of this tool using the function module LDB_PROCESS. This allows
you to call several logical databases from any ABAP program, nested in any way.
It is also possible to call a logical database more than once in a program, if it has
been programmed to allow this. This is particularly useful for executable
programs, allowing them to use more than one logical database and process a
database more than once.
Logical databases contain Open SQL statements that read data from the database.
You do not therefore need to use SQL in your own programs. The logical database
reads the program, stores them in the program if necessary, and then passes them
Created by Pavan Page 59 of 107
Mail: Praveen.srrec@gmail.com
The data structure in a logical database is hierarchical. Many tables in the R/3
System are linked to each other using foreign key relationships. Some of these
dependencies form tree-like hierarchical structures. Logical databases read data
from database tables that are part of these structures.
Created by Pavan Page 60 of 107
Mail: Praveen.srrec@gmail.com
A logical database can read the lines of these tables one after the other into an
executable program in a sequence which is normally defined by the hierarchical
structure. The term logical database is sometimes used to mean not only the
program itself, but also the data that it can procure.
Logical databases serve mainly to reuse predefined functionality for reading data
from database tables, but they can also be programmed for other tasks. To keep the
application logic of application programs free from technical details, logical
databases can perform the following tasks:
The individual programs do not then need to know the exact structure of the
relevant database tables (and especially not their foreign key relationships).
Instead, they can rely on the logical database to read the database entries in the
right order during the GET event.
Logical databases have a built-in selection screen. Therefore, all of the programs
that use the logical database have the same user interface.
Authorization checks for central and sensitive data can be programmed centrally
in the database to prevent them from being bypassed by simple application
programs.
· Improving Performance
If you want to improve response times, logical databases permit you to take a
number of measures to achieve this (for example, using joins instead of nested
SELECT statements). These become immediately effective in all of the
application programs concerned and save you from having to modify their source
code.
Created by Pavan Page 61 of 107
Mail: Praveen.srrec@gmail.com
Give the second node which should be hierarchically under the root node and enter
the short description with the database table Name
Created by Pavan Page 65 of 107
Mail: Praveen.srrec@gmail.com
Now uncomment your select-options and give any name for your select option
Created by Pavan Page 71 of 107
Mail: Praveen.srrec@gmail.com
Now go back to your initial screen and select your table and then Select Source
code
Created by Pavan Page 73 of 107
Mail: Praveen.srrec@gmail.com
Now check whether the tables you have defined are uncommented or not??
Created by Pavan Page 75 of 107
Mail: Praveen.srrec@gmail.com
Now uncomment the SQL statement and enter the field and the database table
name according to the logical database builder.
Created by Pavan Page 78 of 107
Mail: Praveen.srrec@gmail.com
Now go back to includes screen and in the same way as done above for employee
details now double click on Company details and uncomment the SQL statements
then SAVE, CHECK and ACTIVATE the screen.
Click BACK and SAVE, CHECK & ACTIVATE the screen until u reach the
main screen and SAVE the logical database.
In order to generate the query report, first construct the logical database and
generation of query report is as follows.
First u need to create the USER and generate the INFOSET, in turn can produce
the Query report.
Created by Pavan Page 79 of 107
Mail: Praveen.srrec@gmail.com
Infoset:
An SAP Infoset (formerly known as a Functional Area) is crucial for ABAP query
usage (in SAP versions 4.6A - onward).
The reason for Info Sets being important is because many R/3 clients find
themselves faced with how to develop useful reports from an application using
20k+ tables. In addition, many clients desire to use third-party reporting tools; i.e.,
Crystal Reports. In this article, we will look at what an R/3 Infoset and how they
relate to Crystal Reports.
1. Knowledge learned in this article can be put to use when:
2. Users require an understanding of how InfoSets are used within SAP R/3
3. Users require an understanding of the various methods of developing
InfoSets
4. Users require an understanding of how InfoSets are used in concert with
Crystal Reports.
Report developers cannot be expected to cull through the thousands of tables and
fields R/3 presents - even from a single logical database. Therefore, some form of
technical shortcut is beneficial. InfoSets, when used with ABAP queries are an
example of an available shortcut. At its simplest definition, an InfoSet determines
which tables and/or fields within a table, queries may reference. To accomplish
this, InfoSets are typically based upon table joins or logical databases (LDBs).
Therefore, an Infoset is, for lack of a better term, a form of Ubber View (Super
View).
Created by Pavan Page 80 of 107
Mail: Praveen.srrec@gmail.com
Click on Create
Button
Created by Pavan Page 82 of 107
Mail: Praveen.srrec@gmail.com
Go back to User Group initial screen and then click on Assign users and InfoSets
Now go back to your user screen from there follow this menu path
Environment InfoSets
Or go to Tcode SQ02
Created by Pavan Page 86 of 107
Mail: Praveen.srrec@gmail.com
Created by Pavan Page 87 of 107
Mail: Praveen.srrec@gmail.com
Now on the left hand side u can find the fields in the dictionary and on the right
hand side the field required for the Query report. Drag and drop the field you want
for the Query report and click on the GENERATE button.
Created by Pavan Page 98 of 107
Mail: Praveen.srrec@gmail.com
Now select the data fields that you want to appear in the query report and click on
the SAVE button. Then Click on the TEST button.
Created by Pavan Page 105 of 107
Mail: Praveen.srrec@gmail.com