Skip to Content
author's profile photo
Former Member

RFC excuting twice


I have one custom RFC, with few input ports,say, form1(say this is a normal structure),table1,table2

one of the input port is just a structure and other are tables

from all this input ports i dragged the forms and table view, when i do this i got submit links for all this table views and form. ..which is connect to RFC input ports.

now my secenario is to use only submit button once, by which the data from the form,table view must be saved with single click of submit button,

for this i have made one link as just submit(without *) and remaining submit links which are coming from different tables view to a input ports , i made the submit link as *submit.

it it working well and fine....when i click a submit (without *).

but the RFC is excuting twice.., means instead of saving data once ina a one single record, it is aving twice with two records, what could be the reason..

can any one help to solve up this issue



Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Posted on Jul 17, 2007 at 02:49 PM

    Hi Srinivas,

    This is so because, there are 2 submits which is happening: One with * and one without *.

    To avoid multiple submits, you can keep submit in one of the form and connect all the other forms and tables with this input form. Then connect the input form with submit button to rfc doing the data mapping.The data from all the different forms would flow to RFC via the imput form on click of the submit button.



    PS: Award points if helpful

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Kavitha,

      Just Link the output port of the table form to the input port of the input form. You need not do any mapping in this stage. When you are mapping the input form( one connected to the 2 table forms) to rfc, you should be able to see the fields from the table form available for mapping.


      Nidhi Malik