Can't modify a gui Status
I made a GUI and i try to change it.I take the message that you see.What can i do ?
I can't copy also a gui from SAPLKKBL to my prog .....
Copying statuses is restricted in modification
mode. See F1 Help
Please help .....
Point will be reward ..
Hi Dimath72,
Just try switching off the modification assistant from the GUI status. take the following Menu path:
Edit -> Modification Operations -> Swich off assistant
This should resolve the issue.
Cheers,
~i1
Similar Messages
-
In this case, can I modify swing GUI out of swing thread?
I know the Swing single thread rule and design (Swing is not thread safe).
For time-consuming task, we are using other thread to do the task and
we use SwingUtilities.invokeAndWait() or SwingUtilities.invokeLater (or SwingWorker) to update Swing GUI.
My problem is, my time-consuming task is related to Swing GUI stuff
(like set expanded state of a huge tree, walk through entire tree... etc), not the classic DB task.
So my time-consuming Swing task must executed on Swing thread, but it will block the GUI responsivity.
I solve this problem by show up a modal waiting dialog to ask user to wait and
also allow user to cancel the task.
Then I create an other thread (no event-dispatch thread) to do my Swing time-consuming tasks.
Since the modal dialog (do nothing just allow user to cancel) is a thread spawn by
Swing event-dispatch thread and block the Swing dispatch-thread until dialog close.
So my thread can modify Swing GUI stuff safely since there are no any concurrent access problem.
In this case, I broke the Swing's suggestion, modify Swing stuff out of Swing event-dispatch thread.
But as I said, there are no concurrent access, so I am safe.
Am I right? Are you agree? Do you have other better idea?
Thanks for your help.If you drag your modal dialog around in front of the background UI, then there is concurrent access: paint requests in your main window as the foreground window moves around.
-
OSS Note 1401249 - Issue in GUI status
Hi ,
As per 1401249 Note instructions, i need to add a new push button 'Display Income Levy Data', in the standard report HIECILC0 .
In SE41 , I am giving the program name HIECILC0 and Status 'ALV', when I click on Change button, I see 'Modify Status ALV in program HIECILC0' , where as in the Note instructions screen shot it is given as 'Maintain Status ALV in program HIECILC0'.
Have anyone faced this issue before, why is it 'Modify Status ALV in program HIECILC0' instead of 'Maintain Status ALV in program HIECILC0'.
I am not able follow the same steps given in the Note instruction because of this issue.
Please let me know how to proceed with this.Hi ,
The below thread resolved the issue.
Can't modify a gui Status
In SE41 Menu path: Edit -> Modification Operations -> Swich off assistant
Thanks -
Add Button to GUI STATUS Application toolbar
Hi,
I have to add a button in the application toolbar of a gui status. I have done that many times before, but I never got into trouble like this time....
When I open the Gui status and the tree for the application toolbar, I can see already set buttons. When I now click on change (a modification warning comes) and press the plus-icon, it is possible to enter a new item. But everything I´m typing, I get the message Function code XXXX has not been assigned to a function key. I have never got this before....
When I now go to SE41 and enter a new function key, I can´t use it either afterwards as a button in the application toolbar.
In the tree of the function keys, I can´t change anything...
What can I do here? The program name is SAPMZLCG, so it has been modified sometimes. But how can I change the GUI STATUS now to add a new button?
Thank you!You need to goto the application toolbar and the add your text to the items and click below the text you will get one popup which will ask for static text and dynamic text. select statictext and then add all the information like text name and if you want to add an icon you can do it aswell. the there will be another popup for fuction attributes where you will be able to find some options loke fuction types and reaction need to select all that and then click on the ok button and save check and activate the same and after that activate and check whether the button is visible or not. once the button is visible then you need to check for the ok_code and sy_ucomm and then insert the fuctionality of the button.
I hope this might solve your problem. -
Adding A Pushbutton To GUI Status of Standard Program
Hi,
I need to add a pushbutton to the GUI status of one of the SAP standard programs, the system being <b>ECC 6.0</b>. One method which I tried was by copying the standard program as a Z program and then modifying the GUI status per my requirement. Although this works, one drawback in doing it this way was with the introduction of the new Enhancement Framework in ECC 6.0, the defined enhancements from the standard program were not copied to the Z program.
I am looking for suggestions on how to add a pushbutton in the GUI status of the standard program using the enhancement concept. Please let me know the implications if any, while carrying out this change.
Regards,
Ravi KrishnaGOTO Se41 Transaction ..
one example :
Standard Program : SAPLSLVC_FULLSCREEN
Status : STANDARD_FULLSCREEN
use ur program first and status and now click on copy status ...
copy from standard to custom.. -
Setting GUI Status on CL_SALV_TABLE
Hi All,
I'm calling CL_SALV_TABLE in a method in the popup mode:
* Set popup display
lo_alv->set_screen_popup( start_column = 10
end_column = 200
start_line = 5
end_line = 30 ).
My problem is that I can't link a GUI status to this as the status can only be linked to a program, function module etc.
I have added a new GUI status to a FM in the same package but I'm getting an object not found exception.
lo_alv->set_screen_status( pfstatus = 'CTRL_POPUP'
report = sy-repid
set_functions = lo_alv->c_functions_all ).
Anybody know a workaround for this besides moving the ALV into a program and calling that from the object. I'd prefer to keep all my code in this one object if I can help it.
Cheers,
GregorYou can refer to any GUI status for which is created in any other program.
For, example:
lo_alv->set_screen_status( pfstatus = 'SALV_STANDARD'
report = 'SALV_DEMO_TABLE_FUNCTIONS'
set_functions = lo_alv->c_functions_all ).
So, you can use any dummy program which can hold the GUI status for you.
Regards,
Naimesh Patel -
Hello,
I have a dynpro with a GUI status. If I show a Modal Dialog on that dynpro it has automatically the GUI Status of the parent window.
How can I remove the GUI status of the Modal Dialog?
Thank you,
ManuelHello,
You need to use the comand SET PF-STATUS to set a new gui status before opening the modal dialog.
And you need to check in the PBO of the parent dialog if there is a SET PF-STATUS command to set the parent GUI status back.
Regards, -
Can anyone tell me how to use GUI status in ALV report.
Can anyone tell me how to use GUI status in ALV report. I want to use buttons in ALV report.
Juheb,
see the link
http://help.sap.com/saphelp_nw2004s/helpdata/en/5e/88d440e14f8431e10000000a1550b0/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVALV/BCSRVALV.pdf
Adding a button on the ALV grid using OOPs
check these sites.
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/webDynproABAP-ALVControllingStandard+Buttons&
chk this.
alv-pfstatus:
http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_pfstatus.htm
then how to capture that button click.
http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_ucomm.htm
REPORT ZTESTALV.
TYPE-POOLS: SLIS.
*- Fieldcatalog
DATA: IT_FIELDCAT TYPE LVC_T_FCAT,
IT_FIELDCAT1 TYPE SLIS_T_FIELDCAT_ALV..
*- For Events
DATA:IT_EVENTS TYPE SLIS_T_EVENT.
DATA: X_FIELDCAT TYPE LVC_S_FCAT,
X_FIELDCAT1 TYPE SLIS_FIELDCAT_ALV.
DATA:X_LAYOUT TYPE LVC_S_LAYO.
"{ FOR DISABLE
DATA: LS_EDIT TYPE LVC_S_STYL,
LT_EDIT TYPE LVC_T_STYL.
"} FOR DISABLE
DATA: BEGIN OF IT_VBAP OCCURS 0,
VBELN LIKE VBAP-VBELN,
POSNR LIKE VBAP-POSNR,
HANDLE_STYLE TYPE LVC_T_STYL, "FOR DISABLE
<b> BUTTON(10),</b>
END OF IT_VBAP.
DATA: LS_OUTTAB LIKE LINE OF IT_VBAP.
SELECT VBELN
POSNR
UP TO 10 ROWS
INTO CORRESPONDING FIELDS OF TABLE IT_VBAP
FROM VBAP.
DATA:L_POS TYPE I VALUE 1.
CLEAR: L_POS.
L_POS = L_POS + 1.
<b>X_FIELDCAT-SELTEXT = 'Button'.
x_fieldcat-fieldname = 'BUTTON'.
X_FIELDCAT-TABNAME = 'ITAB'.
X_FIELDCAT-COL_POS = L_POS.
X_FIELDCAT-OUTPUTLEN = '10'.
X_FIELDCAT-style = X_FIELDCAT-style bit-xor
cl_gui_alv_grid=>MC_STYLE_BUTTON bit-xor
cl_gui_alv_grid=>MC_STYLE_ENABLEd.
APPEND X_FIELDCAT TO IT_FIELDCAT.
CLEAR X_FIELDCAT.</b>
L_POS = L_POS + 1.
X_FIELDCAT-SELTEXT = 'VBELN'.
X_FIELDCAT-FIELDNAME = 'VBELN'.
X_FIELDCAT-TABNAME = 'ITAB'.
X_FIELDCAT-COL_POS = L_POS.
X_FIELDCAT-EDIT = 'X'.
X_FIELDCAT-OUTPUTLEN = '10'.
x_fieldcat-ref_field = 'VBELN'.
x_fieldcat-ref_table = 'VBAK'.
APPEND X_FIELDCAT TO IT_FIELDCAT.
CLEAR X_FIELDCAT.
L_POS = L_POS + 1.
X_FIELDCAT-SELTEXT = 'POSNR'.
X_FIELDCAT-FIELDNAME = 'POSNR'.
X_FIELDCAT-TABNAME = 'ITAB'.
X_FIELDCAT-COL_POS = L_POS.
X_FIELDCAT-EDIT = 'X'.
X_FIELDCAT-OUTPUTLEN = '5'.
APPEND X_FIELDCAT TO IT_FIELDCAT.
CLEAR X_FIELDCAT.
L_POS = L_POS + 1.
"{FOR DISABLE HERE 6ROW IS DISABLED
SY-TABIX = 6.
LS_EDIT-FIELDNAME = 'VBELN'.
LS_EDIT-STYLE = CL_GUI_ALV_GRID=>MC_STYLE_DISABLED.
LS_EDIT-STYLE2 = SPACE.
LS_EDIT-STYLE3 = SPACE.
LS_EDIT-STYLE4 = SPACE.
LS_EDIT-MAXLEN = 10.
INSERT LS_EDIT INTO TABLE LT_EDIT.
*LS_EDIT-FIELDNAME = 'POSNR'.
*LS_EDIT-STYLE = CL_GUI_ALV_GRID=>MC_STYLE_DISABLED.
*LS_EDIT-STYLE2 = SPACE.
*LS_EDIT-STYLE3 = SPACE.
*LS_EDIT-STYLE4 = SPACE.
*LS_EDIT-MAXLEN = 6.
*INSERT LS_EDIT INTO TABLE LT_EDIT.
INSERT LINES OF LT_EDIT INTO TABLE LS_OUTTAB-HANDLE_STYLE.
MODIFY IT_VBAP INDEX SY-TABIX FROM LS_OUTTAB TRANSPORTING
HANDLE_STYLE .
X_LAYOUT-STYLEFNAME = 'HANDLE_STYLE'.
"} UP TO HERE
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
EXPORTING
I_CALLBACK_PROGRAM = SY-REPID
IS_LAYOUT_LVC = X_LAYOUT
IT_FIELDCAT_LVC = IT_FIELDCAT
TABLES
T_OUTTAB = IT_VBAP[]
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Don't forget to reward if useful.... -
How can i make a vertical line in Application Toolbar when creat GUI STATUS
I see some standard UI have a separator vertical line in the GUI STATUS--Application Toolbar?
Could you tell me how can i creat it in my customer GUI STATUS?
TKS a million~~Hi.
Please try.
1)Change mode your GUI-STATUS.
2)menu -> Edit -> Insert -> Separator line. -
Can I modify the design notes status list?
I'm one of the people who quite likes using design notes.
Does anyone know if I can modify the standard status list?
I'd like to add a couple of new items so that I do not have
to always add them as value pairs.
DREWWe ran into the same issue so we chose to create our own email submit button. We even allowed our users to enter their email, subject line and body using response boxes. We used the standard button and added the following Javascript on the click event.
var mail;
var vAddress = xfa.host.response ("Please enter the email address","EMAIL RECEIPIENT","[email protected]",0);
var vSubject = xfa.host.response ("Enter subject line","WHAT IS EMAIL ABOUT","Here is the file you wanted",0);
var vBody = xfa.host.response ("Enter body of email","Details", "Here is the file you requested. Thanks for your time",0);
if (vAddress == 0 || vSubject == 0)
xfa.host.messageBox ("Email Cancelled","This file will not be emailed",0,0);
else
mail = "mailto: " + vAddress + "?subject=" + vSubject + "&body=" + vBody;
event.target.submitForm({
cURL: mail,
bEmpty: true,
cSubmitAs: "XDP",
cCharset: "utf-8"
If you want the body of the email to be blank just remove: + "&body=" + vBody
Hope that helps -
Can menu bar use variants instead of hard coding in GUI Status?
Hi Experts,
I am trying to select data into a variant from one table. This variant will be used for text in Menu Bar of GUI Status. I used to hard coding in Menu Bar. Is it possible for variants instead of hard coding in Menu Bar?
If not, any flexible way is also welcomed. Thanks for any reply and help!
Regards,
YingHi,
Please refer following link.
http://help.sap.com/saphelp_nw70/helpdata/en/c0/980389e58611d194cc00a0c94260a5/content.htm
How to create variant for csutom screen
New transaction - require variant selection to be disabled
This may help you.
Regards,
Renuka. -
Can a GUI Status be downloaded to disk?
Hello,
I need to copy a Gui Status from one system to another. (there is no transport route)
Does anyone know if there is some method to download it to disk and upload to a different machine?
Thx.
AndyCheck these fm
RS_CUA_INTERNAL_FETCH -> download
RS_CUA_INTERNAL_WRITE -> upload
a® -
Transport Screen objects-GUI status(SAP does not create request, why)?
Hi experts,
I use SE80 to change GUI status, but system does not create a transport request for me to transfer? why?Hi,
Thanks for replay. Actually, the SE80->program->Gui status have some objects and they are already transfered. But I can't see them on target system. But When I create exactly the same name, the system tell me they are already created. I think it becuase the original language is 'DE' but I use default language 'EN' to modify and create the request? -
Hello,
I made some researchs and asked some colleagues but I have a problem. I would like to disable a gui status button (to grey it out),
I used this:
SET PF-STATUS 'STATUS_0200' EXCLUDING lt_fcode.
adding the name of my button but the only thing it does is making it disappeared (It is a toggle button between modify and display).
Is there any suggestions to just grey out the button and not removing it?
Thank you!Nabheet: I want the toggle button to be disabled on the screen.
anurodh_t: I want to disable it on specific occasions because I am giving access, by authority check, to some people only to use it. The reason why I want to keep the button shown is because I want people to know that, yes, it is indeed possible to modify the fields in my screen but no, they can't do it because they don't have access. Making it disappear would only show, to my opinion, that the possibility might not even exist. Though, someone with the access will have that same button enabled, of course. That is why I want it grey out when not having access. To answer your second questions, I unfortunately haven't seen it yet. Though, I thought it was because of my young experience in SAP (I started at beginning of september).
Thank you for giving me some feedback and I'm sorry if my explanation wasn't clear enough. If I forgot to give important details, please, let me know. Like I said, I am still young on SAP so sometimes, I am not always sure what is important to know or not
Take care! -
How to get GUI Status(Push Buttons) in ALV Report
Hi Friends
I have a requirement in a way that:
Once selection-screen was processed,an ALV report has to come and above the ALV List,I need a custom GUI Status(4 Push Button) with Push Buttons Logic.
Once I had clicks on thesse push button,I need to display one more ALV List and above this List,again I need a custom GUI Status(2 Push Buttons) with Push Buttons Logic.
Can anyone throw some light how we can achieve this.
Thanks for your cooperation!
Regards,
Madisettydata: rt_extab type slis_t_extab,
g_ucomm like sy-ucomm ,
g_selfield type slis_selfield.
form alv_display .
call function 'REUSE_ALV_LIST_DISPLAY'
exporting
i_callback_program = g_repid
i_callback_pf_status_set = 'PF_STATUS'
i_callback_user_command = 'USER_COMM'
it_fieldcat = it_fldcat
tables
t_outtab = it_final1
perform pf_status using rt_extab.
perform user_comm using g_ucomm g_selfield .
endform.
form pf_status using p_rt_extab.
set pf-status 'PF_STATUS' excluding p_rt_extab.
endform.
form user_comm using p_ucomm like sy-ucomm
p_selfield type slis_selfield.
data: l_row type i.
case p_ucomm.
when 'DISPLAY_PO'.
loop at it_final1 into wa_final1.
if wa_final1-sel eq 'X' .
l_row = l_row + 1.
endif.
if l_row gt 1.
message e004.
endif.
clear wa_final1.
endloop.
p_selfield-fieldname = 'SEL'.
read table it_final1 into wa_final1 index p_selfield-tabindex .
set parameter id 'BES' field wa_final1-ebeln.
call transaction 'ME23N'.
endcase.
endform.
*create user interface for gui status by double clicking on 'PF_STATUS'.
*Check the above sample code .
Maybe you are looking for
-
Migrating from late 2009 Mini to new 2012
I have tried all methods of migrating but the computer doesn't connect to the other computer. I have done 800 Firewire computer to computer by restarting and holding T but all I get is the Firewird logo bouncing around the screen but I have no acces
-
Aperture does not appear in iWeb.
i've got the newest updates installed but aperture still fails to appear on my iweb 2.0. what should i do?
-
I have found the configuration entry for Fwd but not for Re ...
-
Help - Problem with BAPI confirmation (co11n)
Hi gurus, Please , i need some help with some problems i am having with BAPIs for confirmations. I have found this one : BAPI_PRODORDCONF_GET_TT_PROP, to get the propose data, but i i can't figured out how to fill the goodmovements table. I need to d
-
My clock (in the upper right corner) keeps disappearing.
Everytime I start up my computer I have to go into system preferences, date & time and check "show date & time". I've tried to click the lock to prevent changes. When I start up the next time, the clock is there. But then I can't shut down my system.