Display Description for a field in a screen

Hi Gurus,
I have created a screen which has 2 fields, Material no and Material description.My requirement is that, If I select the material description, the corresponding material should display.
But I can't select from the F4 help of material description as two or more materials may have the same description.
How to proceed in this case?Please help..
Thanks in advance,
Raj.

use this function module
here pass selected matnr no need to press enter
CALL FUNCTION 'DYNP_VALUES_UPDATE'
       EXPORTING
            DYNAME               = PROG_name
            DYNUMB               =  screen_no
       TABLES
            DYNPFIELDS           = (Material No.)
       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

  • How to change the Display Pattern for Decimal Fields dynamically

    hi all,
    Can any one help me how to change the display pattern for decimal fields dynamically???
    Currently I am using z,zzz,zzz,zz9.999 Display pattern for Quantity Field. If the value is blank it is displaying as 0.000 on the Screen. But I don't want this to be printed.
    Please help me how to solve this ASAP.
    Thanks,
    Prabhu

    Hi,
    Alternatively you can handle it in the context.
    In the context area, click on the quantity. In the bottom, click on the conditions tab, and put a condition
    <quan field> NE initial.
    So the field will not be printed if there is no value.
    Regards,
    Vidya Chowdhary A.

  • Search help for input fields in a screen

    Hi,
    Pls help me
    how to set search help property for the I/O fields in screen in se80?
    1. do we want to add any property for search help in the property window?
    2.do we want to create a MODULE PROCESS ON VALUE REQUEST ?
    PLS tell me how to set search for the I/O field in se80?pls tell me the process?
    i want to set the search help for more I/O fields in se80 but all the fields belongs to the same table?
    can i create a single search for all these fields and use that for all the I/O fields ?
    elementary search help or collective search help?
    thanks & regards in advance,
    vsnl.

    Hi,
    Input Help on the Screen
    Within the Screen Painter, you can define two types of input help:
    1. The FIELD statement with one of the additions VALUES or SELECT.
    2. Linking a search help directly to a screen field.
    If you link a search help directly to a screen field, it overrides the additions of the FIELD
    statement. However, the input check [Page 581] functions of the FIELD statement remain
    unaffected.
    Input Help in Flow Logic
    The following input help methods are obsolete and should not be used. They are still supported
    for compatibility reasons.
    In the screen flow logic, you can specify a value list for a screen field <f> as follows:
    FIELD <f> VALUES (<val1>, <val2>,...).
    The value list contains a series of single values <vali>. The NOT and BETWEEN additions for the
    input check [Page 581] are not appropriate for input help.
    You can also create a value list by accessing a database table as follows:
    FIELD <f> SELECT *
    FROM <dbtab>
    WHERE <k1> = <f1> AND <k2> = <f2> AND...
    In the WHERE condition, the fields of the primary key <ki> of the database table <dbtab> are
    checked against the screen fields <fi>. The WHENEVER addition, used with input checks [Page
    581], is not necessary for input help.
    If you have used a ABAP Dictionary reference for field <f>, the selection and the hit list formatting
    may be affected by any check table attached to the field.
    Attaching a Search Help
    Search helps from the ABAP Dictionary can be attached to a screen field [Ext.]. To do this, enter
    the name of the search help in the corresponding field in the attributes of the screen field in the
    Screen Painter. This assigns the first parameter of the search help to the screen field. It is only
    possible to place a value from the hit list onto the screen.
    Input help on a screen.
    REPORT DEMO_DYNPRO_F4_HELP_DYNPRO MESSAGE-ID AT.
    DATA: CARRIER(3) TYPE C,
    CONNECTION(4) TYPE C.
    CALL SCREEN 100.
    MODULE CANCEL INPUT.
    LEAVE PROGRAM.
    ENDMODULE.
    The next screen (statically defined) for screen 100 is itself. It has the following layout:
    602 April 2001
    Cancel
    Airline
    Flight number
    Screen field with search help
    Input help in the flow logic
    The input fields have been adopted from the program fields CARRIER and
    CONNECTION. The function code of the pushbutton is CANCEL, with function type
    E. The search help DEMO_F4_DE with the search help parameter CARRID is
    assigned to the screen field CARRIER. The search help uses the database table
    SCARR.
    The screen flow logic is as follows:
    PROCESS BEFORE OUTPUT.
    PROCESS AFTER INPUT.
    MODULE CANCEL AT EXIT-COMMAND.
    FIELD CARRIER VALUES ('AA', 'LH').
    FIELD CONNECTION SELECT *
    FROM SPFLI
    WHERE CARRID = CARRIER
    AND CONNID = CONNECTION.
    When the user chooses the input help for the individual fields, the following input
    help is displayed:
      For the Airline field, the search help displays the names of the airlines and places the airline
    code in the input field for the chosen line. If the airline code is not one of those listed in the
    VALUES list of the screen flow logic, the input check triggers an error message in the PAI
    event. So the search help overrides the VALUES addition for the input help, but not for the
    input checks. This is therefore not an appropriate place to use the VALUE addition.
      For the Flight number field, the flow logic displays the selected entries from the database
    table SPFLI and places the selected line in the input field.
    Regards,
    Bhaskar

  • Display width for report  fields

    Hi all
    Has anyone determined how to control the display width for fields using the report / report with form wizards ? I am not clear how to define, for example, that a field that seems to get 'wrapped' (thus taking up 2 lines) should be wider, so that it fits on one line, or alternatively that fields much longer than the data values are reduced in length so as to fit more columns within the visible area of the screen ?
    Should I do this in the UI Defaults for the table ? Is it down to the report region templates (if so where, how) or ideally is this something I can change when editting the report attributes. (I have tried this and failed).
    thanks, Jules.

    Jules,
    This is a combination of Region Templates, Report Templates, and the data in your reports. Region and Report templates are the best places to do this, but you can force some things... & n b s p ; (without spaces) is a non-breaking space. If you replace your spaces ( replace(column_name, ' ', '& nbsp ;') ) you can force at least some things not to break. You can ensure that certain columns are wider by setting the column headings with  
    Name     
    Really, though, I think you need to look at your region and report templates.

  • Authorization Objects for Multiple Fields on a Screen

    Hi,
    I have a requirement to create authorization object on a screen with 20 fields and there are 3 users, each user for eg: User-A has rights to Display and modify a few fields and User-B has rights to diplay and modify a few fields and same is the case for the 3rd user, and there are some fields which all can modify.
    what i can do is create 2 authorization objects for each user one with all fields that he can modify & Display and other with all fields which he can display only. In this way i will have to create 6 authorization objects for 3 users, is there a way to reduce to 3, one for each user or even bring it down to 1 for all.
    Thanks,
    Thirumal

    Hi again,
    1. Thanks for the transparent example.
    2. Taking the same,
        it would be like this, in the program.
    ( u must agree that
    if there are six different cases,
    then there will be six different IF ENDIF
    in your program, for edit/display combination of fields)
    (you may also use GROUP1, GROUP2..GROUP4
    concept along with authorisation concept
    to group related fields )
    2. suppose user2 or user 1 has logged in.
    3. in the program,
       before displaying the fields,
      a) use authority-check
       with 1, 2 and check sy-subrc to know
       which VALUE (1,2) is there for rights.
       b)then, logic would be like this
          (for display/edit of all fields)
        IF value =  1.
        field1-visible = true
        field1-editable = true
        field2-visible = true
        field2-editable = true
         field3-visible = true
        field3-editable = true
       endif.
       if value = 2.
        field1-visible = true
        field1-editable = <b>false</b>
        field2-visible = true
        field2-editable = <b>false</b>
       endif.
    regards,
    amit m.

  • F4 help for Time field in Webdynpro Screen

    Hi Experts,
    I'm using TIMS data type for my Time field. In ECC we will have F4 function for the same data element, but in Webdynpro screen, am not getting the F4 help.
    I got some information from SCN that I need to go for some custom search help. But with which reference to the table, am I want to create it.
    Please let me know, is there any other possible way to create F4 for time field for webdynpro.
    Even I tried to use some standard search help, but am getting an error as 'Sending of dynpro ' ' not possible. No window system type specified'.
    Expecting valuable information from you experts.
    With Regards,
    RAM.

    Hi RAM,
    For time field, there is no SAP delivered search help in WDA , so we need to go for freely programmed search help.
    Please refer the below link, in which Mr. Thomas, has provided the links for search help document you can follow and create new search help component
    and also nugget of the component which can be imported using ZSAPLINK program.
    search help for time
    Regards,
    Rama

  • How to write the description of a field in EBP screen.

    Hi All,
    i need to write the description of the field along with its value while clicking the f4.
    If the field displays G/L account value as 5000 and description as XYZ- i need to write the descritiption of
    along with the value.
    Could anybody can give some idea of how to do it in SRM5.0.
    Appreciate your reply.
    SNMPkumar

    Hi Prem / Kalandi,
    I have a similar problem like yours and would like to display the description of the ship to address while selecting the attribute value in Org plan (if possible along with address ID).
    Prem.. if the problem is resolved, please suggest me a solution.
    Hi Kalandi..study your solution word by word. However did not get where to set this? Is it in table
    T77OMATTR under search help FM?
    Still I could not make out how to resolve the issue. Can you please detail me how to do it?
    Vasu

  • Can't get field labels to display above for multiple fields in one cell

    I've tried searching for how to fix this to no avail. I'm new to Apex and I'm trying to get 5 fields on one line with labels above each: salutation, first name, middle initial, last name and title. I've set New Line and New Field to No for all but the first item. With the labels for each field set to Right, everything displays on one line. With the labels set to Above, fields are displayed on separate lines and I'm not sure why. There are other fields on the form as well but they are each on their own line. Any help would be greatly appreciated. My Apex version is 4.1.1.00.23. I'm running the standalone Apex Listener (current version from 7/12) with a 10g database.
    Thanks

    Hi,
    have you tried to set New Field to Yes? If that doesn't work, a test case on apex.oracle.com would be great. That's the easiest way to show you how it works.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Matchcode Object for ORGEH field in Selection-Screen

    Hi,
       I need to create a Matchcode Object for ORGEH field in my Selection-Screen. But, I want to have the selection Criteria as the Tcode: Po10 does. Please guide me how to do it. Is there any Standard Matchcode Object provided by SAP for this kind of functionality?. Please provide some kind of solution. I am in urgent need of this.
    Thanks in advance,
    Exertive.

    Hi,
    You can try the following are the search helps (matchcode objects) available for ORGEH (Org Unit).
    HRBAS00OBJID
    RESP_ORG_UNIT
    H_T527X                          Help View for Organizational Units                         
    H_T527X_1                        Seach help for T527X                                       
    Regards,
    Suresh Datti

  • Drop down in Dialog programming for a field on the screen

    Hi Friends !
    I have 2 screen fields  zfield1- Indicator and zfield- answer .
    The user wants a drop down for indicator as X or Blank to choose from and for answer  the user wants YES or NO as the dropdown .
    How do i create these dropdowns for the fields ?
    Do I need to create search help or does dialog give other options to add these dropdowns.
    Please advise .
    Thanks!!

    set zfield1 up where it's data element is using the domain YESNO.
    For answer I use this routine a lot.
      PERFORM get_dd07t_value USING 'ZLMCONTTYPE'
                                  out_rec-ctype
                                  out_rec-ctype_desc.
    *&      Form  get_dd07t_value
         -->P_DOMNAME  text
         -->P_KEY      text
         -->P_RESULT   text
    FORM get_dd07t_value USING    p_domname
                                  p_key
                                  p_result.
      CLEAR p_result.
      SELECT SINGLE ddtext INTO p_result
        FROM dd07t
        WHERE domname = p_domname
          AND ddlanguage = sy-langu
          AND domvalue_l = p_key.
      IF sy-subrc NE 0.
        p_result = 'None'.
      ELSE.
        p_result = dom_rec-ddtext.
      ENDIF.
    ENDFORM.                    " get_dd07t_value

  • Smartform-Suppress Zero and Display Zero for same field in Diff Conditions?

    Hi,
    I have a scenario in smartform, where for a quantity field of length p15 and Dec3, needs to display ZERO for one scenario and display SPACE for another condition. To display ZERO i have made it as &quantity(c)&, so that i can display zero. It displays ZERO, but for another condition, when i want to display space, there also it displays 0.000 ! how to display SPACE there ?
    thanks,
    Padma

    Hi,
    I think then in that case we need to use (NZ) I am not sure. But however why don't you use the Condition Tab in the Text by Including the Condition Quantity > 0.000.
    Please let me know if anyone of this works for you.
    Regards,
    SRinivas

  • Displaying Description for SAP Table Field in the View

    Hi
    We are working on a HANA implementation Project Where we have a requirement to build View on HR tables.
    Issue: When i join HR infotypes (tables ) in the view it is getting only Technical names and not descriptions. i have used Semantics option which is available and still it doesn't bring description in to the View.
    Please let me know if any one has solution or work around for this.
    We have more than 100 fields in the View so maintaining Descriptions manully will take lot of time.
    Regards
    Venkat

    Hi Chandra
    Yes, We have Description available in the sourece tables.
    We are connected to HANA Suite and tables in ECC having Descriptions.
    Regards
    Venkat

  • Creating a search help for a field in selection screen

    Hi All,
    There are 3 fields in the selection screen. They are
        WERKS
        DATE
        MATNR
    Enter a value WERKS = 2465.
    When I press the drop down menu for MATNR, it should only give the material number available for 2465.
    I think, I should create a search help for it.
    Kindly help me to create a search help for the material number based on the above condition.
    Thanks in advance.

    Hi
    i am sending you a sample code where i had implemented a search help
    for my req you can understand very easyly and write for ur req
    <b>reward if usefull for ur req</b>
    TYPES : BEGIN OF ST_OBJID_SH,
             OTYPE TYPE HRP1000-OTYPE,
             OBJID TYPE HRP1000-OBJID,
            END OF ST_OBJID_SH.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_OBJID-LOW.
    IF S_OBJID IS NOT INITIAL.
        SELECT OTYPE OBJID FROM HRP1000
                     INTO TABLE IT_OBJID_SH
                     WHERE OTYPE = 'D'.
    IF SY-SUBRC EQ 0.
    SEARCH HELP FOR QUALIFICATION.
        CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
          EXPORTING
                 DDIC_STRUCTURE         = ' '
            RETFIELD               =  'OBJID'
                 PVALKEY                = ' '
           DYNPPROG               = SY-REPID
           DYNPNR                 = SY-DYNNR
           DYNPROFIELD            = 'S_OBJID'
                 STEPL                  = 0
                 WINDOW_TITLE           =
                 VALUE                  = ' '
           VALUE_ORG              = 'S'
                 MULTIPLE_CHOICE        = ' '
                 DISPLAY                = ' '
                 CALLBACK_PROGRAM       = ' '
                 CALLBACK_FORM          = ' '
                 MARK_TAB               =
               IMPORTING
                 USER_RESET             =
          TABLES
            VALUE_TAB              =  IT_OBJID_SH
                 FIELD_TAB              =
                 RETURN_TAB             = RETURN_TAB
                 DYNPFLD_MAPPING        =
               EXCEPTIONS
                 PARAMETER_ERROR        = 1
                 NO_VALUES_FOUND        = 2
                 OTHERS                 = 3
        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.

  • How to get field description for custom field just like orgeh in SQ01 Repor

    Good Day Friends,
    I want to share one of my issue with you.Hope you will resolve it easily .
    I have enhaced standard infotype 0001 to maintain JOB CODE field, i also have maintained the
    JOB CODE, JOB CODE DESCRIPTION in one custom table  ( ZHR_JOBDISC ) .
    I have given farigen key relation between this custom table ( ZHR_JOBDISC ) and PA0001. i also have created one search help and assigned to the Field JOB CODE.
    But when i am trying to write the query in SQ01 . i am unable to fetch description.
    if you observe the standard fields position (PLANS), Organisational Unit (ORGEH).while writing query if you right click on PLANS will show the description of position, similarly  if you right click on ORGEH it will show the description org unit.
    but i am unable to get the description of my custom field.
    Please give clarification where i am doing wrong ?

    Good day Ravindra,
    Please, could you consider as reference notes 367585, 332842 and 491403.
    This is well described in the documentation for the interface of IF_TEXT_IDENTIFIER.
    Transaction SE24, enter IF_TEXT_IDENTIFIER, Display' function and check
    the 'Interface documentation'. Please choose "HR Class" upon executing for Text Recognition.
    Additionally check the following website:
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/d9/9958e0c50a11d396f80000
    e82de14a/frameset.htm
    Hope this information helps.
    Kind regards,
    Graziela

  • I need to add the Description for a field to the dispForm.aspx page

    I have some information stored in the description area of a field that needs to show up on the dispform.aspx page. It shows up on the editform.aspx but not dispform.aspx
    I know there has got to be a way to do it with some JQuery or something, can someone steer me?
    L.

    Hi, I know this is an older post but I was looking for the same guidance.   I couldn't find it either.  :) 
    So I started working backwards from this command that I know works for displaying the history of the multiline boxes when there are multiple versions:
    <tr><td class="ms-formlabel">Comments</td>
    <td class="ms-formbody" colspan="3"><xsl:value-of select="@Comments" disable-output-escaping="yes" />
    <SharePoint:AppendOnlyHistory runat="server" FieldName="Comments" ControlMode="Display" ItemId="{@ID}"/></td></tr>
    So checking out the “SharePoint: AppendOnlyHistory” brought me here:
    http://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.webcontrols.appendonlyhistory(v=office.15).aspx
    Which I followed until I found this …
    http://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.webcontrols.fielddescription(v=office.15).aspx
    So with some experimenting I found that this works: 
    <td class="ms-formlabel"><SharePoint:FieldDescription runat="server" FieldName="ESCFReason" ControlMode="Edit" ItemId="{@ID}"/></td>
    <td class="ms-formbody"><xsl:value-of select="@ESCFReason" disable-output-escaping="yes" /></td>

Maybe you are looking for

  • How to print new line using DBMS_OUTPUT package

    Hi, I am trying to print a new line using DBMS_OUTPUT package. but it do not print the new line. set serveroutput on size 200000 set feedback on BEGIN DBMS_OUTPUT.PUT_LINE('First Line'); DBMS_OUTPUT.PUT_LINE(''); DBMS_OUTPUT.PUT_LINE('Second Line');

  • Mail 4.5: accented characters bug in subject of emails

    Hey, Does anyone know how to fix this (minor) issue with Mail v4.5 and accents? The subject lines of some emais with accents do not appear correctly in the list of emails. For example, "dépôt" shows up as "déôt" . The subject line appears correctly

  • Problem with ASCII char (127-'\u0080') while printing

    Hello, I am working with socket and want to send some data over the network. I am using Strings for sending data over the socket. In few characters ('\u007F' to '\u009F') I am getting error. Whenever I try to execute this line, I got an error System.

  • How to validate whether a unpaid invoice is eligible for Cash discount or not ??

    Hi all, I need to display all the unpaid invoices which are eligible for cash discount only using a report. I'm getting bukrs, lifnr and posting date as selection criteria. BSIK as base table. Pls suggest me. thanks, Shameer.

  • Packages loaded in serial

    In BW3.5 is it possible to configure an InfoPackage to load data in a serial fashion? What I mean is that one packet is processed (by a start routine) and loaded into the data target, before another is processed. The volume of data is much larger tha