USER DEFINED F1 documentation for seelction screen fields.

I have one selection screen in my Program.
If I give F1 , It has to display user defined documentation.
like...I have customer field in selection screen.
Select-options:S_CUST for BSAD-KUNNR.
For this I need doc as "Enter customer number excluding from the Table"
Not the documentation of the KUNNR field.
How to do this.
Many Thanks!!!

You can write what you want to dysplay your text. For example I created a document (type SIMG) by SO72 and this is the code to call it:
Object name
Get Text
            ID       = DOCID_HY
            LANGU    = SY-LANGU
            OBJECT   = V_OBJECT
            HEAD     = XHEAD
            LINE     = T_LINE
            RET_CODE = 1
            OTHERS   = 2.
    WHEN 0.
Dysplay text
      HELP_INFO-DOCUID         = DOCID_HY.
      HELP_INFO-SPRAS          = SY-LANGU.
      HELP_INFO-DYNPRO         = SY-DYNNR.
      HELP_INFO-PFKEY          = SY-PFKEY.
                HELP_INFOS     = HELP_INFO
                OVERLAY_HEADER = XHEAD
                EXCLUDEFUN     = TEXC
                HELPLINES      = T_LINE.
Message was edited by: max bianchi

Similar Messages

  • How to add user defined F4 help for s LDB field?

         I am using PNPCE Logical Database for a program using the standard HR report category. But I want to have my own restricted F4 help for a particular field.Is it possible to override the standard LDB search help? I tried doing it , but I am getting a syntax error .

    Hi Mahesh,
    I don't think so that you can attach a User defined F4 help in a standard LDB.
    What I would suggest is that you copy the standard LDB into Z LDB from SE80.
    Then go to the selection screen of the LDB and either try and attach a F4 help by writing the code in it OR
    Hide the field where you want to attach the F4 help with the keyword Exclude(you will have to check on the exact keyword).
    And add the same field in the selection screen of the report and define the F4 help.
    Do not forget to attach the Z LDB to your report by going to the Attributes.
    Please refer to the code below for attaching a generic F4 help to a select options:
    report zrich_0001 .
    data: begin of ihelp occurs 0,
    field type char10,
    ftext type char50,
    end of ihelp.
    data: a_field(20) type c.
    select-options s_field for a_field.
    ihelp-field = 'A'.
    ihelp-ftext = 'Description A'.
    append ihelp.
    ihelp-field = 'B'.
    ihelp-ftext = 'Description B'.
    append ihelp.
    ihelp-field = 'C'.
    ihelp-ftext = 'Description C'.
    append ihelp.
    at selection-screen on value-request for s_field-low.
    call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    retfield = 'FIELD'
    dynprofield = 'S_FIELD'
    dynpprog = sy-cprog
    dynpnr = sy-dynnr
    value_org = 'S'
    value_tab = ihelp.
    In case you have any further clarifications,do let me know.
    Puneet Jhari.

  • F4 hep for selection screen field

    Hello ,
    Im trying to create custom f4 help for Parameter ekbe-belnr by using below code. It displaying  F4 values for EKBE-belnr. But when i select any value in F4 hlep , its not displaying in Selection Field. How can i reflect selected value in to selection field.
    Parameter: p_belnr type ekbe-belnr.
    types: begin of tys_itab,
    belnr type ekbe-belnr,
    end of tys_itab.
    data: itab type table of tys_itab.
    at selection-screen on value-request for p_belnr.
    select belnr from bkpf into table itab .
    retfield = 'BELNR'
    PVALKEY = ' '
    DYNPPROG = Sy-repid
    STEPL = 0
    VALUE = ' '
    VALUE_ORG = 'S'
    DISPLAY = ' '
    MARK_TAB =
    value_tab = itab
    OTHERS = 3
    IF sy-subrc <> 0.
    Thanks for ur time and help

           This FM is used to dsiplay values stored in an internal table as input
    help.This FM is used to program our own custom help if no such input help
    exists in ABAP dictionary for a particular field. The parameter VALUE_TAB is used to pass the internal table containing input values.The parameter RETFIELD
    is used to specify the internal table field whose value will be returned to the screen field or RETURN_TAB.
           If DYNPNR,DYNPPROG and DYNPROFIELD are specified than the user selection is passed to the screen field specified in the DYNPROFIELD. If RETURN_TAB is specified the selectionis returned in a table.
                RETFIELD           = field from int table whose value will be returned
                DYNPPROG        = SY-CPROG
                DYNPNR             = SY-DYNNR
                DYNPROFIELD    = 'screen field'
                VALUE_ORG       = 'S'
                VALUE_TAB        = internal table whose values will be shown.
                RETURN_TAB      = internal table of type DDSHRETVAL 
                parameter_error    = 1
                no_values_found   = 2
                others                  = 3.
           retfield = 'BELNR'   " or belnr
           DYNPPROG = Sy-repid   " or SY-CPROG
           DYNPNR = SY-DYNNR
           DYNPROFIELD    = 'p_belnr'
           VALUE_ORG = 'S'
           value_tab = itab
    Ashok Reddy

  • User defined tabpage in WBS Overview screen

    I am working on Project System implementation project.
    I would like to create user defined tabpage in WBS Overview screen of project definition as following status information.
    How can I create user defiend tabpage?
    Transaction : CJ20N
    Program (screen) : SAPLCNPB_M
    Screen number : 1000
    Program (subscreen) : SAPLCJWB
    Screen number : 3990
    Program (GUI) : SAPLCNPB_M
    GUI status : PB_PROJ_EDIT

    Hello Gurus,
    Have you solved this problem? I'm facing the same issue - I need to show the customer defined fields (CDFs) on the overview (table) screen where all WBS elements are shown with all Master data.
    Any suggestions?

  • User defined class objects for a ADF component (button,inputfield)

    How do I define a user defined class object for ADF objects?
    My requirement is that when I do a modification to the class object, it should get reflectected to all the instances on my page.
    E.g:- I'm having class object clsInputField, and all my input fields in my pages are based on this object. So when I change clsInputField it should get reflected to all my controls based on this class object.
    Please help!!!

    Hi Timo,
    In our client server environment, we have a custom control for managing the zip code (used a Custom InputText field which extends the actual TextField) . All zip code specific validations are written in this custom class. In our application many of the pages uses this Custom component. So if any of the zipcode specific behaviour changes, we could implement this by only changing the Custom InputText field class.
    We need to implement this behaviour in our ADF applications. Please advise.

  • How to let the user define the colors for each plots in the graph (I use LabVIEW 7)?

    How to let the user define the colors for each plots in the graph (I
    use LabVIEW 7)?

    Take a look at this example, it uses property nodes to select tha
    active plot and then changes the color of that plot.
    If you want to make the number of plots dynamic you could use a for
    loop and an array of color boxes.
    I hope this helps.
    Juan Carlos
    Attachments: ‏38 KB

  • User defined Number range for TD Bulk Shipments

    By defining Customer specific logic with certain conditions through Z table, can we have a user defined Number range for TD Bulk Shipments? As SAP std. either we can have internal number range or external. If external is opted for, then every time User has to specify the same while creating a Shipment in O4F1. There is a every chance that Users will commit mistakes. In order to avoid this can we have something automatic (i.e. System will take care).
    e.g. In SD Billing we have one User exit:- USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ). With this and depending upon certain conditions (which are maintained in Z table) we can have our own number range.
    Similarly, Can any one please suggest either a User Exit or  BAdi or some enhancement point for this requirement?
    Edited by: Aniruddha Saraf on Jan 3, 2008 2:28 PM

    Hi Anirudhdha,
    There is no standard exit for number ranges like those in SD. However, you can try using the exit EXIT_SAPMOIGS_001 for this purpose. You will still need to enter internal number range in the shipment type configuration.
    Hope this helps,

  • APP-ALR-04106: Please correct the user-defined SQL statement for this alert

    Hi All,
    I have created an alert for engineering module in R12. It got tested and was working fine. when the user testing it, while trigger the alert getting the error, "APP-ALR-04106: Please correct the user-defined SQL statement for this alert".
    when verified the alert, it got verified and ran also. It parsed the query successfully and when run it fetched few records.
    Need help in resolving the issue.
    Thanks in advance.
    Edited by: user10939296 on Jan 18, 2010 1:16 AM

    Hi Sri;
    I have already gone through the Note: 948037.1. But this note is related to 11i. The solution provided in the Note is for 11i.
    I am facing this issue in R12. Is this patch applicable to R12?I belive its not. But u can check Solution part 4 for your instance, at least it can give you idea. The other note in metalink related bug and all for R11 too.
    I belive its better way to rise Sr while waiting other forum user response to that thread

  • Default value for selection screen field

    Hi all,
      I am using LDB PNPCE. I want to give default value for field Personnel area on selection screen.
    How can I do it?

    Hi Rahul,
    In the INITIALIZATION event we can set the default values for selection screen fields.
    loop at screen.
    if screen-name = 'S_MATNR-LOW'.
    s_matnr-low = '1234'.
    s_matnr-option = 'EQ'.
    s_matnr-sign = 'I'.
    append s_matnr.
    s_matnr-high = '5678'.
    s_matnr-option = 'EQ'.
    s_matnr-sign = 'I'.
    append s_matnr
    clear s_matnr.
    Hope it helps.
    Mark if useful

  • How to get the screen groups for the screen field which are on selectionscn

    hiiii Experts,
                   How to know the screen groups for the screen field which are on selection screen.
    Thanks and regards,

         NAME                                             PNPABKRS-LOW
            GROUP1                                             SEL
            GROUP2                                             DBS
            GROUP3                                             LOW
            GROUP4                                             180
    to get this use this:
        if screen-name CS 'ABKRS'.

  • Need some help in creating Search Help for standard screen/field

    I need some help in adding a search-help to a standard screen-field.
    Transaction Code - PP01,
    Plan Version - Current Plan (PLVAR = '01'),
    Object Type - Position ( OTYPE = 'S'),
    Click on Infotype Name - Object ( Infotype 1000) and Create.
    I need to add search help to fields Object Abbr (P1000-SHORT) / Object Name (P1000-STEXT).
    I want to create one custom table with fields, Position Abb, Position Name, Job. Position Abb should be Primary Key. And when object type is Position (S), I should be able to press F4 for Object Abb/Object Name fields and should return Position Abbr and Position Name.
    I specify again, I have to add a new search help to standard screen/field and not to enhance it.
    This is HR specific transaction. If someone has done similar thing with some other transation, please let me know.
    There is no existing search help for these fields. If sm1 ever tried or has an idea how to add new search help to a standard screen/field.
    It's urgent.
    Thanks in advace. Suitable answers will be rewarded

    Hi Pradeep,
    Please have a look into the below site which might be useful
    Enhancing a Standard Search Help
    A search help exit is a function module for making the input help process described by the search help more flexible than possible with the standard version.
    This function module must have the same interface as function module F4IF_SHLP_EXIT_EXAMPLE. The search help exit may also have further optional parameters (in particular any EXPORTING parameters).
    A search help exit is called at certain timepoints in the input help process.
    Note: The source text and long documentation of the above-specified function module (including the long documentation about the parameters) contain information about using search help exits.
    Function modules are provided in the function library for operations that are frequently executed in search help exits. The names of these function modules begin with the prefix F4UT_. These function modules can either be used directly as search help exits or used within other search help exits. You can find precise instructions for use in the long documentation for the corresponding function module.
    During the input help process, a number of timepoints are defined that each define the beginning of an important operation of the input help process.
    If the input help process is defined with a search help having a search help exit, this search help exit is called at each of these timepoints. If required, the search help exit can also influence the process and even determine that the process should be continued at a different timepoint.
    The following timepoints are defined:
    1. SELONE
    Call before selecting an elementary search help. The possible elementary search helps are already in SHLP_TAB. This timepoint can be used in a search help exit of a collective search help to restrict the selection possibilities for the elementary search helps.
    Entries that are deleted from SHLP_TAB in this step are not offered in the elementary search help selection. If there is only one entry remaining in SHLP_TAB, the dialog box for selecting elementary search helps is skipped. You may not change the next timepoint.
    The timepoint is not accessed again if another elementary search help is to be selected during the dialog.
    2. PRESEL1
    After selecting an elementary search help. Table INTERFACE has not yet been copied to table SELOPT at this timepoint in the definition of the search help (type SHLP_DESCR_T). This means that you can still influence the attachment of the search help to the screen here. (Table INTERFACE contains the information about how the search help parameters are related to the screen fields).
    3. PRESEL
    Before sending the dialog box for restricting values. This timepoint is suitable for predefining the value restriction or for completely suppressing or copying the dialog.
    4. SELECT
    Before selecting the values. If you do not want the default selection, you should copy this timepoint with a search help exit. DISP should be set as the next timepoint.
    5. DISP
    Before displaying the hit list. This timepoint is suitable for restricting the values to be displayed, e.g. depending on authorizations.
    6. RETURN (usually as return value for the next timepoint)
    The RETURN timepoint should be returned as the next step if a single hit was selected in a search help exit.
    It can make sense to change the F4 flow at this timepoint if control of the process sequence of the Transaction should depend on the selected value (typical example: setting SET/GET parameters). However, you should note that the process will then depend on whether a value was entered manually or with an input help.
    7. RETTOP
    You only go to this timepoint if the input help is controlled by a collective search help. It directly follows the timepoint RETURN. The search help exit of the collective search help, however, is called at timepoint RETTOP.
    8. EXIT (only for return as next timepoint)
    The EXIT timepoint should be returned as the next step if the user had the opportunity to terminate the dialog within the search help exit.
    9. CREATE
    The CREATE timepoint is only accessed if the user selects the function "Create new values". This function is only available if field CUSTTAB of the control string CALLCONTROL was given a value not equal to SPACE earlier on.
    The name of the (customizing) table to be maintained is normally entered there. The next step returned after CREATE should be SELECT so that the newly entered value can be selected and then displayed.
    10. APP1, APP2, APP3
    If further pushbuttons are introduced in the hit list with function module F4UT_LIST_EXIT, these timepoints are introduced. They are accessed when the user presses the corresponding pushbutton.
    Note: If the F4 help is controlled by a collective search help, the search help exit of the collective search help is called at timepoints SELONE and RETTOP. (RETTOP only if the user selects a value.) At all other timepoints the search help exit of the selected elementary search help is called.
    If the F4 help is controlled by an elementary search help, timepoint RETTOP is not executed. The search help exit of the elementary search help is called at timepoint SELONE (at the
    This module has been created as an example for the interface and design of Search help exits in Search help.
    All the interface parameters defined here are mandatory for a function module to be used as a search help exit, because the calling program does not know which parameters are actually used internally.
    A search help exit is called repeatedly in connection with several
    events during the F4 process. The relevant step of the process is passed on in the CALLCONTROL step. If the module is intended to perform only a few modifications before the step, CALLCONTROL-STEP should remain unchanged.
    However, if the step is performed completely by the module, the following step must be returned in CALLCONTROL-STEP.
    The module must react with an immediate EXIT to all steps that it does not know or does not want to handle.
    Hope this info will help you.
    ***Reward points if found useful

  • User defined Catalog type u0093Su0094  - Valuation code field missing

    Hi Quality Experts,
    I have created a user defined catalog type in customization coping the catalog type 3.
    This is required for authorization purposes.
    Transaction Code : QS51.
    For system defined catalog type 3, in QS51 all fields are visible.
    Hence selection set can be created.
    For user defined catalog type S which is a copy of 3,
    for the same transaction code QS51 many field are hidden.
    Hence selection set can not be created.
    15 Columns are existing.
    S.No     System defined Catalog Type "3".     User defined Catalog Type "S".     Remarks
    1     Code Grouop     Code Grouop     OK
    2     Code                      Code                      OK
    3     Short Text for Code     Short Text for Code     OK
    4     Long Text for Code     Long Text for Code     OK
    5     Valuation Code     MISSING                     THIS FIELD IS MISSING
    6     Quality Score     MISSING                     THIS FIELD IS MISSING
    7     Posting Propasal UD     MISSING                     THIS FIELD IS MISSING
    8     Long Term Char.     MISSING                     THIS FIELD IS MISSING
    9     Stock Screen
                    Backgr.                    MISSING                     THIS FIELD IS MISSING
    10     Follow up action     MISSING                      THIS FIELD IS MISSING
    11     Short Text      MISSING                     THIS FIELD IS MISSING
    12     Changed By     Changed By     OK
    13     Changed On     Changed On     OK
    14     Created By     Created By     OK
    15     Created On     Created On     OK
    Total  7 fields are missing.
    SAP Version : SAP ECC 6.0
    Please guide.
    With Best Regards,
    Raghu Sharma.

    when you have created new Catalog type by copying 3, did you check whether Selected Sets is flagged in the configuration?

  • Creating a User-defined Selection variant for Transaction ME21N

    In transaction ME21N with the 'Document Overview' feature turned on we can view a list of standard selection variants. I would like to add a user-defined selection variant to that list. There is an OSS Note 377180 present which describes how to do that but(as per transaction SNOTE) that note cannot be implemented in our system. Is there any other way to get that done?
    Any help would certainly be appreciated.

    So I am having a similar issue. I have a fixed length flat file with 3 different record types.
    1 a header ( length is 82 bytes with the first byte set to H ( single record always the first )
    2 a detail record ( length is 382 bytes ) with the first byte set to D ( multiple records )
    3 a trailer record ( length is 82 bytes ) with the first byte set to T ( single record always the last )
    I created a UD OTD with 3 elements for each record type, RECORD_TYPE is the first field 1 byte. Matching for each on either H,D, or T. When I try and test the OTD with the Run Test button I get an unmarshal error
    <SOD>""<POS>"HACCUMULAT..." failed input match, Fog#431, after <no path>: failed node: trailing junk in fixed/parent
    D ar3531 ar3531 ar3531 ar3531000 55887027260 30.000 30 5098765 20080804 000T114 120080806 82820P30000001024511 25.00 0.00 25.00 0.00 25.00 25.00 0.00 0.00 0.00 0.00 0.00T
    TACCUMULATED BENEFIT TRANSACTION FILE 20080801 20080825 2894 0 0
    Not sure whats going on, so if anyone has any suggestions on where to look that would be great

  • How do you add a user defined page size for a "standard" user

    I have been trying to add a User Defined Page size in the Adobe PDF Properties with a "Standard" AD account.  When I click add/modify, no error shows up on the screen but the page size does not show up in the drop down menu.  The only accounts that can add page sizes are "Admin" accounts, as far as I know.  Does anyone know a workaround?  PLEASE HELP!!!

    Firefox unable to store your password without username.

  • InDesign CS6, Formulare - Wortzahl für ein Feld definieren / Define word count for a form field

    Ich habe folgende Frage: Ist es mit inDesign CS6 möglich, ein interaktives PDF zu kreieren, in dem die zulässige Wortzahl in einem Feld genau definiert wird?
    Im speziellen Fall möchte ich ein Eingabefeld auf eine DIN A4 Seite setzen, welches exakt 350 Wörter erfordert, um die Seite druckbar zu machen... Mehr Wörter sollten nicht eingegeben werden können und sollten es weniger sein, ist ein Drucken nicht möglich...
    I have the following question: Does InDesign CS6 offer am option to create an interactive PDF with a text/form field which allows ONLY a defined number of words?
    In this particular case I would like to create a DIN A4 page with a file dwhich allows for exactly 350 words to make the document printable. If one put's in less than 350 printing should be disallowed and at the same time it should be impossible to type more than the allowed number of words.
    Jörg Hippo Thomsen

    Hi Steve!
    Thanks to a google search I have managed to solve the issue flawlessly
    Look  at this little java script:
    var val = event.value + event.change,
    matches = val.match(/\b[\w\-\']+\b/g),
    count = matches.length;
    this.getField("charCount").value = count;
    if (count > 90) { app.alert("You have exceeded the maximum of 90 words for this text field.") }
    1. This script needs to be inserted under Properties/Format/Custom/Custom Key Stroke Script.
    2. One creates a second fiield namend charCount to display the word count.
    Voila! The text field will pop up a warning if the allowed maximum word count is exceeded and it will display the word count in the extra field

Maybe you are looking for

  • Exchange rate diff. accts are not defined for account 16145110currency INR

    Dear SAP Gurrus, I am facing a problem while making  payment against invoice, receiving payment against invoice, clearing advance payment and  advance receipts through T-code F-53, F-28, F-44 and F-32.  System is allowing me to select the invoices ag

  • Nokia 6500c - New Firmware, please!

    This is the message I was trying to send through the "Feedback" page in, but it doesn't work! Very strange. So I'm posting it here and hoping that maybe this message will reach Nokia themselves. Hello, I own a 6500 classic. I can say I'm re

  • About Alert

    Hi All I have done JDBC to Proxy scenario i.e. Oracle to BI I am picking up a data from Oracle and sending to BI tables. The thing is when i execute the scenario i can see a success message in XI Moni, means the data got picked up from oracle. Now i

  • Changing links? Multi-file find-and-replace?

    So Dw has some sort of global link change tool, doesn't it? If I want to change "assets/video/banner.gif" to "assets/animation/banner.gif" everywhere it occurs in all of my local files -- how would I do that? Thanks!

  • "SOAP header Action was not understood."

    Guys , I am trying to get the UserProfile Details from a SharePoint Server that is configured to use https and NTLM authentication. I am doing this within a Windows Form Application on MS Visual Studio 2010. I am using the following custom binding: <