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

Hi,
     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 .
Mahesh

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.
initialization.
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'
exporting
retfield = 'FIELD'
dynprofield = 'S_FIELD'
dynpprog = sy-cprog
dynpnr = sy-dynnr
value_org = 'S'
tables
value_tab = ihelp.
start-of-selection.
In case you have any further clarifications,do let me know.
Regards,
Puneet Jhari.

Similar Messages

  • How to add a dynamic saerch help for a standard field

    Hi,
    As per my requirement I need to add a search help to a Satndard Field in PO.
    The search help is dyanimc.
    CAn anyone suggest how can we achieve this functionality.
    The values to be selected are stored in some Z table.
    Smriti.

    Ya,But In my case the value which is being displayed in the search help will depend on the value of werks being enterd in the PO.Taking the PO the Ztable will be queried and from there The value of unloading point will be calculated and displayed.
    So only adding the search help to the standard field will not help.

  • How to add user defined search help to data element -EXTWG ?

    Dear All,
    EXTWG is external material groupp field in Material Master. I am using this field to provide some external material group .But there is no search help attached to it. I want to create a search help and attach to it .I can create a search help but how to attach to a standard date element .How can i do??

    hi
    good
    go through this links ,i hope these ll help you solve your problem
    http://help.sap.com/saphelp_nw2004s/helpdata/en/90/8d7307b1af11d194f600a0c929b3c3/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ee86446011d189700000e8322d00/content.htm
    thanks
    mrutyun^

  • How to add user defined tab in the Header level of T-Code O4NM?

    How to add user defined tab in the Header level of  T-Code O4NM?
    I tried with BADI but I cant able to find any BADI for it and also searched for screen exit too..

    Can you check the user exits,
    OIJNOM_N and OIJTKT_N
    Cheers,
    Balaji

  • How to add user defined functions in Menu bar of a Selection Screen?

    Hi,
    Can anybody please suggest me that how can I add user defined functions in the menu bar of a Selection Screen?
    Regards
    s@k

    Dear Amit,
    I am referring to the standard SAP program: RIEQUI20.
    On the initial screen, there are 3 tabs.
    Code:
    SELECTION-SCREEN BEGIN OF TABBED BLOCK tab FOR 25 LINES.
    SELECTION-SCREEN TAB (20) tab1 USER-COMMAND ucomm1
                         DEFAULT SCREEN 001.
    SELECTION-SCREEN TAB (20) tab2 USER-COMMAND ucomm2
                         DEFAULT SCREEN 002.
    SELECTION-SCREEN TAB (20) tab3 USER-COMMAND ucomm2
                         DEFAULT SCREEN 003.
    SELECTION-SCREEN END OF BLOCK tab.
    AT SELECTION-SCREEN.
      CLEAR gv_okcode.
      gv_okcode = sy-ucomm.
      CLEAR sy-ucomm.
      CASE gv_okcode.
        WHEN 'IH08'.
          CALL TRANSACTION 'IH08'. "Equipment Selection
        WHEN 'IW29'.
          CALL TRANSACTION 'IW29'. "Notification Selection
        WHEN 'IW39'.
          CALL TRANSACTION 'IW39'. "Order List Selection
        WHEN OTHERS.
      ENDCASE.
    *   Check date:                                         
      IF NOT datuv IS INITIAL                            
      AND NOT datub IS INITIAL.                         
        IF datub >= datuv.                              
        ELSE.                                           
          MESSAGE e884(ih) WITH datuv datub.            
        ENDIF.                                           
      ENDIF.                                             
      IF variant IS INITIAL AND
         dy_vari IS INITIAL.
        PERFORM get_default_variant_f14 USING variant.
      ENDIF.
      PERFORM variant_existence_f14 USING variant.
      IF datuv IS INITIAL.
        datuv = sy-datum.
      ENDIF.
      IF datub IS INITIAL.
        datub = sy-datum.
      ENDIF.
      IF sy-ucomm = 'ADDR'.
        PERFORM adress_sel_f01 USING 'EQUIR'.
      ENDIF.
      PERFORM check_parnr_f76.
    *  AT SELECTION SCREEN OUTPUT
    AT SELECTION-SCREEN OUTPUT.
      STATICS: l_slset TYPE sy-slset.
    *--- Set initial variant
      PERFORM variant_init_f14 USING 'INST' 'INST' 'INST' 'RIEQUI20'.
      IF variant IS INITIAL AND
         dy_vari IS INITIAL AND
        gv_variant_flag IS INITIAL.
        PERFORM get_default_variant_f14 USING variant.
        gv_variant_flag = 'X'.
      ENDIF.
    *--- Set Icon for adress-button
      PERFORM set_icon_f01 USING dy_adrfl ad_icon text-ad0 text-ad1.
    *--- get classification data from select option
    *--- (if new variant or if called via submit or F3)
      IF ( l_slset NE sy-slset ) OR
         ( s_comw[] IS NOT INITIAL AND gt_clsd_comw[] IS INITIAL ).
        l_slset = sy-slset.
        gv_class_old = dy_class.
        gv_klart_old = dy_klart.
        PERFORM copy_selopt_comw_f79 TABLES gt_clsd_comw s_comw.
        PERFORM class_search_init_f77 USING 'EQUI'.
      ENDIF.
    *--- set Icon for classification
      LOOP AT gt_clsd_comw TRANSPORTING NO FIELDS          
                          WHERE atcod > '0'.               
        EXIT.                                              
      ENDLOOP.                                             
      IF sy-subrc IS INITIAL.
        gv_comw_flag = 'X'.
      ELSE.
        CLEAR gv_comw_flag.
      ENDIF.
      PERFORM set_icon_f01 USING gv_comw_flag cl_icon text-cl0 text-cl1.
      CALL METHOD cl_uid_cust=>selection_screen_output.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR variant.
      PERFORM variant_inputhelp_f14 USING variant 'RIEQUI20'.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR dy_parnr.
      PERFORM f4_for_parnr_f76.
    AT SELECTION-SCREEN ON BLOCK clse.
      IF dy_class NE gv_class_old
        OR dy_klart NE gv_klart_old.
        gv_class_old = dy_class.
        gv_klart_old = dy_klart.
        CLEAR gv_comw_flag.
        REFRESH gt_clsd_comw.
        REFRESH s_comw.
      ENDIF.
      PERFORM class_exist_f77 USING dy_klart dy_class 'DY_CLASS'.
      IF sy-ucomm = 'COMW'.
        CALL FUNCTION 'IHCLSD_VALUATION_POPUP'
          EXPORTING
            i_klart               = dy_klart
            i_class               = dy_class
            i_language            = sy-langu
            i_key_date            = sy-datum
            i_also_subclasses     = dy_subcl
          TABLES
            ct_comw               = gt_clsd_comw
          EXCEPTIONS
            exc_no_class          = 1
            exc_klart_not_allowed = 2.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    *--- fill classification data in select option
        PERFORM copy_comw_selopt_f79 TABLES gt_clsd_comw s_comw.
      ENDIF.
      IF sy-ucomm = 'ONLI'.
        sscrfields-ucomm = sy-ucomm.
      ENDIF.
    Regards
    s@k
    Edited by: siemens.a.k on Jan 15, 2010 10:10 AM

  • In XML Gateway Responsibility How to add User defined Trading Partner type.

    Hi,
    We have a requirements to add user defind Trading Partner Type apart from the default trading partner type.
    How to do this? If any one know , kinldy let me explain it
    Thanks

    I looked it up in the mean time ...
    The docs state that you only can use simple data type or java.util.list or AttributeList (which is a wrapper for any viewRow). So I guess you have to somehow flatten your complex data type or create a custom VO which holds it.
    http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/bcextservices.htm#CJAEHFJD
    Scroll down to 11.2.3
    Timo

  • How to add User defined return type in service interface of AppModule

    HI All,
    I am creating service interface using AppModule. Added custom method with Java primitives and working fine. Now i want to added custom method with return type is EMP object means user defined object. How can i do so?
    Thanks in advance.

    I looked it up in the mean time ...
    The docs state that you only can use simple data type or java.util.list or AttributeList (which is a wrapper for any viewRow). So I guess you have to somehow flatten your complex data type or create a custom VO which holds it.
    http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/bcextservices.htm#CJAEHFJD
    Scroll down to 11.2.3
    Timo

  • How to add the Match code object for the requisitioner field in TCODE ME51N

    Hi,
    How to add the search help (Match code object) for the requisitioner field in transaction ME51N.
    Please  do the needful to me.
    Regards
    Rajesh

    don't you think that posting your question to a microsoft developer site would be more efficient?
    regards,
    anton

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

    Hi
    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:
    FORM MY_F1_FOR_S_CUST.
      DATA: T_LINE LIKE TLINE OCCURS 0,
            XHEAD  LIKE THEAD,
            HELP_INFO LIKE HELP_INFO,
            TEXC LIKE SY-UCOMM OCCURS 0,
            V_OBJECT LIKE  DOKHL-OBJECT.
    Costants
      DATA: PREF_SIMG(4) VALUE 'SIMG',
            DOCID_HY LIKE DOKHL-ID VALUE 'HY'.
    Object name
      CONCATENATE PREF_SIMG MY_OBJECT INTO V_OBJECT.
    Get Text
      CALL FUNCTION 'DOCU_GET_FOR_F1HELP'
           EXPORTING
                ID       = DOCID_HY
                LANGU    = SY-LANGU
                OBJECT   = V_OBJECT
           IMPORTING
                HEAD     = XHEAD
           TABLES
                LINE     = T_LINE
           EXCEPTIONS
                RET_CODE = 1
                OTHERS   = 2.
      CASE SY-SUBRC .
        WHEN 0.
    Dysplay text
          GET CURSOR FIELD HELP_INFO-DYNPROFLD.
          HELP_INFO-DOCUID         = DOCID_HY.
          HELP_INFO-DOCUOBJECT     = V_OBJECT.
          HELP_INFO-SPRAS          = SY-LANGU.
          HELP_INFO-PROGRAM        = SY-REPID.
          HELP_INFO-DYNPRO         = SY-DYNNR.
          HELP_INFO-DYNPPROG       = SY-REPID.
          HELP_INFO-PFKEY          = SY-PFKEY.
          HELP_INFO-FIELDNAME      = HELP_INFO-DYNPROFLD.
          CALL FUNCTION 'HELP_DOCULINES_SHOW'
               EXPORTING
                    HELP_INFOS     = HELP_INFO
                    OVERLAY_HEADER = XHEAD
               TABLES
                    EXCLUDEFUN     = TEXC
                    HELPLINES      = T_LINE.
        WHEN OTHERS. MESSAGE S720(SH).
      ENDCASE.
    ENDFORM.
    Max
    Message was edited by: max bianchi

  • How to add a reference to help for a custom tag

    Hello,
    I would like to add an icon (question mark icon) to my custom tag (in tag libraries view). Then, when I press this icon I would like to see some .html page with description of a tag as it is done for a struts tags.
    Is it possible?
    If yes please tell me how to do it.
    Thanks,
    Damian

    There are a variety of customization options available for BEA Workshop. Through metadata you can define renderings for custom tags, tag appearance in the tag libraries view, customize the tag editors, and much more.
    Information about customization can be found at the following link: http://workshopstudio.bea.com/docs/tlei.htm
    Adding custom tag documention to the Tag Libraries view is not currently a configuration option but would be a useful addition. I will file an enchancement request for this functionality.

  • Providing "user-defined" content/help for web app

    We are working on a new app for CGBU and want to allow the application system integrators to define their own "custom" help pages or content. I was wondering if any Oracle (or other apps) had done this with OHW. Looking for suggestions on how to go about this the right way. Anybody done something like this, please advise on your approach.

    I think Oracle EM has developed custom help pages for their product.

  • User Exit to add user-defined selection critieria onto VL10G

    Does anyone know how to add user-defined selection criteria onto <b>VL10G</b> - Sales and purchase order display screen? OSS note <b>524424</b> states the userexit to transfer user-defined selection criteria from the selection screen to the report but no information on how to add the selection criteria on the screen. Is that something can be done through configuration or user-exit?
    Any advice or sample is greatly appreciated.

    I was in a hurry, I forgot to add, the user role specific selection screen assignment to VL10G is done at "delivery scenario" level
    The delivery scenarios that are predefined in the system can be found under Logistics Execution -> Outbound Process -> Goods Issue for Outbound Delivery -> Outbound Delivery -> Create -> Collective Processing of Documents for Shipment.
    You can make the following settings in a delivery scenario:
    <b>Selection screen</b>
    You can use the selection screen parameters to define the appearance of the selection screen used to select the delivery list.
    There are three combinations of selection parameters available that each include a different number of tabs.
    A long selection screen with no tabs
    A selection screen with three tabs
    A selection screen with six tabs
    The selection criteria is the same on all three screens in the standard system, it is simply arranged differently.
    This parameter also triggers scheduling of the report for processing the delivery list, with the same three available tab options.
    Customer enhancements are also possible in the LV50R_PREFZ1 program, which should be triggered from a delivery scenario.
    <b>User role</b>
    In the standard system, a predefined user role is assigned to each delivery scenario. If necessary, you can copy these user roles into your own user roles, make changes as required, and then assign them to a delivery scenario of your choice.
    If the user role assignment for a delivery scenario is changed in Customizing, the new settings are valid for all users that carry out this delivery scenario.

  • How to add a new data element for existing table filed(Primary key field)

    Hi Experts,
    How to add a new data element for existing table field(Primary key field)
    For this filed ther is no foreign key relation ships and even check table.
    while activating table it is giving message like below.
    can you help any one to solve this and wil steps to add new dataelement for existing primary key filed of a table.
    Check table (NAMING SPACE/TABLE NAME(EX:/TC/VENDOR)) (username/19.02.10/03:29)           
    Primary key change not permitted for value table /TC/VENDOR
    Check on table  /TC/VENDOR resulted in errors              
    Thanks
    Ravi

    Hi,
    Easiest way is to download the table eg into an Excel table (if possible) or text table. Drop the table from the database. Build your table with the new key field. Build the database table again and fill it.
    You can do it also over the database into a new table. Drop the old one. Build the enhanced one and fill it. Afterwards drop your (temporary) table.
    Maybe there are other ways, but this works.
    Success,
    Rob

  • To add F4 help for goods recipient field in MIGO

    Hello,
    I've a requirement in migo, under the details data, we have a "where" tab. 
    Under this tab, there is a field "Goods Recipient" for input.
    Now I've to add a F4 search help for this input field such that it picks up from my ZTABLE.
    Can anyone please suggest how to add the search help for this field.
    Can this be performed using a field exit or any userexit. MBCF0005 or badi MB_MIGO_BADI ?
    Please guide me and thanks in advance.
    ~With Regards,
      Him

    Thanks Rupali,
    I've already created my search help and search help goes well with any of my ztable or zprogram. But, the field where I want to add my search help is a standard migo program SAPLMIGO, and the field where I want to add search help is "good recipient" field under "where" tab of "migo" transaction.
    And the name of the field is WEMPF, which belongs to the sap standard structure GOITEM.
    So, SAP wont allow me to edit it's standard tables. Is there any other alternative?
    ~With Regards,
       Him

  • Freely Programed Help for select-option field

    Hi,
    how can i set freely programmed help for select option field, i mean while adding selection field what are the parameters that are important for freely programmed help.
    i have implemented iwd_value_help in one component comp1 and declared the usage of comp1 in comp2 where i actually defined the usage of select-option component.
    i used parameter   i_value_help_type = if_wd_value_help_handler=>co_prefix_appldev while adding selection field, however when i presss F4 icon, the following message is coming
    View WD_VALUE_HELP does not exist within the component WDR_SELECT_OPTIONS
    Please suggest where i am doing wrong??
    Edited by: kranthi kumar on Dec 29, 2010 6:19 PM

    >
    kranthi kumar wrote:
    > Hi,
    >
    > how can i set freely programmed help for select option field, i mean while adding selection field what are the parameters that are important for freely programmed help.
    >
    > i have implemented iwd_value_help in one component comp1 and declared the usage of comp1 in comp2 where i actually defined the usage of select-option component.
    >
    > i used parameter   i_value_help_type = if_wd_value_help_handler=>co_prefix_appldev while adding selection field, however when i presss F4 icon, the following message is coming
    >
    > View WD_VALUE_HELP does not exist within the component WDR_SELECT_OPTIONS
    >
    > Please suggest where i am doing wrong??
    >
    > Edited by: kranthi kumar on Dec 29, 2010 6:19 PM
    Hi Kranthi,
    Please help me to understand your design.
    Why would you like to create a Freely programmed value help for select-option?. why not use wdr_select_option directly ?

Maybe you are looking for

  • How to Control authorization for users with certain status for level 2 WBS Element

    Dear All, Is there any standard way or enhancement available to control authorization for users with certain status for WBS Element i.e. for example Pre-requisite: There is only 2 level of project i.e. Lev_ WBSE_______Description 1___ 7-14.E_______su

  • How to make a java-program to a exe file runing on windows?

    i kown that there were many topics on this problem. i want to kown how many kinds method to do this i can use now! i met a java-program can run on windows,but i don't find ant *.class files and *.jar files.it's extended file type is ".ese". thanks ve

  • Mac air or Mac Pro

    I want to know if mac aitr or mac pro is ok for my needs I wil used mainly for photoshop and final cut Regards Luis

  • X200 standby problem both XP and VISTA BUSINESS ! ! !

    i have X200 units they're both goes standby even in MAXIMUM PERFORMANCE,(it's should'nt going like that)....... but if you let the video driver uninstalled they are fine and onething i observed that those units are flickering  on the screen after sev

  • How to reduce List Box prompt height

    Hello, I have a list box prompt which contains 20 values, but there is space for close to 30 values. I want to reduce that space for the list box to fit only the said number of values. I have tried reducing the height of the box (going to edit proper