on 12-04-2009 6:35 PM
Hello All,
Is there any way we can pop up all the messages (example Data is saved, Data Generated and Read, etc...) issued in the Web template. The standard SAP messages are displayed in the left hand top corner. I need to pop up the same messages which is displayed in the Web template.
Thanks in advance.
Vikram
Hi.
Using javascript you can show alert/pop up/confirmation messages BUT I dont think there is any way to show SYSTEM messages in your own webitems.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Thanks for your reply.
The below is the existing code, for the messages.
<p >
<bi:MESSAGES_LIST_ITEM name="MESSAGES_LIST_ITEM_1" designheight="200" designwidth="500" />
</p>
Can anybody please let me know what changes would be required in the code to popup the message.
Thanks and Regards,
Vikram
Hello Andrey,
Thank you so much for your quick help. I am not a Java/xhtml programmer. Below is the existing complete xhtml code generated by the system in the XHTML Tab in the WAD. It will be appreciable if you can let me know where do i need to insert your code in the XHTML Tab of the WAD.
Thanks again,
Vikram
You can access the Code here http://www.box.net/shared/j0ufbjco9p
Hi.
Plz note that this code can not be executed automaticaly.
You must have expanded MESSAGE_LIST_ITEM in your WAD adn showing popup messages coul be only on pressing button.
1. add "Script" webitem
2. add early provided code to script item (not via XHTML, but via properties if item)
3. add new button "show messages" and in parameters of this button select script function and choose function getSystemMessages.
Only on presing this button system messages will appear. It should be after planning sequence execution.
Regards.
Hi ,
It is possibel to call this javascript function automatically.
For this you need to insert the call function code in teh body section of the web template code in XHTML view.
Doing this, when ever the page refreshes the function gets called and hence the pop up message will be displayed.
Regards.
Shafi.
Hello Andrey,
The script works perfectly. Thank you so much. However is there any way, where it will automatically popup after execution of the planning function/command/sequence.
Thanks again.
Regards,
Vikram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The only way that I know is showing messages in message area. may be using javascript you can pop-up the same message as showed in that area.
I hope this helps.
Regards
Lucimar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.