Linking intotype listbox to table in sm30 inorder to maintain field values

Hi All,
I got a requirment to create custom infotype with some custom fields adding to stndrd infotype an with also some validations .
So let me know, How to link intotype listbox to table in sm30 inorder to maintain field values?
Thanks for the same.

Hi Vinay,
The best way would be to assign the search help in the table directly and recreate the maintainance...in this manner the search help would be available in the sm30 already..then using "Ëvents" of the table maintainance generator we can validate the fields entered at the time of saving..if a standard search help already exists then t would be availbel in maintainance......
to create events -> go to se11 -> utilities -> table maintainance generator -> click '
then go to environment -> modification -> events ..in the table control..create new entries ....and select the suitable event and write the code in the routine to do validations
Hope it helps
Pls check and revert
Regards
Byju

Similar Messages

  • Update table from SM30 with automatic Time Stamp

    Hi,
    I have created a table maintenance generator for updating table from SM30.
    Now there are fields in my table which are CRETING TIME and CHANGING TIME. Both being TIMESTAMP field (datatype: RSDDTZNTSTMPS).
    Is it possible while user updates records/create new record in the table from SM30, these time stamp field to automatically get populated.
    Also is there any F4 help available for TIMESTAMP field?
    ags.

    Hi,
    You need to do two things inorder to get the desired results.
    1) Go to Screen Layout of the Screen created by table maintenance generator and make the date/time columns to DISPLAY ONLY. This will ensure that user is not able to modify the values at runtime
    2) Write the code in PAI of the Module pool program to populate the values at runtime using Sy-datum/sy-uzeit. (Hint : Search for INSERT/MODIFY statements which will show the location before which you need to write your logic)
    Regards,
    Kshitija

  • TOTAL_TIME_SEC field value is more then 2000 sec in S_NQ_ACCT table

    Hi Everyone,
    In a Usage tracking report, I am displaying report response time (which is total_time_sec field in S_NQ_ACCT table).
    For few reports, this field value is displayed as more than 2000 secs, but in reality, that report doesn't run more than 2 secs.
    In the database table S_NQ_ACCT also Time is recorded as more than 2000 secs. But the time is supposed to be 2 secs.
    Please let me know if anyone is having idea on this issue.
    Thanks in Advance.

    Check this post:
    http://sranka.wordpress.com/2010/06/22/the-myth-usage-tracking-measures-for-tracking-the-performance-of-report-retrieval-time/

  • Fields missing in SM30 after adding new fields to the table

    Hi ABAPers,
    I added a new field & marked another field as primary key in the table. Then I generated the table maintenance view for the table in SE55 and adjusted Database utility SE14.
    When i saw the table in SM30. The number of fields in the overview screen of SM30 shows less field then existing in table. i.e in my table i have 10 fields(3 primary). in SM30 it shows only 5 fields(3 primary + 2 normal fields)
    In SE51, the overview screen of the table show less fields in the field list..
    I want all the fields in the Table maintenance overview screen. Please suggest me a way forward friends..
    Note: the system is 4.0B.
    Thanks...Suresh Kumar

    Hi
    You have to re-generate your dialog for SM30 by table maitenance generator.
    - From Se11 go to table maitenance generator
    - Choose update icon
    - Set flags for NEW FIELD
    - Go to expert
    - Set flag to re-generate dynpro
    Message was edited by: max bianchi

  • Linking logical database to TABLE in query

    Can we link Logical Database to Table during query creation in tcode SQVI
    Message was edited by:
            rohith modi
    Message was edited by:
            rohith modi

    go to sqvi and select "Table Join"in data source and enter title select radio button for "basis mode" and enter u reach a new screen in that new screen press "insert table" and give ur table name and again  press "insert table" and give another table in thsi way we can joint table in ABAP query.
    reward points if it is helpful

  • How to populate date & time when user enter data for custom table in sm30

    Can anyone tell me How to populate system date & time when user enter data for custom table in sm30..
      Req is
      i have custom table and using sm30 user can enter data.
    after saving date i want to update date & time in table
    Pls let me know where to write the code?
    Thanks in Advance

    You have to write the code in EVENT 01 in SE54 transaction. Go to SE54, enter your Ztable name and in the menu 'Environment-->Events'. Press 'ENTER' to go past the popup message. In the next screen, click on 'New Entries'. In the first column, enter 01 and in the next column give some name for your routine(say UPDATE_USER_DATE_TIME). Then click on the souce code icon that appears in blue at the end of the row. In the code, you need logic like below.
    FORM update_user_date_time.
      DATA: f_index LIKE sy-tabix.
      DATA: BEGIN OF l_total.
              INCLUDE STRUCTURE zztable.
      INCLUDE  STRUCTURE vimtbflags.
      DATA  END OF l_total.
      DATA: s_record TYPE zztable.
      LOOP AT total INTO l_total.
        IF l_total-vim_action = aendern OR
           l_total-vim_action = neuer_eintrag.
          MOVE-CORRESPONDING l_total TO s_record.
          s_record-zz_user = sy-uname.
          s_record-zz_date = sy-datum.
          s_record-zz_time = sy-uzeit.
          READ TABLE extract WITH KEY l_total.
          IF sy-subrc EQ 0.
            f_index = sy-tabix.
          ELSE.
            CLEAR f_index.
          ENDIF.
          MOVE-CORRESPONDING s_record TO l_total.
          MODIFY total FROM l_total.
          CHECK f_index GT 0.
          MODIFY extract INDEX f_index FROM l_total.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " UPDATE_USER_DATE_TIME
    Here ZZTABLE is the Z table and ZZ_USER, ZZ_DATE, and ZZ_TIME are the fields that are updated.

  • How to share and Access DB (.accdb) with global tables that link to SQL Server tables without having to define ODBC connections on each client PC?

    I have an Access DB with quite a few Linked Tables that point to a SQL Server backend db.  Currently I am using an ODBC connection defined on my pc, but I want other users to be able to download the .accdb file from a share and run.  Will I have
    to define this odbc connection on each client's pc?  Is there a better way to do this without having to have each client manually set this up on their PC?

    I have an Access DB with quite a few Linked Tables that point to a SQL Server backend db.  Currently I am using an ODBC connection defined on my pc, but I want other users to be able to download the .accdb file from a share and run.  Will
    I have to define this odbc connection on each client's pc?  Is there a better way to do this without having to have each client manually set this up on their PC?
    Hi Jason,
    I think you can automate that process. In each application I use a one-record-table in the FE with a field Connected. Connected is default False.
    Starting a database in the development mode ignores this flag. Starting a database in production mode starts, if Not Connected, a procedure to RefreshLink the tables to the BE, and makes Connected = TRUE, so a next startup does not
    result in a new RefreshLink.
    Instead of a Boolean you could also use a string containing the path, or whatever you want.
    Imb.

  • Link between ZX tax tables and gl_code_combinations table in R12

    Hi All,
    I am new to Oracle apps. We are upgrading from EBS 11i to R12.1.3. In it, ar_vat_tax is obolete. I know its replacement is ZX_rates_b table. But in 11i, they are connected using
    ar_vat_tax.tax_account_id = gl_code_combinations.code_combination_id
    Now I am not able to find the join between zx tax tables and gl_code_combinations. Can anyone please help how to link these ZX tax table to gl_code_combinations???
    Regards,
    Swapnil K.

    Resolved the issue.
    There is a table called ZX_ACCOUNTS. Use the column tax_account_ccid in it. Link ZX_ACCOUNTS.tax_account_entity_id to ZX_RATES_B.tax_rate_id.
    Regards,
    Swapnil K.

  • Linking PO and AP tables

    Hi Gurus,
    Please help me in linking PO and AP tables for scenarios like to get the fully/ partially invoiced PO receipts.
    Thanks in advance
    Avinash

    Hi, you can link AP and PO tables in this way: please consider for the AP side table AP_INVOICE_DISTRIBUTIONS_ALL, where you will find all Invoices' distributions. In this table there is a field called PO_DISTRIBUTION_ID that is the right link to PO.
    Hope this helps
    Regards
    Riccardo

  • Links associated with a table of names/ids

    Is there a better way to do this in faces?
    My page has a table of names, I wish to associate a modify/delete actions with each one, allowing the user to just click say the modify link on one and end up in a page to modify that entry. I ended up generate the links as something like:
    <table>
    <tr>
    <h:form>
    <input name="scoutId" type="hidden" value="${scoutBean.scoutId}"/>
    <h:commandLink action="#{scoutListActionBean.doModify}" value="Modify Scout"/>
    </h:form>
    </td>
    <td>
    <h:form>
    <input name="scoutId" type="hidden" value="${scoutBean.scoutId}"/>
    <h:commandLink action="#{scoutListActionBean.doRemove}" value="Remove Scout"/>
    </h:form>
    </tr>
    </table>
    Then in my action routine, I find the value associated with the request paramter "scoutId" to prepopulate the next modify/delete page.
    This seemed pretty clumsy to me, anybody got a better way?

    Yes. Try DBA_TRIGGER_COLS (or the USER, ALL variants)
    APC

  • How to link EKBE and MKPF tables

    HI all
    plz help me,
    how to link EKBE and MKPF tables
    thanks
    ramesh redddy

    HI,
    EKPO-EBELN =  EKKO-EBELN  has Purchase Documnet no.
    MSEG=MBLNR = MKPF-MBLNR  has material document no
    Link MSEG-EBELN =  EKPO-EBELN ( MSEG purchase prder no and EKPO purhcase document no.)
    and you should have to add one  more table MSEG which is provide three table.
    check this link
    EKPO-EBELN = EKKO-EBELN
    MSEG-EBELN =  EKPO-EBELN
    MSEG=MBLNR = MKPF-MBLNR
    regards,
    PK.

  • Is it possible to restrict changing records in customizing table in SM30?

    Hi.
    Is it somehow possible to set authorizations in a way, that a user could change only certain entries in a customizing table using SM30? What I want to achieve with this - we have an internationally used system, where consultants from different countries are working often on the same customizing tables and we would like to restrict tham to be able to change records only relevant for those countries, so they cannot change the records for other countries by mistake / on purpose. The records are usually identified by a certain "grouping" field (for instance MOLGA in table T511K or MOABW in T554S).
    So far I couldn't find anything apart from the S_TABU_DIS object, which is too rough for this requirement.
    Or maybe is there another way to achieve security in such a scenario?
    Thanks in advance for any ideas.

    Hi dusan,
    1. If u are talking about SM30 for standard table,
       then i don't think there is any such standard feature / facility,
       for restricting.
    2. If its our own Z Table, then we can go for events in table maintenance
      and write our code for same.
    3. But if such restrictions/validations are required,
       then its better to have a module pool for such thing.
      SM30 is for very simple and basic table maintenance.
    regards,
    amit m.

  • Restrict table maintenance for a Z Table in SM30 in Test systems

    Hello,
    I have 2 Z tables ZTAB1 & ZTAB2 which has table maintenance created. Both tables should be non modifiable in Test systems  but should be able to make entries in DEV system.
    This means any entry that needs to be present in PROD or TEST systems for these tables should be moved through transports from DEV only.
    The Tables are defined as follows:
    The Delivery Class in Both Tables is 'C' and both table. In the table maintenance screen, the authorization group for ZTAB1 is ZT1 & for ZTAB2 is ZT2. The Authorization object is  S_TABU_DIS for Both tables.
    ZTAB1 has 2 screens for maintenance and ZTAB2 has 1 screen for maintenance.
    The recording routine is "Standard recording routine" for both tables.
    The Problem is as follows:
    In TEST system, In SM30 for table ZTAB2, when I click Maintain I get an error message "Client XXX status is 'not modifiable' " which is correct. That means we cannot modify the entries for this table in TEST system.
    However for table ZTAB1, I am able to change the table entries through SM30.
    Could anyone suggest how to restrict for making entries in table ZTAB1 in SM30.
    I debugged SM30 for both tables & found that the SM30 program checks for an entry in OBJH table with the table name as OBJECTNAME and if the OBJCATEGORY in OBJH is equals 'CUST', it throws error message "Client XXX status is 'not modifiable' ".
    For the problematic table ZTAB1, the OBJH entry has 'APPL' and that is why we dont get the error message and the table entries are editable in SM30.
    (The transaction SOBJ can be used to changes OBJH entries. I haven't used this before. Not sure if I can use it to correct the problem.)
    Can anybody tell me how this OBJH gets populated when we create a Z table? 
    Could anyone suggest how to restrict for making entries in table ZTAB1 in SM30.
    Thanks,

    APPL stands for the Delivery Class A (Application Table)
    CUST stands for the Delivery Class C (Customizing Table) in table OBJH.
    It seems, the delivery class for the ZTAB1 has been changed from A (Application) to C(Customization). Try to delete the Table maintenance and regenerate it again.
    Regards,
    Naimesh Patel

  • Embed E-mail Link in ADF Bound Table?

    I've got a table on a JSP that includes an e-mail address. I'd like to put an e-mail link right in the table for the address, so the user can just click on it and launch their email. Is this possible? If so, what's the syntax? Nothing I've tried comes out right.

    Great idea, but unfortunately, it doesn't seem to work. It appears that the browser is not interpreting it correctly. Here's what I have in my SQL Statement:
    'Send E-Mail'
    When I run it, the application shows that text literally in the grid. If I view source from the browser, I see:
    <td>&lt;a href=&#034;mailto:[email protected]&#034;&gt;Send E-Mail&lt;/a&gt; </td>
    I've tried substituting in the SQL the ASCII characters (&#60; for example) and it just renders that as literal text too.
    Any other ideas?

  • Will values move if maintained in table maintainence sm30

    hi,
    i have one doubt , i have created a table maintainence sm30, and maintained some values, now if i moved it in to production, will values also move or i have to maintain values in productiona also,
    cheers,
    vijay

    It depends ,but most of the time we maintain data separately i mean system wise.
    You can maintain values in production by using SM30 Transaction.
    If your client needs transfer data from one system to other system,then you need to create transport request.
    Search in forum like " How to transport database records''
    Thanks
    Seshu

Maybe you are looking for