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: 

what is secon..........

Former Member
0 Kudos
388

Hi,

What is secondary list ?, how can we creat it?

1 ACCEPTED SOLUTION

Former Member
0 Kudos
174

Secondary list is nothing but interactive list(detail list for Basic list).

We can create Secondary lists by using normal reports as well as ALV reports

By using Normal Reports

AT LINE-SELECTION.

AT USER-COMMAND.

Thanks

Sekhar

5 REPLIES 5

Former Member
0 Kudos
175

Secondary list is nothing but interactive list(detail list for Basic list).

We can create Secondary lists by using normal reports as well as ALV reports

By using Normal Reports

AT LINE-SELECTION.

AT USER-COMMAND.

Thanks

Sekhar

anversha_s
Active Contributor
0 Kudos
174

hi,

in simple words..

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

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.

hope this helps you..

rgds

Anver

<b><i>if hlped kindly mark points</i></b>

Former Member
0 Kudos
174

whant more briefly

0 Kudos
174

hi,

In simple words.

In drill down reporting, you have one primary list, say a list of materials. If you click on one of the materials in the primary list, a secondary list is generated with the details of that material. This is how it works.

rgds

Anver

Former Member
0 Kudos
174

Hi,

I am new to industry specific solutions Is-oil&gas .could you plz send me transaction codes and tables based on Is-oil& gas on creating purchase order ,sales order etc.....