Reports 3.0 - Default Layout
Can anyone help me with Reports 3.0? I'm changing the Data Model
and want those changes to be reflected on Layout. (in Reports 2.5
this used to be done via Default Layout, it used to display a
Warning and after acceptance it used to change the layout
according to new Data Model). How to do the same in Reports 3.0?
Thanks in advance
JP
null
JP (guest) wrote:
: Can anyone help me with Reports 3.0? I'm changing the Data
Model
: and want those changes to be reflected on Layout. (in Reports
2.5
: this used to be done via Default Layout, it used to display a
: Warning and after acceptance it used to change the layout
: according to new Data Model). How to do the same in Reports
3.0?
: Thanks in advance
: JP
The only way I've been able to do this is to go into the layout
editor and from the Edit menu pick 'select all' and delete
everything. Then go into the margin and do the same thing. When
you click the 'run' icon you will get a message that says
'You cannot run without a layout. Would you like to create a
default layout?'. Not pretty but it works, hope this helps.
Karen
null
Similar Messages
-
Report Wizard 10g default layout
I have a lot of data columns in my report and want the wizard to generate a default layout 132 columns wide. However the wizard always defaults to only 80 columns and wraps fields and headings to multiple rows. Is there a way to make it default a wide layout so that all fields are on a single row?
In the object navigator, I expanded layout section main and set properties for body section with a wider width of 1200 points(desfault was 512 points) and orientation landscape and then used report wizard to create a default layout and it still defaulted to 80 columns portrait. I also tried character mode with a col size of 132 and it still doesn't work. Has anyone seen report wizard default layout spanning 132 cols or more? I usually get a 80 col default and extend it manuallly to the right.
-
Default Layout for a report running in background
Dear Friends,
I have created a layout for report ME2L and set as default layout (for every user)....
Foreground execution picked the DEFAULT layout but when am trying to execute the same report in background, default layout is not picked but the STANDARD layout is shown in the spool
Could you please suggest me how can i use same report layout for foreground as well as background
Thanks in Advance
AnaAtanu dey,
If you wnat to download excel in back ground
You have to download in application server only.
EX:
DATA : v_filepath(80) VALUE '/data/sapdata/inc/error_log/pme_br/',
c_coma VALUE ',' .
OPEN DATASET v_filepath FOR OUTPUT IN TEXT MODE.
IF sy-subrc EQ 0.
LOOP AT i_errors_bat.
CONCATENATE i_errors_bat-plant c_coma
i_errors_bat-zzvendor c_coma
INTO v_string.
TRANSFER v_string TO v_filepath.
ENDLOOP.
CLOSE DATASET v_filepath.
Note : you can download in presentation server also.
but it requires lot of authorizations and have to use
FTP commands.
Reason is Apllication server in back ground has to
recognize the from which system request came.
Better go for OPEN DATA sets.
Don't forget to reward if useful..... -
Set Default Layout in Reports in a Single Screen
Hi,
We have a report, with one screen. But is is divided into 2 parts. The upper report is showing different data compared to the data shown in the lower report.
We have used OO to display the output. However, when choosing the default layout for each of the section, since it is contained in a single screen, it will only retrieve one default layout for both report. Is it possible to set a default layout, each for the two sections of the report?
Thanks,
LouisseHi
If you're using ALV OO, you can manage several variants in the same report, that means a specific variant for every grid.
It needs to set a different value (for every grid) in the field IS_VARIANT-HANDLE (IS_VARIANT is a parameter of method SET_TABLE_FOR_FIRST_DISPLAY, structurated like DISVARIANT).
data: lt_varuant1 type disvariant.
data: lt_varuant2 type disvariant.
lt_varuant1-report = sy-repid.
lt_varuant1-username = sy-uname.
lt_varuant1-handle = 'ALV1'.
CALL METHOD grid_1->set_table_for_first_display
EXPORTING
IS_VARIANT = lt_variant1
lt_varuant2-report = sy-repid.
lt_varuant2-username = sy-uname.
lt_varuant2-handle = 'ALV2'.
CALL METHOD grid_2->set_table_for_first_display
EXPORTING
IS_VARIANT = lt_variant2
Max -
Clarifications about Query Builder and Additional Default Layout in Reports 6i
1) Is Query Builder re-entrant in Reports 6i? If yes, what is the method. As when I tried to re-eter, it gave me message '..... Syntax Error'.
2) IN 'ADDITIONAL Default Layout', Reports 6i does not allow group field to be
included in 'the fields to be printed' list. It allows but in next tab it omits that group field.
As a result no repeating frame for the Group is generated in the 'ADDITIONAL Default Layout'.
What is wrong?
Pl. guide.
Tariq2) IN 'ADDITIONAL Default Layout', Reports 6i does not allow group
field to be included in 'the fields to be printed' list. It allows
but in next tab it omits that group field.
As a result no repeating frame for the Group is generated in >the 'ADDITIONAL Default Layout'. Not sure I fully understand the question but you seem to be saying that if you select a field in the ADL tool, it doesn't show up in the layout. This can only happen if you select a field in the "Fields" tab from a group you haven't selected in the "Groups" tab.
Ideally Reports shouldn't show these fields since you haven't selected the groups. Unfortunately it does and you need to ensure all the appropriate groups have been selected in the "Groups" tab.
At least it will tell you if you have selected a group but haven't selected any fields for the group or if you haven't selected enough groups for the type of layout you're trying to create. -
Default layout for T code FAGLL03
Hi,
I have created a layout for T code FAGLL03. I want to make this layout as default layout only for me i.e user specific so that whenever I execute this T code, I get the report in that layout.
Is it possible to create user specific layout which wil be defaulted when that T code is executed.
Regards..Hi:
Yes you can easily make default user layout that will be set as default for your own log in only. Please execute FAGLL03 ...once report is executed, set you layout as per your desire and in order to make it user default please go to Menu...Settings...save....there you will have to specif name starting with / and on the same screen you will find the user default check box . Just check and save it. Now exit from report now every time you will execute the report you will get the customized layout you saved.
Regards -
Set Default Layout in Selection Screen of FBL3N
Dear All,
Here in FBL3N presently i we have a default layout is /balaji.
But now i want to change this as a standard layout 1sap.
I can try this in path SETTING->ADMINISTRATOR->SET DEFAULT LAYOUT.
But after done this and save this procedure when i run this Transaction again
no change effected.
Means my change is not effect in selection screen of FBL3N.
So can anybody tell me how can i change my default layout in selection screen of FBL3N .
Please kindly help me ....
Thanks
KeyurHi,
Try with below navigation
Run the report and go to the menu settings->Layout->Choose
and also go through this link
http://wiki.sdn.sap.com/wiki/display/ERPFI/Howtochange-setdefaultlayoutintransactionFBL1N%2CFBL3NandFBL5N
regards
kk -
Can't fit all my report columns in the layout, I had to decrease field sizes to do so
I am developing matrix report with report wizard, which has more
than 10 fields with length as 9.
when I say 'OK' in wizard, I get the error "REP-1108 Cannot fit
default layout even in region extending to page boundaries".
when I decrease the field widths to 4 from 9, I can hit ok
without getting that error.
I need to fit everything with full length of 9.
please help me.
thanksHello michaelannb,
try to delete(OR you can rename the profiles.ini to profiles.iniOLD) the [http://kb.mozillazine.org/Profiles.ini_file profiles.ini] file to force firefox to create a new profile, the profiles.ini file exist in firefox '''profile folder ''path'''''
for your xp type in command line (start > Run) :
%APPDATA%\Mozilla\Firefox
then find the profile.ini file (it is a plain-text file) and delete it.
then when you start firefox again, a new default profile folder will be created and only a single profile, the new "default", will be listed in the Profile Manager.
This new "default" profile doesn't contain any of the profile data or settings stored in your old "default" profile folder, which still exists but is no longer accessible from the Profile Manager.
Your existing Firefox user profile data, which includes bookmarks, passwords, cookies, preference settings and added extensions, will no longer appear in the new profile but you can[http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox transfer the data from the old profile folder to the new default profile folder].
thank you -
Seting up a default layout ?
how to setup a default layout in reports ?? i dont see an option or a button for that.
i guess it was available in forms 2.0
but now it isnt there.
there is only a report wizard.
but otherwise is there anyway to do it?In the layout painter there is an "report block" which, I think, was previously called "additional default layout" that provides the same functionality as with 2.0 etc. Of course you can also manually create your required frames, fields, boilerplate, etc.
If you only have a single query then it looks the same as the "Report Wizard". If you have multiple queries then it looks closer to the dialog available in 2.0. -
Modifying additional Layout destroys teh original default layout-Why?
Reports 6i in c/s.
I create a layout, customize it and save it.
Then I crate an Additional Default Layout. OK so far.
Now I want to re-enter in Additional Default Layout and modify it slightly thru wizard.
It destroys my previous original default layout.
Is there any way to avoid it?
Pl. guide.
TariqHi Tariq,
The "Additional Default Layout" wizard isn't re-entrant. It is for adding various layouts to the layout painter but not modify an existing layout.
In addition, the Reports Wizard removes any objects from the layout section that you are defaulting into. Therefore, if you have added an additional layout and then run the Reports Wizard it will overwrite the current layout in that section.
The Reports Wizard gives you a starting point from which to develop your report. If you want to go beyond the options available in the wizard, you will need to use the live pre-viewer and layout painter.
Robin. -
Default Layout Variant using LIST Display FM
Hello All,
I'm using the FM REUSE_ALV_LIST_DISPLAYin my Report.
I want to save the layout Variant as a Default Layout Variant .
But when I'm clicking the option for saving a Layout I'm getting only one check box for User Specific Layout.
How can I set a layout created variant as a DEFAULT Layout Variant ?
Regards,
Deepu.KHi,
Once List is displayed, use the path: Setting->Layout>Layout Management->Click the check box against the layout which you want to set as the default. Then click on Define Default settings, first icon. You can follow the above instructions after running one of the DEMO pgms viz. BALVSD01.
I hope this helps,
Regards
Raju Chitale -
Hi Friends,
What is a default layout variant? How to create one?
Thanks in advance.
Tamilarasanhi, something additional to Raja input.
you can load a layout for ALV in programing way.
the ALV variant be stored in table V_LTDX, you can select out the variant record from it. So you can call the ALV with some difference, code like following:
DATA: L_LAYOUT TYPE DISVARIANT.
L_LAYOUT-REPORT = SY-REPID.
L_LAYOUT-USERNAME = XXXX. "user name
L_LAYOUT-VARIANT = XXXX. "the variant name you saved
CALL METHOD GO_GRID->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING I_STRUCTURE_NAME = 'SFLIGHT'
IS_VARIANT = L_LAYOUT
Then the ALV will be display as the layout you want, without special choose.
Hope it will be helpful.
thanks a lot -
I want that the Default layout will appear whatever the sequence of fields in the cod has been written coz many times user make their own layout and make it default, but i want when the report is execute the default layout will be the asm sequence as in the code after that the user can select his layout
can it be possible.check this :
FU REUSE_ALV_GRID_DISPLAY I_SAVE
Text
Variants can be saved
Description
Controls the save mode
Prerequisite:
Parameter IS_VARIANT is filled accordingly.
See also the documentation on IMPORTING parameter IS_VARIANT.
Value range
' ' = Display variants cannot be saved
Defined display variants (such as delivered display variants) can be selected for presentation regardless of this indicator. However, changes cannot be saved.
'X' = Standard save mode
Display variants can be saved as standard display variants.
Saving display variants as user-specific is not possible.
'U' = User-specific save mode
Display variants can only be saved as user-specific.
'A' = Standard and user-specific save mode
Display variants can be saved both as user-specific and as standard
variants. Users make their choice on the dialog box for saving the
display variant.
Default
SPACE
Function Module
REUSE_ALV_GRID_DISPLAY
Regards
Prabhu -
Authorization for saving Default Layout Settings
Hello,
In transaction /AFS/MD04, we would like to restrict users from changing the default screen layout. When they try to save a screen layout, we would like the checkbox to default to "User-specific" and not allow them to change the default.
Also, we would like to restrict those who can change the default with a parameter id.
To recreate: Enter a material and plant number and press enter. On screen 2000, subscreen 800 is the screen to which I'm referring. It is here that we would like to control the settings.
I have done this in custom reports using the following code:
*Check authorization to change default layout
GET PARAMETER ID 'ZSD_VARIANT_RETURNS' FIELD lv_pid.
IF lv_pid = 'X'.
lo_layout->set_default( abap_true ).
ENDIF.
I have seen some posts refer to transaction SHD0. Can this be handled with that transaction code?
Update on 3/2/2010:
I have seen some other posts regarding this issue and also seen OSS notes 409190 & 601803.
Our security team says that changing auth object S_ALV_LAYO would prevent users from changing the layout at all. Is this correct? We want to restrict who can set the Default Layout and give everyone else the ability to set the User Specific settings.
I have seen other posts refer to the I_SAVE parameter, the OSS notes also mention it, but it isn't clear to me how to use that.
We would like to do this in a SAP transaction - /AFS/MD04 - is this possible?
3/3/2010:
It appears taking away authority to object S_ALV_LAYO was the answer after all.
Thanks,
Chris Mowl
Edited by: Chris Mowl on Mar 2, 2010 10:52 PM
Edited by: Chris Mowl on Mar 3, 2010 11:24 AMWhen object S_ALV_LAYO was taken out of my security profile, I was only able to save User-specific layouts and not Default layouts. This was our objective.
-
Disabling "Default layout setting" in ALV grid display
Hello,
We have a requirement where we need to disable layout default settings in ALV grid display.
Only certain users should be able to save the report layout as default.
We would be creating an authorization group for this and then based on the Authority check we would need to enable or disable Default layout save option.
I found that using I_SAVE in the FM "REUSE_ALV_GRID_DISPLAY", we can either enable or disable layout save option.
But our requirement is to disable Default layout save option based on the authority check.
We will find this option next to User specific option when we save the report layout.
Can anyone guide me on this?
Thanks,
Regards,
AnidHi Anid,
First of all check if you can do this excluding the buttons from the ALV with the excluding tab. If not, here is the code for the ALV OO to exclude the buttons.
FORM F_DISPLAY_ALV.
* Layout
PERFORM f_layout.
* Exclude Buttons
DATA: gt_excl TYPE ttb_button
REFRESH gt_excl.
* Append those you want to exclude. These are some of them. Check Class in SE24 -> Atributes of class cl_gui_alv_grid.
APPEND: cl_gui_alv_grid=>mc_fc_loc_cut TO gt_excl,
cl_gui_alv_grid=>mc_fc_loc_undo TO gt_excl,
cl_gui_alv_grid=>mc_fc_loc_copy TO gt_excl,
cl_gui_alv_grid=>mc_fc_loc_paste TO gt_excl,
cl_gui_alv_grid=>mc_fc_loc_copy_row TO gt_excl,
cl_gui_alv_grid=>mc_fc_loc_move_row TO gt_excl,
cl_gui_alv_grid=>mc_fc_loc_delete_row TO gt_excl,
cl_gui_alv_grid=>mc_fc_loc_insert_row TO gt_excl,
cl_gui_alv_grid=>mc_fc_loc_append_row TO gt_excl,
cl_gui_alv_grid=>mc_fc_loc_paste_new_row TO gt_excl,
cl_gui_alv_grid=>mc_fc_to_office TO gt_excl,
cl_gui_alv_grid=>mc_fc_expcrdesig TO gt_excl.
CALL METHOD gv_alv_grid->set_table_for_first_display
EXPORTING
it_toolbar_excluding = gt_excl[]
is_layout = wa_layout_main
is_variant = wa_variant
i_save = 'A'
CHANGING
it_outtab = gt_alv[]
it_fieldcatalog = gt_fieldcat[]
it_sort = gt_sort[].
Edited by: Ernesto Caballero on Mar 11, 2010 5:59 PM
Edited by: Ernesto Caballero on Mar 11, 2010 6:03 PM
Maybe you are looking for
-
Display goes off when close lid and open it again [Lenovo G580]
Hi everybody, I have a problem due a new update, when I close laptop lid and open it again, there's nothing on screen (like power off laptop) and webcam's light is on! when turning on my laptop it would be on for a second, but it freeze on this state
-
Can a Windows XP PC be backed up to an Airport Time Capsule? If so, what is the process?
-
Including actionscript in a flex application
If I include a an external actionscript file in a flex mxml file, I get different behaviours at compile time depending on the method used. Using an mx script tag with a xource attribute or an include statement, then compiling the file gives errors li
-
Objects automatically duplicate when moving without holding the option key?
Hello, I was wondering if someone could help me. I am using Illustrator CS4 on Mac OS X and I am having touble understanding why when I select an object (text block or embedded image) to move it in the artboard it dupliactes itself automatically and
-
Attribute calculations dimension is absent while refreshing database in planning app
Dear All, I have loaded two attribute dimensions and a custom dimension called "Program" in my planning application. These attributes has to be associated with the "Program" dimension members". After loading these dimensions I tried to refresh the pl