Step 1 : create a local class with methods which are proportional to required detailed list levels.
Observe that in cl_salv_events_table in Aliases you observe Double-Click event .In this example I took Two Detailed lists.
Double-Click on the row and you will observe that two parameters Row , Column is Displayed.
Step2: Three Salv Classes are neccessarly taken for Salv Interactive Reports.
1.) CL_SALV_TABLE,
2.)CL_SALV_EVENTS_TABLE,
3.)CL_SALV_SELECTIONS.
// For any other Addings to SALV Properties REFER DEMO_SALV in SE38 Transaction.
Step3: Choose The Required Databases to fetch data and display in detailed lists .
Fetch the Data from Database Table and display it using salv factory method with reference object
for cl_salv_table and then create Event object with reference to cl_salv_events_table and call the method get_event present in cl_salv _table.
Step4: Now Declare The Implementation Part of the Local Class and Write the Neccessary Code in the Methods In Class Implementation.
Sample Code Snippet is shown below.
Similarly The Code For Second and upto 18 remaining Detailed Lists can be displayed With Respective Methods.
Key Points : Row , Column Parameters Must be used Effectively.
No comments:
Post a Comment