How to enable the SAVE LAYOUT button?
When using CALL METHOD G_ALVGRID_HDR->SET_TABLE_FOR_FIRST_DISPLAY, how do I enable the SAVE LAYOUT push button?
It shows the Change layout button but does not allow me to save the layout as the SAVE LAYOUT button is not available.
I am using the following code but it does not show the SAVE LAYOUT button.
CALL METHOD G_ALVGRID_HDR->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
I_SAVE = L_SAVE
IS_VARIANT = LS_VARIANT
IS_LAYOUT = LS_LAYOUT
IS_PRINT = LS_PRINT
IT_TOOLBAR_EXCLUDING = I_EXCLUDE
CHANGING
IT_SORT = I_SORT_HDR
IT_OUTTAB = I_OUTTAB_HDR[]
IT_FIELDCATALOG = I_FCAT_HDR
EXCEPTIONS
INVALID_PARAMETER_COMBINATION = 1
PROGRAM_ERROR = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Pl advise.
Thanks,
Ven
pass the variant and enable is_save = 'A'.
in my case I had to upgrade the gui also.
Similar Messages
-
How to Enable the SAVE button in the Menu Bar of the Invoice Document.
Hi.
How to Enable the SAVE button in the Menu Bar of the Invoice Document as it is disabled for me.
I would like to save the Invoice document in PDF format.
Regards
IrfanHi,
Normally, for the archiving or generation of the invoice document in PDF format is handled by maintaining the output records through VV31/VV32 with the relevant printer, storage mode ( 3- print and archive or 2- archive only ), no. of messages ( means no of copies ) in the communication method.
Then when you click the print button through VF03 in the print options pop-up you get a print at the physical printer and at the same time an archived copy ( PDF copy ) attached with the document.
So, please make sure the output records are fine to allow a PDF copy generated and then try to print and check in VF03 by entering into the billing document.
Hope this helps you.
However, from the print preview you normally would not be allowed to save or print.
Regards,
Ram
Edited by: Ramakrishna Peri on Apr 3, 2009 9:16 AM -
How to enable the print & archive button that appear in the smartform outpu
How to enable the print & archive button that appear in the smartform output.....
Hi,
I agree with the details which has been given above, but still if you want to default option 3 "Print & Archive" in drop down, it is possible.
All you need to do is to set the value of output_options structure field "TDARMOD" as "3" while passing the parameters to dynamic function module of smartform.
That will select "Print and Archive" in background and display to user.
Sumit -
How to enable the Save button in ALV_GRID_DISPLAY function module
Dear experts,
I Created a ALV report by using ALV_GRID_DISPLAY functional module ,i need to enable the SAVE button ,my reqirement is to trigger some event in save button, then if i created own PF status existing icon are hidden, mention in below screen shot.
suggest me
Thanks
sivashankar kHi sivashankar,
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
* I_INTERFACE_CHECK = ' '
* I_BYPASSING_BUFFER =
* I_BUFFER_ACTIVE = ' '
i_callback_program = sy-repid
i_callback_pf_status_set = 'SET_PF_STATUS'
i_callback_user_command = 'USER_COMMAND'
FORM set_pf_status USING rt_extab TYPE slis_t_extab.
SET PF-STATUS 'MENU'.
ENDFORM.
""Handle use action
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
CASE r_ucomm.
WHEN 'SAVE'.
ENDCASE.
ENDFORM.
PF STATUS : MENU (copied STANDARD(gui status) from SAPLKKBL, do changes as per requirement)
Regards
Sreekanth -
How to enable the "update file" button to update the data template
We have an escalated customer bug that the chinese character does not display correctly on report. We want to update the data template xml file on customer site to test the fix. However, when the customer login using "XML publisher Administrator" responsitility, select function "Data Definitions", search and then update the definition, on the update page, the button "update file" next to "Data Template" is disabled. Anyone know how to enable the button?
screenshot at:
ftp://bugftp.oraclecorp.com/upload/bug6649637/CannotUpdate.doc
Thanks,
WeiUnless until it is a Manual Journal, SLA page doesn't give you the provision to change them.
Even for Manual Journal, it won't allow you to change, if that is transferred to GL.
Only option is to UNDO the accounting and correct the setup to create correct journals. You may contact Oracle Support.
By
Vamsi -
How to get the SAVE Layout ICON on ALV Grid display report
Hi,
I am using the standard ALV Layout, and I do not get the SAVE LAYOUT Icon on the Menubar, where I could save the report Layout.I am using the layout routine as,
FORM layout_build USING u_lf_layout TYPE slis_layout_alv.
u_lf_layout-box_fieldname = 'SELK'. " Checkbox
u_lf_layout-zebra = 'X'.
u_lf_layout-colwidth_optimize = 'X'.
u_lf_layout-confirmation_prompt = 'X'.
u_lf_layout-get_selinfos = 'X'.
u_lf_layout-f2code = '&ETA' .
u_lf_layout-detail_titlebar = 'Delivery Due List'.
u_lf_layout-key_hotspot = 'X'.
u_lf_layout-info_fieldname = 'COL'.
ENDFORM. " layout_build
Is there anything that I am missing. Please suggest.Many thanks for your help.
Regards,
MiraHi,
i think you've forgotten param. <b>i_save</b>
x_save = 'X'.
gs_variant-report = sy-repid.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_STRUCTURE_NAME = 'ZTAB01'
IS_VARIANT = gs_variant
IS_layout = lay
I_SAVE = x_save
TABLES
T_OUTTAB = gridtab
EXCEPTIONS
OTHERS = 1.
regards Andreas -
'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 -
'Reuse_alv_grid_display' - how to enable save layout button
Hi,
am not getting the option 'save layout' button in my ALV. I have tried the following code.
s_layout-colwidth_optimize = c_on.
s_layout-zebra = c_on.
s_variant-report = sy-repid.
s_variant-username = sy-uname.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
is_layout = s_layout
it_fieldcat = t_fieldcat
is_variant = s_variant
is_save = 'A'
TABLES
t_outtab = rt_final
EXCEPTIONS
program_error = 1
OTHERS = 2.
Please help.Dear Arvind,
If you are using "REUSE_ALV_GRID_DISPLAY" and not passing "I_CALLBACK_PROGRAM = SY-REPID", You will not be able to save layout.
So I request all to pass following parameters to save layout.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = SY-REPID
IS_LAYOUT = WA_LAYOUT
IT_FIELDCAT = IT_FIELDCAT
I_SAVE = 'X'
IS_VARIANT = 'X'
TABLES
T_OUTTAB = IT_DATA
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
* Implement suitable error handling here
ENDIF.
With Regards,
Tushar Trivedi. -
HOW TO MAKE THE SAVE BUTTON IN GREY MODE IN QA32 INTIAL SCREEN
Dear friends,
How to make the save button , in the tcode QA32 intial screen in GREY MODE.
As i don't want the screen variant created by me should not be seen by the user.Hi
There is one option ,You can protect yor varient but not hide it.
To protect>QA32>Mydefault>Varient Attibute>click on protect varient.
If you select the field Protect variant, the variant can only be changed by the person who created it or last changed it.
I hope this can be one of the solution
Regards
Sujit -
I was having a problem with an unbound item where if a user entered data into it and wanted to save, the save button on the menu was disabled. To get around this problem I created a post-change trigger for the unbound item where I used the set_menu_item_property to set the save button to enabled and this worked fine. I have another unbound item below the first one and I needed to do the same thing (eg. create a post-change trigger to enable the save button) but for this unbound item it doesn't work. When I go to the next item the save button remains disabled. Can anyone tell me why it works for one and not the other?
thanks
CathyRun the debugger and single-step through your code and see what is and is not happening.
-
Save layout Button in Object Oriented ALV
Hi gurus,
I am working on Object Oriented ALV. I am facing one problem when the outpput get shown on the screen the save layout and select layout buttons are not appearing on the application toolbar of alv.
TRY .
cl_salv_table=>factory( IMPORTING r_salv_table = g_alv_out
CHANGING t_table = i_alv ).
Set status GUI
g_alv_out->set_screen_status(
pfstatus = 'STANDARD'
report = sy-repid
set_functions = g_alv_out->C_FUNCTIONS_ALL ).
g_columns = g_alv_out->get_columns( ).
Set new description texts for columns
PERFORM f_set_column_name USING:
'LTEXT' text-001 text-001 text-001 space,
'NAME1' text-002 text-002 text-002 space,
'TXZ01' text-003 text-007 text-007 space,
'KWERT' text-004 text-004 text-004 space,
'WEMNG' text-005 text-010 text-011 space,
'BALNC' text-012 text-013 text-014 space,
'AFNAM' text-006 text-008 text-009 space.
PERFORM f_set_column_name USING 'WEMNG'
space space space 'WAERS'.
PERFORM f_set_column_name USING 'KWERT'
space space space 'WAERS'.
Set column as hotspot
g_column ?= g_columns->get_column( 'EBELN' ).
g_column->set_cell_type( g_column->hotspot ).
g_events = g_alv_out->get_event( ).
CREATE OBJECT gr_events .
SET HANDLER gr_events->on_double_click FOR g_events.
Display report
g_alv_out->display( ).
CATCH cx_salv_msg.
ENDTRY.
where in the Status STANDARD I have entered all the buttons includeing these two buttons
Can you please Help me in solving this issue.
thanks,
Vinod.
Edited by: vinod parhad on Jul 2, 2010 1:35 PMdata: gr_layout type ref to cl_salv_layout,
gr_alv type ref to cl_salv_table,
gs_key type salv_s_layout_key,
* in your SALV routine.... after FACTORY call
gs_key-report = sy-repid.
* User can save layout.
gr_layout = gr_alv->get_layout( ). "layouts
gr_layout->set_key( gs_key ). "Pass Program Name
gr_layout->set_save_restriction( cl_salv_layout=>restrict_none ). "User can save
See also Rich Heilman's excellent tutorials on SALV by searching for SALV Tutorial,
See also programs named: SALV* for demonstrations of SALV outputs and how to code.
Edited by: BreakPoint on Jul 2, 2010 1:46 PM add references for tutorials -
How to get the Save dialouge box in SAP Business One
Hi,
How to get the Save dialouge box in Button click event in SAP Business One.
Thanks,
Y.Hello,
You would like to display an SaveFileDialog box?
may follow this thread, and you can find a sourcecode in vb.net and c# inside (for open dialog, but it is the similar...)
Regards
János -
How to use the standrad Refresh button in ooalv Grid?
Hai Experts ,
i write editable oo alv program its works fine. when change the data
then click save button its saved correctly, but the problem is totals of row & column not refresh when i am click the
Refresh button . Please Help how to handle the standard Refresh button in ooalv .
Thanks
Adv....thank q u for ur reply,
when i edit the data in grid and save the data its saved successful,
but the problem is manually i calculating the totals at the end of the Row as well as at end of the columns,
when i edit the data in Grid that totals are not effected for that im using the Standard Refresh button ,
Plz help me. -
Is it possible to Delete items under the Save As button in BW Web Pages?
Currently the ability to Delete items under the Save As button in BW Web Pages is not allowed. Is it an SAP supplied functionality?
Do you khow how this can be done? thanks in advance.Hi Lin,
when you click save as button, it will save bookmarks in KM folders for BEx Portfolio, My Portfolio, My favorites
you can delete items in corrosponding iViews, i.e. execute BEx portfolio iView and manage book marks
srinivas -
How to fix the iphone home button not working?
how to fix the iphone home button not working?
Temporary Solution: Settings > General > Accessibility > (turn on) Assistive Touch
This will enable a "Home" button on the touch screen. (iOS5+)
Maybe you are looking for
-
I have just downloaded iOS7 and would like the traffic conditions in the notification center, however there is no option for me to turn this on in notification center settings, can you help me with this please?
-
Hello everyone, while trying to execute an MDX Statement on NW 7s SAP BI i ran into the "timeout during allocate / CPIC-CALL: 'ThSAPCMRCV'" error. I searched these forums for a solution an found SAP Note 1032461. The Problem is: it only applys to old
-
Problem in upload file using oreilly classes
Hi I stucked on a problem...... I want to upload file from html page....On this page I want only a upload button so that when I click on this button file will upload from my client m/c to server m/c.... I have code n all but browse button on html pag
-
Dynamic Selections in the screen
Hi Pals, How to create a Dynamic Selection Inputs,So that the end-user can select a particular field from the list as an Input Field and give his input to View the output. With Regards, Kumaresh
-
Workbook not refreshing correctly
In the workbook when refreshing of a query is selected a message u2018SAP BEx: Jumping to target of type saved viewu2019 is displayed and then a new workbook is launched and a view displayed. I insert a new query I get the same behaviour. The same vi