How to display Success Message in PDF
Hello all
I need to display a success messgae in ODF. but without he message box.
It should be such that, after the success, the user should not click yet see the success message.
I got only MEssageBox. But that gives a pop up.
Please let me know about other methods.
Regards,
Aditya Deshpande
If you are using Web Dynpro then you can make use of the MessageArea control and display the messages there.
Alternatively if you want to achieve this in Adobe itself then probably you will need to play with a text field and hide / unhide depending upon your execution.
High level steps would be:-
1. Create a TextField / TextArea element and bind it to the success node in your form. Initially you need to hide it.
2. Upon submission, when the execution is complete then unhide it and show the message displayed the response you receive.
PS: You will need this to be an Interactive Form for this to work.
Chintan
Similar Messages
-
How to display success message in function module
Hi Experts,
I am developing new function module regarding URL finder. As per my requirement ,
If USER ID is not provided -display SUCCESS MESSAGE and Provide sy-uname.
how to display success message.if possible can You write the code.
Thanks
rajuHello,
We can use an exporting parameter like single character field like 'S' for success and 'E' for error instead of a message.
Another option is you can use the Tables parameter and populate Return table with error or success message. Return table of type 'BAPIRET2'.
Hope this might help you!
Regards,
MM Jaffer. -
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 -
How to display success message when data is changed in the custom tab in MM
Hi,
I have added a new custom data tab in the MM01/MM02/MM03 transactions. Whenever I do changes to fields in the custom tab in MM02 transaction, and no changes in the standard tabs, I will get a message stating "No Changes Made".
But if I do changes in the standard tabs, it works as usual with display of message "Changes to particular material has been done.
Please let me know, if anyone of you know, how to display the success message if the changes to the custom tab is done.
Thanks in advance,
sudhanvaHi Sudhanva,
The exit EXIT_SAPLMGMU_0001 is a function exit that you can use for custom validation but not to add custom tab/screen.
But the message issued by SAP is not related to this Function Exit.
If you have used a Screen Exit, then there must be some Function Exits also in the same Enhancement using which you can assign the value of custom fields to/from the standard structure. Thus when the value of any custom field is changed the system can understand that the some changes have been changed and will not issue the message.
In case you have used a BADI, there can be other methods in the BADi using whcih you can assign the value of custom fields to/from the standard structure. This might also prevent the message from being displayed.
I could try giving you further details if you can provide the name of the Enhancement/BADi that you used to add the additional tab.
Hope this helps.
Regards,
Abhisek. -
How to display Success Message on the Left side of Screen
I am displaying a Process Success Message after the ApplyMRU process, *#MRU_COUNT# row(s) updated*. By default, this message is displayed at the center of the screen. I would like to display this message at the left hand side of the screen.
I am using APEX 4.0; Theme Sand - 10. I have tried changing the alignment for the success message position in the Page Template – One Level Tabs, HTML Body section. But I am not having any luck.
Does anyone know how to change/override the default position for the success message?
ThanksAndy,
I tried what you suggested and the success message is still being displayed in the center of the page.
I went to Template --> Page --> One Level Tabs. In the Header, I put the following lines before the </head>
<style type="text/css">
.t10messages {text-align:left;}
</style>
</head>
<body #ONLOAD#>
#FORM_OPEN#
I do not have any other custom CSS. Just strictly using Theme 10 - Sand
Any ideas on what else could be the reason?
Thanks,
DP
Sorry for the delayed response - out for holidays. -
Display Success Message in Web Service
Hi All,
I Have created web service for function module, when executing web service in navigator its working fine. Here Exception message display in output but success message not display. Success message working in Function Module but not display in Web service. How to display success message in web searvice.
Code used for success message in Function Module:
Message S001(ZMSG).
Thanks,
ChandraHello,
Dont think you can use custom message classes in RFC's. Try using a generic message and check if the message is being populated.
Vikranth -
How to display error message in Shopping Cart?
How to display error message in Shopping Cart and stop the shopping cart for further processing? I try MESSAGE w001(zshop) or MESSAGE e001(zshop). But it is causing run-time error.
Hi Paul,
In the DOC_CHECK or DOC_SAVE BADI, you have a global internal table named et_messages. The structure of this table is 'bbp_smessages_badi'. You can append your error message here by inputting the message type, ID and number. The message type is either 'E' for error or 'W' for warning and the number would depend on your message class(ID). You will be able to see the error message on top of the screen, can be a red or yellow highlight depending on your appended message. I don't think creating the error message via the MESSAGE syntax will be successful, maybe this is why you are getting a runtime error.
Regards,
Noel -
How to display a message in an audit report?
hello all,
i would like to ask how do display a message in an audit report. here is my code...
CALL TRANSACTION tcode USING i_bdcdata
MODE c_n
MESSAGES INTO i_error2.
IF sy-subrc EQ 0.
ENDIF.
CLEAR i_error2.
LOOP AT i_error2.
IF i_error2-msgtyp EQ c_e.
MOVE v_pernr TO i_bdcerror2-pernr.
MOVE c_infotype TO i_bdcerror2-infty.
MOVE 'Error' TO i_bdcerror2-msgtype.
<b> SELECT SINGLE text
INTO v_msgtxt
FROM t100
WHERE sprsl = i_error2-msgspra
AND arbgb = i_error2-msgid
AND msgnr = i_error2-msgnr.
MOVE v_msgtxt TO i_bdcerror2-msgtxt.</b>
APPEND i_bdcerror2.
ENDIF.
ENDLOOP.
DESCRIBE TABLE i_bdcerror LINES v_bdcerrors.
IF v_bdcerrors <> 0.
SKIP 1.
WRITE: 'BDC Error Report'.
SKIP 1.
WRITE: 'PERNR',
'INFOTYPE',
'MESSAGE TYPE',
'MESSAGE TEXT'.
ULINE.
LOOP AT i_bdcerror.
WRITE: / i_bdcerror-pernr,
13 i_bdcerror-infty,
22 i_bdcerror-msgtype,
35 <b>i_bdcerror-msgtxt</b>.
ENDLOOP.
ENDIF.
the message text that i was getting contains &1, &2 and so on. how would i be able to replace it with the original value?
thanks!
-annAfter calling the transaction, this is what I do.
a) Call the function module, <b>MESSAGE_TEXT_BUILD</b> and pass the following values from <b>BDCMSGCOLL</b> or the internal table where you collect the messages.
i) MSGID
ii) MSGNR
iii) MSGV1
iv) MSGV2
v) MSGV3
vi) MSGV4
There is no need to fetch data using select from table t100.
It builds the message and returns in MESSAGE_TEXT_OUTPUT which can be then displayed to user.
Regards,
Subramanian V. -
How to display a message dialog box
I need to know how to display a message box from my application.
Anyone can help me?
Thanks in advanceDear Zennen,
Use JOptionPane.
Ex
JOptionPane.showMessageDialog(this,"message","title",JOptionPane.INFORMATION_MESSAGE); Thanks
Joey -
How to display the message along with a value using BBP_CHECK_BADI
Hi Gurus,
I need to display a message dynamically when the user create's a shopping cart. I am using Check_badi for this. i.e., I need to display the buyer number and amount left for him dynamically. I am storing both of them in variables and don't know how to display the messages laong with some message " the amount left for <XXXXXX> is <$$$$$$$$>". Can you help me out.
Thanks,
NeelimaHi,
you can use the function module 'BBP_PD_MSG_ADD'. This is the function module normally used for the displaying the error messages in SRM.
See wether you can use already available error messages , use the transaction SE91 , and the message class being BBP_PD -
How to display the Message Pool Messages in CE 7.2
Hi Experts,
Please let me know how to display the Message Pool Messages in CE 7.2.
I have tried with reportContextAttributeMessage, but it is deprecated in CE 7.2.
Please do the needful.Its Urgent.
Thanks & Regards,
SatheshKumar RHi Sathesh,
Do the following steps:
1.) After creating a component, under it you will see Message Pools. Double click and open it.
2).Click "Add Message" and add a new message. (Give a message key, type of message (either warning, error etc ) and message text).
3). Save the metadata.
4). Raise this message where all you want by using following code(For example, on click of a button) :
IWDMessageManager msgnr = wdThis.wdGetAPI().getComponent().getMessageManager();
msgnr.reportMessage(IMessage<component name>.<message>,null,true);
For example, I have a component name TestAppComp and under message pool I have message called message1, then use lik this:
IWDMessageManager msgnr = wdThis.wdGetAPI().getComponent().getMessageManager();
msgnr.reportMessage(IMessageTestAppComp.MESSAGE1,null,true);
Reply me if you any doubt.
Regards,
Jithin -
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. -
Report with BDC not displaying success message when run in Background
I am running a BDC report in Background mode.The below statement is not capturing the Success message when a document is posted.But when I am running the same in ForeGround mode it is capturing and is displayed in the output.Can anyone please help me in understanding why this is happening and how can I resolve this.
CALL TRANSACTION 'MB1C' USING bdcdata MODE mode UPDATE 'S'
MESSAGES INTO messtab.Hi Madhu,
I think your BDC didnt generated any document when you run it in 'N' screen mode.
Debug your program when you run it in background
Goto Tcode :SM37
Select the job ( march checkbox )
==> in command prompt enter 'JDBG'
==> Then you can start reexecting the job .
You can check the sucess messages accordingly in debug mode
Also add a read statement on messtab for msgtype = 'S'.
Thanks
Bhanu -
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 the message in Pop Up
Hi All,
I have BSP page, in which there is a button. On click of the button a pop will open in which a table is displayed. And in the same Pop Up we have two more buttons. One is to Perform certain process be selecting a record in the table displayed. And the other one is the close button which is used to close the Pop Up.
Now i want to display a success message in the same Pop Up below the button after performing the process on click of the first button.
Could someone help me regarding this.
Thanks & Regards,
Karthik MD.
Edited by: Karthik.M.D on Feb 11, 2010 9:18 AMHi Karthik,
The scenario sounds pretty simple. In a BSP, the popup dialogs can be displayed by using Javascripts.
Window.open("");
should do the trick for opening a dialog.
Solution:
1. Design two page with flow logics, say A & B, where A is the parent page and B is the child page.
2. On click of a button in page A, with the help of the Javascript, open a popup with page B inside the popup.
Did you try to implement the solution? Hope it helps!
Regards,
Maheswaran
Maybe you are looking for
-
Client(mandt) Handling in SAP Business Suite (ERP) on HANA
Hi Experts, What are the possible ways to do client handling in native application developments for ERP on HANA? Is there a best practice for automatic client handling? Regards Manas
-
Your server IP address is in local blacklist
Recently it has happened to me more and more often that my emails are sent back to me as undelivered email, with the remark "Your server IP address is in local blacklist". This happens even with my contacts that are in my Address Book and I was sendi
-
Open in other apps menu issues
I think There are some issues to be fixed with the option "open in" wich shows too few apps, sometimes 9 sometimes more than 12, not always the same. deleting (with docs!) and reinstalling is not the solution.
-
Offset and Limit for sql queries
Hello all, Can anybody help me please... i have used the offset and limit in postgres sql when we want to get only a number of rows starting from a particular row of a table. is there any similar things available in oracle. Hope some one can help me
-
In the latest update changes Aurora 30.0a2, the UI shows the toolbar as stretched vertically. all the icons appear to be about (+/-) 1 to 1.5. This is no major issue and really just a minor visual nuisance but is a bug nonetheless. image: http://tiny