How to submit subform from it own parent form button.

Hi,
I have a scenario that I have put a region in a subform, where I need it to be submitted from its parent form button(cb1).
eg:
<af:panelGroupLayout id="pgl1">
<af:subform id="sub1" default="true" >
<af:region value="#{bindings.UserFlow1.regionModel}" id="r1"/>
</af:subform>
<af:commandButton text="Check from Main" action="#{CheckSubmit.checkSubmit1}" id="cb1"/>
</af:panelGroupLayout>
PLease let me know if there any solution.
Vipin

Hi,
Check following will helpful
http://www.oracle.com/technetwork/developer-tools/adf/learnmore/40-ppr-subform-169182.pdf

Similar Messages

  • How to submit data from multiple Input Ports in single SUBMIT button  click

    Hi,
    I am in SPS8.
    What exactly steps I need to perform to submit data from multiple Input Ports.
    I couldn't able to submit One input Form and one Input Table to BAPI data service in single SUBMIT button click.
    I debugged the VC application in SPS8.
    While debugging, I found that when I click the SUBMIT button in the Input Form, Only data in that Input
    form are being passed to the BAPI, But not the Table Form data.
    If I click on the SUBMIT button in another Input Table, Only data from that table is being passed to the BAPI, but not the Input form data.
    Essentially I need to submit both of them in one SUBMIT button.
    Thanks,
    Ramakrishna

    Ramakrishna,
    From the word document that you sent to me the steps you are missing to map the appropriate information into the BAPI is first you are not mapping all data rows into the table input port. To do this double click on the input table view and change your selection mode from single to multiple. Then when you click on your link between the BAPI and your input table you will see a new option appears under data mapping "Mapping Scope" select All Data Rows.
    That's the first part of the problem to get the BAPI to recognize both the inputs coming from the form and the table eliminate the submit button from the form. Drag and drop a link from the output port of the table view to the Input port of the BAPI. Double click on the link between the BAPI and the table view and open the expressions editor for the two fields:
    1/ Automatic Source
    2/ SKIP_ITEMS_WITH_ERROR
    On the hierarchical folder structure on the right expand expand the Data Fields node to find the fields from the form and map them accordingly.
    Now when you hit the submit button on your table it should pass the BAPI all the parameters from both the form and the table.
    Hope this helps,
    Cheers,
    Scott

  • How to get information from ODBC sources to Forms Builder environment

    Hi,
    Could anyone help me, to get some examples or more information, that how can I get information from ODBC sources to Forms Builder environment. I have a need to read data for example to LOV.

    If you are on Forms 6i you install the Oracle Client Adaptor from the Forms CD. You then have a way of connecting to ODBC datasources.
    To connect to ODBC at the same time as you are connected to Oracle you can use the EXEC_SQL package to create a second connection via odbc and issue select statements against that datasource.

  • How to display the report output from a customized Oracle Form button

    Hi Gurus
    I developed a customized oracle form and one customized report. I want to run report from oracle customized form, for this i use one button to submit concurrent request for request.
    its successfully submitted and i can view output by using View ----> Request --------> Find -------------> Output...
    But problem is that how can i view output by using button not doing all steps to view output.
    Regards,

    Hi Haq Nawaz,
    Refer Here
    Regrads,
    Guru

  • How to stop someone from filling out pdf form multiple times?

    My customers order my service by down loading a .pdf form. They then fill out the form and submit the form to my email. How do I stop a customer from submitting the form multiple times. I would like for the customer to submit the form only once filled out. If I need more info I could follow up to their order manually via email. Thanks for your help!

    One of the main reasons why you have a customer posting multiple submits would be because for some reason he/she doesn't know the first one was successful.
    Add a property your form to record whether or not a valid submit has already happened. Use script to set that property on submit. Check each time the submit operation is fired to see if the property is set. If it is display an error dialog and stop the submit from occurring.
    If someone wants to open multiple copies of your form and fill it out and send it to you, well there's nothing you can do about that.

  • How to extract data from an interactive adobe form and update SAP database

    Hi ,
    I want to create an Interactive Adobe Form with two text fields and a submit button.On click of submit data entered in the text fields should be stored in a ZTable.
    Please let me know the procedure for doing this in ABAP.
    Thanks,
    Prasuna.

    Hi ,
    pls have a look at the link below...
    [http://www.adobe.com/devnet/livecycle/articles/lc_designer_schema_tip.pdf]
    if u r using abap web dynpro application for calling the adobe form than on the CLICK Action of the button give the code :
    zdept is the interface name ..
    method ONACTIONCLICK .
      data:
        Node_Adobe       type ref to If_Wd_Context_Node,
        Node_Zdept       type ref to If_Wd_Context_Node,
        Elem_Zdept       type ref to If_Wd_Context_Element,
        Stru_Zdept       type If_Main_View=>Element_Zdept .
      data wa_zdept type zdept.
    * navigate from <CONTEXT> to <ADOBE> via lead selection
      Node_Adobe = wd_Context->get_Child_Node( Name = IF_MAIN_VIEW=>wdctx_Adobe ).
    * navigate from <ADOBE> to <ZDEPT> via lead selection
      Node_Zdept = Node_Adobe->get_Child_Node( Name = IF_MAIN_VIEW=>wdctx_Zdept ).
    * get element via lead selection
      Elem_Zdept = Node_Zdept->get_Element(  ).
    * get all declared attributes
      Elem_Zdept->get_Static_Attributes(
        importing
          Static_Attributes = Stru_Zdept ).
      wa_zdept-DEPTNO = Stru_Zdept-deptno.
      wa_zdept-DNAME = Stru_Zdept-dname.
      wa_zdept-LOC   = Stru_Zdept-loc.
      insert into zdept values wa_zdept.
    endmethod.
    Hope this helps  !!!
    best of luck !!
    Regards
    Ravi

  • How to Retrieve data from database into another form ?

    Good Day!
    Am currently new at JSP. I've been studying it for awhile and still getting the hang of it. We are working on a project.
    Editing a given data. We have to retrieve the given data and post it to another form "Editing form".
    Since we can retrieve data using JSP but how are we going to post it to another form? I mean how are we going to transfer data from one form to another?
    Can anyone help me with codes please..

    The client is a web browser.
    The client submits a request (click a link, visit a form)
    The server gets to respond to this
    - look at request parameters from the client
    - access database
    - produce resulting html page
    - send page back to client.
    The standard pattern is to retrieve data from the database in java code, and then load that data into a bean.
    You then make that bean available as an attribute
    It is then available for use in your JSP - either <jsp:useBean> tag or using ${ELexpressions}
    All you can pass from the client to the server is request parameters - which are always strings.
    Draw a picture of where the information is, and the information flows. Very rarely does it go directly from one "form" to another.
    Cheers,
    evnafets

  • How to delete rows from multiple tables when pressing button

    Hi, I'm wondering how do I delete a row from two different tables at the same time when I press the Delete button. Both tables have GROUP_ID as their primary key.

    Nevermind! I realized that I had "reset" before my process to delete from the 2nd table.

  • Help! How to pull data from a database into form

    I have information store in a database and I need to import(place) it onto a form.  The form already has a connection to the database, I just don't know how to update the information on the form with the information that is stored in the database.  Can anyone help?

    Yes there is ....now you need to do a query agianst the DB looking for that specific record. I did a webinar on this topic some time ago but i believe the link is still active. Have a go at this:
    http://adobechats.adobe.acrobat.com/p69655795/
    Paul

  • How to obtain data from SAP in the form of XML

    Hi
    We have a requirement to integrate SAP CRM server with 3rd party utility.
    The 3rd party utility needs SAP Data in the form of XML.
    please guide me in getting the following data in the form of XML;
    XML formats for:
    -     Customer data
    -     Product data
    -     Promotions data
    -     Campaign data
    etc.... if any more data required from SAP server.
    Kind regards,
    Harika

    Hi Harika,
    Webservices is best way to go inorder the fetch the data from CRM system, ofcoz it comes out in XML format.
    http://esworkplace.sap.com
    You will info abt this http://www.sdn.sap.com/irj/bpx/esworkplace
    There must a suitable webservice given for each of the below. Browse through esworkplace.
    -     Customer data
    -     Product data
    -     Promotions data
    -     Campaign data
    webservice can easily be tested in WSNAVIGATOR of ESR in SE80.
    Hope the above hints gives you a way forward.
    Chees, Satish

  • How to pass selection from one page to form in another?

    Hi all,
    I have an "Events" page that is linked to an "RSVP" form page. On the events page, there are links under each listed event that say "RSVP for this event" that point to the RSVP page.
    The RSVP page is a form where you enter details and choose the event you are RSVPing for in a drop down menu (populated using a recordset because this all needs to be tied into an admin section of the site)
    How can I click on the RSVP for this event link and then have it choose the right event in the menu without having to remember what event and manually doing it yourself? For example, I want to go to event 2, I click the link to RSVP and in the drop down, event 2 is already shown as the first selection.
    I should mention that I used a Nextensio form for the RSVP page and manually built the Events page with a repeat recordset SB.
    Thanks

    Hi John,
    if you switch to Code View, you´ll usually see something like:
    ...following the option´s value attribute.
    Please try with changing this example to:
    ...and don´t forget to backup the original page ;-)
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • How can you securly call discoverer through a form button?

    How can you send a user's creditentials securly to discoverer when in forms without using SSO? Is there something similar to calling oracle reports using a cookie to pass the credentials?
    Thanks,
    Jim

    Dr_Chris wrote:
    Just looked into the HBH-PV720 which is a Mono headset (version 2.0) whereas the Samsung Star is A2DP (version 2.1) capable, which means that you will need a compatible BT stereo headset in order to stream music to the phone.Hope this helps.
    I looked up on Sony Ericsson's products page and found dad's headset.
    http://www.sonyericsson.com/cws/products/accessories/compatiblephonesotherbrands/hbh-pv720?cc=gb&lc=...
    Then looked at the (Other Brands) Compatible Phones and noticed that Samsung Star (s5230) wasn't included there
    Dad's old phone was a W302 and I found it at the compatible Sony Ericsson phones section,which means incompatibility is actually the problem.At least he can use it when driving(which was actually the main reason why I bought him the headset,because I hated it when he drove and held his phone at the same time).
    Thanks so much for your replies,I might aswell have wasted my entire day trying to figure out how to fix this,not knowing though what the actual problem was

  • Return data from Java servlet in form of JSON encoded parameters in Javascr

    How to return data from Java servlet in form of JSON encoded parameters in Javascript handler function call?
    The same is implemented in php as the following
    echo "sT.handleAjaxResponse(";
    echo json_encode($response);
    echo ");";
    How to do the same in Java servlet?
    Thanks.

    With the rising popularity of JSON (especially with Ajax), support for it has started to appear in the Java community. I am not aware of any standardized approach yet, but expect it is likely we'll see that eventually. For now, you probably want to look at a third-party library such as the [JSON in Java Library|http://www.json.org/java/], Jettison, or [Java Tools for the JSON Format|http://jsontools.berlios.de/].

  • How to submit a report ,Passing the internal tables from parent report

    How to submit a report ,Passing the internal tables from the parent report ?

    The SUBMIT statement executes a report from within a report. i.e. you could have a drill-down which
    calls another report. Can only execute reports of type '1'.
    *Code used to execute a report
    SUBMIT Zreport.
    *Code used to populate 'select-options' & execute report
    DATA: seltab type table of rsparams,
          seltab_wa like line of seltab.
      seltab_wa-selname = 'PNPPERNR'.
      seltab_wa-sign    = 'I'.
      seltab_wa-option  = 'EQ'.
    load each personnel number accessed from the structure into
    parameters to be used in the report
      loop at pnppernr.
        seltab_wa-low = pnppernr-low.
        append seltab_wa to seltab.
      endloop.
      SUBMIT zreport with selection-table seltab
                                    via selection-screen.
    *Code used to populate 'parameters' & execute report
    SUBMIT zreport with p_param1 = 'value'
                    with p_param2 = 'value'.
    Other additions for SUBMIT
    *Submit report and return to current program afterwards
    SUBMIT zreport AND RETURN.
    *Submit report via its own selection screen
    SUBMIT zreport VIA SELECTION-SCREEN.
    *Submit report using selection screen variant
    SUBMIT zreport USING SELECTION-SET 'VARIANT1'.
    *Submit report but export resultant list to memory, rather than
    *it being displayed on screen
    SUBMIT zreport EXPORTING LIST TO MEMORY.
    Once report has finished and control has returned to calling
    program, use function modules LIST_FROM_MEMORY, WRITE_LIST and
    DISPLAY_LIST to retrieve and display report.
    *Example Code (Retrieving list from memory)
    DATA  BEGIN OF itab_list OCCURS 0.
            INCLUDE STRUCTURE abaplist.
    DATA  END OF itab_list.
    DATA: BEGIN OF vlist OCCURS 0,
            filler1(01)   TYPE c,
            field1(06)    TYPE c,
            filler(08)    TYPE c,
            field2(10)    TYPE c,
            filler3(01)   TYPE c,
            field3(10)    TYPE c,
            filler4(01)   TYPE c,
            field4(3)     TYPE c,
            filler5(02)   TYPE c,
            field5(15)    TYPE c,
            filler6(02)   TYPE c,
            field6(30)    TYPE c,
            filler7(43)   TYPE c,
            field7(10)    TYPE c,
          END OF vlist.
    SUBMIT zreport EXPORTING LIST TO MEMORY.
    CALL FUNCTION 'LIST_FROM_MEMORY'
      TABLES
        listobject = itab_list
      EXCEPTIONS
        not_found  = 4
        OTHERS     = 8.
    CALL FUNCTION 'LIST_TO_ASCI'
      EXPORTING
        list_index         = -1
      TABLES
        listasci           = vlist
        listobject         = itab_list
      EXCEPTIONS
        empty_list         = 1
        list_index_invalid = 2
        OTHERS             = 3.
    IF sy-subrc NE '0'.
      WRITE:/ 'LIST_TO_ASCI error !! ', sy-subrc.
    ENDIF.
    Submit report as job
    *Submit report as job(i.e. in background)
    data: jobname like tbtcjob-jobname value
                                 ' TRANSFER TRANSLATION'.
    data: jobcount like tbtcjob-jobcount,
          host like msxxlist-host.
    data: begin of starttime.
            include structure tbtcstrt.
    data: end of starttime.
    data: starttimeimmediate like btch0000-char1.
    Job open
      call function 'JOB_OPEN'
           exporting
                delanfrep        = ' '
                jobgroup         = ' '
                jobname          = jobname
                sdlstrtdt        = sy-datum
                sdlstrttm        = sy-uzeit
           importing
                jobcount         = jobcount
           exceptions
                cant_create_job  = 01
                invalid_job_data = 02
                jobname_missing  = 03.
      if sy-subrc ne 0.
                                           "error processing
      endif.
    Insert process into job
    SUBMIT zreport and return
                    with p_param1 = 'value'
                    with p_param2 = 'value'
                    user sy-uname
                    via job jobname
                    number jobcount.
      if sy-subrc > 0.
                                           "error processing
      endif.
    Close job
      starttime-sdlstrtdt = sy-datum + 1.
      starttime-sdlstrttm = '220000'.
      call function 'JOB_CLOSE'
           exporting
                event_id             = starttime-eventid
                event_param          = starttime-eventparm
                event_periodic       = starttime-periodic
                jobcount             = jobcount
                jobname              = jobname
                laststrtdt           = starttime-laststrtdt
                laststrttm           = starttime-laststrttm
                prddays              = 1
                prdhours             = 0
                prdmins              = 0
                prdmonths            = 0
                prdweeks             = 0
                sdlstrtdt            = starttime-sdlstrtdt
                sdlstrttm            = starttime-sdlstrttm
                strtimmed            = starttimeimmediate
                targetsystem         = host
           exceptions
                cant_start_immediate = 01
                invalid_startdate    = 02
                jobname_missing      = 03
                job_close_failed     = 04
                job_nosteps          = 05
                job_notex            = 06
                lock_failed          = 07
                others               = 99.
      if sy-subrc eq 0.
                                           "error processing
      endif.

  • How to submit the parent window from child window

    Hi,
    I am looking out for a solution. I have a main JSP page and on clicking a button in the page a pop up window will be displayed, which is too a JSP page. Finally i should submit both Popup window JSP page and the parent window JSP page, when clicking the button in pop up window. Can anyone come out with some possible solutions.

    Hi
    Please go through this.. check thomas reply
    Re: Close Main Window directly on action on Pop up window
    also check this..
    how to close main window on click of a button on popup window
    cheers,
    Kris.
    Edited by: kissnas on May 12, 2011 5:06 PM

Maybe you are looking for

  • BT Broadband not working when on the phone

    Been a BT customer for couple of months. Multple devices are connected to the Hub no problems but when the phone rings the broadband does not work.  The Hub flashes orange almost everytime when someone is on the phone. Whether it be a outgoing or inc

  • Oracle UCM Installation Supported Versions

    I am installing Oracle UCM suite in Windows 7 64bit-OS, can anyone say which is the release version to download the following products oracle DB version? RCU version? UCM version? Experts please advice as there is a confusion with versions and releas

  • Proxy to jdbc synchronous considerations

    There is a scenario, abap program call proxy, send sql1 (select) and sql2(update), and get the sql response. so  solution A proxy--XI-- jdbc synchronous. There is another solution B: jdbc--XI-- proxy asynchronous One difference is, If failed between

  • To get DNS, Local IP, Subnet Mask are...

    I need to be able to figure out what the local DNS, IP and subnet mask are... I am not running an applet, this is a full blown java program... I know this and similar questions have been asked tons of times but are they any way of doing this across m

  • Current Exng rate not picked SD invoice posting in PROD,it is picked in DEV

    Dear All, We are facing a peculiar problem for sales invoice accounting entries. The problem is related to currency exchange rate. We have created a sales order with some earlier pricing date (01.12.2010).The USD to INR exchange rate is mentioned 47.