IN ALV Report 'SAVE LAYOUT' option missing
Dear All,
I have created one report in ALV GRID using ABAP OBJECTS(Using class CL_GUI_CUSTOM_CONTAINER and
CL_GUI_ALV_GRID).But in output when i click on change layout option i am not getting SAVE layout option.
I have already passed I_SAVE parameter = 'A' while calling metod SET_TABLE_FOR_FIRST_DISPLAY. But i didnt worked.
Please do needful.
Regards,
Mayank
Hi,
You can manage display variants by using parameters, is_variant and i_save of set_table_for_first_display. Here are options for variant handling. <structure_name> is the variant-defining structure of type DISVARIANT. The field report in this structure should contain the value of sy-repid.
Hope this helps. Reward points if helpful.
Thanks,
Balaji
Similar Messages
-
Standard Report's Layout not displaying 'SAVE LAYOUT' Option
Dear All,
Using Tcode VF44, i am getting output list.But in that list when i click on select layout option from toolbar its not displaying 'save layout' Option. can anybody give me soln for the same.How can i get that option?
Regards,
MayankHI,
No yaar, This one is standard report and i am getting 'SAVE LAYOUT' option in 300 but not in Production Server.There must be settings for this. If u hv any idea ?
Regards,
Mayank -
Standard Report not Displaying 'SAVE LAYOUT' Option
Dear All,
Using Tcode VF44, i am getting output list.But in that list when i click on select layout option from toolbar its not displaying 'save layout' Option. can anybody give me soln for the same.How can i get that option?
Regards,
Mayankhi ,
it depends on the user parameters.
U have to identify the parameter id and u have to activate it in user maintainance partameters .
su01 -> parameters.
ex . parameter id -> SD_VARIANT_MAINTAIN -> X
so u can save layout now.
regards,
manikandan -
HOW TO ACTIVATE SAVE LAYOUT OPTION IN VA05 T CODE
Dear Genios,
i am facing probel to activate the save layout option in any sap standard reports.
I want to create & save a layout in standard report va05.
please help me for the same.
Regards
Rabin NayakGo to SU01/SU3 ( to ur ID) select parameters tab and then scrol down and press F4 select SD_VARIANT_MAINTAIN and in the next field select A or X then try it will allow u to save ur own variant.(the save icon come to screen variant selection screen)
More on this:
By default, SAP user can't save report layout in some SAP SD t-code such as: VA05 and SDO1. The 'save' menu will be grey. But, you actually can save the layout by adding a parameter in your SAP user profile. You do that with t-code: SU3. Go to 'parameters' tab and add new parameter id, which is: SD_VARIANT_MAINTAIN'. The parameter value for that is 'A'. Then save your user profile and try again to save layout in VA05 or SDO1 t-code.
Regards,
Sanjeev -
Download alv report using layout variant in background
Hi All,
I want to download an Alv report using layout varaint in background job.
can any one please help me.
i.e...
I am facing a problem in downloading a text file to the Application server.
My requirement is, when the user downloads a file with the layout variant, the file should have only the columns which was selected in the variant.
Will rewards to helpfull ans
regards
Chetanhey seshu,
I am facing a problem in downloading a text file to the Application server.
My requirement is, when the user downloads a file with the layout variant, the file should have only the columns which was selected in the variant. -
Print or download ALV report with sort options
Dear friends,
How i can download into excel or print ALV report with sort options, like customer name column with similar values should not repeat in the print out or download file.
Regards,
Praveen LoboHi Praveen,
Use this code, its working:-
*FOR SORTING DATA
DATA : it_sort TYPE slis_t_sortinfo_alv,
wa_sort TYPE slis_sortinfo_alv.
* SORT W.R.T. CUSTOMER NAME
wa_sort-spos = 1.
wa_sort-fieldname = 'NAME1'. "field customer name
wa_sort-tabname = 'IT_KNA1'. "internal table with records
wa_sort-up = 'X'.
APPEND wa_sort TO it_sort.
CLEAR wa_sort.
"this will sort the ALV o/p for customer with same name
"now the name will not be repeated
"records with same name will be grouped
* DISPLAY RECORDS IN ALV GRID
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid "report id
it_fieldcat = it_field "field catalog
it_sort = it_sort "sort info
TABLES
t_outtab = it_kna1 "internal table
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
ENDIF.
Hope this solves your problem.
Thanks & Regards,
Tarun Gambhir
Edited by: Tarun Gambhir on Dec 31, 2008 1:13 PM -
'Save layout' button missing in the ALV report layout screen
Hi Friends,
In one of our ALV report the 'save layout' button is missing in the report output screen.i have used the OO concept for creating the ALV output and not the function module.I have attached the code below used for creating the ALV grid.
CREATE OBJECT alv_grid
EXPORTING i_parent = g_container_2.
CALL METHOD alv_grid->set_table_for_first_display
exporting
i_structure_name = 'PA0002'
is_layout =
CHANGING
it_outtab = gt_outtab
it_fieldcatalog = wa_fieldcat.
But i'm not able to trace why the 'save layout' button is missing in the output.Can anyone of you help me in sorting out this problem.
Thanks and Regards,
Vadivel.Pass <u><i><b>A to I_SAVE</b></i></u> parameter. That will give the options to the user to save the layout outs.
I_SAVE = SPACE
Layouts cannot be saved.
I_SAVE = 'U'
Only user-defined layouts can be saved.
I_SAVE = 'X'
Only global layouts can be saved.
I_SAVE = 'A'
Both user-defined and global layouts can be saved.
Regards,
Ravi
Note : Please mark all the helpful answers
Message was edited by: Ravikumar Allampallam -
SAVE Layout Option in ALV list Report
Hi Experts,
Is it possible to SAVE the layout option for Block ALV list Reports?
Thanks in Advance,
Sivak.Hi,
It is not possible to save layout in BLock ALV display but possible to change layout. There is no parameter to save. It is not possible to store the layout as it has several structure.
Thanks & Regards
Rocky -
Z ALV with Default Setting in save layout option disabled
Hi friends! I need a little help. I have a Z ALV and we trying to save layout, but the option "Default Setting" is grey and I cannot use this. How can I enable this option in save layout?
Thanks!!hi,
there is a field in the FM REUSE_ALV_GRID_DISPLAY HAVE export parameters "I_SAVE" PASS 'X' to it. I think it will work.
regards,
Edited by: ZAHID HAMEED on Oct 26, 2011 10:41 PM -
Save layout option for Block Alv
Hi,
Small Question,
Is there any way to enable Save layout(Ctrl+F10) option for Block ALV?As i cannot see any option to do so with Reuse_*Block like i_save in Grid and For list ALVs...FM.And its by default it is Disable.
Any Hints?
Cheers,
Amit.That's what i already investigated(Small).
wanted Just to confirm.Anyways thanks.
@Gautham:I already found that link([And this also |/message/702997#702997 [original link is broken];) but thought After 2 and
half yrs Vijay found any solution and would land with any solution as always
Anyways Thanks Vijay And Gautham.
Cheers,
Amit. -
ALV report - copy layout to another user
Hello,
I have a question about ALV reports.
In ALV we have option to select layout and save it by user-specific.
How to copy this layout to another user?
Is there some function/Bapi?
Thanks in advance,
MichalHi Michael,
Here are the steps I documented for managing this procedure:
First Step is to READ the Layout into the Program
The parameters for the layout can be found in table LTDX
Goto SE37 and enter: LT_DBDATA_READ_FROM_LTDX
When (READ) you will input information for the following parameters:
Report Name
Handle
Log Group
User
Variant
Type
An example is shown below:
<screen shots didn't load in my response> email if you'd like the document with screen shots>
Execute.
Now our next step is to WRITE the information from the program into table: LTDX
While at the Function Builder Screen enter the new function module: LT_DBDATA_WRITE_TO_LTDX
When you (WRITE) you will input information for the following parameters:
Report Name
Handle
Log Group
User
Variant
Type
When completed, your input screen for (WRITE) should look like the screen below:
<screen shots didn't load in my response> email if you'd like the document with screen shots>
IMPORTANT When entering information for IS_VARKEY, remember to use the u201Cnew useru201D ID
When entering information for IS_VARIANT, remember to enter information exactly as found in table LTDX and remember that the parameter: DEPENDVARS may be needed to complete your entry
Now Execute the Function Module. When completed go to table: LTDX and confirm that your new entry has been added.
Pre Checklist:
1.) Capture entries (users) you want to copy from table: LTDX
2.) Make sure you have access to execute function modules/eCATT scripts
3.) Make sure you have table display access (needed to find and validate updates)
If you'd like the documentation with screen shots please reply with your email address.
Cheers,
Robert -
Select layout & save layout button missing in the toolbar
Hi guys,
I've just developed my first ALV using ABAP objects, but the tollbat doesn't contain buttons select &save layout.
what could be worng?
Thanks a lot!
olianLook at ALV display variant related parameters
- is_variant Don't forget to give the report name is_variant-report = sy-repid before calling set_table_for_first_display.
- is_save Give to is_save a value allowing to save variant to get the save icon. (X-standard, A-all, U-user variants, not space)
(Also take a look at [ALV Gird Control (BC-SRV-ALE)|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVALV/BCSRVALV.pdf])
Regards -
How can we create save layout option in grid tool bar
hi,
how can we create select layout option in grid tool bar to save my own layout. if any one knows tell me immediately
thanksHi again,
1. We need to do 1 additional thing.
data : GS_variant TYPE DISVARIANT.
GS_variant-REPORT = sy-repid.
2. while calling pass this parameter also.
IS_VARIANT = GS_variant
It will work now.
3. Moreover, I_SAVE has 3 options.
I_SAVE = SPACE
Layouts cannot be saved.
I_SAVE = 'U'
Only user-defined layouts can be saved.
I_SAVE = 'X'
Only global layouts can be saved.
I_SAVE = 'A'
Both user-defined and global layouts can be saved.
regards,
amit m.
Message was edited by: Amit Mittal -
Hi,
I have created an ALV report using the class CL_GUI_ALV_GRID. The report has a toolbar which allows the layout of the report to be changed. But, it doesn't have any provision to save layouts. How do I enable this functionality?
Any help would be appreciated.
Thanks,
DivyamanHi,
while calling method grid1->set_table_for_first_display
pass parameter i_save = 'A'.
CALL METHOD grid1->set_table_for_first_display
EXPORTING
i_structure_name = 'ZCA0FCSTFTOP'
is_layout = grid_layout
is_variant = s_variant
i_save = 'A'
CHANGING
it_outtab = t_zca0fcstftop
it_fieldcatalog = fieldcat.
regards,
vikas.
plz reward if helpful... -
ALV Report Changed Layout Cannot be saved .
IN an ALV report if i changed the layout with selected fields .i cannot save it
the save button on standard toll bar is disiabled
as well as menu items to save the laout ...
i can only chane the layout..
..please guide me in how to allow the end user to save the layout .....hi Vijay,
when you call the ALV FM, beware of importing paramter i_save:
CALL FUNCTION 'REUSE_ALV_...
i_save = 'A'
hope this helps
ec
Maybe you are looking for
-
1st generation iPod making computer shut down since Tiger
Dear Gang, I need some help. Since upgrading to Tiger, my 1st generation iPod now makes my PowerMac G5 shut down the second I put it in the firewire port on the front of the computer. Anyone else had this problem? Any advice? TIA, Mark
-
New laptop won't print wirelessly to a network printer
I just bought a new laptop running windows 7, and it wont print to my photosmart c5580 that is networked and wired through my computer (desktop) and shared running windows XP. I also know that my computer has to be on for this to happen, I also know
-
Music app always opens on iPhone 4/4s
My husband only uses his iPhone 4 (or 4s--not sure which he has) for the phone and the email. Yet every time that he opens his phone, it opens with the music app, or sometimes the map app or the calendar app--three things he doesn't use his phone fo
-
please help
-
Fixed lot size key has no effect on planned orders generated for VC PIRu2019s
Hello gurus, does anyone have an idea why the fixed lot size key is not having an effect on the planned orders that are generated for the Planned Independent Requirements (PIR) for MTO configurable materials. My client is using planning strategy 56.