Organizational Structure Search Help in Webdynpro ABAP

Hi,
I need an organizational structure search help in webdynpro abap.
It should list the organizational structure in tree view like RH_OBJID_REQUEST lists.
I tried to use RH_OBJID_REQUEST function in webdynpro but I got " A RAISE statement in the program
"CL_GUI_CUSTOM_CONTAINER=======CP" raised theexception condition "CNTL_ERROR" short dump.
Is there such a function for webdynpro abap and  how can I achive this with select options?
Thanks in advance..
MERAL

Great article.  I also had this probelm a year ago. My problems questions are:
Is it possible to select more then one entry in the tree?
What about selecting all childrens with one click?
In my solution I inserted this tree, into a table and the table had a checkbox, row, so the user can check the required org units, (more then one) and there was a separate button, for "select all children"

Similar Messages

  • Search help in webdynpro abap

    hi all,
    I am new to webdynpro abap.i want to implement search help for input feilds in my application,.can anyone give me step by step procedure to create search help
    thanx in advance.
    regards,
    Anusha

    Hi Anusha,
    Web Dynpro provides two types of pre-implemented search helps :
    1. ABAP Dictionary Search help
    2. OVS
    [Input Help for WDA|http://help.sap.com/saphelp_nw04s/helpdata/en/b3/4d3642eca5033be10000000a1550b0/frameset.htm]
    I have created a blog on implementing OVS help in WDA. You can refer that for sample code.
    [OVS help in WDA|/people/shruti.rathour/blog/2008/05/05/ovs-help-in-web-dynpro-abap]
    In addition, you can also provide help through Drop Downs and Select options.
    [Working with Select options in WDA|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c09fec07-0dab-2a10-dbbe-c9a26bdff03e]
    Plz reward if helpful.
    Thanks.
    Shruti

  • Clear error message on F4 standard search help in webdynpro abap

    Hi Gurus,
    We have a check on the data entered by the user in our webdynpro producing a error message if the data are not correct. My problem is that this message is also diplayed in the search help afterwards when the user clicks on the search help. I know how to clear an error message but I can't find the event triggered by the F4 search help to put my code. The search help is a standard search help and thus I can't modify it.
    All I want is to find the event triggered when the user clicks on the search help. The field is in an alv but the alv click or alv action are not triggered when the user clicks on the search help.
    Thanks for your help in advance guys.

    Yes.  It is called a Freely Defined Value Help if you want to have complete control of the UI that is displayed in the dialog:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/9ef8cc9b5e3c5ce10000000a421937/frameset.htm

  • Dynamic Search Help  in webdynpro abap

    Hi,
    I have 2 fields in my UI- say Object Type and Object Name. Both the fields are search helps which i have created.
    Based on the selection made in the Object Type, the Object Name search help will be populated with values accordingly.
    For Ex: Object Type can have values - Program, Project Cluster, etc.
    If i select Program, then in my Object Name search help i should get values ERP Package 5.0, Netweaver, etc
    and if i select Project Cluster, then in my Object Name search help i should get values HCM, FIN, etc.
    How can i do this?
    Regards,
    Wilma.

    Hi Ralf.
    I checked the test application WDR_TEST_DDIC_SHLP. If it had behaved like the way you explained, then it would perfectly match my requirement.
    But in the test application, in the search help for Country, there are no values for the country that i can select and only cities can be selected. The entry that i select in the input help for Country forms the input for the city field.
    Kindly check and let me know.
    Regards,
    Victoria Wilma

  • Custom search help in webdynpro ABAP

    Hi,
       I have a requirement where I have to display a popup with tree ALV on F4 for a field in a webdnpro ABAP application. Is it possible to call a popup on pressing F4 for a field. If yes please let me know how.
    Regards
    Nilanjan

    Yes.  It is called a Freely Defined Value Help if you want to have complete control of the UI that is displayed in the dialog:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/9ef8cc9b5e3c5ce10000000a421937/frameset.htm

  • Logical Database - PNPCE - Hide 'Org Structure' 'Search Help' etc buttons

    Hi,
    We have created a report by making a z copy of RCATS_APPROVE_ACTIVITIES. In the Z version we need to hide the buttons on the titlebar of the selection screen.
    Buttons are
    - Org Structure
    - Search Help
    - Dynamic Selection
    - Selection Fields.
    Can you please suggest if I can do something from the code ?
    Regards,
    Chiranjeevi.

    Hi,
    Thanks for your suggestion. However, there is no title bar method that we can modify to remove the buttons. I have created a Z report Category by copying the existing one and made the modifications.
    In that we can hide/display UI elements which are displayed by Logical Database.
    Regards,
    Chiranjeevi.

  • How to create generic search help in wd abap

    Hi experts,
          How to create generic search help in wd abap.
    Regards...
    Arun.

    Hi Arun,
    Following links have step by step procedures for creating search helps and other related topics.
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/3d/e53642e2a3ab04e10000000a1550b0/content.htm">ABAP Dictionary Search Help for WD</a>
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/9b/c51c42735b5133e10000000a155106/content.htm">Input Help in WD ABAP</a>
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm">Search Helps</a>
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21ee5f446011d189700000e8322d00/content.htm">Creating Elementary Search Help</a>
    Regards,
    Neha
    <i><b>PS:Reward if helpful</b></i>

  • Search Help in Webdynpro For ABAP

    Hi Experts,
                      In my application I want to attach search help to a field. My problem is that table field for which I am creating search help contains duplicate values. I dont want those duplicate values. How can I achieve this?
    I am using trfgr field of table T510.
    Please help.
    Thanks & Regards,
    Pratibha Shukla

    I have coded like this . But I am getting short dumb. It says field symbol not assigned. Please help.
    FUNCTION zexit_search_trfgr.
    *"*"Local Interface:
    *"  TABLES
    *"      SHLP_TAB TYPE  SHLP_DESCT
    *"      RECORD_TAB STRUCTURE  SEAHLPRES
    *"  CHANGING
    *"     REFERENCE(SHLP) TYPE  SHLP_DESCR
    *"     REFERENCE(CALLCONTROL) LIKE  DDSHF4CTRL STRUCTURE  DDSHF4CTRL
      DATA : BEGIN OF it_trfgr OCCURS 10,
              trfgr TYPE pa0008-trfgr,
            END OF it_trfgr.
      DATA : itab LIKE LINE OF it_trfgr.
      IF callcontrol-step = 'SELECT'.
    *******Fetch trfgr from table t510
        SELECT DISTINCT trfgr FROM t510 INTO TABLE it_trfgr WHERE molga = 40.
    CALL FUNCTION 'F4UT_RESULTS_MAP'
    EXPORTING
       SOURCE_STRUCTURE         = 'T510'
    *   APPLY_RESTRICTIONS       = ' '
      TABLES
        shlp_tab                 = shlp_tab
        record_tab               = record_tab
        source_tab               = it_trfgr
      changing
        shlp                     = shlp
        callcontrol              = callcontrol
    * EXCEPTIONS
    *   ILLEGAL_STRUCTURE        = 1
    *   OTHERS                   = 2
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
      ENDIF.

  • Trigger Automatic Search Help in WebDynpro for ABAP

    I have a WDA application for creating a Purchase Order. The first screen has 2 options - one for creating a PO from scratch; and one for copying an original PO.
    The second view ('Copy PO') for copying a PO has a single field (PO document) with a Search Help attached (freely programmed). The Search Help works well.
    Now for the question:
    When firing the second screen ('Copy PO'), I would like to trigger the Search Help without actually entering the view. Is there some way of firing an event that triggers the Search Help without entering the 'Copy PO' view?
    Any help would be gratefully accepted.

    hi gareth.......
                a solution for you.....
                   instead of triggering  a search help....
                  in you wddoinit method... call a popup which ahs a table with all the required values...
                 so when the user selects one... it has to be bound to an attribute....
                 which is then passed to the po field.
    ---regards,
       alex b justin

  • Org structure Search help

    In my WDA I would like to display an Org structure and allow to select Postion or Unit.
    In standard ABAP I would use a Search help for this - something like H_RMPS_DEPARTMENT.
    Could I do this in WDA?
    Thanks a lot.
    Tatyana

    Hi,
    You can use the dictionary search help in WDA too. For the context attribute for which you need the search help select the Input Help mode as "Dictionary Search help" and then provide the search help name.
    You can also develop a freely programmable search help too. Refer to the below link for more details-
    http://www.divulgesap.com/blog.php?p=NjQ=
    Also you can develop a search help using Object Value selector concept (OVS). Refer to the below link for more details.
    http://www.divulgesap.com/blog.php?p=NzA=
    Cheers,
    Ravikiran

  • How to create an elementary and collective search help in webdynpro

    Hi all,
    my requirement is i have to create an collective search help. and that should be same as other tcode search help functionality.
    and now the ztcode is in r3 system and my webynpro development is going on bw system how to copy that tcode from r3 to bw system. and then for my input field is cost center and for this input field i should create the search help functionalty.kindly help me how to achieve this functionality i am new to this webdynpro so kindly send me the detail steps.
    Thanks & Regards,
    Naveen

    Hi Naveen,
    There's no difference to using a collective search help or a regular search help.
    in the attribute of the context that you want the search helps to appear for - specify that the input help is of type dictionary search help, then specify that the input help is your collective search help.
    Search helps in WDA, if search help is available at dictionary level, no need to create any search help, you get automatically.
    If you want to create search help for any input field, another option is using OVS. we have WDR_OVS component for search helps, you need to reuse this component in your custom component, just change some coding according to your requirements you get search help.
    Go through these documentation and helps...
    http://help.sap.com/saphelp_nw73/helpdata/en/cf/21ee45446011d189700000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw73/helpdata/en/3d/e53642e2a3ab04e10000000a1550b0/content.htm
    OVS search help..
    http://wiki.sdn.sap.com/wiki/display/Snippets/OVSSearchHelpinWebDynproAbap
    freely programmed inputhelp
    http://wiki.sdn.sap.com/wiki/display/WDABAP/Freelyprogrammedinput+help
    http://wiki.sdn.sap.com/wiki/display/WDABAP/UsingSearchhelpattachmentsforWebDynproABAP
    Thanks,
    Kris.

  • Search Help in Webdynpro displays specific text in German language

    We have created a custom search help which is being displayed using a custom Webdynpro application. We found that for this search help, although all other texts are displayed in English, a specific text ( 'Show filter criteria' ) is being displayed in German. Also, the same problem exists for search helps used in certain standard Webdynpro applications as well ( eg. WDT_FLIGHTLIST, TEST_DDIC ). Is there any SAP note to address this issue?

    Hi,
    see SAP note 1050954
    Regards, Heidi

  • F4 help in webdynpro abap application

    Hi Experts,
    how to keep the f4 help to input field if user press f4 a pop up window should display  same as in xk03 t code payment methods
    if u click on payment  it will display  pop up window in that pop up window it should display all payment methods  types.
    Thanks & Regards
    Pradeep

    Hi Pradeep,
    Create a search help with the values you require in se11 transaction.
    Then assign this search help to the context attribute of your field. This should work.
    Assignment is done in the same place that you set cardinality etc.
    I don't have access to a system right now, so can't give precise details.
    Let me know if you require more help.
    Cheers,
    Mz

  • Help with webdynpro abap

    Hi all,
    In a webdyn pro application i have an attribute in the context node of component controller.
    I want to set a value to this attribute from a function in component controller.
    Can any one help me in getting started?
    Thanks,
    Bala.

    That's pretty basic, you should check out the tutorials on WDA.
    https://www.sdn.sap.com/irj/sdn/nw-ui?rid=/webcontent/uuid/00545e6d-0679-2910-acab-8073ce9a1659 [original link is broken]
    Basically you want to use the wizard to generate the source code which will give you access to the object of the context node, then you can use the SET_ATTRIBUTE method to set the value of the context node.
    Regards,
    Rich Heilman

  • Dynamic Search Help in WDA Table

    Hello Expert,
    I would like to assign the standard search help for Webdynpro abap table in item level,
    I know using the below code we can assign the search help for particular input field ,
    DATA lo_nd_info TYPE REF TO if_wd_context_node_info.
               lo_nd_info = lo_nd_eqt_partner->get_node_info( ).
               CALL METHOD lo_nd_info->set_attribute_value_help
                 EXPORTING
                   name            = 'PARTNER' " Your attribute Name
                   value_help_mode = '121' " Valid value help mode
                   value_help      = 'DEBI'. " Search help name.
    But my scenario is i have one table which is having threee columns,
    Partner type   partner   name,
    so based on the partner type i would like to call the standard search help ,
    if the line item 1 is having partner type 'KU' then i need to assign DEBI search help
    if the line item 2 is having Partner type 'LI' or 'AG' then i need to assign KRED search help ,
    If the line item 3 is having Partner type 'AP' then i need to assign VKNK search help
    so please help me to achieve the same.
    Thanks,
    Sankar

    One method to achieve this functionality would be  :
    1. Find out the maintenance screen and function group of the table maintenance generator say 2000 and ZFGRP.
    2. Go to SE80 and open ZFGRP screen number 2000.
    3. For Field number 1 , it is assumed that there is already a standard search help for it.
    4. For field 2 - create a module in Process on Value Request Event in PAI of the maintenance screen ( Similar to any module pool program)
    5. Use FM DYNP_VALUES_READ to read the value of field 1 on the screen ( Because this is before enter is pressed and field 1 on the module pool porogram would not be populated with value )
    6.  While creating internal table for this FM, filter out all the values that are not required based on value obtained above.
    call the FM F4IF_INT_TABLE_VALUE_REQUEST( In Process on Value request event of field 2 in PAI)

Maybe you are looking for

  • Incoming attachment documents in MS Word not readable

    Just purchased new Mac with 10.5 operating system.  Had contents of hard drive transferred to new computer.  Incoming attachments in MS Word are not readable - letters and symbols interspersed with readable parts of document.  Had an older version of

  • FORMS 6i and cells background color

    Hello, I ve got a tabular forms based on a table. Is it possible to change the background color of ONE or MORE cells ? Thanks. Romeo.

  • Error in JkCoyoteHandler

    i am a programmer working with in a web application in my project In Navigation bar i click it,it produce below error 09:34:31,796 ERROR [JkCoyoteHandler] Error in action code java.net.SocketException: Connection reset by peer: socket write error at

  • Printouts of Logistic Invoice Document

    Hi Experts, I want to take printouts of the documents generated from MIRO transaction. Like PO-printout or MIGO-printout. So what all cutomizations required for that, kindly suggest step wise.

  • Installing or updating an extension fails

    Firefox version: 3.6.8 OS: Mandriva Linux 2010.1 After adding a new extension, or updating an existing one, Firefox asks for a restart. When Firefox restarts, the extension is not installed/updated and it requires a restart. When checking the extensi