Setting Input help mode Dynamically/ Programatically

Hi All,
I am using a SAP  satndard Component  . which is using Component USage for displaying ALV.
But for this its populating the Context as well as data dynamically.
Now I found that in the alv for a field while am pressing f4 button its calling the ON_OVS Method.
How it is setting the ON_OVS call property because generally when we create any context element
its by default sets the INPUT help mode type to Automatic.
My requirement is to change the input Help mode to Free programing type instead of OVS .
Can it be done ?
Because if we are creating an elemnt in the context there is always option for selecting
which kind of F4 help we need . Similarily Programtically how we will set the F4 help Kind ......

Hi Surya,
You need to do following:
1) Create your own help component . Please check this [article|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50fd6096-a4b6-2d10-bfa8-bbd9001e0d0e?quicklink=index&overridelayout=true] for reference.
2) After that you can enhance your standard component and in the Post exit of the method where context i created you can set the input help to freely programmed mode as suggested above.
I hope it helps.
Regards,
Sumit

Similar Messages

  • Error while setting input parameter for dynamic process - GP

    Hi All,
    I am using CAF 7.1 GP.
    Here I have to start a process dynamically and it is working fine.
    But, when I tried to set value for input parameter of this process by
    IGPStructure params = GPStructureFactory.getStructure(process.getInputParameters());
    params.setAttributeValue("Val","MyValue");
    ( <b>Val</b> is the name of grouped input parameter ), it is giving
    com.sap.caf.eu.gp.exception.api.GPInvocationException: Structure with name input and namespace http://wwww.sap.com/nw/eup/gp does not have an attribute with name Val and namespace null.
    But no where I have mentioned http://wwww.sap.com/nw/eup/gp.
    I dont have any structures in my input and output.
    Here is my full code
           try
                IGPProcess process = null;
                IUser tl_user =UMFactory.getUserFactory().getUserByLogonID("fahad");
                     IGPUserContext userContext = GPContextFactory.getContextManager().createUserContext(tl_user);//, user.getLocale());
                     process =GPProcessFactory.getDesigntimeManager().getActiveTemplate("F5D76840A56F11DC983B001966243CAD",userContext);
                     wdComponentAPI.getMessageManager().reportSuccess("Title of process is "+process.getTitle());
                     IGPRuntimeManager rtm = GPProcessFactory.getRuntimeManager();
                     IGPProcessRoleInstanceList roles = rtm.createProcessRoleInstanceList();
                     int rolenum = process.getRoleInfoCount();
                     wdComponentAPI.getMessageManager().reportSuccess("Number is "+rolenum);
                     IGPProcessRoleInstance roleInstance=null;
                     IUser ho_User=null;
                     for (int i = 0; i < rolenum; i++)
                             wdComponentAPI.getMessageManager().reportWarning("Role Text is "process.getRoleInfo(i).getText()"  Role Name is "+process.getRoleInfo(i).getRoleName());
                             if(i==1)
                                  ho_User = UMFactory.getUserFactory().getUserByLogonID("poornendu");
                                  roleInstance = roles. createProcessRoleInstance(process.getRoleInfo(i).getRoleName());
                                  roleInstance.addRuntimeDefinedUser(ho_User);
                                  roles.addProcessRoleInstance(roleInstance);
                             if(i==2)
                                  ho_User = UMFactory.getUserFactory().getUserByLogonID("fahad");
                                  roleInstance = roles. createProcessRoleInstance(process.getRoleInfo(i).getRoleName());
                                  roleInstance.addUser(ho_User);
                                  roles.addProcessRoleInstance(roleInstance);
                     wdComponentAPI.getMessageManager().reportSuccess(""+process.getStructure().getItemCount());
                     IGPStructure params = GPStructureFactory.getStructure(process.getInputParameters());
                     wdComponentAPI.getMessageManager().reportSuccess("Title of process is "+process.getTitle());
                     <b>params.setAttributeValue("Val","MyValue");</b>                     
                     String pName=wdContext.currentContextElement().getProcessName();
                     IGPProcessInstance prInstance = rtm.startProcess(process,pName,"This process has been started using the GP public API",tl_user,roles,params,tl_user);
           catch(Exception e)
                wdComponentAPI.getMessageManager().reportException(""+e);
    Can anyone help me on this.
    Thanks,
    Fahad Hamsa

    Hi Experts,
    I solved it myself.
    The problem was, I have to make the input parameter as exposed. Thats all
    Anyway, thanks for the support.
    Regards,
    Fahad Hamsa

  • Input Help Calendar start with Sunday

    Hi.
    I've an InputField binded with a node atributte type Dats. The input Help Mode it's Automatically. When I show the help, the calendar start with Sunday. I want that the calendar start with Monday. Can I Do that?

    Hi,
    this issue has been solved with SAP note 1061074
    Regards, Heidi

  • Input help via RFC

    Hi
    I am using the NSP Preview system and wish to create an input help for a personnel number.  Obviously the search help PREM is not available in the preview system, but I have a RFC connection to a development system that does.
    My question, therefore, is what is the best way to code this search help?  Do I do it via OVS or code it myself?
    Thanks in advance
    Ian

    There is no built-in RFC Based Value help in Web Dynpro ABAP.  The delivered value help is designed to only run off of the local system.
    So you have a couple of options.
    1.  You create a custom search help object in the data dictionary and use the search help exit functionality.  In the coding of the search help implementation function module (which you can copy from the template - F4IF_SHLP_EXIT_EXAMPLE), you make your own RFC Calls. 
    2.  Web Dynpro ABAP has a User-Defined value help option.  When you assign the Input Help Mode to Freely Programmed to the attribute in the context node, you have the ability to tell it what component usage you want to use for the value help.  You can then custom create a reusable sub-component with the appropriate RFC calls within in it.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/5d/395e4254139041e10000000a1550b0/frameset.htm
    3.  Similar to option 2, you might be able to use the OVS (Object Value Selector). Personally I haven't played around with the OVS very much to know how it would rate compaired to the other two options.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/30/d7fa41c915da6fe10000000a1550b0/frameset.htm

  • How to set input ready query to display mode and set edit mode in WAD?

    when I create A input ready query but not set query propery  start  query in change mode ,but I want to set this query in input ready mode ,how to set this in WAD?
    hope anyone can help me
    regard  by
    wenlong

    Hi,
          You can get all the info from this thread , try it out
           WAD - set data entry mode
           Hope it helps.
    Regards,
    Priya.

  • HT4061 Getting message "Connect to Itunes" on my iphone 4s. I tried but went to factory setting in lock mode? Help me to unlock

    Getting message "Connect to Itunes" on my iphone 4s. I tried but went to factory setting in lock mode? Help me to unlock?

    Try assigning Queen as the Album Artist on the compilations in iTunes on your computer.

  • Set search help dynamically to SAP Standard Screen

    Hi,
    I have one issue where I have to Create f4 help For a field present on SAP standard screen.
    Please advice how to do that.
    Can i dynamically set Search help in any screen-exit of the standard screen?
    Please help.
    Screen No is 130
    and Program is SAPLQM03.
    Here I want to attach a Zsearch help to a standard   FIELD RQM01-LS_KDPOS.
    Thanks,
    Ishani

    Hi Ishani,
    The field that you mentioned here in structure RQM01 is having a check table VBUP. So if some values are there in that table, then that will appear as F4 help to you. Consult with your functional and check how values are coming to this table VBUP. Othertahn this, I am afraid you will not be able attach any help.
    Regards,
    Abijith

  • BEx Analyzer input help default setting

    Dear forum,
    at our BW system the F4 input help popup's in BEx Analyzer 7.0 show up by default the latest used values ("history"). Is it possible to change this behavior for some InfoObjects or variables so that the selection "single values" is displayed by default?
    Thanks in advance!
    Anna

    Hello Ravi,
    I think I have to explain via screenshot. When opening the input help by default the user gets the view 'history', in this example for fiscal year / period:
    For some users it's confusing that within the history the periods are mixed up and some are 'missing' (indeed they are not missing but weren't used yet).
    So by default I would like to bring up the setting 'single values' when opening the input help:
    I hope it's more clearly now.
    Thank you very much!

  • Cannot see the default input help values in the preview mode ALDesigner P&F

    Hi experts,
    I'm currently implementing a HCM PROCESS FORM process.
    I'm wondering why I'm not able to see the default input help of a dropdown UI ISR element in the Preview mode within adobe live cycle designer.
    I have linked my field with SAP-PA backend-service through Form Scenario.
    Within adobe live cycle designer, in the Binding tab page and then Element Values, I entered the following value in the Objects field: $record.sap-vhlist.<Field
    name>\.DATA\.FIELD.item[*], whereby <Field name> is the name of the form field. but cannot see any values...?
    Could you provide me any help, advices on that.
    Thanks in advance,
    Regards
    Louis

    Hi
    You can do that in two ways.
    One is from PA services provided by SAP. Other one is you care create a Generic service to load the values.
    1. In HRASR_DT tcode  select the process and create the backend service for SAP_PA and add the field Employee group (PERSG )  by choosing IT 0001 and screen element  then select the Input Help and check the box for PA service .
    2. Create a backend service and create the BADI and inside that do the logic to load the Employee group from FM and bind the value to the field.
    Please refer the Enhancement Implementation HRASR00_USER_NAME for the sample. Class CL_HRASR00_GS_USER_NAME.
    see this link
    http://help.sap.com/saphelp_erp2005/helpdata/en/82/b6b94278560c31e10000000a1550b0/frameset.htm
    Kind Regards,
    Mukesh

  • 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/

  • 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

  • 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

  • HP Officejet pro 8500 won't print and keeps asking for a proxy setting. Help.

    HP Officejet pro 8500 won't print and keeps asking for a proxy setting. Help.

    Hi,
    Can you confirm that you have an Officejet 8500a or Officejet 8500? On the 8500a model, you can set the networks proxy address and port setting from the front panel of the printer (setup>Webservices setup>proxy). If you are unsure what your proxy settings are you'll need to contact your network admin. If your network uses a proxy users name and password for all devices, you need to enter this information along with the proxy address and port in the printers embedded web server. Type the products IP address into an internet brownser window (printer must be connected to the same network as PC). Select the network tab, and than look for the proxy settings option. Enter in the information and click apply. Once the networks proxy information has been correctly inputed into the embedded web server, try printing again. If unsuccessfully, you might try reinstalling the printer software after uninstalling it. Hope this helps!
    I was an HP employee
    Reminder: Please select the "Accept as Solution" button on the post that best answers your question. Also, you may select the "Kudos" button on any helpful post to give that person a quick thanks.

  • How can I change the daq setting to differential mode in my labview program (example)?

    I would appreciate if I could get an example in Labview 5.1. I realized that I need to create a cluster but for some reason it would not work

    Examples for data acquisition are in the LabVIEW >> Examples >> Daq >> anlogin >> anlogin.llb directory. You will still have to do the following to programmatically set the measurement mode to differential.
    You can set your data acquisition with the AI Config.vi in LabVIEW. There is an input for "coupling and input config". A good trick to make sure that you create the cluster correctly is to use your mouse as the wiring tool and right-click over that input. Then, choose Create Control or Create Constant. The cluster will pop up, and you can use your operating tool to choose differential mode for the second pull-down ring in the cluster.
    Geneva L.
    Applications Engineering
    National Instruments
    http://www.ni.com/ask

  • UI: Popup content (input helps, ...) not shown

    We're running the CRM 2007 web UI. We've got problems with the content of popups. The behaviour is different on several hosts calling the UI internally (intranet) and using the same browser (IE6).
    Here's a description on how we're able to reproduce the problem:
    1. Open CRM UI url
    2. Open any search view that contains a field with input help (e.g. business partner ID)
    3. Call the input help of this field
    --- This is what we already found out in debugging mode:
    4. A server cookie is stored in table SSCOOKIE for the given session ID
    5. In BSP application BSP_WD_BASE, page "popup_buffered_frame.htm", the server cookie is selected. For any reason, on some hosts the session ID that is given and used for the selection of the server-side cookie is not the same as the one used for storing the cookie. Thus, the cookie cannot be read and the popup remains empty.
    Until yet we've found no differences in the configuration of the hosts / browser.
    I searched for SAP notes dealing with such an issue, however, didn't find any hits. We tested with IE6.
    Thanks for any hints & kind regards
    Wolfgang

    I found the solution by calling the URL using "?sap-syscmd=nocookie"

Maybe you are looking for

  • How much I will get from trade in my Iphone 5 unlocked 16GB (white) ?

    Please help me to find out guys . I wanna buy an iphone 5s but I'm not sure how much can I get for my Iphone 5.

  • How to convert Purchase Reqisitions to Purchase order

    Hai, I want to convert all my purchase requisitions into Purchase order. I want to know there is any bapi or function module is available or not . If it is available can you plz tell me how to do?

  • How to create a database dynamically

    I am trying to create mysql database dynamically through java. Also please help me how to execute *.sql file in java.

  • After Effects PC Quicktime Audio Sync

    I'm putting this here for fellow PC-users who are experiencing this major frustration. When RAM previewing, your audio is in sync.  But after rendering, when you play back a rendered Quicktime movie in Quicktime player - no matter WHICH codec you ren

  • HELP for LUMIA 820 buy advise

    Hello am from india in few days i gonna buy Lumia 820 over internet i been serching i found problem in nokia music so my 1st question 1.. is lumia 820 come along nokia music 1 year subscription ? 2.. in shop seal box  how i can identify  and be asure