cancel
Showing results for 
Search instead for 
Did you mean: 

Pop up Messages in WAD

vikram_bagade5
Explorer
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

vikram_bagade5
Explorer
0 Kudos

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

Former Member
0 Kudos

Hi.

You can use [this code|https://www.box.net/shared/l5jiq27vqj].

This code creates pop up window for each system message in MESSAGE_LIST_ITEM.

You can modify this code according to your requirements.

Regards.

vikram_bagade5
Explorer
0 Kudos

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

Former Member
0 Kudos

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.

virenp_devi
Contributor
0 Kudos

Hi Andy,

Could you please provide the code again. I am not able to access it on the link.

Many Thanks,

Viren

Former Member
0 Kudos

Hi.

You can access [this link |http://www.box.net/shared/l5jiq27vqj]?

Regards.

former_member212742
Active Participant
0 Kudos

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.

Former Member
0 Kudos

Hello again,

could you please provide the code again. It has been deleted.

Thank you very much!

Former Member
Former Member
0 Kudos

Thank you very much Vikram,

but there are no java parts in the code??? i need the getSystemMessages code and can´t find it anywhere

Edited by: Andreas Urban on May 2, 2011 4:18 PM

Answers (2)

Answers (2)

vikram_bagade5
Explorer
0 Kudos

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

Former Member
0 Kudos

Hi.

Unfortunately I did not find any way to run this script after planning sequence/function.

You need any "creative" solution to run it ...

Regards.

lucimar_moresco
Employee
Employee
0 Kudos

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