Skip to Content

Eventing with System actions

Hi all,

I usually change the visibility of FormViews via a boolean value in the data store which is set when a certain event occurs (i.e. pressing the 'close'-button).

Now i want to write the boolean value to the data store when a button with a hyperlink (to start a SAP-transaction) is pressed but I have got no event name. I tried the event 'url' (from the dropdown list - All events) but that 'could not be raised'. Can I achieve that? Are there usable event names with system actions at all?

I work on VC 700.10.0.1

Thank you in advance


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jul 18, 2007 at 09:06 AM

    Hi Gerhard,

    You can't use URL event this way. But you can use the following as a work around:

    Let's say you have a form which is connected to the data store with a action named "Visibility".

    1. Add a signal out and connect it to the form with the same action name.

    Name the signal (let's say "SIG") add a numeric field, we'll call it "Spinner".

    2. Add a signal in (call it "SIG" too) add a numeric field call it "spinner".

    3. Add a form and connect it to the signal in. Set the visibility condition of the form to false. Mark the spinner control as visible and change the type to spinner.

    4. Add a hyperlink action to the spinner control.

    5. Map the signal out connection to [XXXXX]@Spinner+1 (where XXXXX is the form's ID).

    6. Last but not least, add a start point and connect it to the signal out. Map the spinner to initial value 0.

    That's it.



    Add comment
    10|10000 characters needed characters exceeded

    • Hi Shay,

      Now I´ve tried the solution you submitted. Unfortunately it did not come to work the way I expected.

      When I understand this workaround right you want to write the visibility value to the data store and with the same event trigger the switching of a spinner in a second (invisible) form which then should release the hyperlink. I have not worked with spinners so far, so I suggest this last thing would work.

      I tried the thing in several variations, and made the extra form (with the spinner field) visible to maybe see the changing of values but the whole form stayed greyed out, so not data were submitted to it.

      I suspect that the problem could be in trying this solution in a nested iView where any signal out or signal in gets part of the interface with the main iView and seems to not work for data flow inside the nested iView.

      What do you think could be the point of failure?