Dynamic selection screen with ABAP web dynpro

Hi all.
    How can I create dynamic selection screen with ABAP web dynpro? Thank you in advance.

hi yinglak.....
         this is possible........ all the ui elelments has the property called visible and enabled.... just assign an attribute of type wdui_visibility to the visible property....
in the wddomodify method..... check for the radio button value and pass the value true or false to this attribute and it gets changed automatically.
---regards,
   alex b justin

Similar Messages

  • How to use web service with ABAP Web Dynpro

    Hi.
         do you know, how to web service with ABAP Web Dynpro?

    Hi,
    If you have a webservice ready with you then you can generate a proxy from SE80 and you can use that. You just have to create a port and assign to that generated proxy(CLASS) and you are good to go.
    Let me know if you need more information.
    Thank You,
    Gajendra.

  • How to browse for a folder with ABAP WEB DYNPRO

    Hi,
    I want to browse for a folder in my local file system with ABAP
    WEB DYNPRO. I am looking for a functionality which the function module
    TMP_GUI_BROWSE_FOR_FOLDER gives.
    Regards,
    Vinay

    HI Karl
    Good evening, I am Maruti from London. I would like to paractise ABAP WebDynpro.I am not sure which Vesrion of SAP R/3 supports for ABAP WebDynpro applications. Can you please suggest me .
    Thank you
    Maruti
    [email protected]

  • Adobe Flex 4 with ABAP web dynpro

    I currently am working with Flex 3 but wanted few features of Flex 4 for my project. Is there any way that I can use Flex 4 with ABAP web dynpro. I have tried using the 'Use Flex 3 compatibility mode' with 'merged into code' but this does not work. There is no data transfer happening. I see in the forums that this is not possible but all the posts are one year old. Just wanted to check if any new method is availabe.
    Kindly help.

    Hello,
    Flex 4 versions of the Islands SWC libraries were delivered via Support Packages(See Note 1614265).
    http://scn.sap.com/thread/3186643
    Best Regards,
    Tarun

  • Open a new outlook  email with Abap Web Dynpro

    Hi Experts,
    I'm developing an abap web dynpro application, and at the end of a text I need to have a link that opens the outlook for sending and email, do you know how can this be done with ABap Web dynpro.
    Regards and thanks.
    Fona

    It should be noted that just relying on the browser handling for the [url mailto: reference|http://www.w3.org/TR/WD-html40-970708/htmlweb.html] does not guarantee handling by any specific email application. It is completely up to the browser implementation - The HTML 4.0 spec does not specify any handling other than:
    MAILTO URLs have the following syntax:
    mailto:email-address
    User agents may support MAILTO URL extensions that are not yet Internet standards (e.g., appending subject information to a URL with the syntax "?Subject=my%20subject" where any space characters are replaced by "%20").
    Then again - given that WDA supports so few browsers (user agents!), you could probably get around the different support in each them in a reasonably common way.
    To ensure that it is MS Outlook you are launching and potentially pass more data into that email you'll need to make use of the [ACFExecute functionality|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/b91539878a2d67e10000000a42189c/frameset.htm] and then also the [command-line interface of Outlook.|http://www.brighthub.com/office/collaboration/articles/21840.aspx]

  • Business Package 1.2 compatability with ABAP Web Dynpro (EP 2)

    Dear all,
    Could anyone let me know how compatible is ABAP Web Dynpro with Business Package 1.2 ?
    The Source is updated with Enhancement Package 2.
    Does BP 1.2 supports ABAP Web Dynpro by default ?
    Thanks!

    Dear Andy, Chris,
    Thanks for your inputs.
    I checked the SDN Port folio area but I could not find BP 1.2 for download. Could anyone help me with the place to download the same ?
    Thanks!

  • Work Flow integration with Abap Web Dynpro's

    Hi,
    We are currently working on Custom ABAP WD Applications which gets called from Workflow. For eg., we are trying to simulate the ESS Leave Process, like Java WD Leave application gets called on execution of Leave Approval Workitem.
    We developed our ABAP WD and also the workflows individually. In fact we maintained entries in SWFIVSU transaction, but we were not able to send the data from WORKFLOW(WORKITEM) to ABAP WD Application.
    Can anyone help us with this integration to send data from Workflow to ABAP WD.
    Hope I am clear.
    Regards,
    Sharad todkar

    Hi,
    You create a parameter for your webdynpro application wi_id of type sww_wiid
    now when you click on the UWL this wi_id gets filled with the workitem no.
    Now you can use this workitem id get the workflow container from the workitem id
    using function module
    SWW_WI_CONTAINER_READ
    In order to terminate this task you have to use an asynchronous method.
    And terminate by using an event.
    Regards,
    Manish

  • Dynamically select multiple rows in web dynpro table

    Hi All,
    I am populating rows in a table by calling BAPI.
    I set the selection property to 1..n for the context model node in view and custom controller.
    I set the selectionmode property to multi for the table.
    I have a "Select All" button in my view.
    When i click this button, i want to select all the records in the table.
    Then i want to loop thru the selected rows.
    How can i do this?
    Please give me some sample code or reference documents.
    Thanks.

    Hi Tiruna,
    To select all elements in the node you can use following code (created by Valery Silaev) where select parameters indicate to "select" or "unselect":
         public static void selectElements(final IWDNode node, final boolean select)
              final int leadSelection;
              if ( select )
                   leadSelection = Math.min
                        Math.max( 0, node.getLeadSelection() ), node.size() - 1
              else
                   leadSelection = IWDNode.NO_SELECTION;
              for (int i = node.size() - 1; i >= 0; i--)
                   node.setSelected( i, select );
              if ( 0 < node.size())
                   node.setLeadSelection( leadSelection );
    to iterate selected elements you can use:
    for (int j = 0, n = wdContext.nodeRows().size(); j < n; ++j)
      if (wdContext.nodeRows().getLeadSelection() == j
        || wdContext.nodeRows().isMultiSelected(j)
        /* row at index j is selected */
    Best regards, Maksim Rashchynski.

  • How to replace the existing selection screen with new selection screen

    Hi,
    I have first selection screen with parametre as a table name, then I have created dynamic selection screen as 2nd selection screen with different fields of that table as select options. This is done using genaration of dynamic report. Now If I click on button on this 2nd selction screen , then I want to replace this 2nd dynamic selection screen , with the other selection screen fields.
    Can anybody guide me, How to do replace one slection screen with different selection screen.
    and one imp thing is this selction screen is populating with dynamic fields on it.
    Regards,
    Mrunal

    As I can understand you want to make some of the screen field to disable or visible on screen  depending upon the interaction of user with screen 1.
    You may use this example code in PBO of screen 2.
    LOOP AT SCREEN.
        " action has been taken to modify the area office screen as per the option chosen at screen 99.
        CASE ACTION.
            " if the user has taken up the option of UPLOAD
          WHEN 'UP'.     " screen processing while we upload the plan
            " during upload we will make dates as output fields only
            IF SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_TO' OR SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_FRM'.
              SCREEN-INPUT = 0.
              MODIFY SCREEN.
            ENDIF.
            " also make 2 buttons disabled
            IF SCREEN-NAME = 'AO_DO' OR SCREEN-NAME = 'AO_VE'.
              SCREEN-ACTIVE = 0.
              MODIFY SCREEN.
            ENDIF.
          WHEN 'DN'.      " screen processing while we upload the approved plan
            " during upload we will make dates as output fields only
            IF SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_TO' OR SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_FRM'.
              SCREEN-INPUT = 0.
              MODIFY SCREEN.
            ENDIF.
            " also make 2 buttons disabled
            IF SCREEN-NAME = 'AO_UP' OR SCREEN-NAME = 'AO_VE'.
              SCREEN-ACTIVE = 0.
              MODIFY SCREEN.
            ENDIF.
          WHEN 'VW'.      " screen processing while we view the plan
            " during upload we will make dates as output fields only
            IF SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_TO' OR SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_FRM'.
              SCREEN-INPUT = 0.
              MODIFY SCREEN.
            ENDIF.
            " also make 2 buttons disabled
            IF SCREEN-NAME = 'RLGRAP-FILENAME' OR SCREEN-NAME = 'FNAME'.
              SCREEN-ACTIVE = 0.
              MODIFY SCREEN.
            ENDIF.
            " and hide the file input field
            IF SCREEN-NAME = 'AO_DO' OR SCREEN-NAME = 'AO_UP'.
              SCREEN-ACTIVE = 0.
              MODIFY SCREEN.
            ENDIF.
        ENDCASE.
      ENDLOOP.

  • How to add a new Field in the Dynamic Selection screen section.

    HI,
    There is a requirement in which I need to add a field in existing program of dynamic selections.
    I need to add a field KNKK-DBRTG (Customer Rating) in dynamic selections screen of some existing report
    which has a dynamic selection screen with other fields like customer account, company code etc. Along with this i need to add Customer rating field also in the selection screen.
    I have used GET KNKK statement to select this in the Dynamic selection screen. But I need to make it appear
    on the screen.
    LDB used is the Customer Database.
    I have added GET KNKK statement after GET KNA1 statement.
    Can any one help me how we can make this rating field appear in the selection screen.
    With the GET statement Credit control area Fields can be selected in the selection screen but I have to permanantly add the field in the selection screen.
    Regards
    Prashant Prabhu

    Hi,
    So you need that this new field have data in old records?
    1.- If you are in BI 7.0 and the logic or data for that New field are in the same Dimension, you can use a Remodeling to fill it. I mean if you want if you want to load from a Master Data from other InfoObject in the same Dim.
    2.- If condition "1" is not yours.
    First add the new field, then create a Backup Cube (both cubes with the new field) and make a full update with all information in the original Cube. The new field willl be empty in both cubes.
    Create an UR from BackUp_Cube to Original_Cube with all direct mapping and create a logic in the Start Routine of the UR (modiying the data_package) you can look for the data in the DSO that you often use to load.
    To do that both cubes have to be Datasources ( right click on Cube-> aditional function-> and I think is "Extract Datasource")
    Hope it helps. Regards, Federico

  • Dynamic selection screen

    Hello all,
    I have a requirement to create a 'dynamic' selection screen with 2 sections(vertical).
    The first section contains set of selection options for which the type comes from the values stored in the internal table(populated at runtime). The second section contains checkbox corresponding to each selection option generated/created in the first section mentioned above.
    So the number of fields and checkboxes to be created are identified only at the runtime.
    Note: I already tried to use FMs FREE_SELECTIONS* but it is not serving my purpose.
    Looking forward to your inputs.
    Thanks & Regards,
    Rajat
    Edited by: rajat.sap123 on Feb 7, 2012 7:18 PM

    Why don't you use the At selection-screen output event.
    As i have understood your scenario you have two sections. with the first one containing the select-options. The second will change on basis of the first section selection.
    Hope it helps you.
    Elaborate a bit more so i can paste a code.

  • ABAP Web Dynpro - OfficeControl - Word Integration

    Hi,
    i have a problem concerning the office control of the abap web dynpro.
    I have a textedit box on the view of a web dynpro. Now i want to transfer the data from the textedit box to the word document. I used the "IOS_TEST_WORDPROCESSING" as an example.
    Everything works fine, if there is only one line of text in the textedit box. If i put for example three lines in it, word opens and now i have the choice for a data seperator.
    The word document contains only one field as a "MergeField" like the field of the word document used in the "IOS_TEST_WORDPROCESSING". 
    Could anyone give me a hint how to solve the problem.
    With best regards
    Markus

    I have the same problem. I want to integrate an ABAP Web Dynpro in GP, but there is no way to implement an Interface from GP like it is in JAVA. That means you cannot maintain input , output parameters and give a status back to GP. Seems that in ABAP the WD is not integrated in GP.
    I went to the relevant developement departement an they gave me the following answer.
    In GP you can maintain input parameters for a ABAP Web Dynpro Application manually which will be displayed in the apllication UI URL . Then you need a function module to map the input parameters inside the url to the ABAP Web Dynpro context. Output parameters are not possible in GP with ABAP Web Dynpro. It is also not possible to give back the processing state to GP from your ABAP web Dynpro Application like it is in JAVA. Only the GP framework provides a button to complete this Step manually by the user.
    Regards
    Rainer

  • How to generate a dynamic selection-screen

    Hi folks,
    I have a itab with all fields and descriptions of a database-table. Now i want to generate a selection screen dynamically. I want to create a select-option for every field of the table.
    First I read all fields of a database table into my intern table:
    CALL FUNCTION 'DDIF_FIELDINFO_GET'
      EXPORTING
        tabname              = 'database_tabname'
      TABLES
        dfies_tab            = it_tabname_fields.
    Then I tried to generate a dynamic selection-screen with a select-options statement per field of the itab, but it doesn't work:
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001 NO INTERVALS.
    LOOP AT it_tabname_fields INTO s_tabname_fields. "should be 14 loops and 14 lines
      SELECTION-SCREEN BEGIN OF LINE.
      SELECTION-SCREEN COMMENT (25) s_tabname_fields-SCRTEXT_S FOR FIELD var1. "the name of the field should be set dynamically from the itab
      SELECT-OPTIONS var1 FOR tabname-s_tabname_fields-fieldname. "s_tabname_fields-fieldname should be set dynamically for each line
      SELECTION-SCREEN END OF LINE.
    ENDLOOP.
    SELECTION-SCREEN END OF BLOCK b2.
    I know that this doesn't work but it should help you to understand what i want to do. It doesn't create more than one select-option (it should be 14 because there are 14 lines in the table) and it doesn't get the values from the table.
    I hope you can help me...
    Regards,
    Sebastian

    hi
    Firstly, have a look at the following code to see how this can be implemented -
    REPORT ZTEST.
    perform test.
    class test definition.
      public section.
        methods: create_screen.
    endclass.
    class test implementation.
      method create_screen.
        data:  report_line(72),
               report_source like table of report_line.
        data: err_message(240),
              err_line type i,
              err_word(100).
        report_line = 'REPORT TEST.'.
        append report_line to report_source.
        report_line = 'PARAMETERS: P_TEST TYPE I.'.
        append report_line to report_source.
        report_line = 'START-OF-SELECTION.'.
        append report_line to report_source.
        report_line = 'WRITE : P_TEST.'.
        append report_line to report_source.
        syntax-check for report_source message err_message
                                       line    err_line
                                       word    err_word.
        if err_message is initial.
          INSERT REPORT 'ZZZTESTZZZ' FROM REPORT_SOURCE.
          SUBMIT ZZZTESTZZZ VIA SELECTION-SCREEN AND RETURN.
        endif.
      endmethod.
    endclass.
    form test.
      data test type ref to test.
      CREATE OBJECT TEST.
      call method test->create_screen.
    endform.
    As you can see, the report is being written dynamically. Once the INSERT REPORT statement is executed, the program is available. you can you external subroutine calls to pass the data between the programs now.
    Regards,
    ravish
    <b>plz dont forget to reward points if helpful</b>

  • Is abap web dynpro is a netweaver product?

    Dear experts,
    is abap web dynro is a netweaver product? ..i wonder why is it categorized under application server in sdn forums can anyone explian..
    in addition to abap i am willing to learn abap web dynpro.how would be the prospectes of abap web dynpro in the us market ...or do u suggest any other hot topic to learn?..please feel free to comment on my idea and kindly suggest me a better option if my idea is not ideal....
    i am not into java till now so i am not willing to learn java web dynpro..
    please suggest a better option so that i can use my abap skills to the fullest..
    thanks in advance.

    Hi Ramu,
      Yes, ABAP Web dynpro is a Netweaver product. It cums with mySAP suite.
    This is the hot technology in the market and if you are not a JAVA guy then you must go with ABAP Web dynpro.
    Basically with the help of ABAP Web dynpro we develope custom products for the client. this is UI based technology and one of best option for "ABAPers" .
    For Web dynpro ABAP you will require SAP ECC 6.0 onwards and WAS 7.0
    is a must. It has very good future propspects as this is best UI technology.
    In web dynpro ABAP we follow MVC(Model View Controller) architecture.
    In this object oriented ABAP is used to provide background functionality. Here, your ABAP skills can be utilized to the fullest. Programming in web dynpro ABAP is different than conventional ABAP programming. Here we strictly follow MVC architecture in terms of controller interface. Also there are many wizards available so that we can directly pick the code from wizards.
    e.g We can call BAPI through a service call in web dynpro application. Thus automatically backgroud code for BAPI execution will be generated.
    To start with Web dynpro ABAP you can try following tutorial:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a282c952-0801-0010-1eb5-87953e036712
    You can start with tutorials and all. There are around six tutorials in SDN library.
    Web Dynpro for ABAP
    http://help.sap.com/saphelp_erp2005/helpdata/en/a5/1a1e3e7181b60ae10000000a114084/frameset.htm
    best tutorials in wbdynpro for ABAP to start with :
    https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/webcontent/uuid/fed073e5-0901-0010-4eb4-c9882aac7b11 [original link is broken]
    Have a look at the following SDN WDA Wiki . There you can find all relevant information.
    https://wiki.sdn.sap.com/wiki/display/WDABAP/Main
    Also you can search weblogs on web dynpro ABAP.
    Hope this will help you.
    Cheers,
    Darshna.

  • ABAP Web Dynpro Guided Procedures integration

    Hello,
      does anyone know if there is a way for an ABAP Web Dynpro to expose input and output parameters for use in Guided Procedures?
      Thanks in advance
        Gabor

    I have the same problem. I want to integrate an ABAP Web Dynpro in GP, but there is no way to implement an Interface from GP like it is in JAVA. That means you cannot maintain input , output parameters and give a status back to GP. Seems that in ABAP the WD is not integrated in GP.
    I went to the relevant developement departement an they gave me the following answer.
    In GP you can maintain input parameters for a ABAP Web Dynpro Application manually which will be displayed in the apllication UI URL . Then you need a function module to map the input parameters inside the url to the ABAP Web Dynpro context. Output parameters are not possible in GP with ABAP Web Dynpro. It is also not possible to give back the processing state to GP from your ABAP web Dynpro Application like it is in JAVA. Only the GP framework provides a button to complete this Step manually by the user.
    Regards
    Rainer

Maybe you are looking for

  • Problem during implementation of log4j in portal

    Hi, I am quite new to portal. I am trying to customize the com.sap.portal.runtime.logon.par file. Everything is perfect. But while I am trying to incorporate my own logging using log4j, the log file is not getting generated. Can you please suggest me

  • How do I change the variable across different methods

       A tic-tac-toe board. public class TicTacToe    private String[][] board;    private static int SIZE = 3;       Constructs an empty board.    public TicTacToe()       board = new String[SIZE][SIZE];       // Fill with spaces       for (int i = 0; i

  • How to get delayed pulse train

    hello, i am using Labview 7 and a PCI 6014 interface card. i want to generate delayed pulse train. for this purpose i am generating a analog waveform using 'function generator.vi'. i supply this waveform to a counter and to generate delay i am using

  • Which proof setup profile is correct?

    Hi, I've found very conflicting answers to this question in the forums on this site: When saving for web and devices, is it best to set your View-->Proof Setup to Macintosh RGB, Windows RGB, or Minotor RGB and color correct from there? Thanks!

  • Aq Adapter configuration

    I have a problem with AQ Adapter in WebLogic, the error is quite comon, I saw it here couple of times, people have the same problem wit hdifferent adapters: weblogic.application.ModuleException: A <jndi-name> is specified for the resource adapter bea