on 01-31-2013 10:26 AM
Hi Experts.
I working on sap webdynpro abap alv table.Here i have a requirement setting Alv layout at run time.
Requirement is:
I have a drop down by key in first view.and alv table ( with 10 columns ) in second view.When i navigate to the second view alv table we have standard layout with 10 columns for the alv,No user will create 2 layouts (first layout,second layout) in first layout he will have 1-5 columns and second layout will have 5-10 columns.and i want this 2 layouts to come into the drop down by key and he will select one of the layout from the drop down key and navigate to the second view and display the selected alv layout .
so based on the user selection from the drop down the alv layout should be displayed.
Please provide me required information.
Waiting for Reply.
Thanks & Regards.
Krishna.
Hi,
You can create custom button to display the list of column names & ALV events to handle the the layout.
Try the ALV event handling in component controller,
ON_STD_FUNCTION_BEFO
ON_STD_FUNCTION_AFTE
ON_AFTER_CONFIG.
Step 1: You create a node .
Step 2: Populate the node so that it will contain list of fields in both layouts, using which you can manipulate layout in both views.
To user display check box against each column name, so that you can identify which are the column name user has selected.
Step 3: Create a method in component controller and implement it, to enable/disable column.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arun,
I am working on webdynpro abap alv, in my alv table they are 15 columns and i set visible columns as 5 columns and on scrolling i will get remaining columns.But here my requirement is i should freeze my 1 st columns and on scrolling remaining columns should move.
please provided me required information
Waiting fro Reply.
Thanks & Regards
Krishna.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.