Application Development 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: 

List

Former Member
0 Kudos
181

what is difference between Basic list, Primary list & Selection Screen?

4 REPLIES 4

Former Member
0 Kudos
76

what is difference between Basic list, Primary list & Selection Screen?

0 Kudos
76

Hi,

In the R/3 System, you implement interactive reporting by:

Creating ABAP report programs

ABAP report programs generate basic lists where users can select lines, or trigger commands with menu options, function keys, or pushbuttons, in order to display further information in one or more secondary lists.

Submitting other ABAP report programs

Calling transactions

Calling screens

check this...

http://help.sap.com/saphelp_erp2004/helpdata/en/9f/dba2eb35c111d1829f0000e829fbfe/frameset.htm

http://help.sap.com/saphelp_erp2004/helpdata/en/d2/cb41a0455611d189710000e8322d00/frameset.htm

http://help.sap.com/saphelp_erp2004/helpdata/en/d2/cb408a455611d189710000e8322d00/frameset.htm

for example:-

REPORT demo_list_interactive_1.

START-OF-SELECTION.

WRITE: 'Basic List, SY-LSIND =', sy-lsind.

AT LINE-SELECTION.

WRITE: 'Secondary List, SY-LSIND =', sy-lsind.

When you run the program, the basic list appears. The GUI status automatically permits the function Choose (F2). When you choose a list line, the system triggers the AT LINE-SELECTION event, and the first detail list overlays the basic list. This list has no standard page header. It also inherits the GUI status of the basic list. By choosing Choose, the user can now create up to 19 of these lists. Trying to produce more than 19 lists results in a runtime error. Using Back , the user can return to previous lists.

<b>more elorate...</b>

for example in the report you display details of sales order like sales order number ,material ....

which is basic list

if you click the material display the details of material in the another list which is called secondary list

which is find out using sy-lsind

At selectio screen output is used for modifying the selection screen parameters. this event is triggered when the user performs any action (like pressing any radiobutiion, pressing enter...)

at selection screen is used for validating the values entered in the selection-screen.

Regards

Former Member
0 Kudos
76

basic list and primary list both or same.

when program exeuted is called baseic list.

intractive report.

1 basic list.

20 secandary list

selection screen is selection screen property.

example

selection screen begin of block

end of block

Answer

2.1 Classical Reports

2.2 Interactive Reports

2.3 Logical Database Reports

2.4 ABAP Query Reports

2.5 Report Writer

2.6 ABAP Report Types

2.7 Links

How many types of reports are there in ABAP and what is the difference between them?

There are 2 type of reports. They are:

Interactive report

Classic reports

In classic reports,we can see the output in single list where as in interactive reports we can see the output in multiple list.

[Edit section] Answer

In ABAP, there are a total of 7 types of reports. They are:

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)

[Edit section] Classical Reports

These are the most simple 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.

Events In Classical Reports.

INTIALIZATION: This event triggers before selection screen display.

AT-SELECTION-SCREEN: This event triggers after proccesing user input still selection screen is in active mode.

START OF SELECTION: Start of selection screen triggers after proceesing selection screen.

END-OF-SELECTION : It is for Logical Database Reporting.

[Edit section] Interactive Reports

As the name suggests, the user can Interact with the report. We can have a drill down into the report data. For example, Column one of the report displays the material numbers, and the user feels that he needs some more specific data about the vendor for that material, he can HIDE that data under those material numbers.

And when the user clicks the material number, another report (actually sub report/secondary list) which displays the vendor details will be displayed.

We can have a basic list (number starts from 0) and 20 secondary lists (1 to 21).

Events associated with Interactive Reports are:

AT LINE-SELECTION

AT USER-COMMAND

AT PF<key>

TOP-OF-PAGE DURING LINE-SELECTION.

HIDE statement holds the data to be displayed in the secondary list.

sy-lisel : contains data of the selected line.

sy-lsind : contains the level of report (from 0 to 21)

Interactive Report Events:

AT LINE-SELECTION : This Event triggers when we double click a line on the list, when the event is triggered a new sublist is going to be generated. Under this event what ever the statements that are been return will be displayed on newly generated sublist.

AT PFn: For predefined function keys...

AT USER-COMMAND : It provides user functions keys.

TOP-OF-PAGE DURING LINE-SELECTION :top of page event for secondary list.

[Edit section] Logical Database Reports

Logical database is another tool for ABAP reports. Using LDB we can provide extra features for ABAP reports.

While using LDB there is no need for us to declare Parameters.

Selection-screen as they will be generated automatically.

We have to use the statement NODES in ABAP report.

If there are many tables the Performance will be slow as all the table data will be read from top node to bottom node .

[Edit section] ABAP Query Reports

ABAP query is another tool for ABAP. It provides efficency for ABAP reports. These reports are very accurate.

Transaction Code : SQ01

The advantage with ABAP QUERY is logic required for classic & interactive reports system design automatically 80%.

For ABAP QUERY handle these

SQ01 ; QUERY

SQ02 : INFOSET OR FUNCTIONAL AREA

SQ03: USER GROUP.

[Edit section] Report Writer

Key Concept :

Super users and end users can use Report Painter/Report Writer tools to write their own reports.

Giving them the ability to report on additional fields at their discretion shifts the report maintenance burden to them, saving SAP support groups time and effort normally spent creating and maintaining the reports.

Instead of using ABAP code to write a report in FI and CO, many users build a Report Painter/ Report Writer library using transaction MC27.

However, this workaround has some drawbacks. Little known transaction GRCT solves these problems in most cases, and eliminates the need to use transaction MC27.

[Edit section] ABAP Report Types

ABAP report types are those ones available in some report's attributes screen, i.e. :

Executable program

Function group (containing function modules)

Include

Interface pool

Class pool

Module pool

Subroutine pool

Also ALV means ABAP List Viewer. Most convenient way to use it is through reuse library (cf. transaction se83) available from release 4.6 of SAP R/3.

ALV is available in two modes: list and grid. List mode is good old list processing with standard functionnalities, and grid mode is using a new OCX object displaying grids.

Former Member
0 Kudos
76

Hi,

Primary List & basic List Both are same in reports.

Selection screen is the place where u give the select-options,

like low value, high value for a particular index field in the table.

you validate the select-options in the event called

AT Selection-Screen...

This is simple,

<b>Reward if useful.</b>