Displaying Confirmation Message after a Background Session Create
Hi All,
I have an application that creates a financial document in a background session. I want to wait for this background session to complete and then display to the user that it has completed and what the document number is.
How can I do this?
Currently I am waiting 5 seconds and then displaying the newest document that has been added to BKPF but I know that this is probably not very good practice. I was hoping there was a better way.
Thanks for any help, its much appreciated,
Colm
Try this:
SUBMIT RSBDCSUB WITH SELECTION......etc etc....
EXPORTING LIST TO MEMORY AND RETURN.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = li_listobject
EXCEPTIONS
not_found = 1
OTHERS = 2.
IF sy-subrc = 0.
CALL FUNCTION 'WRITE_LIST'
TABLES
listobject = li_listobject
EXCEPTIONS
empty_list = 1
OTHERS = 2.
IF sy-subrc <> 0.
write:/ 'List could not be read'.
ELSE.
LOOP AT li_listobject.
* read what you are looking for here
ENDLOOP.
ENDIF.
ELSE.
write:/ 'No list was found in memory'.
ENDIF.
Similar Messages
-
How to display confirmation message in SPItemEventReceivers
Is there a way to display confirmation message in ItemAdding event?
I would like to display confirmation message and based on user input proceed with the other steps.
public override void ItemAdding(SPItemEventProperties properties)
// Display confirmation message
if(OKClicked)
// Do something
else
// Cancel Operation
Thanks in advance,
dhijithttp://sharepoint.stackexchange.com/questions/32055/creating-event-handler-feature-ondeleting
http://social.technet.microsoft.com/Forums/lync/en-US/39115b48-873b-462e-aa16-a7f7ce5c91d8/sharepoint-2013-online-office-365-list-item-added-event-receiver-how-to-sow-confirmation-message?forum=sharepointdevelopment
http://social.msdn.microsoft.com/forums/sharepoint/en-US/2941f80e-37c9-4b83-a41c-a9cc712d2e18/display-message-from-itemadded-event-receiver
http://sharepoint.stackexchange.com/questions/65858/confirmation-message-as-a-popup-for-itemupdating-in-event-receivers
http://stackoverflow.com/questions/11999312/popup-alert-message-using-event-receiver-in-sharepoint-2010 -
Hi
I want to display a message after inserting rows in table like *'you have inserted a new row successfully*'.
i am using the createinsert ADF Button to insert the rows in table.after that i am comitting it.
after commiting i want to display message for the user.for this what i need to do.
Please help me.
Sailaja.user10860137
Can you please explain me the each line in the code briefly.
+public String saveButton_action(){+
BindingContainer bindings = getBindings();
OperationBinding operationBinding = bindings.getOperationBinding("Commit");
Object result = operationBinding.execute();
+// note "!" operator has been removed from the default code.+
+if(operationBinding.getErrors().isEmpty()){+
FacesContext ctx = FacesContext.getCurrentInstance();
FacesMessage saveMsg = new FacesMessage("Record Saved Successfully");
ctx.addMessage(null,saveMsg);
+}+
return null;
+}+
And i have requirement to show the message on favcet "status bar".not in a popup window.(from the above code the message is showing in popup window. )the Layout i am using is PanelCollection.
can you tell me what i need to do.
Thanks
Sailaja.
Edited by: sj0609 on Mar 19, 2009 8:03 AM -
How to display a message after button press ?
Hi,
I created a jspx page with a button.
When that button is pressed, a lot of stuff is going to happen in my backing bean.
This can take up to 30 seconds. (soap call etc ... )
Meanwhile, the pressed button stays greyed out. When the action is finished, the button
is available again.
I want to display a message saying the action was succesfull or not, after that button is available again.
Can anyone help me how I can make this ?
Greetz.Why not opening a popup from your backing bean?
Add a popup to your page:
<af:popup id="yourID" bindings="#{yourBean.popup}">
</af:popup>Open this in your backing bean:
public void OpenPopup(String popupID) {
FacesContext facesContext = FacesContext.getCurrentInstance();
ExtendedRenderKitService service = Service.getRenderKitService(facesContext, ExtendedRenderKitService.class);
service.addScript(facesContext,"AdfPage.PAGE.findComponent('"+this.getPopup().getClientId(facesContext) + "').show();");
}This way you can add anything you want in your popup. forms, messages, images,... -
How to display a message after a successful save
Hi,
Iam trying to save some data in the backend. After successful save it should show a message as " The data is successfully saved. The product you have saved is : xxxx". Now my question is what should be used to show the message.
Would it be better to use a dialog box or a different view to display the message or something else.
Could someone help me.
Thanks,
SuvarnaHi Suvarna,
Please try this to show the Message,
*wdComponentAPI.getMessageManager().reportSuccess("The data is successfully saved. The product you have saved is : xxxx");
Regards,
Ramganesan K. -
How to Display Confirmation message when data is stored in DB ?
Hello.
I am persisting user entered data to database table. But I want to display custom message like "Stored successfully" or "Not Stored".
I am using following approach in my controller and AM impl
in PFR:
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
OAApplicationModule am = pageContext.getApplicationModule(webBean) ;
am.invokeMethod("insertDataToDeviceDetailsTable") ;
in AM Impl :
public void insertDataToDeviceDetailsTable(){
getDBTransaction().commit();
//delegating control to Device Details Page
How to do it ? and also what is the best way to show messages in this scenario. As in some pages a dialogue box appears and the page become inactive.
waiting for reply..
Regards,
AjayHi,
You can pint message after am.invoke method:
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
OAApplicationModule am = pageContext.getApplicationModule(webBean) ;
am.invokeMethod("insertDataToDeviceDetailsTable") ;
throw new OAException("Stored successfully", OAException.INFORMATION);
in AM Impl :
public void insertDataToDeviceDetailsTable(){
getDBTransaction().commit();
--Sushant -
How to display success message after Remote service call
Hi ,
I am currently using Flex form for adding/updating user
personal details.On submit button click ,i am submitting details to
server by calling RPC remote service.For calling remote service i
am using penneframework. On penneframework, Remote service call
result are populated in RemoteResult object. It dont have any other
event method for handling result event.For errror handling, i have
defaultHandler for displaying error message.
Here i am having two requirements
1. I should be able to track RPC response, so that i can
display success message to user along with DB generated ID.
2. I need to reset all form field after receiving RPC
response.
Here my question is
1.How i can track server response, so that i can display
success or error message.
2. Is their any event or coding technique which i can use for
solving this issue.
Thanks
Kumaryou can do following way :
quote:
var token:AsyncToken =
YourRemoteClass.remoteMethod(param1,param2);
token.addResponder(new AsyncResponder(
function(data:Object, token:Object):void {
// tadaaa response
function(info:Object, token:Object):void {
//ooooo , noo, failure
token -
Branding the confirmation message after Self Registration in OIM
Hi All
Can you please let me know how can I brand (change) the confirmation message I am getting after the user having the Self registration .
I want to change the following message
Congratulations, testuser
Your registration request has been sent.
Your registration tracking request number is: 38
You can use this tracking number to check the status of your registration in the Track Request section.
Registration Summary:
Name: testuser
Email Address: [email protected]
User Login: testuser
ThanksChange the two line in two file Agent.properties & Agent_en.properties on each node if it is cluster.
find these wo line and change.
Note[REGISTRATION_REQUEST_SUCCESS].text = Your registration request has been sent. Your registration tracking request number is: {0}
<br>
Note[REGISTRATION_CONFIRMATION_TEXT].text = <br><b>Congratulations</b>, {0} <br>Your registration request has been sent.<br><br>Your registration tracking request number is: <b>{1}</b><br>You can use this tracking number to check the status of your registration in the Track Request section.<br><br><b>Registration Summary:</b><br>
Take a back up of oim.ear. Also you have to know packing and unpacking of jar and war
These file you can find under
$OIM_ORACLE_HOME/server/apps/oim.ear/iam-consoles-faces.war/WEB-INF/lib/OIMUI.jar//oracle/iam/selfservice/uself/agentry/resources/
Restart your OIM manage server.
HTH. -
Problem in Displaying Confirmation message when (retain am=false)
i have a scenario wherein after committing the records,i need to redirect to a new page,with the confirmation messages.but ,to avoid stale data erorr,i have to make "retain am" parametere as "false".
now the messages are not thrown on the next page if the reatinam is false.
any workaroundIn PFR:
pagecontext.putParameter("SuccessMsg", "ALV_QA_NCR_CREATE_CONFIRM");
pagecontext.putParameter("NcrNumber",Param_NcrNumber );
pageContext.forwardImmediately("OA.jsp?page=/alv/oracle/apps/qa/ncr/webui/XXALVACTIONS_PG&OAHP=XXALV_QA_HOME&OASF=XXALV_QA_UPDATE_ACTIONS",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
null,
false, // Retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_NO
in PR of the new Page:
String vMsg= pageContext.getParameter("SuccessMsg");
if(vMsg!=null)
Number ncrNum = (Number) pageContext.getParameter("NcrNumber");
MessageToken[] tokens = { new MessageToken("NCRNO", Param_NcrNumber)};
OAException confirmMessage = new OAException("QA", vMsg, tokens,
OAException.CONFIRMATION, null);
throw confirmMessage;
Regards
Sumit -
To display a message after respose.redirect download
Hi All,
I have jsp page where in the only code I have is a <%
response.sendRedirect("/cz_CZ/songs/angelique_song.zip");
%>. Now this starts the browser download window and asks the user to download the zip file.
Now, what i want is once the user completes the download I want to display thank you message. I don't mind using javascript. How can I do it?
Thanks in advance for your help.
THanks!
harshThe only way I see this working is with some crazy ajax polling logic.
1) create a servlet that will pump the data from the server to the client in stead of directly linking to the file
2) load this servlet in a hidden iFrame so that your main page stays untouched
3) when the servlet is done transferring the file to the client, set some flag to true, for example in the session
4) in the webpage, use Ajax to poll (can be done with a javascript timer) for the status of the flag. Once it is true, display the thank you message
JQuery has an easy Ajax routine to use. You can create a simple servlet that will output the value of the flag to the response and read that out using an Ajax call.
[http://api.jquery.com/jQuery.ajax/|http://api.jquery.com/jQuery.ajax/]
I'm pretty sure this technique can work, but I've never implemented it so I'm not 100% sure. -
WMV attachments not displaying in messages after QT 7.5.5 update.
My mother gets a lot of attachments from family, specifically videos in windows media video format. According to her, the WMV attachments used to display within the mail messages (without having to download them). This worked correctly, previous to the new Quicktime 7.5.5 update, however after the update, it now only plays the audio from the videos (however saving the attachments and actually opening them in Quicktime works fine).
She is using a Mac Mini, but she has forwarded some e-mails to my iMac and I get the same results. Both computer are running the same versions of Leopard, Quicktime, and iTunes (all the newest versions). Flip4Mac has been installed on each machine before and after the issue, and I updated that to latest version as well to see if that would fix it, but it didn't.
Any suggestions? Thanks.Greg,
Received and thanks!
I can replicate the problem, but found out that I have not yet installed Flip4Mac on my other computer, and have not had time to test in any but my primary boot volume. When I control-clicked on the attachment and selected to open with WMV, I got a message that my Flip4Mac was out-of-date. But updating did not correct the problem as others have found
I will need some time to chase this some more, and to raise a flag about it.
Ernie -
How to display confirm message in APEX pl/sql process
I have a pl/sql process that selects success messages from a database table. These messages need to be displayed to the user and confirmed (only one button, to acknowledge/dismiss the mssage) along the way.
Is there a way to do this within the process? I see lots of examples in the Forum of doing this in javascript (which I know very little about) but suspect there must be a simple way to do this in my pl/sql process.
Help?
Thanks,
CarolHi Carol,
You can put you success messages inside page items or application items (when pages are rendered or processed...).
Then using :
1) javascript can display these values
2) rendering the page can display these values
Hope this help
Louis-Guillaume
Homepage : http://www.insum.ca
InSum Solutions' blog : http://insum-apex.blogspot.com -
Error message after a PO is created
Hi everyone,
I am working in SRM 5.0 in classic scenario.
When I accept a bid from a bid invitation and then create a PO, an error message appears and says that the PO was not created, but that is not true, when I check in R/3 the PO was created.
Do you know why this message appears??
Thanks
IváHI Ivan,
Check in he application monior with administrator login if there is any application log for this message.
If you dont find any clue there then it should be better raised to OSS support.
Regards,
Prashant -
Display a message in dialog box while creating PO
Hi Experts,
i want to dispaly a popup message while creating PO(me21n),pop up should be trigger when we try to save two different plants in the item level while creating PO. for this purpose i have used enchancement mm06e005 and FM EXIT_SAPMM06E_016.
i want to pass this message to standard message in me21n
transaction and should get the message in dialog box
user should not able to save PO until he corrects the plants in item level.
please help me
thanks in advance,
Rama.Hi,
You have to check 1st this user-exit is triggering or not while saving the P.O.
If it triggers then you can put the code what you want. The message type should be Error type why becuase then only it won't allow further until it correct.
Thanks
Ganesh -
App Store update button displays bug message after updating, iOS 6.0
In iOS 6.0, after updating an app in the App Store, a weird message appears on the update button.
The button remains active giving the choice to update twice or more.Dude there are many bugs in ios 6 it is not safe to use.
Maybe you are looking for
-
how do i find which Apple ID is associated with music in my iTunes? When I sync with my iPad and iPhone it tells me I have music, apps etc from more than five IDs. I am asked for PW for a number of now extinct accounts.
-
What to do when your program doesn't work.
A huge number of posts here seem to relate to code that has been written (one presumes by the poster), but which doesn't work. I get the impression that people don't know what to do next. It's really not that difficult. When you're writing your progr
-
Ctrl+Tab not working in Visual Studio 2013 in Remote Desktop
My PC is W81, and I'm RDing into a W7 machine running Visual Studio 2013 SP4. When I press Ctrl+Tab (and hold), I very briefly see the usual editor window list come up, but it goes away and the editor does not switch. If I hold Ctrl+Tab and let the r
-
Hi All, I have few questions on Discoverer-workbook. How do i delete a workbook from database ? How do i import a new workbook in database ? Pls explain in detail. Thanks, JK
-
I have an apple certified refurbished iPod touch 3rd generatio. When playing the music with headphones, the music moves from song to song. When it is on a docking station, it repeats the song. Any ideas why or how to fix it?