Disable Checkbox, once i select checkbox & click on save button
Hi All,
Once i select checkbox & click on save button
then Checkbox will Disable, in moodule pool programming.
Thanks
Hi,
Add the below code in PBO.
loop at screen.
if screen-name = 'CH1'
if g_save = 'X'.
screen-input = 0.
else.
screen-input = 1.
endif.
modify screen.
endif.
endloop.
Add the below code In PAI
case okcode.
when 'SAVE'.
g_save = 'X'.
*code for saving data
endcase.
Hope this helps.
Thanks,
Balaji
Similar Messages
-
[Bug] Photoshop CC,Layer Group add vector mask and disable it, use path selection tool click canvas, always crash!!! Please help me!
The sample psd file(158KB):
http://doc.aoyea.com/ps_cc_bug.psd
My Computer configuration:
SONY VAIO CA100 Notebook、Intel Core I5 2410 CPU、16GB RAM、AMD Radeon 6600M(1G RAM)、Windows7 x64 SP1(clean)、Scratch disk free space is 100GB
email: [email protected]Hi,
As far as i know that's a bug that will hopefully be fixed in the next update to photoshop cc. -
I need to throw an error message if the terms&conditions checkbox is not checked on click of Submit Button in webdynpro java. Can anyone suggest.
My Apologies. The simplest way- write the following code in the action of the Submit button-
if (<check box not checked>)
wdComponentAPI.getMessageManager().reportException("Please accept Terms and Conditions to continue",false);
else
continueExecution();
The exception message will be shown on top of the view.
You may like to use Message Area UI element and place it at the bottom of the WD4J view to show our exception message at the bottom of the view.
I hope this helps !
Cheers,
-Amol Gupta -
Report is Blank after Click on Save button
Hi All,
I am having a Real Time Infocube, which is been used by Monthly and Yearly report separately using different Aggregation Levels.
During Monthly report testing, I made changes in Yearly Report (common for monthly as well) and clicked on SAVE button.
As a result, a new request generated into the Cube, whereas my old request (yellow one) was still there and was containing only 700 records.
Step1:
Now, after that when I activated aggregation level. The output of the report was blank.
Same thing happened with monthly report also.
Step2:
So, I deleted that new request from Cube after changing its behaviour from Planned mode --> Load mode.
Now, when I tried to get it back. It was asking me to green the existing request (old request).
Step3:
when the cube was containing only old yellow request (before changing the behaviour) monthly report was showing me correct data. But, Yearly report was blank.
So, I manually green the request and changed the behaviour to Planned mode.
Whereas, Now (after changing behavior to Planned mode) both reports are blank.
Please help!!
Best Regards,
JatinHi,
first you the correct settings in transaction RSDIPROP for your InfoCube:
On tab 'Roll Up' you should set the flag Set Quality Status to OK Automatically.
Second delete the cache for the planbuffer query; the name of the plan buffer queries are as follows
- if your aggregation level is defined on InfoCube CUBE the name is CUBE/!!1CUBE
- if your aggregation level is defined on MultiProvider IPROV the name is IPROV/!!1IPROV
- if you are using a query on a MultiProvider containing aggregatiion levels delete also the cache of the query.
Now check the values of your query again.
Note 1136163 contains the recommended cache settings in RSRT.
Regards,
Gregor -
Adobe reader opens "save as" box when clicking on save button rather than saving in the same file
Hi everybody,
I have a fillable PDF form designed in Livecycle designer and it is reader extended. When I fill that form on MAC it let me fill and save the form as many times as I like. Everytime I make any change I just click the save button it saves changes in the same form. BUT is is behaving differently on Windows. After filling the form out when I click on save button it opens up "Save as " dialogue box to save a new copy with those changes. I have Adobe reader XI and Adobe Acrobat XI installed on windows. I know I can do that with Acrobat but I want that in reader for users who dont have acrobat.
Please help me.....
ThanksWhat are you filling out the form with on the MAC?
-
I use a TV listings program called DigiGuide. This has a script that opens a new Google Calendar event page in my browser for a specified TV program with all fields already completed. I then just have to click the SAVE button on the Google Calendar site to save the event - but since updating to 9.01 from 8.xx this button and others (Discard, Search) has no effect, although the cursor changes when over the button as if it recognised a link. Opening the same page in Chrome works fine. I have also noticed that Calendar's other buttons (e.g. next/previous period) can stop working on the main Calendar page, which I have as a pinned tab - in this event navigating away from Calendar and back again regains that functionality. The issue persists in Firefox 10b2.
Further investigation reveals this only happens when the event is created from within WP native calendar app and disappears when I make an edit to the event in any other calendar client including Google web. So a more appropriate description of the problem would be:
"Native calendar app keeps subtracting 1h off a Google calendar event on EVERY edit"
Create an event at 2013/07/17 15:00 in WP native calendar app. Result: Event shows as 2013/07/17 15:00 in the calendar app for a few seconds, then updates itself to 2013/07/17 14:00.
Edit the event title and save in WP native calendar app. Event time moves by -1h again to 2013/07/17 13:00.
Edit the event title in Google web calendar.
Subsequent edits in WP native calendar do not mess up the time any longer. If I fix the time to what I originally intended (2013/07/17 15:00) in WP native calendar app, it stays there and shows correctly in all previously mentioned calendar viewers.
I just learned that Lumia 925 was released with GDR2 update pre-installed. This update is only now being made generally available. If the issue is secific to the CalDAV implementation in GDR2 rather than specific to my phone only, this would make a lot of angry people. I hope I'm wrong on this though as it's an extremely frustrating problem. -
CS02, On click of SAVE button, need to capture some event related with this
Hi,
My requirement is like,
I change the material BOM using CS02 tcode.
When, I complete the changes, and click on SAVE button, I dont find any event triggering in the system.
Can any help in capturing some event related to this?
The reason why I need this is ..during the workflow runtime, the user is presented with the workitem to change the Material BOM with CS02 tcode. And, if sometimes, by mistake, the user is unable to complete the changes of the workitem, and comes back of CS02 without change completion, then the workitem is disapperaing from the inbox, with out completing the intended task of the workitem. So I want to make the workitem appear repeatedly in the user's inbox, till the desired action is done.
ThanksSai,
You need to use a Loop..While statement by validating the decision step.
Use a varaiable to store 'Y' or 'N'.
intially, have the value as 'N' and if the required outcome is taken. Eg: Accept,Reject.. then change the value to 'Y', which will go to the next step of workflow.
if 'N', it will again create a new workitem with the same content to the same agent.
Hope this helps.
bye,
Sudhir. -
Session should logoff on click of save button in webgui window
Hi All
I am directly changing section 80 details using WEBGUI ervices( PA30 tcode with infotype 585 in change mode) WITH BELOW URL
'http://XXXXXXXXXXXXXXX/sap/bc/gui/sap/its/webgui?~transaction=*pa30%20RP50G-PERNR=' lv_aempid
';RP50G-choic=0006;RP50G-SUBTY=4;RP50G-begda=01.01.1800;RP50G-endda=31.12.9999;DYNP_OKCODE=CHG'
So user able to change their details using above URL, but when user clicks on save button, it is showing PA30 main screen..I want o know how to avoid this screen...
My requirement is when user clicks on Save button, it should save and logoff from session.*
Regards
SrinivasTry to use CALL FUNCTION 'ITS_END_SESSION' in the user-exit.
Of couse you must check that it is webgui session (not sapgui).
Hope this helps -
How to save data in html format while user click a save button in jsp page
Hi All,
I have the following requirement
If user click on the Save Button it should display a window which allows the user to select the directory and the data is stored in the Internet Explorer Format.
Could please anybody suggest me how to impletment the above requirment in jsp page.
It's very urgent. Please replay ASAP.
Thanks
RajeshwariAnalyzing ur ques ...
If user click on the Save Button it should display a window which allows the user to select the directory and the data is stored in the Internet Explorer Format.hmmm..
There is no html object type which supports directory selection for download. There is only an input type="file" which however is related to an upload scenario.
By downloading the file using output stream u can achieve what you want.
You simply need to do the following things ..
a) Write to an output stream
b) Set the content type to "text/html" for your response
Example ....
response.setContentType("text/html");
response.setHeader("Content-disposition",
"attachment; filename" +
"Example.html" );
javax.servlet.ServletOutputStream stream = res.getOutputStream();
StringBuffer text = new StringBuffer(1024);
text.append("some text . . . ");
text.append("more text . . . ");
stream.write(data);
stream.close(); -
Showing error messages on click of Save button only
Hi,
Generally SAP web client GUI is showing the error message on pressing of Enter button (or) picking up any data field and stepping out of it. We want to show error messages for mandatory fields only when user clicks on Save. How can this be done in SAP web client GUI?
Regards
--HariHi Hari,
If you want to raise an error message on save. Try this.
method eh_onsave
DATA: lr_msg_service TYPE REF TO cl_bsp_wd_message_service.
DATA: ls_msg_no TYPE symsgno.
if ( condition failed)
lr_msg_service = me->view_manager->get_message_service( ).
lr_msg_service->add_message(
iv_msg_type = 'E'
iv_msg_id = 'Z_MSG_CLASS'
iv_msg_number = ls_msg_no ).
exit the method once the error message is raised
exit
endif.
end method.
Note : specify the message class and message number in the add_message menthod.
Hope this was helpful.
Best Regards,
Lakshminarayana -
Trigger a process chain when user clicks on save button in web interface
Hi All,
This is a issue I'm facing with the BW BPS web interface.
BPS web interface generates a BSP application so thought posting this question in BSP forum might get some responses.
The issue is I have to trigger a process chain when the user clicks on the save button on the web interface.
I have no clue how BSP works. So if anybody has any ideas or suggestions I would greatly appreciate it.
Thanks,
HariniHi Dhanya,
This is the code i have in the ABAP program in the process chain. I just included the API_SEMBPS_POST part, but still it doesn't work. Please give me your email address so that i can send some screenshots.
REPORT ZHTEST.
DATA: l_subrc TYPE sy-subrc.
DATA: ls_return TYPE bapiret2.
CALL FUNCTION 'API_SEMBPS_POST'
IMPORTING
E_SUBRC = l_subrc
ES_RETURN = ls_return.
CALL FUNCTION 'RSAPO_CLOSE_TRANS_REQUEST'
EXPORTING
I_INFOCUBE = 'ZMAP_TAB'
EXCEPTIONS
ILLEGAL_INPUT = 1
REQUEST_NOT_CLOSED = 2
INHERITED_ERROR = 3
OTHERS = 4
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
500 internal server error,when clicking review /save button.
Hi
Iam facing the problem with pcr forms in portal .Forms are displaying in portal. when i click the button Review and save button .It is showing 500 internal server error.But sometimes it is working fine upto completed step.There is irregularity in display.
Iam not understanding why this is happening like this.So let me know the solution for it.To display properly.
Here iam sending tracefile to.
Webresource could not be exchanged!
[EXCEPTION]
com.sap.tc.webdynpro.services.sal.util.cache.ResourceNotFoundException: Stream is not valid
at com.sap.tc.webdynpro.services.sal.util.cache.ResourcePool$CopyByFirstReadResourcePoolElement.setInputStream(ResourcePool.java:475)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.datatransport.MassDataSource.setInputStream(MassDataSource.java:106)
at com.sap.tc.webdynpro.services.sal.datatransport.core.InternalMassDataTransport.replaceInputMassDatasourceByKey(InternalMassDataTransport.java:96)
at com.sap.tc.webdynpro.clientserver.cal.WebDynproExchangeHandler.replaceCachedResource(WebDynproExchangeHandler.java:217)
at com.sap.tc.webdynpro.clientserver.cal.WebDynproExchangeHandler.doExchange(WebDynproExchangeHandler.java:181)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doExchangeProcessing(ClientSession.java:1166)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:763)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:712)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:174)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:207)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: com.sap.engine.services.httpserver.exceptions.HttpIOException: Read timeout. The client has disconnected or a synchronization error has occurred. Read [4380] bytes. Expected [14205].
at com.sap.engine.services.httpserver.server.io.HttpInputStream.read(HttpInputStream.java:186)
at java.io.InputStream.read(InputStream.java:109)
at com.sap.tc.webdynpro.basesrvc.util.IOUtil.writeEncrypted(IOUtil.java:154)
at com.sap.tc.webdynpro.services.sal.util.cache.ResourcePool$AbstractResourceElement.copyUnique(ResourcePool.java:245)
at com.sap.tc.webdynpro.services.sal.util.cache.ResourcePool$CopyByFirstReadResourcePoolElement.save(ResourcePool.java:537)
at com.sap.tc.webdynpro.services.sal.util.cache.ResourcePool$CopyByFirstReadResourcePoolElement.setInputStream(ResourcePool.java:471)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.datatransport.MassDataSource.setInputStream(MassDataSource.java:106)
at com.sap.tc.webdynpro.services.sal.datatransport.core.InternalMassDataTransport.replaceInputMassDatasourceByKey(InternalMassDataTransport.java:96)
at com.sap.tc.webdynpro.clientserver.cal.WebDynproExchangeHandler.replaceCachedResource(WebDynproExchangeHandler.java:217)
at com.sap.tc.webdynpro.clientserver.cal.WebDynproExchangeHandler.doExchange(WebDynproExchangeHandler.java:181)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doExchangeProcessing(ClientSession.java:1166)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:763)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:712)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:174)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:207)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
with regards,
Eswar.Hi
Any update information for this issue.
with rgds,
Eswar. -
Pop Up Window on click of save button
Hi ,
I am very new to WebDynpro Java.
Can somebody plz help me??
My Requirement-
On Click of the Save Button ,a Pop Up window should get displayed with a message saying "SUCCESSFULLY SAVED".
Plz reply soon
Thanks In advance!!
Regards
Smitahi!
1.create a action on the button click
2.create a value node(popup)--> value attribute
set the cardinallity as 1..1 and type as com.sap.tc.webdynpro.
services.session.api.IWDWindow
3.
public void okPopup() {
// @@begin okPopup()
// get the repository content at runtime of the Web-Dynpro-
IWDWindowInfo windowInfo = (IWDWindowInfo) wdComponentAPI
.getComponentInfo().findInWindows("okWindow");//give your window name
// create the u201CokWindowu201D
IWDWindow window = wdComponentAPI.getWindowManager()
.createModalWindow(windowInfo);
// set the WindowPosition on the screen
window.setWindowPosition(300, 150);
// and show the window
window.show();
// Save WindowInstance in Context
wdContext.currentPopupElement().setWindowInstance(window);
// @@end
4.now you can take text views to show the required message in the popup window.for that you can take the message from message pool and also you can directly write the message in the text property of text view.
please get back to me if any further clarification is required.
thanks
vishal -
help me please
I'd first try downloading an installer from the Apple website using a different web browser:
http://www.apple.com/itunes/download/
If you use Firefox instead of IE for the download (or vice versa), do you get a working installer? -
How can I write a code that triggers when clicking on Save button
I want to hide certain fields inside my tracking list, if the login user is not part of the “Managers” group.
To do so I want to add the following Page-load code inside a web part :-
using (SPSite site = new SPSite(SPContext.Current.Site.Url))
using (SPWeb web = site.OpenWeb())
{SPGroup group = site.Groups["Managers"];
bool isUser = site.IsCurrentUserMemberOfGroup(group.ID);
if (isUser)
{textbox.Visible=false;}}
And the following custom code that triggers when saving the form :-
using (SPSite site = new SPSite(SPContext.Current.Site.Url))
using (SPWeb web = site.OpenWeb())
SPList list = web.Lists["ListName"];web.AllowUnsafeUpdates = true;
SPListItem item = list.Items[SPContext.Current.ListItem.UniqueId];
txtTitle.Text = item["Title"] as string;item.Update();web.AllowUnsafeUpdates = false;
But I am not sure where exactly I should add the custom code for the save button ? I tried writing it inside the Oninit method , but I got many errors as shown below:-
So can anyone advice how i should write the web part to include the Page load & the custom save button code?
second question in general is my above approach considered valid , i mean to hide/show list columns using web parts ?Hi,
According to your post, my understanding is that you want to hide/show list columns based on specify the permission for Users, SharePoint Groups or Active Directory Groups.
Here is a solution from CodePlex for your reference:
SharePoint 2013 Column & View Permission
https://sp2013columnpermission.codeplex.com/
Best Regards
Dennis Guo
TechNet Community Support
Maybe you are looking for
-
Can anyone offer suggestions? I realize there are two separate issues here. 1. I thought I successfully connected my iPad with the iTunes library on my Mac/ Hard Drive via the Remote app. However, more than half the songs in my music library will not
-
My safari (and i keep it updated) cannot open PDF files.Should i install Adobe Reader and which version????/ I have Mac Book Pro running OS 10.9 Please help me!!!!
-
Hi need help When I exec this whith sql*plus in Oracle10g i have this error SQL> CREATE TABLE PHOTOS 2 ( 3 ID NUMBER PRIMARY KEY 4 ,PHOTO BLOB 5 ,PROP CLOB 6 ) 7 / Table created. SQL> Create or Replace Procedure INSERT_IMAGE(P_ID NUMBER, P_FILE VARCH
-
Hi all. Please help, I am trying to programmatically expand JTree with JTree.expandPath(path), but it only works one level downwards from the last physically selected node. Is this a bug, or am I doing something wrong?
-
Using JServ without O.S.E
hello everybody, I would like to configure Oracle 8.1.7 for the JSP pages, without using Oracle Server Engine (and its pre-installation model). It means i have to configure JServ, which is a servlet 2.0 environment. I am able to configure JServ for t