Submit button in Web Dynpro Native and ActiveX tab

We use LiveCycle Designer 7.1 in a SAP environment (CRM5.0/NW2004S 7.0.06). We are creating an online Interactive Form via Web Dynpro for Java using NW2004S.
In NW2004 you have to possibility to select the 'Submit to SAP' button from the Web Dynpro tab. However, in NW2004S this has been changed into 2 submit buttons, one on Web Dynpro Native and one on Web Dynpro ActiveX tab. Does somebody know what the differences are compared to NW2004? When to choose what button and what kind of code you need to enter to send the data the SAP?
kind regards
Angelique Heutinck

Sarang,
Lets go step-by-step.
1. Create two views in your applications lets say the names are View1 and View2.
2. Goto Diagram View of the Window in under Windows node in your Web Dynpro Explorer in NWDS.
3. Create Inbound and Outbound plugs for View1 namely inbView1 and outView1
4. Repeat the same for View2. So names will be inbView2 and outView2.
5. Create a navigational link between the Vies by creating a link from outView1 plug to inView2 plug.
6. Goto Layout tab for the View1. This is where you have embedded the Interactive form element.
7. Set the displayType property to native.
8. Under Events there will be onSubmit method, craete a new method called navigateToView2 and click Go. This will take you where you can implement your logic.
9. Fire the outbound plug of View1. See following code snippet:-
public void onActiong navigateToView2(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
    //@@begin onActiongotoView2(ServerEvent)
    wdThis.wdFirePlugOutView1();
    //@@end
10. Edit the Interactive form, it should open Adove LiveCycle Designer.
11. Drag-drop Submit button from WD Native library ontot the form.
11. Don't modify anything and check if you see below code snippet in the Editor.
// DO NOT MODIFY THE CODE BEYOND THIS POINT - 705.20051114114126.253659.250577 - SubmitToSAP.xfo
                      ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
                      // END OF DO NOT MODIFY
12. Now whenever you click submit button on the form, what it does is that it makes call to WD framework and the onSubmit action handler is called where you have written the code to navigate to View2.
Chintan

Similar Messages

  • Submit Button In Web Dynpro Layout not working.

    Hi All,
             I have integrated an adobe form in my web dynpro application.According to my requirement the view of screen should change when the user clicks on submit button.So I have given the submit button as one of the UI element in my WD object along with the form.But when I click on the submit button the functionality doesnot work.
    The same submit button works when there is no adobe form integrated in my WD application.
    Please let me know what needs tyo be done so make that submit button work.
    Thanks and Regards,
    Sarang

    Sarang,
    Lets go step-by-step.
    1. Create two views in your applications lets say the names are View1 and View2.
    2. Goto Diagram View of the Window in under Windows node in your Web Dynpro Explorer in NWDS.
    3. Create Inbound and Outbound plugs for View1 namely inbView1 and outView1
    4. Repeat the same for View2. So names will be inbView2 and outView2.
    5. Create a navigational link between the Vies by creating a link from outView1 plug to inView2 plug.
    6. Goto Layout tab for the View1. This is where you have embedded the Interactive form element.
    7. Set the displayType property to native.
    8. Under Events there will be onSubmit method, craete a new method called navigateToView2 and click Go. This will take you where you can implement your logic.
    9. Fire the outbound plug of View1. See following code snippet:-
    public void onActiong navigateToView2(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActiongotoView2(ServerEvent)
        wdThis.wdFirePlugOutView1();
        //@@end
    10. Edit the Interactive form, it should open Adove LiveCycle Designer.
    11. Drag-drop Submit button from WD Native library ontot the form.
    11. Don't modify anything and check if you see below code snippet in the Editor.
    // DO NOT MODIFY THE CODE BEYOND THIS POINT - 705.20051114114126.253659.250577 - SubmitToSAP.xfo
                          ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
                          // END OF DO NOT MODIFY
    12. Now whenever you click submit button on the form, what it does is that it makes call to WD framework and the onSubmit action handler is called where you have written the code to navigate to View2.
    Chintan

  • Modifying the appearance of the search box, the search button, and the submit button for web forms

    I'm trying to modify the appearance of the search box, the search button, and the submit button for web forms by modifying the CSS on Stylesheets. None of the tags I'm using (e.g. .webform .cat_button) seem to be working. What are the correct tags for those three elements?

    When you generate the help you can select / deselect the buttons that are displayed.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Web dynpro ALV and some other questions

    Hi All,
    I have couple of question for experts.
    I am very much new into Web Dynpro world, and i have one web dynpro application built by my old colleague.
    I want to add search feature into the application so that out of 1000 records i could search one based on some field value, how can we achieve that ?
    I have read lot abot ALV list in web dynpro, How to find that specific approach has been used into particular web dynpro application or not ?
    Thanks for your time for reading my question and hope to get some response..
    Pranav.

    Hi Pranav,
    Hope the following helps you.
    <u>Searching for a record based on some field value</u>
    You can have an input field (bound to a context attribute) in your view. Whatever you type in the field will now be associated with the context attribute in your context. Place a button on your view. Define an action for this button (e.g. SEARCH), in the property onAction of the button. Now, in the action handler for the button (ONACTIONSEARCH), access the context attribute (can be done using WD Code Wizard). Then using your business logic, get the date into another context attribute, which can be displayed in the view using a textview (or textviews)
    <u>Find whether ALV is used in your WD Application</u>
    Go to your WD Component, in the used components you should find a use for component SALV_WD_TABLE. Also, in one of the views, the Interface View TABLE of the ALV component will be embedded in its ViewContainerUIElement. This information can be found in the Window of your own WD Component.
    Regards,
    Neha
    <i><b>PS:Reward if helpful</b></i>

  • Problem in completing the TASK when using Web Dynpro Java and BPM

    Hi,
    I am using Web Dynpro Java and BPM.
    i see my Web Dynpro View when i run the process.
    Just that the task is not completing.
    when i click on the Web Dynpro button to signal the completion of the event, nothing happens.
    i have appropriately created events in both Component controller and Interface Controller and used the same in creating the Task.
    a method in Component controller fires the event and a button click in the view calls this method.
    i have successfully completed Donka Dimitrova's "SAP Netweaver Business Process Management-End-to-End Process Implementation Sample " but when i tried my own with slight modifications, it is not working !!!
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d07f3e88-554f-2b10-3cbf-ab8afea51b9f
    regards,
    -Amol Gupta

    Hi Amol,
    The way you described the things, I dont see any problems. Just to make sure that you are triggering the right event that you mapped as completion event for the task, try to cross check once again and see if the correct event is getting triggered. Also try to put some messages for debugging to see till where the control goes.
    Regards,
    Arafat

  • Detail Button in Web Dynpro ALV

    Hi at all,
    when I create an ALV in Standard ABAP there is a small "Detail" button on the left side of the button row without any additional complex programming.
    How can I get this button in Web Dynpro ALV?
    Dirk

    The standard ALV Component in Web Dynpro doesn't have this features.  It wouldn't be too difficult to add manually.  You could simply bind a custom view to the lead selection of the same context you are using in the ALV and use the form wizard to generate the UI elements.  It isn't quite as nice becuase it woudl require a few manual steps for each usage of the ALV where you want this functionality.

  • Dynamic radio button in web dynpro abao

    Hi expert,
    I want to dynamic radio button by  web dynpro abap .
    Kindly give me a soulation ASAP.
    Thanks and regard's
    Vikash

    hi,
    method wddomodifyview .
    if first_time eq abap_true.
    data: LR_CONTAINER         type ref to CL_WD_UIELEMENT_CONTAINER,
          LR_RADIOBUTTON1            type ref to CL_WD_RADIOBUTTON,
          LR_RADIOBUTTON2            type ref to CL_WD_RADIOBUTTON,     
          LR_FLOW_DATA         type ref to CL_WD_FLOW_DATA.
    " bind text property will give TEXT that appears next to Radio Button
    CALL METHOD cl_wd_radiobutton=>new_radiobutton
      EXPORTING
       bind_selected_key   =  '01' 
       BIND_TEXT           =  'saurav'
      receiving
        control             = LR_RADIOBUTTON1.
    " bind text property will give TEXT that appears next to Radio Button
    CALL METHOD cl_wd_radiobutton=>new_radiobutton
      EXPORTING
        bind_selected_key   = '02'
       BIND_TEXT           = 'mago'
      receiving
        control             = LR_RADIOBUTTON2.
    LR_FLOW_DATA        =  CL_WD_FLOW_DATA=>NEW_FLOW_DATA( element = LR_RADIOBUTTON1  ).
    LR_FLOW_DATA        =  CL_WD_FLOW_DATA=>NEW_FLOW_DATA( element = LR_RADIOBUTTON2  ).
    LR_CONTAINER ?= view->GET_ELEMENT( 'ROOTUIELEMENTCONTAINER' ).
    LR_CONTAINER->ADD_CHILD( LR_RADIOBUTTON1  ).
    LR_CONTAINER->ADD_CHILD( LR_RADIOBUTTON2  ).
    endif.
    endmethod.
    Thanx.

  • Step by step Installation ON ABAP,XI,Web dynpro ABAP and JAVA On my PC??

    Hello Friends,
      I would like to Install SAP-ABAP ,XI ,Web dynpro ABAP and Web dynpro   JAVA    on my PC.
      Please Let me know What configuration is required for all the above.
      Please Give me the Step by step procedure for all the above.....??
      I want to Instal all the above and Give me suggestion on that???
      Can I use Vista for Sap Installation????
    It would be great If you send the step by step procedure to my personal ID
    [email protected]
    Thanks in Advance
    Preethi D

    Hi,
    Step step description here is not possible.
    It always advisable to go to service.sap.com/instguides.
    slow and steady wins the race.
    good luck.
    It's advisable to have quad processor with atleast 8GB ram.
    If it's a nw04s then at a shot you can select AS ABAP. JAVA, EP, PI(XI) and proceed.
    hope this helps you.
    reward suitable points.

  • Authorization objects in web dynpro ABAP and SU24 transaction

    Hi,
    I have created a new authorization object to check a storage location for certain activities. I have added the authorization object in a specific web dynpro ABAP and I have created a new role in PFCG for my web dynpro ABAP.
    The organization level for storage location is not recognized in PFCG. Someone told me I have to maintain my authorization object in SU24 as it is done for transaction.
    I wanted to maintain my web dynpro in SU24 but I found no way to do that.
    It seems that we can maintain authorization for TADIR service and in those services there is R3TR WDYA but when I use the search help for  OBJ_NAME I don't find may web dynpro ABAP. I suppose I have to create a TADIR service for my web dynpro ABAP or something like that but I don't know how to do ?
    Does anybody  know how to deal with specific authorization in web dynpro ABAP and t ohave the organizational level recognized in PFCG.
    Thanks for your help,
    Emmanuel

    Hi,
    Please RUN the function module as "AUTH_TRACE_WRITE_USOBHASH" with following parameter
    R3TR
    "custom webdynpro application"
    SERVICE TYPE and Service can be kept blank
    after this try  SU24 it will be available in SU24 list.
    Thanks & regards

  • Diff  in  web dynpro  abap  and  Java

    Hi  Friends,
       I  am new  to  web dynpro  ABAP and  Java.
         1) Please  give  me idea  about  about  these  two
          2) In  which  Scenarios  these  are  helpfull
         3)  From  which  version   onwards  these are  existing
    Thanks for  your  help.
    Thanks,
    Asha

    Hi Ravi,
    The following are basic differences between ABAP and JAVA WD.
    1. ABAP WD can be developed in ABAP Workbench thru transaction SE80 whereas Java WD needs SAP NetWeaver Developer Studio.
    2. Since ABAP WD is a part of the ABAP Workbench, it has direct access to ABAP dictionary. Hence access is faster.
    3. In order to develop on ABAP WD, you will need basic knowledge of ABAP objects, whereas in Java WD, dev is using Java

  • Difference between web dynpro java and web dynpro abap

    Hi this is watson maureen,
                 I wnat to know what is  the difference between web dynpro java and web dynpro abap?
    thank
    maureen

    Hi watson,
    Go through these links, you will get the difference between web dynpro java and web dynpro abap
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0e4940c-035c-2b10-0b9d-eb8f99674f4e
    Web Dynpro: ABAP or Java?
    Regards
    Sreedhar.

  • Tools to draw Web Dynpro Component and Navigation Design Diagram easily

    Do anyone know that what is the drawing tool I can use to draw  Web Dynpro Component and Navigation Design Diagram easily?
    I have MS Visio installed, but I don't have the Software Development diagram package installed.
    Do you know what exact software the SAP Presenter use to draw WD design diagram?
    Thanks.
    Kent

    Hallo Kent,
    what do you mean with SAP Presenter? Do you mean my powerpoint diagrams visualizing Web Dnypro component architectures? I just used simple powerpoint techniques without any predefined templates. When using Visio it should be possible to get some UML 2.0 template for the new component diagram type. With this template you should be able to draw Web Dynpro component diagrams. In case you are interested in my powerpoint slides on
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f07c3625-c971-2910-3a9c-ce131487f82c">Component Interface Definitons in Practice</a> I can send you the corresponding slides.
    Regards, Bertram

  • Difference between Web Dynpro Abap and Web Dynpro Java

    Hi,
    What is the difference between Web Dynpro Abap and Web Dynpro Java.
    Thanks,
    Suresh

    hi suresh......
          from the end point of view, the customer wont know whether the application is done by java or abap. only the programming language differs and nothing much more.
    ---regards,
       alex b justin

  • How to link  web dynpro screen and R/3 ,so that I can build a workflow.

    Hi all,
             I  have to build a workflow for Personnel Administration(PA) in HR module. The document is not standard, so I have to build my own Bussiness object. But the senerio, screeens for particular document are designed in web-dynpro which will be there in separate portal and we suppose to link this in R/3 system. Whenever user fills that particular document (a form or a document in a portal) and clicks on submit button which is provided in the document workflow should get trigger. Also this screen should be used as workitem to a persons SAP inbox as well as in the portal inbox.
      <b>Please help me</b> for what should be my starting point in designing workflows.
    It would be helpful if anyone provides me with detailed describe step for each and everything along with few links and examples. As i m new to sap
    Thanks in advance.............Do reply......]

    /people/ginger.gatling/blog/2005/12/14/create-new-uis-for-existing-workflow-tasks-with-abap-web-dynpro-and-universal-worklist
    I think this maybe helpful to you.

  • Problem with submit button in wweb dynpro abap

    hi all,
                we have problem in submit of our interactive form in web dynpro abap.
    my scenario.
                             on event submit we have to fetch data from database table and display the same.
    On click of the SUBMIT button for the first time it fetches data but when we change the input field and submit again it dsnt trigger the event(We need to double click only then event is triggered).
    Can anyone guide us on how to fetch the data at single click.
    Thanks and Regards
    Vinoth

    The form is open. I should have mentioned that I made sure to check that first.  The form was created by uploading an existing PDF file that I created from a MS Word file to Adobe FormsCentral. Once the form was completed, I had a coworker test it & it worked.  We sent the form out & I have received some back, but have also received reports of the form not working.  I downloaded the form to my computer & tested it using Adobe Acrobat 9.0 Standard.  I use a Windows environment on a Dell laptop.  The form does not work for me.

Maybe you are looking for

  • About getting the values from a FM

    Hi experts,                  I have used the function module 'HR_READ_INFOTYPE' to get all the field values of the infotype 0008 (Basic Pay). I have given the infty as 0008 in exporting and infty_tab as p0008 in tables. But it shows a run time error

  • Windows 7 Home Premium 64-bit Download

    Does anyone have a stable Windows 7 Home Premium 64-bit download link that works with Rufus or UUI because all of the stable download links I have found don't work with rufus or UUI and they have an iso extraction error message on rufus and UUI just

  • Isqlplus crashing

    i have the same problem. my log file: 04/10/13 03:05:32 Started 04/10/13 03:05:36 isqlplus: jsp: init 04/10/13 03:05:36 isqlplus: config: init 04/10/13 03:05:36 isqlplus: uix: init 04/10/13 03:05:36 isqlplus: /WEB-INF/uix-config.xml: Parsing error, l

  • How to create a file in a particular DIR?

    say I want to create a file as C:\myfile.xml , instead of current working DIR. how to do that? thanks

  • Missing all Base Stations in Utility AirPort

    Hi, I work with 2 Wi-Fi AirPort networks: -one with 3 base stations 802.11n: Time Capsule 3º generation, AirPort Extreme 4 and 5º generation,      and -other with 1 base station AirPort Express 802.11n 1º generation). All are worked very well with 5