2006 Aug 23 4:16 PM
Hi All ,
Am using two function modules for Alv i.e FM : 'REUSE_ALV_FIELDCATALOG_MERGE'
FM : 'REUSE_ALV_GRID_DISPLAY'
The program runs fine but with a problem , i could not display the 'SAVE VARIENT ICON' after the user selects fields for a change lay out icon.Could any one suggest wht might be the problem ??
Thanks In Advance ,
Vin.
2006 Aug 23 4:18 PM
Hi,
Use the I_SAVE parameter to the function module REUSE_ALV_GRID_DISPLAY with the value 'A'.
This will allow to save the variant..
Thanks,
Naren
Hi,
Use the I_SAVE parameter to the function module REUSE_ALV_GRID_DISPLAY with the value 'A'.
This will allow to save the variant..
Thanks,
Naren
2006 Aug 23 4:18 PM
Hi,
Use the I_SAVE parameter to the function module REUSE_ALV_GRID_DISPLAY with the value 'A'.
This will allow to save the variant..
Thanks,
Naren
2006 Aug 23 4:19 PM
2006 Aug 23 4:22 PM
Hi,
Please check the demo program BALVST03_GRID. It contains ssame feature.
You have to pass X to the import parameter I_SAVE in the function module REUSE_ALV_GRID_DISPLAY.
Thanks,
Ramakrishna
2006 Aug 23 4:29 PM
hi
Use the import paramter I_SAVE(Variants can be saved) which by default is SPACE. pass 'X' into this, which will display the icon and Variants can be saved.
Hope this helps.
Regards,
Richa
2006 Aug 23 4:40 PM
Hi,
Its seems to be working for a single use of
FM : REUSE_ALV_GRID_DISPLAY.
But in my case am using like this
IF d_sales = 'X'.
call function 'REUSE_ALV_GRID_DISPLAY'
else.
call function 'REUSE_ALV_GRID_DISPLAY'.
in this case the i_save = 'X' doesnot seem to be working ..any idea ??
Thxs,
vin
2006 Aug 23 4:44 PM
Please make sure that you are also passing the variant structure with the sy-repid and sy-uname in it .
<b> DATA: VARIANT TYPE DISVARIANT.
VARIANT-REPORT = SY-REPID.
VARIANT-USERNAME = SY-UNAME.</b>
* Call ABAP List Viewer (ALV)
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
IT_FIELDCAT = FIELDCAT
<b> IS_VARIANT = VARIANT
I_SAVE = 'X'</b>
TABLES
T_OUTTAB = I_ALV.
Regards,
Rich Heilman
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |