F4 help values in SM30 - Table maintenence

Hello Guys,
can anyone of you advise how to do the F4 help in SM30. I have a Z table and generated a table maintenence. I want the F4 values for customer or material or cocode..etc..to appear in SM30.Thanks
Senthil

Hi Senthil,
If the data element or the domain you have used for the field of your table, has search help attached to it, then you will automatically be able to use it in SM30..
Thanks and Best Regards,
Vikas Bittera.
**Reward if useful**

Similar Messages

  • Search Help values to Internal table

    Dear Friends,
    Is it possible to export Search Help values to Internal table?
    On screen, when user click on Search button, the SAP standard search help will call (Customer Search). After entering values, some result get displayed and this result need to export to the internal table.
    Thanks in stack
    Nilesh

    Hi:
    try this:
    DATA : wa_shlp TYPE shlp_descr,
               it_records LIKE ddshretval OCCURS 0 WITH HEADER LINE.
    wa_shlp-SHLPNAME = 'MAT0M'.   "one of elementary search help name from mara-matnr.
    wa_shlp-SHLPTYPE = 'SH'.
    CALL FUNCTION 'F4IF_SELECT_VALUES'
         EXPORTING
           shlp                   = wa_shlp
      MAXROWS                = 0
      SORT                   = ' '
      CALL_SHLP_EXIT         = ' '
    IMPORTING
      MAXROWS_EXCEEDED       =
        TABLES
      RECORD_TAB             =
      RECDESCR_TAB           =
          return_tab            = it_records
    LOOP AT it_records.
      WRITE:/ it_records.
    ENDLOOP.
    Follows is how to get the search help name:
    CALL FUNCTION 'DD_SHLP_GET_HELPMETHOD'
      EXPORTING
        tabname                 = 'MARA'
        fieldname               = 'MATNR'
        langu                   = sy-langu
      NO_CHKTAB_MAPPING       =
      GET_ENTITYTAB           = ' '
       CHANGING
         shlp                    = wa_shlp
      callcontrol             = callcontrol
      EXCEPTIONS
        field_not_found         = 1
        no_help_for_field       = 2
        OTHERS                  = 3
    CALL FUNCTION 'F4IF_EXPAND_SEARCHHELP'
       EXPORTING
         shlp_top = wa_shlp
       IMPORTING
         shlp_tab = shlps.
    好运,
    启明星

  • Input Help values

    Hi friends
    Is there any FM to get the input Help values ( fixed , check table values, search help values ) if i specify the field.

    DATA : BEGIN OF itab OCCURS 0,
             matnr LIKE mara-matnr,
           END OF itab.
    parameter : p_matnr like mara-matnr.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_matnr.
      itab-matnr = 'VAMSI1'.
      APPEND itab.
      itab-matnr = 'VAMSI2'.
      APPEND itab.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield               = 'MATNR'
         dynpprog               = 'Y_VAMSI'
         dynpnr                 = '1000'
         dynprofield            = 'P_MATNR'
         value_org              = 'S'
        TABLES
          value_tab              = itab
       EXCEPTIONS
         parameter_error        = 1
         no_values_found        = 2
         OTHERS                 = 3
    You need to use the fm the above said way. If you want more than one field to be displayed declare as many fields in the internal table as you need.
    If you want to use for SELECT-OPTIONS, you need to assign S_MATNR-LOW or HIGH to dynprofield.
    Vamsi

  • Help me in table maintenence genarator

    anybody can help me .what is the purpose of table maintenence genarator and how do i create for my ztable?
    with warm regards.

    Hi,
    Search on SDN with "Table Maintenance generator" and you will find multiple threads helping you with the solution.
    Regards
    Bhavesh

  • Events in Table Maintenence-for marking Deletion Flg when deleting frm SM30

    Hi All,
    I am tring to create a table maintenence.
    In my table we have a field Deletion flag....
    and as user hit delete in SM30 ..the record should not get delete ..but should mark the Deletion flag...
    I am tring to use Events in the maintenence but didnt find this functionality..
    Please suggest....
    I dont want to use module program...
    Thanks
    RK

    Hi,
    refer below link you will get idea to hide delete button from TMG screen
    Re: Disable delete button in Table Maintainance Generator

  • F4 help values for currency key field in table

    Hi all,
    I have added currency and currency key fields in my Z table. For the curreny key field, i have assigned the standard data element WAERS. I have implemented Table Maintenance Generator for my table. But the F4 help values for the currency key field is not appearing when i tried to maintain table entry.
    Should i need to check the Foreign key check box for the field attribute? But this check box is in disable field in screen layout.
    Could someone tell me how to solve this issue?

    Hi,
    Make the check table of the currency field of your Ztable as TCURC,which is the master table of Currency.Inside the domain of the field you write the TCURC as a value table.and make foriegn key relationship with the TCURC table.
    Regards,
    Suvajit.

  • Search help value restriction in two tables having same value table

    Hi Gurus,
    I have two tables containing same field having same domain with value table. My requirement is to restrict the values in the tables. For example the field contains 4 values:
    1) A
    2) B
    3) C
    4) D
    For table 1, only A and C should be seen in F4 and for table 2, only B and D should be seen. Also if somebody forces  B or D
    in 1st table should not be allowed and the same for 2nd table ( A & C are not allowed ). How to do this using search help exit . Which event should I use. I don't want to create two separate check tables containing only the required values.
    Regards,
    Debopriyo

    Hi Gurus,
    I have two tables containing same field having same domain with value table. My requirement is to restrict the values in the tables. For example the field contains 4 values:
    1) A
    2) B
    3) C
    4) D
    For table 1, only A and C should be seen in F4 and for table 2, only B and D should be seen. Also if somebody forces  B or D
    in 1st table should not be allowed and the same for 2nd table ( A & C are not allowed ). How to do this using search help exit . Which event should I use. I don't want to create two separate check tables containing only the required values.
    Regards,
    Debopriyo

  • Hiii help to put default values on custom table

    Hiii
    Please advise how to put assign a default values on a custom table.
    Can you please indicate me the path to navigate to do that

    Please give more details
    where do you want default value while updating table entry or while using table maintenance ?

  • Check the values while saving the values in SM30

    Hi all,
    I have created a Table maintennace for a ztable in SM30.
    I want to check the values while saving the values in the SM30.
    Can aynbody please give any idea how can i acieve this.
    Thanks,
    Tarangini

    Hi Tarangini,
    Go to the Table Maintenence Generator screen in Change mode. from this Screen go to the
    Enviorment->Modifications->Events.
    New screen will open and click on the New Entries button.
    then from the F4 Help of the first column, select ur appropriate Event and in the second column give the name of the Subroutine.
    and from the Third column u can do the coding for the subroutine as shown below.
    FORM BEFORE_DATA_SAVE.
    IF SY-UNAME EQ 'USER1' OR SY-UNAME EQ 'USER2'.
    ELSE.
       message 'No Authorization for Change...' type 'E'.
    ENDIF.
    ENDFORM.
    Regards
    Jagesh

  • Table maintenence

    what is the use for table maintenence generator and where wil we use
    plzz.
    and also how to eleminate duplicate entries in internal table ?

    the purpose of table maintainence generator is to enable the table maintenance through SM30, and to implement and validation etc on table field inputs.
    Here are the steps to create the table maitenance generator for a ZTable :-
    1.SE11.
    2.CHOOSE TABLE.
    3.UTILITIES--->TABLE MAINT GENERATOR.
    4.AUTH GRP : W/O AUTH.
    5.FUNCTION GRP: PROJ DEPENDENT (SEE CREATE FUNC GROUP).
    6.MAINT TYPE : 2 STEP.
    7.MAINT. SCR NO. : CLICK APPL BUTTON | FIND SCR. NUMBER(S) |
    8.CHOOSE PROPOSE SCREEN NO FROM POPUP.
    9.REMEMBER OVERVIEW SCR NO.
    10.CLICK CREATE BUTTON ON APPL TOOL BAR.
    11.CLICK SAVE ON FUNC TOOL BAR.
    12.GO TO SE93. TO CREATE TRANSACTION CODE.
    13.WRITE SUTIABLE TRAN NAME..CLICK CREATE
    14.CHOOSE TRANSACTION WITH PARAMETERS(LAST).
    15.FILL SHORT TEXT.
    16.OK
    17.TRANSACTION : SM30.
    18.CHECK SKIP INITAL SCREEN CHKBOX
    19.SCREEN NO : FROM STEP 9.
    20.IN TABLE BELOW
    NAME OF SCREEN FIELD VALUE.
    VIEWNAME [TABLENAME]
    UPDATE X
    21.SAVE
    22.RUN TRAN CODE IN COMMAND BOX.
    tcode is SM30
    also see this
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8129f164-0a01-0010-2a8e-8765287250fc
    regards,
    srinivas
    <b>*reward for useful answers*</b>

  • Table maintenence generator events

    Hi experts,
        I am having a table in which I have implemented the table maintenence generator.The requirement is as follows:
    Field A:User enters value 'aaa' using F4 help
    Field B:Automatically gets populated with the short description corresponding to 'aaa'.
    Here the short description depends on the selected value for field A.

    Hi debansu,
    No need to do your coding in events in your case. first of all you understand the internal table used in table Maintainace, The internal tables used are TOTAL and EXTRACT. These table are of string type so you will have to catch your value using offset. To write the logic to popualte the value is very simple in your case. You add one Module in PAI logic of screen of Table maintainance generator in that Module you poupalte the field. for example say for the F4 value of field MATNR you want to populate field MAKTX. then in the one custom PAI moudule you write like this.
    SELECT SINGLE FROM MAKT
                  INTO LF_MAKTX
                  WHERE MATNR = EXTARCT+3(18)(If Material is the 2nd field after MANDT).
    In PAI LOOP is done on EXTARCT internal Table which holds Records in run time.
    This will solve your requirment If you are not having F4 help then you can create it by adding one event PROCESS ON VALUE-REQUEST writeen in Flow logic of screen.
    We use event where we want to do some validation based on some reasons like Before saving the data in database or before displaying to do the validation of records from table TOTAL. there are diffrent events in Table maintaince but in your case it's not required..
    Let me know if you have any more issue.
    <b>Kindly reward points for helpfull answers..</b>
    Regards
    Tanweer Zaki
    Message was edited by:
            Tanweer Zaki

  • Help  need to generate table table maintainance for one table

    Dear SAP Gurus,
       Am not a ABAP consultant, currently we have some requirement to maintain some values for custmized table "ZXXXtable", when i checked in SM30 this table is not supporting to maintain.
      Now We are trying to gerenate for table maintaince using  in SE11 --> Utilties --> Table maintainace Generatore and
    but in this screen it is asking function group and packge.
    What is this function group and packge,
    How to maintain this gunction group and package (or) how can I check for this table function group and package is maintained.
    (or) shall we use other function group  and package which is already existing in the system.
    Please help me to solve this isse.
    Thanks & Regards,
    MK

    Hi PXG,
      this is production system we cannot able to create, shall we use the existing one which is already available under same package, I have checked 4 function groups are available in the same packing , but that function groups belongs to some other table or i don't know some other purpose.
    Please help to how can i maintain the table with out creating new function group.
    First could please explaing what is the use of function group?
    Thanks & Regards,
    MK

  • Copy selected values from a table control into another table control

    hi there,
    as seen in the subject i need to copy selected values from a table control into another table control in the same screen. as i dont know much about table controls i made 2 table controls with the wizard and started to change the code... right now im totally messed up. nothing works anymore and i don't know where to start over.
    i looked up the forums and google, but there is nothing to help me with this problem (or i suck in searching the internet for solutions)
    i have 2 buttons. one to push the selected data from the top table control into the bottom tc and the other button is to push selected data from the bottom tc into the top tc. does somebody has a sample code to do this?

    you're funny
    i still don't get it... can't believe, there is no tutorial or sample code around how to copy multiple selected rows from a tc.
    here's my code, maybe you can tell me exactly were i have to change it:
    tc1 = upper table control
    tc2 = lower table control
    SCREEN 0100:
    PROCESS BEFORE OUTPUT.
      MODULE status_0100.
      MODULE get_nfo. --> gets data from the dictionary table
      MODULE tc1_change_tc_attr.
      LOOP AT   it_roles_tc1
           INTO wa_roles_tc1
           WITH CONTROL tc1
           CURSOR tc1-current_line.
      ENDLOOP.
      MODULE tc2_change_tc_attr.
      LOOP AT   it_roles_tc2
           INTO wa_roles_tc2l
           WITH CONTROL tc2
           CURSOR tc2-current_line.
      ENDLOOP.
    PROCESS AFTER INPUT.
      LOOP AT it_roles_tc1.
        CHAIN.
          FIELD wa_roles_tc1-agr_name.
          FIELD wa_roles_tc1-text.
        ENDCHAIN.
        FIELD wa_roles_tc1-mark
          MODULE tc1_mark ON REQUEST.
      ENDLOOP.
      LOOP AT it_roles_tc2.
        CHAIN.
          FIELD wa_roles_tc2-agr_name.
          FIELD wa_roles_tc2-text.
        ENDCHAIN.
        FIELD wa_roles_tc2-mark
          MODULE tc2_mark ON REQUEST.
      ENDLOOP.
      MODULE ok_code.
      MODULE user_command_0100.
    INCLUDE PAI:
    MODULE tc1_mark INPUT.
      IF tc1-line_sel_mode = 2
      AND wa_roles_tc1-mark = 'X'.
        LOOP AT it_roles_tc1 INTO g_tc1_wa2
          WHERE mark = 'X'.    -
    > big problem here is, that no entry has an 'X' there
          g_tc1_wa2-mark = ''.
          MODIFY it_roles_tc1
            FROM g_tc1_wa2
            TRANSPORTING mark.
        ENDLOOP.
      ENDIF.
      MODIFY it_roles_tc1
        FROM wa_roles_tc1
        INDEX tc1-current_line
        TRANSPORTING mark.
    ENDMODULE.                    "TC1_MARK INPUT
    MODULE tc2_mark INPUT.
      IF tc2-line_sel_mode = 2
      AND wa_roles_tc2-mark = 'X'.
        LOOP AT it_roles_tc2 INTO g_tc2_wa2
          WHERE mark = 'X'.             -
    > same here, it doesn't gets any data
          g_tc2_wa2-mark = ''.
          MODIFY it_roles_tc2
            FROM g_tc2_wa2
            TRANSPORTING mark.
        ENDLOOP.
      ENDIF.
      MODIFY it_roles_tc2
        FROM wa_roles_tc2
        INDEX tc2-current_line
        TRANSPORTING mark.
    ENDMODULE. 
    thx for anybody who can help with this!

  • How to retrieve 2 values from a table in a LOV

    Hi
    I'm pretty new to APEX. I try to retrieve two values from a table using a LOV. I have a table named DEBIT with then columns SITE, NAME and KEY
    I want to display NAME to the user in a list. When the user select an item from the list, I want to retrieve the data of the SITE and KEY column of this item in order to launch an SQL command based on this two values.
    How to retrieve thes two values whant the user chooses an item from the list ?
    I apologize for my english, being french.
    Regards.
    Christian

    Christian,
    From what I understood about your requirement, you want a 'select list with submit' which displays "NAME" and based on the value selected, you want to get the corresponding values for "SITE" and "KEY" from the table.
    <b>Step 1: Create a select list with submit, say P1_MYSELECT </b><br><br>
    Use something like this in the dynamic list of values for the select list: <br>
    SELECT NAME display_value, NAME return_value
    FROM DEBIT<br><br>
    <b>Step 2: Create a page process of type PL/SQL block. Also create 2 hidden items P1_KEY and P1_SITE. </b><br><br>
    In the PL/sQL, write something like:
    DECLARE
      v_key DEBIT.KEY%TYPE;
      v_site DEBIT.SITE%TYPE;
      CURSOR v_cur_myvals IS
              SELECT KEY, SITE
              FROM DEBIT
              WHERE NAME = :P1_MYSELECT;
    BEGIN
      OPEN v_cur_myvals;
      LOOP
              FETCH v_cur_myvals
              INTO  v_key,v_site;
              EXIT WHEN v_cur_myvals%NOTFOUND;
    :P1_KEY := v_key;   
    :P1_SITE := v_site; 
      END LOOP;
      CLOSE v_cur_myvals;
    END; <br><br>
    Then you can use these values for whatever purpose you need to.
    Hope this helps.

  • How to get values from a table(in jsp) for validation using javascript.

    hi,
    this is praveen,pls tell me the procedure to get values from a table(in jsp) for validation using javascript.
    thank you in advance.

    Yes i did try the same ..
    BEGIN
    select PROD_tYPE into :P185_OFF_CITY from
    magcrm_setup where atype = 'CITY' ;
    :p185_OFF_CITY := 'XXX';
    insert into mtest values ('inside foolter');
    END;
    When i checked the mtest table it shos me the row inserted...
    inside foolter .. Now this means everything did get execute properly
    But still the vallue of off_city is null or emtpy...
    i check the filed and still its empty..
    while mtest had those records..seems like some process is cleaining the values...but cant see such process...
    a bit confused..here..I tried on Load after footer...
    tried chaning the squence number of process ..but still it doesnt help
    some how the session variables gets changed...and it is changed to empty
    Edited by: pauljohny on Jan 3, 2012 2:01 AM
    Edited by: pauljohny on Jan 3, 2012 2:03 AM

Maybe you are looking for