Skip to Content
author's profile photo Former Member
Former Member

Getting pop-up after the data has been saved in database.

Hi Experts,

I have got the answer to get pop-up at the same time data is saved in database. But I required the pop-up after the data has been saved in database. That means in design after the BAPI(which saves the data in database) I want to get a pop-up that data has been saved in database.Is it possible? If so then please give the reply as soon as possible.

Regards

Nutan

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 18, 2008 at 07:28 AM

    If your data source (BAPI or stored procedure) returns a status/result message after saving then you can use the content of this message as a visibility condition to show a form with the message.

    Say your BAPI returns an 'S' for saved in an output field called MESSAGE.

    Drag a data store to your model. Create a data store variable called 'formvisible' (or whatever) of type text.

    Create a form with a "Your data has been saved" message and place this on top of all other items in your iview. Set visibility condition to STORE@FORMVISIBLE=='S'.

    Drag a line from your data source to your data store and map field formvisible to data source's output field @MESSAGE.

    Then add a button and an action to your form, drag a line to your data store and pass a value other than 'S' to FORMVISIBLE so the message is hidden when button is pressed.

    Good luck

    Henning

    Edited by: Henning Strand on Jan 18, 2008 8:29 AM

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Experts,

      I want to get the popup after saving the data in the database.But now I am trying with the prompt action.I have given a button and assigned the system action as PROMPT. and given the formula.But when I am giving the same as event name.Then it is showing as warning that PROMPT action can not be raised.

      Where I am wrong please guide me.

      Regards

      Nutan

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.