How to Create an Interactive List based on the selection
criteria specified for the customer number for displaying
the customer information on the basic list, their
corresponding order details on the secondary list.
Plz specify the coding details.

Regards,
Rahul

Answer Posted / malli.gontla

Hi rahul, i think u r newer and also learning abap.

i am giving the idea to u. u just follow my points.

in selection criteria u use select-options statement
eg: select-options <field> for <table-field>
here <field> is name of field and
<table-field> is name of table filed( ur field customer no)

u write a query for basic list in start-of-selection block.
and u must write hide statement after first sql query only.
hide is mainly used to display secondary lists. then u write
write At line-selection event for secondary lists.
in this event u write sy-lsind=1 for first secondary list
and for second secondary list sy-lsind=2. so on. up to u can
write 20 secondary lists, but only one basic list.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is PS structure

1623


What are the screen elements.

516


What are the various types of selection screen event?

563


How to create a button in selection screen ?

1480


What is a database view? : abap data dictionary

639






What are the steps to be followed to set lockobjects? : sap abap data dictionary

620


What are the data types of the external layer? : abap data dictionary

786


Is logo in script 1st stored as tiff format before uploading or in jpeg format?and where is that stored after uploading?

1588


What is an update type with reference to a match code id?

557


Interactive Report that list purchase order details of a vendor. When the user double clicks on material number it shows detail list with fields matkl, meins, brgew, ntgew, gewei.The selection screen consist of sales organisation, distribution channel and material number. plz mention the detail coding Tahnks, Rahul

3251


How will you link form with the event driven in sap scripts?

524


What is the difference between skip and reserve?

601


What are the system fields? Explain?

630


if while coding power goes off , how to retrieve the codes?

1618


Is there any BAPI to retrieve list of customers and their sales areas i.e., Cust No, Distr Channel and Division for all the customers.

1574