on 02-25-2014 8:55 PM
Hi
I'm trying to pass some standalone values as well as two tables to a backend RFC.. however VC is calling the function twice. The second call does not include the standalone values (only the two tables I am passing)
I've had this issue with the old VC but I'm not sure how I got around it.. what is the proper way?
I have one event called 'toplevel'. I have connected my form and created a button that sends the event toplevel.
I have created two tables and connected them with the event *toplevel
I set a breakpoint in my RFC. It gets called twice.
The first time all data is passed correctly.
The second call only the tables are passed (no date is passed).
This is a big problem because the second call wipes out all my results/data.
I tried removing the *toplevel and replacing it with just toplevel (Removed the asterix). This does not pass the tables.
Not sure what to do next? How can I make sure it is only called once and it passes ALL values.
Cheers
Brad
Hey Brad, try changing the first toplevel action to *toplevel so that all 3 actions are similar. I think this will prevent it from calling the RFC twice.
Chintan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Brad, what version of VC are you using? I'll try creating a small application to test such a scenario.
I do have a model in 7.31 SP07 CE where I have one table and one form going into an RFC with SAVE action. I was running into exactly same problem as you (RFC getting called twice) when I was using SAVE and *SAVE actions. Once I changed both of them to *SAVE it worked as expected.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.