Related to input help

hi experts,
my project is HR based.
i developed an initial screen with 3 fields(i.e.company code,personnel area and personnel subarea)
i have explained my requirement with an example:
if i give company code as 1000,the input help for personnel area should only be related to 1000 company code and so for  subarea.
sap provides combined search help.i need the filterd input help for each i/o field.
pls tel me how to do it.
thanks,
charu

Hi
To do that, you need to create a Z copy of the standard search hellp H_T500P and just mark the Import Parameter in the field BUKRS (Company Code) so you can now use the Search Help to filter the values entered in the C.Code field.
http://img829.imageshack.us/img829/9427/samplejb.jpg
Then your code would be something similar to this:
REPORT ztest .
TYPE-POOLS: shlp.
DATA: l_shlp     TYPE shlp_descr_t,
      l_wa       TYPE ddshiface,
      l_bukrs    TYPE char50,
      l_repid    TYPE syrepid,
      L_DYNNR    TYPE SYDYNNR,
      l_ret_val  LIKE ddshretval OCCURS 0 WITH HEADER LINE,
      l_t_fields TYPE dynpread   OCCURS 0 WITH HEADER LINE.
PARAMETERS: p_bukrs TYPE pa0001-bukrs,
            p_werks TYPE pa0001-werks,
            p_btrtl TYPE pa0001-btrtl.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_werks.
  FIELD-SYMBOLS <fs> TYPE ddshiface.
  l_repid = sy-repid.
  L_DYNNR = SY-DYNNR.
  CALL FUNCTION 'F4IF_GET_SHLP_DESCR'
    EXPORTING
      shlpname       = 'ZH_T500P'
*     SHLPTYPE       = 'SH'
    IMPORTING
      shlp           = l_shlp
  CALL FUNCTION 'DYNPRO_STRING_READ'
    EXPORTING
      i_fieldname = 'P_BUKRS'
      i_repid     = l_repid
    IMPORTING
      e_string    = l_bukrs.
  LOOP AT l_shlp-interface INTO l_wa.
    IF l_wa-shlpfield  EQ 'BUKRS'.
      l_wa-value = l_bukrs.
      l_wa-valtabname = 'PA0001'.
      l_wa-valfield   = 'BUKRS'.
    ELSEIF l_wa-shlpfield EQ 'PERSA'.
      l_wa-valtabname = 'PA0001'.
      l_wa-valfield   = 'WERKS'.
    ENDIF.
    MODIFY l_shlp-interface FROM l_wa.
  ENDLOOP.
* Process standard searchhelp
  CALL FUNCTION 'F4IF_START_VALUE_REQUEST'
    EXPORTING
      shlp          = l_shlp
    TABLES
      return_values = l_ret_val.
  LOOP AT l_ret_val.
    IF l_ret_val-fieldname EQ 'BUKRS'.
      l_t_fields-fieldname  = 'P_BUKRS'.
      l_t_fields-fieldvalue = l_ret_val-fieldval.
      APPEND l_t_fields.
    ELSEIF l_ret_val-fieldname EQ 'PERSA'.
      l_t_fields-fieldname  = 'P_WERKS'.
      l_t_fields-fieldvalue = l_ret_val-fieldval.
      APPEND l_t_fields.
    ENDIF.
  ENDLOOP.
  CALL FUNCTION 'DYNP_VALUES_UPDATE'
    EXPORTING
      dyname               = l_repid
      dynumb               = l_dynnr
    TABLES
      dynpfields           = l_t_fields
    EXCEPTIONS
      invalid_abapworkarea = 1
      invalid_dynprofield  = 2
      invalid_dynproname   = 3
      invalid_dynpronummer = 4
      invalid_request      = 5
      no_fielddescription  = 6
      undefind_error       = 7
      OTHERS               = 8.

Similar Messages

  • F4 input help on Variable screen is not working on Portal

    Dear Experts,
    We are facing one issue when we run the WAD report on portal, variable screen gets hang after clicking on input help button (F4) for couple of variables. We are facing same issues when we run the base queries on portal. But when we run the same base queries in RSRT (Tcode) or in BEx Analyzer we are not facing this issue and able to get the input help screen with values.
    I also have gone through some old posts related to such issues but didn't help much. We are already on SAP BW 7.4 SP Level 008 and for Char IO Query Filter Value setting is kept as "Values in Master Data Table" only. This is a MD IO with Compounding.
    Kindly let me know if anyone has faced such issue.
    Thanks in Advance,
    Nilesh

    Dear Martin,
    There is a no long running work process in the backend and data volume is more in Master Data Table, there are around 19 Lacks records available.
    For BI Java patch and defaultTrace for errors I will check it with BASIS Admin team. Unfortunately I don’t have rights to do same.
    Thanks,
    Nilesh

  • Input Help Validations

    I have certain fields on my ALV grid that are tied to input help.
    When the user disregards the input help and enters an invalid value
    an error is displayed indicating that the entered value is invalid.
    Is there a way to prevent these messages from being displayed?  I want
    to do my own validations, but I do not want to disable the input help.

    When the error message is displayed?
    Is it displayed after entering wrong value in the ALV and pressed enter or some event is triggered?
    Is erroneous field becoming red after error message?
    According to me, If above things are happening then this is related to the field level validation. Try to change the data element of that field to something else (e.g. string or char) this will bypass the field level validation if any. Then attach same search help to it.
    I hope it will help.
    Regards,
    Saket.

  • Input help of the org. hierarchy

    Hello all,
    I have two similar enviroments, one with ish version 4.6 and another with version 6.00
    The input help of the organizational hierarchy when it is called from nv2000 or report RNLORG01
    in 6.00 is very slower than 4.6. (Both enviroments have the same parameters OE_LEVEL and OE_LOAD) There is something I can do to optimize this input help? Thanks in advance.
    Regards.

    There are two more recent notes related to this input help:
    Note 1272171 - IS-H: OrgUnit input help does not display all OrgUnits
    The input help for organizational units does not display all inter-departmental organizational units
    Note 1292719 - IS-H: Input help for nursing OU displays incorrect info
    If you call the input help in NV2000 in the field "Nursing OU", the system may not display the name of the nursing OU correctly in some cases. The system displays the name of higher-level departmental OU instead.

  • Restriction of input help for BPS exit variables

    Hello,
    In BPS 3.0b, I created BPS variables with user exit in order to restrict the values in the <b>input help</b> of a characteristic (related to the value selected by user of another variable for example).
    In IP, I know that BPS variables are not used anymore and we have to create BI variables. But I don't know how to restrict the values of an input help in BI. I tried with the user exit RSR00001 but I didn't manage.
    may be is there a possibility to reuse BPS variables ?
    Thank you for your Help.
    Catherine Bellec.<b></b>

    Hi Catherine,
    could you please show me a sample how to restrict the input help for a variable in the user-exit?
    Thank you in advance.
    Best regards,
    Andreas

  • Error while adding a custom field with Input help via AET

    Hi All,
    I need to add two custom field under Service orders at Item level in component BT140I_SRVP.
    One field is required to have the input search help f4 and autopopulates the second field
    I am able to add one field(not requiring help) successfully through AET .
    I have created one Zsearch_help in se11 and its successfully running  and Autopopulating seocnd field while I am testing it
    While adding second field through AET,I need to enter following details as -
    field label,search relevant ,serach help etc.
    When I type the name of my 'Zsearch_help' against field search help it gives me following error
    'Search help is not compatible'.
    Secondly,not getting getter and setter methods for the attrributes in BTAdminI.
    Last,please tell me if i create zhelp and activate it,would it automatically appear in the list on AETwhile assiging it to input field?
    Please help me out.Kindly be detailed as I am new to SAP CRM.
    Thanks,
    Shivani

    The question is answered in CRM 7.0 forum:
    Getting error while adding a custom field (with input help) through AET

  • I defaulted input help field (pick list) but SAP CRM still asking for one

    We are running SAP CRM 7.0.
    Some fields as you know are dialog / pick list fields.
    What I mean by this is they are input help fields where you
    can click a little square (in sap crm 7.0) to the right of the text box
    and it brings up a dialog screen of values that you can select from.
    Here is an example screen shot of what I am talking about:
    http://img834.imageshack.us/img834/5676/imageschak.png
    So what I have done is implemented the GETTER function for this input help field so that by default it has a value.
    The code is like so:
    method GET_CURRENCY.
    CALL METHOD SUPER->GET_CURRENCY
      EXPORTING
        ATTRIBUTE_PATH = attribute_path
       ITERATOR       = iterator
      RECEIVING
        VALUE          = value.
          if value eq ''.
            IF sy-langu EQ 'E'.
              VALUE = 'USD'.
            elseif sy-langu EQ 'D'.
              VALUE = 'EUR'.
            ENDIF.
          endif.
    endmethod.
    Here even is a link to this method that I created: Field Currency of Context Node BTADMINH - How to set default
    The method works great it sets the default of the currency to say USD.  When I click the create button to create an opportunity the field currency is set to USD, this is great because it makes my job easier that I dont have to click the input help button and select a currency, it is already there.
    But once I click the "Save" button for an opportunity I get a small error in the error notification box that tells me I need to select a currency!  But why is this happening a currency already exists?  So If I click the input help (the little button) and reselect the currency value USD then save my opportunity this error goes away.
    The question is why does this happen?  I need it so that the default currency value is recognized by the SAP CRM system.  Why do I have to go back in and re-select the currency if it is already set?  Is there some sort of consistency check or something I need to do to eliminate this problem? 
    Here is a screen shot after creating an opportunity with the default Currency set to USD (this means I did not select USD in the dialog input help it was defaulted by the getter method:
    http://img832.imageshack.us/img832/3011/enteracurrency.png
    Only if I go back into edit mode and actually click the little square to bring up the dialog of values and select USD does this error go away.  Why does this happen ?

    I called SET_CURRENCY right after setting my value and the error is now gone. 
      SET_CURRENCY( EXPORTING ATTRIBUTE_PATH = ATTRIBUTE_PATH
                    iterator = iterator
                    value = value ).
    Got the tip from Pieter who has a good blog on SAP CRM: http://sapcrmweblog.blogspot.com/

  • Passing parameter to an Input Help Component

    Hi ,
    Someone knows a way to pass parameters or any value to an Input Help Component that is built in a separate WDP application ?
    Thanks in advance for your help.

    Hi Baskaran,
    I have a WDP component that implements "".
    Then, i use it as search help (F4 function) for an input field  in another WDP component.
    I would like to use the same " search help component " for many input fields.
    In this purpose, I would like to pass a parameter to specify the caller input field.
    So, do you know a way to pass parameters to "the search help component" ?
    Here is the tutorial that i followed, for the first part.
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50fd6096-a4b6-2d10-bfa8-bbd9001e0d0e?quicklink=index&overridelayout=true |http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50fd6096-a4b6-2d10-bfa8-bbd9001e0d0e?quicklink=index&overridelayout=true ]
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50fd6096-a4b6-2d10-bfa8-bbd9001e0d0e?quicklink=index&overridelayout=true

  • How to hide values in F4 input help

    Hi firends,
                        I have a requirement to hide the values from F4 input help. In tcode F110, when I press F4 in Identification field then i will get the F4 help value for identification for which payment run is already done. I want to hide that data in F4 help and i don't want to delete it from table. Is it possible??
    Please help me.
    Thanks,
    Ziad

    Hi,
    Please check this [Thread for your help.|Re: Regading OVS]
    You can check also [This thread.|Re: Hide F4 personal value list;
    Thanks,
    Abhijit

  • System is not showing in dropdown list for input help

    hi,
    I am using one data service in iview and i have dragged an input form.I want to add input help in it.
    Now my problem is that: When i am trying to select system for input help it is not showing any system in dropdown list.
    Can anybody help me to solve this.
    Thanks

    Hi ,
    if the System is not Mapped to VC User it will not appear in the Dropdown list.
    So do the Usermapping for that system useing System alias.
    Do you know how to do Usermapping?
    If not get back to me.
    Regards,
    Govindu

  • Input help for a selection screen field

    I have a selection screen with field species and checkoff activity .
    For a given species('sc','sb' or 'ss') , the input values allowed for the
    check off activity must be 'SCCK' for species 'SC' ,'SBCK' for species 'SB' and so on.
    I need to provide input help for check off activity based on the value of the species.How do i do that?

    PARAMETER : p_val(10) TYPE c ,
                p_val2(10) TYPE c.
    AT SELECTION-SCREEN on p_val.
      IF p_val = 'SC'.
        p_val2 = 'SCCK'.
      ENDIF.

  • Standard input help in zreport selection screen

    Hi All,
       I am having a selection sceen like S_PERNR FOR PA0001-PERNR.
       when I put f4 help then it is comming right and showing the value
      of personnel number which is correct.
       But when you execute the transaction PA30 and select f4 help in
    personnel number then it iscomming with window and all information
    is cooming. I want to put that help on my selection screnn S_PERNR FOR PA0001-PERNR.
    is it possible? Please give me the solution.
    Thanks,
    Rakesh

    Yes, i am getting input help for position in that program also in ECC 6.0 version.
    SELECT-OPTIONS:pchobjid FOR pchdy-objid_seq.           
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR pchobjid-low.    
      rhx-f4-objid-low pchplvar pchotype pchobjid '' ''.     
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR pchobjid-high.   
      rhx-f4-objid-high pchplvar pchotype pchobjid '' ''.     
    AT SELECTION-SCREEN ON pchobjid.
      PERFORM check_objid_sign(rhxchk00) USING pchobjid-sign.
    Which version are you working ?
    Note: Plz post only one question per thread.

  • Problem with Input help inside an adobe interactive forms

    Hi Experts,
    I'm currently implementing a Webdynpro ABAP application containing a Interactive forms.
    I'm using Adobe Live Cycle Designer 8.0, Acrobat reader 9.2, Internet Explorer 7.0
    My problem is that when I click on the "input help" button inside the adobe form, he automatically refresh all the forms UI element with their initial values. Is-it a refresh event included when we pressed the "Input help" button or an other event? How Can I deactivate that action, event?
    Because since he automatically refresh my form data I loose the context current values.
    Thanks in advance,
    Louis

    P740741 wrote:>
    > Hi Norbert,
    >
    > Thanks for reply, yes I use ZCI and I inserted the Webdynpro script  through Utilities.
    >
    > Best Regards,
    > Louis
    strange, but you could compare the version of the zci scripting
    in your form in the hierarchy tab there are variables and the ContainerFoundation_JS script --> the first line
    // DO NOT MODIFY THE CODE BEYOND THIS POINT - xxxxxxxxxxxxxxxxxxxxxxxxxxx - ContainerFoundation_JS gives you the requested information about the scripting version...have a look at this version...
    norbert
    perhaps this note helps:
    Note 999998 - Analyzing errors with Adobe Integration of Web Dynpro ABAP
    --> for debugging!
    A client debug function is available as of SAP NetWeaver Release 7.00 Support Package 19 (or after you implement Note 1287114) and for all Enhancement Packages. Activate this client debug function using the URL parameter "sap-wd-clientDebug=X" (attach it to the URL using "&"). You can then activate the client trace using the key combination <CTRL><ALT><SHIFT>T (move the focus to a Web Dynpro UI element, for example, to an InputField, do NOT move the focus to Adobe Reader). The system opens a new browser window with the trace output. The trace may contain an error entry ("Network Error", and so on). The URL also activates the Adobe document services (ADS) trace. The trace outputs of the ADS are copied to the generated PDF document as an attachment. Open the file "Error.pdf" of the ADS trace: Form errors (for example, script errors) are listed there.
    Edited by: Norbert Prager on Oct 24, 2009 7:31 PM

  • Input help not showing up for columns in CATS regular application

    I am using standard iView Time Entry in ESS available in EP7 ECC6.0.
    the issue I am having is that there is no popup (input help)  for columns 'Reason Code',  'Region' and 'OT Rsn'. But if I go into ECC6.0 t-code CAT2, the popups are available.
    Any idea what may be causing this issue?
    Tiberiu

    Suresh is right, You need to build your own search help with above table and implement the class
    ie CL_XSS_CAT_VALUE_HELP* in se24

  • PA30 - Personnel Number field greyed out - No input help available.

    Hi Experts,
    In our System in DEV, & Quality  in PA30, we are unable to select employees either by directly giving the number (greyed out) or by selecting through F4 (No input help is available).
    But in Production System we can directly give Pernr or select through F4.
    Any body tell me what is the reason behind this.
    Thanks in advance.
    Samanvita.

    Hi Hariprasath,
    It is not the issue with NUMKR, The number Ranges are already maintained, and are defaulted in NUMKR feature.
    This is showing same in DEV / QA/ Prod.
    Issue is in DEV / QA,  The Personnel Number Field is Greyed out, and not able to select any number.
    For that we are going to PA20, open the personnel number first, and open PA30 in another window, then we are changing the data of the employee.
    But we want to give Personnel Number in PA30 itself as per SAP Standard.
    Any Idea, why it is like this.
    Thanks,
    Samanvita

Maybe you are looking for

  • MIME header missing "filename=" results in BAD messages

    I've been trying to track down several issues involving what appear to be MIME handling issues. We are running GroupWise v7.01 (we have not installed the "interim release" yet), and all components on the server are at that release level (MTA, POA, GW

  • Currency Translation type not available in query.

    Hi, I have a query developed on DSO, but here a currency translation type is missing where as in other queries developed on other cubes the translation type is available Is there any note available for this kind of problem or any setting available fo

  • R12 GL Standard Reports

    We were trying to find equivalent reports for the following R11i reports in R12; these reports were available in R11i and are not available in R12. These reports were used in the R11i by the client. Please highlight if there are equivalent reports in

  • Reverse engineering a sync

    Commputer was stolen, how do I recreate the library on a new computer from the 200 gigs on my iPod?

  • What is the advantage to connecting iPad and mini thru Bluetooth

    What is the advantage to pairing my iPad with my Mac Mini?