on 11-26-2008 9:12 AM
Hi All,
I need to populate success or failure message when the value get updated in my table view , please help me on this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abdull,
This can be achieved by capturing the message field from the output port of your data service.
As example:
Just drag the data service output port and create a form and use a text or input field to capture that message. Then assign that message to that field. It will be done, you can achieve not only the successful message but also the failed message too.
Your data service should have output port with message field.
With pop ups you wont be able to capture the dynamic messages that will be the static one and it will be displayed before updating the tables because pop up will be triggered at the same time whenever we want to the update action. That means in one action we are trying to do two triggereing of event. So instead of pop up try using the first approach. I have used it and succeed in achieving it.
I hope this will be helpful.
Thanks and Regards,
Nutan Champia
You can simulate the popup of the form by placing the form over the top of your other objecs and setting the Visibility Condition to show the form when the popup is required.
Use a datastore boolean such as SHOWPOPUP and default it to false,
Then use the condition to display the popup by setting the datastore value SHOWPOPUP to true.
Add an OK button to the form with action to set the datastore value SHOWPOPUP to false to hide the form.
Regards,
Mark
Abdull,
1. Drag datastore to your storyboard
2. Right Click datastore and select Configure Element
3. Click + button to Add new field
4. Enter Fieldname=SHOWPOPUP, Type=Boolean, Default=false
5. Click on dataservice that is feeding your message input and drag into the datastore
6. Right Click on this new data mapping line and select Confgure Element
7. Click on fx for the SHOWPOPUP field and set the value to TRUE.
8. Right Click your popup Form and select Configure Element
9. Click + button to Add new field
10. Select PUSHBUTTON control and enter field name OK
11. Double Click the OK fiend to open configuration popup
12. Select ACTION tab and change radio button to CUSTOM ACTION and enter name HIDEPOPUP
13. Click on fx on the VISIBILITY CONDITION of the form and select enter formula
14. enter STORE@SHOWPOPUP as the formula
15. Click on the OUT port of the popup form and drag line into the datastore
16. Right Click on this new data mapping line and select Configure Element
17. Click on fx for the SHOWPOPUP field and set the value to FALSE
18. Select the dropdown list for the EVENT NAME at the top of the Data Mapping and select HIDEPOPUP as the event.
19. Select LAYOUT tab and readjust the position of the form over the top of your output table.
NOTE: you may need to click the BRING TO FRONT icon in lower left with your popup form selected to insure that it is not hidden behind other objects.
Please do not be offended if I put in too much details and good luck
Best Regards,
Mark
Hi Mark
Thanks a lot for helping me in solving this issue , I felt that we can just show the messsage but we cannot popup the message but you make it . There is another option in systemaction (PROMPT) that will also popup message but we need to trigger it. Mark is there any link for this popup and i want to know more about the hiding condition, Please do let me know the links if u know.
Thanks & Regards
Abdull Hakkim .K
Abdull,
You can also refer to the SAP documentation.
For example, Form Visibility is available here at [http://help.sap.com/saphelp_nw04s/helpdata/en/36/9e432c1e864e15a738aad87126814a/frameset.htm]
And information about Actions is here at
[http://help.sap.com/saphelp_nw04s/helpdata/en/36/17299f7f184da485c040f4b82bd7cb/frameset.htm]
Mark
User | Count |
---|---|
85 | |
10 | |
9 | |
9 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.