F4 for employee select options in WD for abap application

Hi,
I have defined a select option for employee selection in my WD for abap application. The only problem is that I cannot get a f4 help button to be displayed. I have defined the select option using the following code :
wd_this->m_wd_select_options = wd_this->wd_cpifc_select_options( ).
init the select screen
wd_this->m_handler = wd_this->m_wd_select_options->init_selection_screen( ).
create a range table that consists of this new data element
lt_range_table = wd_this->m_handler->create_range_table(
i_typename = 'PERNR_D' ).
add a new field to the selection
wd_this->m_handler->add_selection_field(
i_id = 'PERNR_D'
it_result = lt_range_table
i_read_only = read_only ).
I have tried adding entries for the parameter help_id but still cannot get a f4 button.
Thank you in advance for any assistance provided.

Hi,
Try this.
DATA lo_interfacecontroller TYPE REF TO iwci_wdr_select_options .
lo_interfacecontroller = wd_this->wd_cpifc_select_options( ).
DATA lo_r_helper_class TYPE REF TO if_wd_select_options.
lo_r_helper_class = lo_interfacecontroller->init_selection_screen( ).
Creating range table
DATA lt_range TYPE REF TO data.
CALL METHOD lo_r_helper_class->create_range_table
EXPORTING
i_typename = ''PERNR_D'
RECEIVING
rt_range_table = lt_range.
Disabling the global options
CALL METHOD lo_r_helper_class->set_global_options
EXPORTING
i_display_btn_cancel = abap_false
i_display_btn_check = abap_false
i_display_btn_reset = abap_false
i_display_btn_execute = abap_false.
Adding the selection field
CALL METHOD lo_r_helper_class->add_selection_field
EXPORTING
i_id = 'PERNR_D'
I_OBLIGATORY = ABAP_TRUE
i_value_help_type = if_wd_value_help_handler=>CO_PREFIX_SEARCHHELP
I_VALUE_HELP_ID = 'PREM'
it_result = lt_range.
Check this artcle for more details which uses VBELN as select option with search help.
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/103e43d5-fdb8-2d10-90ab-b5e8532cbc04

Similar Messages

  • Is DD/MM/YYYY supported in webdynpro for abap application

    Hi All,
    We are using 2 different time statements one developed in webdynpro for java and other in webdynpro for abap.date format in java is DD/MM/YYYY but in webdynpro for abap is DD.MM.YYYY.
    is DD/MM/YYYY supported in webdynpro for ABAP application or even if user enters DD.MM.YYYY can we convert that to DD/MM/YYYY so that we will maintain uniformity in both the applications
    Thanks
    Bala Duvvuri

    Hi Bala,
    We can convert the date before saving ,even if the user enters the date as dd.mm.yyyy  as mentioned below.
    DATA: lv_indicator type XUDATFM .
    CALL FUNCTION 'ISH_GET_USER_DATE'
      EXPORTING
        USER_NAME         = SY-UNAME
      IMPORTING
        DATE_FORMAT       = lv_indicator .
    CASE lv_indicator.
        WHEN '1'.                                        " DD.MM.YYYY
          CONCATENATE p_date6(2) '.' p_date4(2) '.'
                      p_date(4)
             INTO p_result.
        WHEN '2'.                                        " MM/DD/YYYY.
          CONCATENATE p_date4(2) '/' p_date6(2) '/'
                      p_date(4)
             INTO p_result.
        WHEN '3'.                                        " MM-DD-YYYY.
          CONCATENATE p_date4(2) '-' p_date6(2) '-'
                      p_date(4)
             INTO p_result.
        WHEN '4'.                                        " YYYY.MM.DD
          CONCATENATE p_date(4) '.'  p_date+4(2) '.'
                      p_date+6(2)
             INTO p_result.
        WHEN '5'.                                        "YYYY/MM/DD
          CONCATENATE p_date(4) '/'   p_date+4(2) '/'
                      p_date+6(2)
             INTO p_result.
        WHEN '6'.                                        "YYYY-MM-DD
          CONCATENATE p_date(4) '-'  p_date+4(2) '-'
                      p_date+6(2)
             INTO p_result.
      ENDCASE.
    Regards,
    Lakshmi.

  • How to integrate WebDynpro for ABAP application with SAPEnterprisePortal7.0

    Hi WebDynpro for ABAP Experts,
    We developed an WebDynpro for ABAP application on R/3, and now we are planning to show this as an iview on SAP Portal EP7.0 (SAP j2EE Engine--Java stack). is it possible to integrate this application with portal?
    If so can you proviode me the way how can we achieve this?
    ADV Thanks
    Regards
    Phani

    Hi Alex,
    Thanks for your response.
    I already created the system object R/3 Backend.
    Actually some WebDynpro java applications/iViews are currently running on Portal. and the developers developed these in NWDS and deployed the .sca files on the Portal server and we created Webdynpro for java iViews.
    but now the requirement is creation of webDynpro for ABAP views.
    The developers developed  WebDynpro for ABAP on the R/3 system. So what are the parameter values we need to give at teh time of creation of  WebDynpro for ABAP iview like the Namespace, Application name etc which are mandatory values and how the Portal server detects the application, this means no need to deploy the application on the Portal server?
    Shall we need to maintain any JCo Destinations or not?
    Pl share your ideas.
    ADV Thanks
    Regards
    Phani

  • Portal integration of Webdynpro for ABAP application

    Hi all,
    Can anyone provide me with the steps for <b>integrating a Webdynpro for ABAP application with portal?</b>
    Regards,
    Bino

    Hi Bino
    Check out the following link
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/portal integration of web dynpro applications.pdf
    Regards
    Rajeev.
    Do award points for helpful answers in SDN.

  • Issues with portal integration of Web dynpro for ABAP application

    Hi,
    I have the following issues when i integrate a Web Dynpro for ABAP application with portal.
    1. the iview does not contain some images, such as table scroll button images, maximize and close buttons of popups etc.
    2. the iview loads properly, but there is an error in the status bar that says "Access denied"
    3. is it possible to do absolute navigation from
       role1->folder1->iview1 to role1->folder2->iview2?
       when i fire this navigation from the webdynpro
       application, the navigation does not happen in the
       portal.
    thanks,
    Kavitha

    >
    sridhar vadaga wrote:
    > Hi Experts,
    >
    >
    > CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
    >   EXPORTING
    >     text           = url
    >  IMPORTING
    >    BUFFER         = content .
    >
    >
    > Thanks & Regards
    > Sridhar
    I think you are overestimating the power of the SCM_STRING_TO_XSTRING function module.  By supplying a URL as the value of the input text, it isn't going to magically go read the content from the remote location and convert that to a binary string.  It is going to take whatever value you supply in th importing TEXT parameter convert that to binary.  In other words it is literally converting the string http://xxx/test.xls to binary.  You will need some other mechanism to read the content from the remote location into ABAP memory before you can process it.  You will need to use the CL_HTTP_CLIENT class or call some sort of web service to retrive the content.

  • Issues witn portal integration of Web dynpro for ABAP application

    Hi,
    I have the following issues when i integrate a Web Dynpro for ABAP application with portal.
    1. the iview does not contain some images, such as table scroll button images, maximize and close buttons of popups etc.
    2. the iview loads properly, but there is an error in the status bar that says "Access denied"
    3. is it possible to do absolute navigation from
       role1->folder1->iview1 to role1->folder2->iview2?
       when i fire this navigation from the webdynpro
       application, the navigation does not happen in the
       portal.
    thanks,
    Kavitha

    Hi,
    Use a Transparaent container (TCO) inside it use the tabstrip and make it as matrixheader as per rootUI.
    You can also set the layout for TCO as matrix and do the necessary changes.
    Regards,
    Lekha.

  • Monitor usage of Webdynpro for Abap Application

    Dear all,
    How does one monitor how many times a Webdynpro for Abap application is called by users? We have an i-view in the portal that calls a WD4A program in  the back-end system. Is there anything in the portal or back-end that will give us the usage information?
    Thanks, Neeta

    Hi Thomas,
    We are not necessarily looking for performance data but how many times a bsp and/or function module is called. The idea is to try and determine how many calls are made to SWN_WIEXECUTE BSP via a URL (http://<hostname>:xxxx/bc/bsp/sap/SWN_WIEXECUTE/MAIN.DO to track a usage of a new workflow approval/rejection process.
    We also want track how many calls are made to SAP_WAPI_WORKITEM_COMPLETE function module to track approval/rejection of a workflow process via Portal UWL.
    Best Regards, Neeta

  • Can we determine the CAPSLOCK is ON in a webdynpro for ABAP application?

    I have a pwd field in a Webdynpro for ABAP application.  If the CAPSLOCK is on  then I need to prompt user either via popup or a static text on the page that "CAPSLOCK is ON".  Is there way a to determine the caps lock is on when the user enables CAPSLOCK?  Thanks for help in advance
    Regards,
    Madan.

    Thank you for your response.  I am already prompting the user if the pwd is incorrect.  But user is expecting to receive a prompt if the CAPSLOCK is ON to avoid typing incorrect pwd.  If it is not possible to identify whenever the CAPSLOCK is turned ON, atleast is there a way to identify the CAPSLOCK is ON whenever user is navigated to this page/webdynpro application.
    Regards,
    Madan.

  • WebDynpro for ABAP applications for Touch Screen Clients?

    Hi folks!
    Has anybody in the WD4A community experiences in developing WebDynpro for ABAP applications for touch screen clients?
    Any hint will be welcome.
    Thanx in advance!
    Regards,
    Volker

    Hi,
    sorry, but Web Dynpro ABAP does not support touch screen clients. This would mean new Unified Rendering features which are, however, not scheduled.
    Regards, Heidi

  • Hide Select option properties in Webdynpro ABAP

    Hi,
    I have a select option defined in my Webdynpro application.
    I want to control/hide few properties of this SELECT-OPTION. How do I do that.
    I am using Select-option of type IF_WD_SELECT_OPTIONS.
    ags.

    Done:
            wd_this->mr_select_options->add_selection_field(
                 i_id                         = attribute_info-name
                 i_description                = label_text
                 i_value_help_structure       = value_help_structure
                 i_value_help_structure_field = value_help_structure_field
                 i_no_extension               = no_extension
    * Begin of changes by ASINHA
    * This is used to avoid pattern from select options
                 I_USE_COMPLEX_RESTRICTION    = abap_true
    * End of changes by ASINHA
                 it_result                    = select_options_range
                 i_no_intervals               = wd_assist->true ).

  • Select options in web dynpro ABAP  (Event on_check)

    Hi,
    how can I raise a message in the event-handler method on check for a specifc field out of the Select-Option.
    Best regards,
    Marcus

    Hello,
    Create a new method and call it when you want to show the message.
    METHOD message_handling .
      DATA:
        lr_current_controller TYPE REF TO if_wd_controller,
        lr_message_manager    TYPE REF TO if_wd_message_manager.
      lr_current_controller ?= wd_this->wd_get_api( ).
      lr_message_manager = lr_current_controller->get_message_manager( ).
      lr_message_manager->report_t100_message(
        msgid = iv_msgid
        msgno = iv_msgno
        msgty = iv_msgty
        p1    = iv_p1
        p2    = iv_p2
        p3    = iv_p3
        p4    = iv_p4 ).
    ENDMETHOD.
    In this method, the program show a message that is declared in a mesasge class. If you look at IF_WD_MESSAGE_MANAGER there are other methods to show a message.
    And you can find more information at this blog https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/8402. [original link is broken] [original link is broken] [original link is broken]
    Regards,

  • Select options in web dynpro ABAP (search help f4 problem)

    hi...
    from the Tutorial of select options i have created select option for two parameters S_CARR_ID and S_CONN_ID but i get f4 help for only S_CARR_ID, but the parameters passed to both for   m_handler->add_selection_field are the same.
    i also tried to attach my search help by passing one more parameter (I_VALUE_HELP_ID) but it dose not help.
    could any one suggest me how to get f4 help.
    thank you.
    Regards
    kailash.
    code snap ->
    init the select screen
      wd_this->m_handler =
           wd_this->m_wd_select_options->init_selection_screen( ).
    create a range table that consists of this new data element
      lt_range_table =
        wd_this->m_handler->create_range_table(
             i_typename = 'S_CARR_ID' ).
    add a new field to the selection
      wd_this->m_handler->add_selection_field(
                     i_id = 'S_CARR_ID'
                     it_result = lt_range_table
                     i_read_only = read_only
    create a range table that consists of this new data element
      lt_range_table =
        wd_this->m_handler->create_range_table(
             i_typename = 'S_CONN_ID' ).
    add a new field to the selection
      wd_this->m_handler->add_selection_field(
                     i_id = 'S_CONN_ID'
                     it_result = lt_range_table
                     i_read_only = read_only ).

    hi kailash,
      check wheteher  the field u r refering is having search help.
        if it has then set the additional parameters in method add_selection_field
      I_VALUE_HELP_STRUCTURE = 'VBC07'(name of the table)                                                   I_VALUE_HELP_STRUCTURE_FIELD = 'FKART'( field name)
    ex:
    wd_this->go_select_options1->add_selection_field( i_id = 'FKART'
                                                       I_WITHIN_BLOCK = 'BLOCK1'
                                                       I_VALUE_HELP_STRUCTURE = 'VBCO7'
                                                       I_VALUE_HELP_STRUCTURE_FIELD = 'FKART'
                                                       it_result = lo_range_table
                                                       i_read_only = lv_read_only
    regards,
    janakiram.
    Edited by: janakiram raju on Mar 11, 2008 11:40 AM

  • WebDynpro for ABAP Application in SAP-4.7 Version

    Hi,
    I am new to WebDynpro for ABAP. Can anyone tell me that Could I create any application of WebDynpro Application in SAP-4.7 version.
    Regards
    Dinesh.

    Hi Dinesh,
    Web Dynpro Tool is not available in SAP-4.7 version.
    u can create web application using BSP(business server pages which  is available in 4.7 version.) from SE80
    Web Dynpro tool is available in ECC6.0.
    To Create a web dynpro application or component Go To SE80,and select Web Dynpro component/interface from the drop down list.
    U need to Have SAP Net Weaver Installed in ur version.
    Regards,
    Lakshman
    Edited by: Lakshman N on Nov 17, 2008 1:16 PM

  • SELECT OPTIONS IN WEB DYNPRO ABAP

    Hello experts, im working with select options in a WEB Dynpro.
    There are four buttons (cancel,check,reset,copy) that apears above my select option.
    My question is: There is a way to hide that buttons?
    THANKS!

    Sure, you can disable them using the SET_GLOBAL_OPTIONS methdo of the IF_WD_SELECT_OPTIONS class.  Something like this:
    wd_this->m_handler->set_global_options(
        i_display_btn_cancel  = abap_false
        i_display_btn_check   = abap_false
        i_display_btn_reset   = abap_false
        i_display_btn_execute = abap_false ).

  • Validation of select-options in WEb DynPro ABAP

    Can anyone please help me on validating select-options. I want to have a functionality like what we use in normal text field while validating the field. We generally use the REPORT_ATTRIBUTE_ERROR_MESSAGE funciton.
    How can we achieve the same thing with select-options, cuz the select-options are not bound with any attribute.
    Edited by: Tirth Pandya on May 7, 2009 2:02 AM

    Hi,
    Refer to this link..Re: validate select option fields

Maybe you are looking for

  • Unable to Load Metadata (Error in shared.context.ContextLoader in startup)

    Hi, I am currently installing fixes on an environment, and every time a patch was installed the application server starts up. The application starts up successfully until I installed 8424662. I still don't know if this is the patch that causes the er

  • Find exact word in text file tht is present in an excel sheet

    Hi all, i want to find words in an text file. but the criteria is i want to search words which r already listed in another excel sheet and change the color of these word. i used FileInputStream and also BufferedInputStream cany anyone help me with th

  • Multiple Problems with N93! Please Help!

    I've had the N93 for about 2 weeks and have come across many problems. Any help will be greatly appreciated! 1. Cannot remove themes - I used to own a 7610 and to delete themes from that phone you just went into themes/options and deleted it. The N93

  • [39008] Logical dimension table X has a source

    Hi I have a Fact table with some dimensions. If I add a detail table to that Fact table I get: [39008] Logical dimension table X has a source Y that does not join to any fact source. For each dimension that I had. Is this possible to model?. To have

  • How to add a MovieClip in current fla

    Like the example Rob Dillon shew me: http://www.ddg-designs.com/downloads/textOverVideo2.zip How to add the text window movieClip? I tried: 1. new as3 project 2. add component -> movieClip -> instance name "aa" but I couldn't find where the new movie