Questionnaire application in WebDynpro ABAP

Hi,
I would like to design the Questionnaire application in WebDynpro ABAP, which should be in the form of question and answers(4-5) as checkboxes/radio buttons.
For this scenario, how to design the Layout and Node structure?
Thanks and Regards,
Jhansi

Hi Jhansi,
I have created one such reusable component for SAP PPM.
I have used the structure /RPM/TS_QNNR_API.
It has the Question number, desc, and questionnaire group, UI option and has one entry per question per answer options.
For example if Q1 GRp1 has 4 options , it has four entries at runtime with Q1 Grp1 and opt1..opt4.
I have read this table in a node and the dynamically created one node per question.
On the basis of UI option value in the table I created corresponding UI element ( drop down, checkbox grp etc) and bound the node for it.
I will soon be coming with an article on this.
I hope this helps.
Regards,
Sumit

Similar Messages

  • Calling Webdynpro Java Application from Webdynpro ABAP Application.

    Hi,
    We have developed one Application using Webdynpro Java and I m in need to call the Webdynpro Java application from Webdynpro ABAP.
    Require Suggestions to acheive this.
    Thanks In advance.
    Reg,
    Ajay.

    Dear Ajay,
    Assuming that both your applications WDA & WDJ are in the portal & you don't have to pass any parameters to the WDJ application.
    Write the following code on the action  where you would call the WDJ application.
      DATA:
            lr_compcontroller TYPE REF TO ig_componentcontroller,
            l_component TYPE REF TO if_wd_component ,
            lr_port_manager TYPE REF TO if_wd_portal_integration ,
            wa_navigation TYPE navigation.
      lr_compcontroller =   wd_this->get_componentcontroller_ctr( ).
      l_component = lr_compcontroller->wd_get_api( ).
      lr_port_manager = l_component->get_portal_manager( ) .
    * The value inserted into the navigation-target field can be found in the Portal
    * content administration tab of your portal. It is the ID or PCD Location field
      wa_navigation-target = pcd. " Please provide the PCD Location of the WDJ Application here.
      wa_navigation-mode   = '0'.  "0 = INTERNAL(same page) and 1 = EXTERNAL(new page).
      CALL METHOD lr_port_manager->navigate_absolute
        EXPORTING
          navigation_target = wa_navigation-target
          navigation_mode   = wa_navigation-mode.
    You can get the PCD from the Page properties of the WDJ application page in the Portal.
    Hope it helps!
    Warm regards,
    Upendra Agrawal

  • Road map application using webdynpro abap

    If any of u guys has road map application using webdynpro abap pls update me its urgent.
    Regards,
    Rahul Nuthi

    In the demo application WDR_TEST_EVENTS, have a look at the view for ROADMAP control.
    Regards,
    Nithya

  • How to integrate BRF+ application in WEBDynpro abap

    Hello,
    Can anybody tell me , how to integrate BRFPLUS application to Webdynpro components.
    is their any configuration or code is available for the same?
    Thanks
    Rakshar

    There is nothing really special about integration of BRF+ into WDA.  BRF+ modelled rules are exposed via an ABAP Class Interface and can be called by any ABAP coding.  From WDA, you would call these classes just like any others.  The above linked thread does point you to a tutorial I created on BRF+ where I do then call the rule from WDA.  You might also look at TechEd session CD269 if you have access to this year's materials.  In there we do an BRF+ exercise and integrate into a BOL Object/Gateway Service/FPM application.

  • Webdynpro ABAP independent application

    hello,
    I have developed independent application of webdynpro ABAP
    i want to integrate it on portal
    i have page, create iview, assign application url to the iview - all this i do in portal content administration etc
    but in later versions, instead of iview etc, there is bankend transaction code, ie tcode in R/3 where I can assign my web dynpro application to portal
    I need the name of that transaction code. kindly help with your inputs
    thanks
    bhakti

    Hi Bhakti,
    AFAIK there is no such kind of facility available so that you can directly assign your webdynpro into the portal using any t-codes.
    But the SAP Enterprise Portal supports the Web Dynpro application development with functions like:
    Event handling of portal events
    Navigation between Web Dynpro applications within the portal or to any portal content
    WorkProtect mode
    And With Web Dynpro you create interactive Web-based user interfaces for business applications. The portal allows the role-based and secure access to different kinds of information (structured or non-structured), services, and applications using a Web Browser.
    For portal integration, refer the below document which will give you an idea.
    How to Integrate Web Dynpro  ABAP in Portal
    Thanks
    KH

  • SAP Webdynpro ABAP Application Caching Issues

    Hi All,
    We have developed custom applications using Webdynpro - ABAP, using FPM and accessing those applications through SAP Netweaver Portal 7.0. I have deactivated all the caching techniquies in Portal @ iview level and Page level, Portal Runtime and ContentFetch side, But still causing the same problem.
    I have a doubt, wether this is happening because of SAP Logon Caching @ SAP WAS system level. I have checked the SSO parameter settings in RZ10 Profile parameters. Our basis people have set both accept and create parameter value = 1. Is this causing issue?
    Or Is there any other settings which is required to do in Portal or SAP system level. Please let us know , really appreciate your value suggestions and help.
    Please find the below links, which im referring to...
    http://help.sap.com/saphelp_nwmobile71/helpdata/en/d2/91553b4d53273de10000000a114084/frameset.htm
    http://help.sap.com/SAPHELP_NWPI71/helpdata/EN/48/69eb40e8a607d6e10000000a42189c/content.htm
    Thanks in Advance
    PRadeep

    Hi-
    (though the url seen in the application in se80 in the webdynrpo abap component does not have workitem id paramter)
    It is required to have a parameter WI_ID (as an Application parameter) in your WDA. And via this Application parameter WDA will receive the workitem id, when the task is exceuted from UWL (provided configuration is done in swfvisu)
    Could you confirm, there is no Application parameter (WI_ID) in your WDA?
    It picks the same workitem id everytime. I tried doing this with a couple of different user ids. but I cant figure out from where it picks this particular workitem id
    If you defined WI_ID in Application parameter and there is an option to provide value and it seems, you have defined some value over there or other way might be in your method (inbound plug), you may gave default value to WI_ID in the parameter
    If your application is working properly from UWL and for testing purpose, you could put a breakpoint and change the workitem id, when executing from se80
    Vinoth

  • Accessing WebDynpro ABAP application from external network

    Hi All,
    I have developed one application in webdynpro ABAP.
    Now my requirement in to access this application through internet.
    I dont want to use portal to run application.
    Is it possible to access through internet ?

    You can access the webdynpro application via internet with the help of SAP Web Dispatcher. Basis team will install the web dispatcher and then machine can put into a DMZ area which in turn can be opened to Internet with necessary controls.
    Regards
    Rohit Chowdhary

  • Webdynpro ABAP & JAVA step by step example

    hi experts,
    i am new in webdynpro. i want to learn webdynpro so any one plz help me how to create,how to install,connect,and how to execute plz send any documents for webdynpro ABAP & JAVA step by step examples with screen shots.it's really helpful for my carrier.
    thanks and regards,
    sapbbm.

    Hi Bala,
    Go through the below link,
    https://www.sdn.sap.com/irj/sdn/developerareas/abap?rid=/webcontent/uuid/fed073e5-0901-0010-4eb4-c9882aac7b11 [original link is broken]
    Here u can find 6 tutorial applications on Webdynpro Abap with step by step procedure, Using this u can start of with Webdynpro from the basics.
    Along with this u can find good documentation in,
    http://help.sap.com/saphelp_erp2005/helpdata/en/f6/501b42b5815133e10000000a155106/frameset.htm
    Hope this helps,
    Regards,
    Sachidanand.B

  • Anonymous user Unbale to access an WebDynpro ABAP iView

    Hi,
    I have developed an application using webdynpro ABAP and integrated that into portal.
    For this webdynpro application i have to create an iview, assigned it to a page, assigned this page to a custom role. I also set Authentication to anonymous for the page and iView. Assinged the custom role created to anonymous Group.
    But while running it i am getting an error "An exception occurred while processing your request. Send the exception ID to your portal administrator. Exception ID 04:55_25/10/11_0047_14739050"
    When I checked the log, it shows the error as "Deprecated scope of type SERVERSESSION_AT_LEAST_ONE_APP_SCOPE is used! Please replace the usage of scopes with new
    mechanism based on "Cross application session communication API".
    I also checked the note 1031159 and changed the configurations accordingly but getting the same above error.
    I am on EP7.3 version.
    Please guide me to move further successfully in showing the webdynbpro abap applicaiton to anonymous user.
    Thank you.

    Hi,
    I'm also working on EP7.3 and R3 WD4A integration. But I just can't find any WD for ABAP from whithin EP7.3 wizard.
    I tried to create the WD4A iview by right-clicking a PCD folder and then "New"->"iView"->"iView from remote source" to get a search screen. I choose a system alias (point to bk web as), use "*" as application id, and pick "WebDynpro for ABAP" as the application type.
    However, I always got "Nothing found. Change your search criteria."
    I did do some activation work on backend R3 SICF setting. I'm able to directly access  web dynpro via http://mywebas.domain:8000/sap/bc/webdynpro/mywd.... 
    If you're using the same scenario, please let me know anything I missed or any other special setting.
    Thanks

  • How to save User input into DB using webdynpro abap

    Hi,
    Im trying to create an application using webdynpro abap.
    I want to know how to save the data input by user, into a database table.
    In my UI, I have a table control which is editable and user inputs data into this. I need to know how i can transfer this data to a DB table.

    hello,
    u can do it by reading ur context node.
    we bind our UI elements to context attributes of appropriate type .
    we read their values using the code wizard or by pressing control+F7, click on radio button read node/attribute
    here for ur specific case , u must have binded ur table control with the context attribute , now u need to simply read this attribute
    eg suppose u have created a context node " cn_table"
      reading context node cn_table
       DATA : lo_nd_cn_table TYPE REF TO if_wd_context_node ,
             lo_el_cn_table TYPE REF TO if_wd_context_element ,
             ls_cn_table    TYPE wd_this->element_cn_table.
    *   navigate from <CONTEXT> to <CN_TABLE> via lead selection
      lo_nd_cn_table = wd_context->get_child_node(
                       name = wd_this->wdctx_cn_table ).
    **    get element via lead selection
      lo_el_cn_table = lo_nd_cn_table->get_lead_selection(  ).
      lo_el_cn_table->get_static_attributes( IMPORTING
                 static_attributes = wa_table ).
    here wa_table is the work area of structure type . u need to create a structure first with the same variables as there are the context attributes in ur node cn_table
    in ur
    now ur wa_tablecontains value
    u can nw use appropriate FM to update , delete and modify the DB table using the value
    u cn directly use SQL statements as well in the method of ur view , but direct SQL statements are nt recommende
    rgds,
    amit

  • Retreival of Dynamic Table Datas from Adobe to WebDynpro- ABAP

    Dear Friends,
    I have Developed an application in Webdynpro-ABAP, where i have integrated Adobe form in the webdynpro.
    In the adobe form, dynamic table is there where we can add and delete the rows at runtime.
    I am trying to retreive the table datas at runtime from the adobe.
    I can able to retreive only the first record from the table, even if the table contain more than one rows.
    As per the below code i have retreived the count, where it is showing the count as 1.
    using the method get_static_attributes_table i am trying to fetch all the records, but i can able to retreive only the first record.
    lo_nd_zsm_fm_transport_tra = wd_context->get_child_node( name = wd_this->wdctx_zsm_fm_transport_tra ).
      lo_nd_tr_details_i = lo_nd_zsm_fm_transport_tra->get_child_node( name = wd_this->wdctx_tr_details_i ).
    count = lo_nd_tr_details_i->GET_ELEMENT_COUNT( ).
    elems_bank_table = lo_nd_tr_details_i->get_elements( ).
    lo_nd_tr_details_i->get_static_attributes_table(
      importing
        table = ls_tr_details_i ).
    Even Cardinality i have maintained as 1.N for the node.
    Kindly provide me the solution.
    Thanks and Regards,
    Sathish,,

    Hi, I have solution for read data from dynamic table and add these added row to WD4A context (and then save them to DB) (in ONACTIONPROCESS_SUBMIT event):
    DATA: l_fp TYPE REF TO if_fp.
    l_fp = cl_fp=>get_reference( ).
    DATA: l_pdfobj TYPE REF TO if_fp_pdf_object.
    l_pdfobj = l_fp->create_pdf_object( ).
    l_pdfobj->set_document( pdfdata = lv_pdfsource ).
    l_pdfobj->set_extractdata( ).
    l_pdfobj->execute( ).
    DATA: pdf_form_data TYPE xstring.
    l_pdfobj->get_data( IMPORTING formdata = pdf_form_data ).
    DATA: converter TYPE REF TO cl_abap_conv_in_ce, formxml TYPE string.
    Converter = cl_abap_conv_in_ce=>create( input = pdf_form_data ).
    Converter->read( IMPORTING data = formxml ).
    TYPE-POOLS: ixml.
    DATA: l_ixml TYPE REF TO if_ixml.
    l_ixml = cl_ixml=>create( ).
    DATA: streamfactory TYPE REF TO if_ixml_stream_factory,
    istream TYPE REF TO if_ixml_istream.
    streamfactory = l_ixml->create_stream_factory( ).
    istream = streamfactory->create_istream_string( formxml ).
    DATA: document TYPE REF TO if_ixml_document.
    Document = l_ixml->create_document( ).
    DATA: parser TYPE REF TO if_ixml_parser.
    parser = l_ixml->create_parser( stream_factory = streamfactory
                                               istream = istream
                                               document = document ).
    Parser->parse( ).
    the code above allows you to read xml data from pdf file, then you need only to read xml and adding rows to your context:
    data : item type string.  DATA: nodechild TYPE REF TO if_ixml_node,
            Childschild TYPE REF TO if_ixml_node.
        data: num_of_children type i,
              x type i,
              y type i,
              num_of_attribute.
    node = document->find_from_name('ZAM_PROTSTROJF').
    num_of_children = node->num_children( ).
    nodechild = node->get_first_child( ).
    data: wa_strojdetail type ZAM_PROTSTROJF,
          wa_strojdetail_tab TYPE TABLE OF ZAM_PROTSTROJF.
    wa_strojdetail-docnum = ls_zam_protstroj-docnum.
    wa_strojdetail-bukrs = 'VVS'.
    wa_strojdetail-mandt = sy-mandt.
    y = 1.
    do Num_of_children times.
           num_of_attribute = nodechild->num_children( ).  " Childschild->num_children( )." Getting the number of attributes
           Childschild = nodechild->get_first_child( ).
           wa_strojdetail-itemnum  = y.
           x = 1.
           do num_of_attribute times.
              item = Childschild->GET_value( ).
              CASE x.
                WHEN 4.
                  wa_strojdetail-anln1 = item.
                WHEN 5.
                  wa_strojdetail-anln2 = item.
                WHEN 6.
                  wa_strojdetail-bubtr = item.
                WHEN 7.
                  wa_strojdetail-belnr = item.
              ENDCASE.
              Childschild = Childschild->get_next( ).
              x = x + 1.
          enddo.
          y = y + 1.
          APPEND wa_strojdetail to wa_strojdetail_tab.
          nodechild = nodechild->get_next( ).
    enddo.
    This is complete solution for adding rows in interactive forms and working with them in WD4A!
    Regards Jiri
    Edited by: Jiri Neuzil on Jun 10, 2009 8:13 AM
    Sorry for formatting, but I don't know, how to format text correctly on this site in plain text I have all text correctly formatted, but in preview....

  • Javascript server events in webdynpro ABAP

    I am migrating an existing BSP application to webdynpro abap. Few of sections, in existing BSP application, uses java script coding to trigger few server events. For example it uses a flash charts on click of which some filtering logic is written on table. Similar logic needs to be placed for webdynpro. I used Iframe to display this charts. Charts are rendered properly but I am not able to raise the actions or trigger events on server as I don’t have access to parent.document object of my parent view.
    I get access denied/ permission denied error.
    Can’t we trigger server action or event using JavaScript from child IFrame.
    With Regards,
    Nitesh Shelar.

    Hi Nitesh,
    Integrating custom java script is not supported. There are still a few benefits BSP has over WDA. Well, you could put the flash object inside of a BSP application and use portal eventing to communicate with WDA.
    Best regards,
    Thomas

  • Webdynpro ABAP Caching Problem in Portal

    Hi All,
    We have developed custom applications using Webdynpro - ABAP, using FPM and accessing those applications through SAP Netweaver Portal 7.0. I have deactivated all the caching techniquies in Portal @ iview level and Page level, Portal Runtime and ContentFetch side, But still causing the same problem.
    I have a doubt, wether this is happening because of SAP Logon Caching @ SAP WAS system level. I have checked the SSO parameter settings in RZ10 Profile parameters. Our basis people have set both accept and create parameter value = 1. Is this causing issue?
    Or Is there any other settings which is required to do in Portal or SAP system level. Please let us know , really appreciate your value suggestions and help.
    Please find the below links, which im referring to...
    http://help.sap.com/saphelp_nwmobile71/helpdata/en/d2/91553b4d53273de10000000a114084/frameset.htm
    http://help.sap.com/SAPHELP_NWPI71/helpdata/EN/48/69eb40e8a607d6e10000000a42189c/content.htm
    Thanks in Advance
    PRadeep
    Edited by: Pradeep on Jan 28, 2009 9:10 AM

    The delete icon will not show up in the line of the favorite/templates, if no hours are recorded on it. There is no transfer to the backend either, unless hours are recorded on these working time attributes. also ensure note 1986356 is implemented for details column check CAC2 for the CATS profile attached to the user in CVR in Su3

  • Error in opening webdynpro abap application

    hi All,
    I am facing below issue in opening webdynpro abap application, this is first WDA application in production system, please help me in resolving this issue.
    ============================================================================
    Error when processing your request
    What has happened?
    The URL http://grp.mysap.pg.com:9500/sap/bc/webdynpro/sap/zgpuvstapp/~ucfLOADING was not called due to an error.
    Note
    The following error text was processed in the system GRP : A request for server adln5412 has been sent to server adln5411; see Note 1364846
    The error occurred on the application server adln5411_GRP_10 and in the work process 3 .
    The termination type was: ERROR_MESSAGE_STATE
    The ABAP call stack was:
    Method: PREPROCESS_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system GRP in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server adln5411_GRP_10 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 3 in transaction ST11 on the application server adln5411_GRP_10 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 400 -u: BS6402 -l: E -s: GRP -i: adln5411_GRP_10 -w: 3 -d: 20100929 -t: 140306 -v: ERROR_MESSAGE_STATE -e: A request for server adln5412 has been sent to server adln5411; see Note 1364846
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    ============================================================================
    Edited by: brahmanandam ausali on Sep 30, 2010 4:11 AM

    Hi Shibli,
    I'm facing the same issue with the POWL only if called from a part of the network outside our country (Italy) so I think it would be a network configuration problem as you suppose. Can you explain us the configuration of the balancer and dispatcher to solve the issue?
    Thanks
    Mattia

  • I was gettiing runtime error while executing a Webdynpro-ABAP application

    Hi,
    I am working on Webdynpro-ABAP and created a ALV report using Service call BAPI method in IDES version. After creating component and designed view and created Webdynpro application. While executing application I am getting some error in explorer.
    For any application I am getting same error.
    I think some setting in explorer..I am not sure. If yes how can I rectify ?
    waiting for quick response.
    I am giving details error below what I faced.
    Error when processing your request
    What has happened?
    The URL http://sapserver:8001/sap/bc/webdynpro/sap/zz_00_bapiflight was not called due to an error.
    Note
         The following error text was processed in the system DM0 : Die URL enthält keine vollständige Domainangabe (sapserver statt sapserver.).
         The error occurred on the application server sapserver_DM0_01 and in the work process 0 .
         The termination type was: RABAX_STATE
         The ABAP call stack was:
    Method: CHECK of program CX_FQDN=======================CP
    Method: LATE_CONSTRUCTOR of program CL_WDR_UCF====================CP
    Method: HANDLE_REQUEST of program CL_WDR_UCF====================CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP
    What can I do?
         If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system DM0 in transaction ST22.
         If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server sapserver_DM0_01 in transaction SM21.
         If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server sapserver_DM0_01 . In some situations, you may also need to analyze the trace files of other work processes.
         If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 800 -u: SAPUSER -l: E -s: DM0 -i: sapserver_DM0_01 -w: 0 -d: 20091226 -t: 135942 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    Best Regards,
    BDP

    hi
    It is the Fully Qualified Domain Name (FQDN) error . Refer SAP online help :
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/67/be9442572e1231e10000000a1550b0/frameset.htm
    refer the similar thread :
    Problem executing sample Webdynpro application
    regards,
    amit

Maybe you are looking for