Value Help in ABAP (Backend)

Hi experts,
I am trying to provide a value help option for one of the input fields in a program in ABAP backend. The requirement is basically to use value help to access a table and choose one of the rows. Could you guide me with the exact steps to be followed for the same?
Thanks in advance and Regards,
Kamalesh

Hi,
Welcome to SDN.
Checkthis this for all required Function Module and Sample code.
Function Module for F4 Help
Regards,
Anirban

Similar Messages

  • Modal window for value helps WD ABAP in EP

    Using value helps in WD ABAP opens a popup window as modal window. The main Window is grayed out (ghosted).
    Questions: Is it possible to modify the colour and transparency of the gray out. It became much stronger from SPS10 to SPS12.

    No longer relevant

  • Value help in ABAP Webdynpro

    Hi Experts,
    I have to create a value help for an icon in a table.
    The full story is:
    There is a table with a filed, which has the proper standard value help, which works perfectly
    The problem is that this column in the table  is just a "technical" field, becase it isn't displayed by the webdynpro, because in the next column  an icon is displayed for the field.
    Example:
    FieldName = ready
    Possible values: 0, 1.
    The AWD display the "red Light" icon for value 0 and "Green light" icon for value 1 in the table
    I'd like to display the value help for this field (it's an information for the user, what does the green/red light means)
    How can I do that? Is this even possible?
    Thanks
    N.

    Is it possible to have both thing in my field (display the icon and use the value help)
    No - not really...
    you can launch the value help from the link to action (in the action handler call the value help -  I think I've posted on how to do this before - have a search, but if you can't find it post another question)- but it won't display that nice little dropdown icon and I'm guessing you want two types of interaction - one on click and one just to explain/choose the current value. I'd probably go with the previously mentioned solution of using a tooltip - although again you have the issue of not being able to have anything other than text in a tooltip. Alternately I'd have the custom value help launched on click of the icon and then have another button to launch any other actions
    A legend somewhere in your screen might be useful - but perhaps your screen layout won't like that very much.
    If you're looking for a more graphical representation of a multi state option - you might want to consider the [Threshold Slider|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/dc/a65ca1b6054f06929ee40ac59f8a40/frameset.htm] rather than your own icons - but I guess it depends on your requirement.
    Cheers,
    Chris

  • Personalised Value Help in Select-Option field WD ABAP

    Hi
    I would like to know how I could provide the user with generic value help. I am using the Select Options in a Web Dynpro(ABAP) Application.
    Regards
    Faaiez

    Hi
    The key word here is "generic value help". This means the values that I want to fill the drop down with changes all the time based on various criteria. I need to fill the help values within the ABAP code based on the values in internal tables.
    Regards
    Faaiez

  • How to create value help in web-dynpro-abap

    Hi ,
         can anybody tell me detailed step for creating value help in web-dynpro-abap .

    Hi,
    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
    There is  a blog on implementing OVS help in WDA. You can refer below link for sample code.
    /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.
    Raj.

  • ABAP Webdynpro cannot display value help, combo box properly in IE ?

    Hi WDA expert,
    I have problem developing webdynpro in NW 7.0 EHP1 SPS02. All the combo box, value help, drop down input did not properly display using IE 7.0 / 8.0. It is something like create another  blank input beside the original object.
    but everything ok if i am using mozilla firefox.
    I am not sure what is the problem with this.
    Please help.
    Thank You and Best Regards
    Fernand.

    Hi Thomas,
    Thank you for your response, But i am still not able to solve the problem. Let me give you more detail information regarding this issue.
    are you using the Portal? The other poster in this thread seems to think so, but I don't see anything in your postings to indicate that. IE7 is supported on your release/SP level. IE8 is not supported until SPS5.
    => I am not using portal it is just normal test from SAP GUI. I am using IE 8.0.6001.18702. So far i have tested the sample webdynpro "WDR_TEST_SELECT_OPTIONS" to 4 different server (PID, PIQ, ECD, ECQ) all using the same version NW 7.0 EHP 1 SPS02. (i have check for ABAP and BASIS package). The problem only occur in PID (Initially the icm service is not start so i use transaction SICF to start the webdynpro service) not sure if there is missing java script library ?
    Please refer in this link for the different result screen capture below:
    http://i802.photobucket.com/albums/yy310/pisuper/WDA_DEV.jpg   --> error in PID
    http://i802.photobucket.com/albums/yy310/pisuper/WDA_QA.jpg    -
    > success in PIQ, ECD, ECQ
    I would recommend clearing your browser cache and the server side cache. For the server side cache go to transaction SMICM and choose Administration->ICM->Exit Hard->Global.
    I have restarted the whole server and i did again from SMICM. But still having the same problem like in the screen capture.
    Are you using a standard or customized theme?
    I am using standard theme base on demo "WDR_TEST_SELECT_OPTIONS"
    Base on my latest investigation seems like those 3 success server PIQ, ECD and ECQ always download this file ls_ie6.nosprite.css in the internet temporary directory, but then no for PID. 
    is that any idea or suggestion that i can try to solve this problem. it seems like some configuration was missing for the standard theme in PID
    Thank You and Best Regards
    Fernand Lesmana
    Edited by: Fernand Lesmana on Jun 16, 2010 3:52 PM

  • F4 Value Help on Adobe Interactive Form with Web Dynpro ABAP

    Hello,
    I have created an Interactive Form with ZCI type.
    I placed a text field MATNR on the form.
    Then I placed a Native WD UI element 'Value Help' as mentioned in the below link: http://help.sap.com/saphelp_nw70/helpdata/EN/42/fb2fe500553ee4e10000000a1553f7/frameset.htm
    This form was then embeded into Web Dynpro ABAP view.
    The problem is that when I click on the F4 button, nothing happens.
    Is anything else needs to be done?
    Thanks
    Sagar

    Hi Amol,
    After binding the Context variable in the view, and in the Adobe Layout Designer from the Library go to WebDynpro Native Tab and drag and drop the Value Help and for this automatically JavaScript is being generated, go that script and edit the line
    Var fieldname = "yourfieldname";
    Note: Don't forget to link the context attribute to search help. ie. in the context properties of the attributes select the input help mode as dictionary search help and specify the name of the search help present in data dictionary.
    And now go to Utilities and click on u201CInsert Web Dynpro Scriptu201D.
    Also make sure that you specify the Layout as ZCI Layout in the Propertioes of the Adobe Form.
    Ragards,
    Amol Patil.

  • Hide Toolbar and Value help drop downlist

    Hi,
    I created a IF with a Value help drop down list. I also make use of the Hide Toolbar options. The drop down list has an input like:
    key - text (eg. 0001 - Holiday)
    The pdfMode is "UpdateDataInPdf".
    When i run my wd everything works fine. What i want to do is this: when the user push the button "next" i want to show the IF in a read-only mode. What i did, is that when the user push to button i change the PdfMode from "UpdateDateInPdf" to "GeneratePdf" (also tried "UsePdf") and change the "enabled" property to false.
    What happens is, the Adobe toolbar is back and the value help dorp downlist shows the key instead of the text.
    If i don't change the "enabled" property it works well, but than it's still possible to change data in the form.
    I am using NW04 SP16.
    Hope somebody can helps me.
    Kind regards,
    Maarten Duits

    Hi Maarten
    in general, right now there is no standard (i.e. non-hack) way to make a physical interactive PDF form read-only.
    The only sure way this would work in your process is to send the data back to the backend and have a second (practically identical) template ready in the background to generate a read-only version of what the user saw previously.
    Best regards,
    Markus Meisl
    SAP NetWeaver Product Management

  • Some fields from R/3 have automatic value help for input field on WD

    Hello,
    we have imported a Model from RFC/JCo (ABAP) with several fields. One of them is "IWAER" of SimpleType Iwaer and "Built-In-Type" string in J2EE. Though the enumeration of this type is empty, WebDynpro mystically generates a value help if the type is assignet to an ImputField. On the ABAP-side component type is IWAER with data type CUKY and in domain WAERS which has a value table TCURC (instead of fixed values in a value range).
    Where/why does WD find out that this is a currency-field and where do the values in the value selector come from?
    Best regards,
    Manuel

    Hi,
    at least for the ModelData-Connection (BAPI-Call) there is no data being transferred besides one value for each field.
    I don't know if the MetaData-Connection of JCo is able to get more information (e.g. key-value-pairs for the domain or type the field belongs to,..) than just the structure of the interface.
    -> Where and how do these EVS-values come from without doing something?
    Best regards,
    Manuel

  • How to implement multiple Value Helps within the same Application ??

    Dear Experts,
    I want to implement multiple value helps in the same view.For that I have declared exporting parameters of type 'wdy_key_value_table.' within the component controller for each of the value helps.While I do activate and test the application I get the following error :
    The following error text was processed in the system HE6 : A row with the same key already exists.
    The error occurred on the application server hsdnt24s11_HE6_00 and in the work process 4 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: VALUESET_BSART of program /1BCWDY/9VSHJWRNR0EZPKFT3ZKC==CP
    Method: IF_PO_VIEW1~VALUESET_BSART of program /1BCWDY/9VSHJWRNR0EZPKFT3ZKC==CP
    Method: WDDOINIT of program /1BCWDY/9VSHJWRNR0EZPKFT3ZKC==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_DO_INIT of program /1BCWDY/9VSHJWRNR0EZPKFT3ZKC==CP
    Method: DO_INIT of program CL_WDR_DELEGATING_VIEW========CP
    Method: INIT_CONTROLLER of program CL_WDR_CONTROLLER=============CP
    Method: INIT_CONTROLLER of program CL_WDR_VIEW===================CP
    Method: INIT of program CL_WDR_CONTROLLER=============CP
    Method: GET_VIEW of program CL_WDR_VIEW_MANAGER===========CP
    Method: BIND_ROOT of program CL_WDR_VIEW_MANAGER===========CP
    I dont know how to implement multiple value helps.Need your help on this.
    Regards,
    Mamai.

    Hi
    Hint is : A row with the same key already exists it means , It is assigning the same value/Key to row and you are calling it at WDDOINIT  so it giving error at the time of initialization .
    Better way to do the coding at some event in view OR if not possible than just execute the first value help in wddoinit later clear all the value before gettig the other Value help. Code it at WdDoModify View to get its run time behaviour.
    BR
    Satish Kumar

  • Dynamic value help for a table field to fill two fields, how to?

    Hi all gurus,
    In SRM 7 I defined a dynamic value help for a single field (ZZ_PROLE_R3) of my header custom table.
    That's the code from WDDOMODIFYVIEW in the webdynpro /SAPSRM/WDC_DODC_CT, view V_DODC_CT:
    DATA: lo_tabnode        TYPE REF TO IF_WD_CONTEXT_NODE.
          DATA: lo_tabnode_info   TYPE REF TO IF_WD_CONTEXT_NODE_INFO.
          DATA: tab_value         TYPE WDR_CONTEXT_ATTR_VALUE_LIST,
                wa_value          TYPE WDR_CONTEXT_ATTR_VALUE.
          lo_tabnode = wd_context->GET_CHILD_NODE( name = 'THCUS' ). "the custom table node
          lo_tabnode_info = lo_tabnode->get_node_info( ).
          wd_this->GET_VALHELP_ZZ_PROLE_R3( EXPORTING iv_guid = lv_guid
                                            IMPORTING ZZ_PROLE_R3_VALHELP = tab_value ). "this method returns the dyn value table
          lo_tabnode_info->set_attribute_value_set( name = 'ZZ_PROLE_R3'
                                                     value_set = tab_value ).
    The method GET_VALHELP_ZZ_PROLE_R3 dynamically builds the value help table tab_value; such table is made up by two fields:
    value : contains the value of the field
    text   : contains a description of the value
    The above solution works; now I'd like to enhance it. The custom table THCUS contains also a field called ZZ_PROLE_R3_DESC, which represents the description of ZZ_PROLE_R3. It is, exactly, the TEXT field in tab_value.
    So I'd like to do as follows:
    - the user clicks on the search help for ZZ_PROLE_R3 field of the table;
    - the above described value help appears;
    - after the selection, both ZZ_PROLE_R3 and ZZ_PROLE_R3_DESC are filled with the selected couple value - text chosen from the value help.
    Could anyone help me achieving such a behaviour?
    Again, a little request... when I open the above value help dialog box, the window itself has a label "Floorplan Manager application for OIF.." that obviously I'd like to redefine (e.g. "Role selection value help"). Is there any way to do that?
    Thanks in advance

    Chris Paine wrote:
    It seems to me - given that your code is in wddomodifyview that you are trying to have different dropdowns per row
    - I'm not sure where you are populating lv_guid - but I'd guess it is an attribute of the row selected? If it isn't then I can't see any reason that you would do this code in wddomodifyview and not wddoinit.
    Hi Chris and thanks for your help,
    lv_guid is the GUID of the document's header; I need to pass it to the method that populates my value help table because the values in it are derived from some fields on the document. (the situation actually is more complex; there's an RFC call on the backend for which the document is intended for to retrieve the data that populate the value help...).
    I'm quite unexperienced on webdynpro and terminology; if dropdown menus are fixed selection option that appears on a field, I guess this is not my case. I did a pair of screenshot to provide an idea of what the solution by now is, and what "I would like to have":
    [Pre-selection (F4 icon on the field in table)|http://imagebin.ca/view/npIsaqF.html]
    [Value Help popup for the field ZZ_PROLE_R3|http://imagebin.ca/view/8fZUh3T.html]
    [Result by now |http://imagebin.ca/view/3PaqdvE.html]
    [Result I'd like to have.|http://imagebin.ca/view/dExR0J.html]
    Chris Paine wrote:
    However - by your comment on the "value help dialog box" I am guessing you are using an input field? If this is the case then I would strongly suggest that you change/enhance the structure of the context node THCUS (btw, better coding practise to refer to it as wd_this->wdctx_thcus when using the get child node construct) so that you refer to an actual SAP ddic search help, if you then associate in the structure the value and text fields then populating the text field should happen automatically. Also you'd have the nice side effect that your value help dialog would be named after the associated ddic search help.
    Thanks for the code suggestion, I'll apply that. For what concerns the context node THCUS... It is, by standard, a node which I can't explictly find in the context for the view V_DODC_CT. The problem is that ZZ_PROLE_R3 and the corresponding description field ZZ_PROLE_R3_DESC of the table must be filled with data retrieved dynamically @ runtime from the backend. So I guess I can't populate a val help referring to a dictionary table/field; I'd rather do as follows:
    - retrieve what's the target backend for the document (to do so, I have to process the document .. that's why the header guid passed to my method);
    - RFC call to a custom method that extracts possible values for the specific backend;
    - bind the ammissible values to the value help.
    Chris Paine wrote:
    I realise that this is rather a lot - so if you have any specific question please do respond - hopefully I or someone else will be able to clarify.
    Thanks again for your help; additional info as well as code examples would be highly appreciated

  • Searh help in ABAP webdynpro with Adobe form is flickering/blinking

    All,
    I have an WDA that has an interactive Adobe form for input. I'm calling the SAP standard search helps when clicked for value helps from the Adobe interactive form that opens up the search helps pop-ups in the web-dynpro style. But strangely, the portion of the search help pop-up window that is just over the Adobe interactive form is always flickering/blinking whenever something is typed or moved on the search help pop-up window. This seems to be a standard bug/issue with SAP. Has anyone encountered the same issue and have found a solution to that?
    Regards,
    Sam

    hi rock,
         try this: sometimes any event might be calle din the backend which is overrirding your adobe form which is causing you the flickering. check it
    ---regards,
       Alex B Justin

  • Value Help in Interactive Adobe Form in Web Dynpro

    I have to provide a value help for certain Fields in Interactive Adobe Form using Web Dynpro ABAP. I have managed to get the Value Help Popup for the fields using Java Script in Adobe, but the problem is that whenever I select the Value from the Value Help, the selected value in not getting populated in the field....
       Please let me know the solution in case any one of you come across such kind of requirement.

    Priyanka:
    Can you let me know the steps on how to provide value help in interactive forms?
    Thanks
    Vijai

  • Possible to get application parameter in value help

    Hello colleagues,
    we developed a value help for business partner to use it in an wda-component . in this value help only those business partner should get supplied where the user has a relationship to . to make it really difficult we can not use the backend user (crm) but the portal user . in the component which uses the value help we achieve to get the user via application parameter from the containing iview but as soon as the user calls the value help this context is lost and we can no longer use the application parameter (which is in fact "out" of the iview) to retrieve the user of the application and therefore get a dump.
    Is there a possibility who to get application parameter of a component in a value help called by this component ?
    Thanks in advance
    Michael

    Hi,
    PLease refer to this link
    http://help.sap.com/saphelp_nw70/helpdata/en/88/266a3e54a2e946e10000000a114084/frameset.htm
    You can enter parameter values for certain screen fields for displaying a SAP transaction here.
    This field is optional.
    The parameter values are specified with the following syntax:
    <Screen_field1>=<Parameter1>
    &<Screen_field2>=<Parameter2>
    Thanks
    Pankaj

  • J2EE fails to connect to the ABAP backend system

    We have J2EE 640 Sp16 Abap+Java. As we configured this node in high-availability, we applied note Oss 757692 to the J2EE.
    Anyway the J2EE does not come up.
    Into the std_server0.out we see the following:
      Service dbpool started. (1503 ms).
    May 25, 2006 3:44:09 PM         com.sap.security.core.persistence [SAPEngine_System_Thread[impl:5]_25] Fatal: User Management Engine
    (com.sap.security.core.persistence.datasource.imp.R3Persistence) failed to connect to the ABAP backend system. Check that connectio
    n data are correct and the backend system is available. Error message: "User not authorized (session closed)". Connection data (
    obtained from properties of UME service in section "ume.r3.connection.master.": "{
      passwd=********
      receiverid=master
      sysnr=00
      client=100
      poolmaxsize=10
      user=SAPJSF
      receiverid_guest=master
      ashost=sap3
      snc_mode=0
    We double checked the set6tings of note 757692 and all of them seems to be correct.
    We changed also the psw of SAPJSF in the ABAP stack and also in Global server configuration by mean of the configtool for the ume.r3.connection.master.psswd item
    Neverthless we continue to recive this error.
    What's wrong ?
    Regards

    Could it be because you tried to do this in an AS Java + AS ABAP installation? The note 757692 says quite distinctly, "This note covers the procedure for the j2ee engine only!" The statement does not make it clear if this note refers to only a standalone AS Java.
    My saying so is not very helpful, but the note also goes on to say, "Should you wish to change the host name of a server in a test !!! !!! system, you should do so only with the assistance of an SAP!!! !!! consultant.!!!

Maybe you are looking for

  • Unable to Capture files

    Hi, I've been trying to perform a capture using Premiere Pro CS4. The camera im using is Sony DCR-HC42e. When I try using the capture feature, and the setting are for DV, the capture window advisory shows " Cant activate recorder. Try resetting camer

  • How do you import media and metadata from Windows Photo Gallery database?

    How do you import videos and photos and their metadata from a Windows Photo Gallery database into the Elements Organizer, especially metadata that is only contained in the Photo Gallery database file (pictures.pd6) and not embedded in the video and p

  • Document ype restriction in FBL5N for particular user

    Hi  all, I have a requirement where in we have to restrict document.type in fbl5n....... clients wants to give authorization to particular user only .They don't want to go for screen variant option.... i have define authorization group in oba7 and in

  • On startup iPhoto does not open

    when I power up my macbook tries to open iphoto and freezes up

  • Acrobat & Gotham OTF printing issues

    This isn't the first time I have had problems with the Gotham OTF font family. In the past it would crash large Indesign CS4 files I was working on. Deleting the Indesign font list file seemed to help fix the problem. Now I have run into yet another