Table/view maintenance

Hi all i had created a table and im doing some work in sm30.i had two fields in the table for which i can enter vaues in sm30.now my requirement is when i select filed1 i.e company id the next field should get the coresponding value.PLZ HELP ME OUT.

Can you please give more details?
Let us say you have company code and company code description as your table fields.
So you want to fill the company code description field, when the user enters a certain company code in the first field. You will determine how to pull this description based on some logic. Am I correct?
So are you going to prevent the user from entering anything in the second field?
Are you going to display the value immediately after user enters something in the first field or will you wait until the user saves the data?
Will you allow the user to change this second field value?
Table Maintenance Events(SE54) will help you but we need to know more details before making a statement that you can do it with custom program.
Srinivas

Similar Messages

  • Changes and Logical Delete in View Maintenance

    Hi everybody.
    I've defined a table view maintenance V_TABLE for T_TABLE, with five fields. One of them is defined as 'R' (not editable field).
    I defined an event 05 and an event 02 (for create and save) where I move SY-DATUM to the CREATED_DATE or UPDATE_DATE fields depending on it is a new record or a modification.
    But if I modify several records only one is updated.
    Besides, if the action is "delete" in the view maintenance, it must be a logical delete and move an 'X' to one of the editable fields.
    Can you help me please ?
    I can't see the action for each record in global tables.
    Event f_save  ( 02 )
      IF t_table-created_date IS INITIAL.
        t_table-created_date = sy-datum.
      ELSE.
        t_table-last_upd_date = sy-datum.
      ENDIF.
      MODIFY t_table.
    Event f_new_entry ( 05 )
      t_table-created_date = sy-datum.
    Thanks in advance,
    Liliana.

    Hello Karol, thank you for your answer.
    Now, when  I create new entries and select modify, hidden fields are updated.
    But when I select the delete option, it must be a logical delete, not physical. I must update one field with an 'X', but not delete. Can you help me with this ?
    Below is the include up now.
    FORM f_delete
    TYPES: BEGIN OF t_data.
    INCLUDE STRUCTURE /tenr/t_ppintwc.
    TYPES: action,
    END OF t_data.
    DATA: ls_total   TYPE t_data.
    DATA: lt_total   TYPE TABLE OF t_data.
    DATA: ls_extract TYPE t_data.
    DATA: lt_extract TYPE TABLE OF t_data.
    * get data from table maintenance
    lt_total[] = total[].
    lt_extract[] = extract[].
    LOOP AT lt_total INTO ls_total WHERE action = 'D'.
    IF sy-datum BETWEEN ls_total-begda AND ls_total-endda.
    ls_total-endda = sy-datum.
    IF ls_total-created_date IS INITIAL.
    ls_total-created_date = sy-datum.
    ls_total-created_time = sy-uzeit.
    ls_total-created_by = sy-uname.
    ELSE.
    ls_total-last_upd_date = sy-datum.
    ls_total-last_upd_time = sy-uzeit.
    ls_total-last_upd_by = sy-uname.
    ENDIF.
    ENDIF.
    IF sy-datum < ls_total-begda.
    ls_total-endda = ls_total-begda.
    IF ls_total-created_date IS INITIAL.
    ls_total-created_date = sy-datum.
    ls_total-created_time = sy-uzeit.
    ls_total-created_by = sy-uname.
    ELSE.
    ls_total-last_upd_date = sy-datum.
    ls_total-last_upd_time = sy-uzeit.
    ls_total-last_upd_by = sy-uname.
    ENDIF.
    ENDIF.
    MODIFY lt_total FROM ls_total.
    total[] = lt_total[].
    append ls_total to lt_extract.
    extract[] = lt_extract[].
    ENDLOOP.
    ENDFORM.                    " F_DELETE
    Thanks in advance.
    Liliana.
    Code Formatted by: Alvaro Tejada Galindo on Jan 4, 2010 3:12 PM

  • How to add button to view maintenance.

    Hi,
    I have a table view maintenance (accessing by sm30) an I need to add "Filter Button" and other buttons if is possible.
    How can I do this??
    Thanks.

    Hi,
    In table Maintenance generator, u have the scree no. double click on that. then in the status put buttons according to ur requitrement.
    Regards,
    Renjith Michael.

  • Problem regarding updation of Z-table through maintenance view

    hi ,
    I m facing problem in updation of Z-table through maintenance view (SM30).
    The scenario is that I have one customizing field in my Z-table which is checkbox.
    Now I need to populate 2 fields in Z-table on tick of this checkbox and clicking of SAVE button.
    For this I have created one module  ''change_field''  in PAI.
    Actually my database table is being updated but as soon as the control left my module all the updation that take place vanishes away.....
    So please help me in this matter.

    Thanks for ur previous effort it is updating the database but its effect is not shown immediately on screen.After i referesh the transaction it is dispalying the data.
    So can u please suggest me any way....
    Now i have one scenario infront of me....
    I need to restrict the data shown in maintenance view.
    I think it would be same as pop-up window displayed when we tick on 2nd radiobutton ("ENTER CONDITIONS")
    of intial screen of t-code SM30.
    Please suggest what shud i do....
    Thanks and reagrds,
    Amit
    Edited by: amit gupta on Jul 18, 2008 1:35 PM

  • How to find function modules used in maintenance table views

    Hi,
    How do I find the function modules used in maintenance table views?
    I'm using SM30 and trying to open the custom table but there is an error message saying CREATE DATA PROCESSING FUNCTION MODULE.
    Thanks.
    Kath

    hi
    in se80 select functon group and put your table function group name there and click display. it will show you the function modules used for that tables.
    Regards
    Madhu

  • How to create variant for table/view ?

    Hi,
    When I go through SM30, I find a radio button called variant. I don't know the effect.
    Can anyone tell me how to create variant for table / view ?
    I want to know when we need to create variant for table/view.
    Best regards,
    Chris Gu

    hi ,
    Whenever you start a program in which selection screens are defined, the system displays a set of input fields for database-specific and program-specific selections. To select a certain set of data, you enter an appropriate range of values.
    For further information about selection screens, refer to Selection Screens in the ABAP User's Guide.
    If you often run the same program with the same set of selections (for example, to create a monthly statistical report), you can save the values in a selection set called a variant
    Procedure
    To create a new variant:
           1.      On the ABAP Editor initial screen, enter the name of the program for which you want to create a variant, select Variants, and choose Change.
           2.      On the variant maintenance initial screen, enter the name of the variant to be created.
    Note the naming convention for variants (see below).
           3.      Choose Create.
    If the program has more than one selection screen, a dialog box for screen assignment appears. The dialog box does not appear if the program only has one selection screen. The selection screen appears in this case.
           4.      If there is more than one selection screen, select the screens for which you want to create the variant
    5.      Choose Continue.
    The (first) selection screen for the report appears.
    If your program has more than one selection screen, use the scroll buttons in the left-hand corner of the application toolbar to navigate between them and to fill the fields with values. If you keep scrolling forwards, the Continue button appears on the last selection screen.
           6.      Enter the desired selection values, including multiple selection and dynamic selection.
           7.      Choose Continue.

  • Edit Problem after changing and transporting a table view

    Hallo Experts,
    I hope you can help me.
    I changed a Z-table in the Data Dictionary. For this table there exists an Tableview.
    After I added three new fields I generate a new tableview:
    Utilities -> table maintenance generator
    Change -> create maintenance screen -> ok
    after this I optimized the layout of the screen.
    On our Enviromentsystem my Tableview works perfect.
    I can make changes in the table.
    Then I transported the new tableview to our testsystem.
    There I started the sm30 "Maintain table view" and tried to change table entries.
    After a click on "Maintain" the following Message appears:
    TK 730 Changes to Repository or cross-client Customizing are not permitted.
    The strangest thing is, that before my transport, it worked, I could change table entries.
    There were no changes on the userrights.
    And I can change a similar table on the testsystem.
    I compared the properties of both tables. But I could not find a difference.
    Have anybody an idea where the error can be?

    Hi
    Caution: The table is cross-client
    Message no. TB113
    Diagnosis
    You are in the process of maintaining a cross-client table. You are using the standard table maintenance screen here, which is frequently used to maintain client-specific Customizing entries. This message serves to warn you that each change you make will have an effect on all other clients in the system.
    System response
    You have the authorization required for cross-client maintenance.
    Procedure
    Think carefully about the effect of your changes. Due to logical dependencies between client-specific Customizing and applications data on the one hand and cross-client Customizing data on the other hand, changing or deleting cross-client data could result in inconsistencies.
    Therefore such changes should be carefully planned and coordinated, taking all the clients in the system into consideration.

  • Multi layer table view/navigation controller hierarchy best practice

    Hi,
    I am new to iPad/iPhone development and wondering what the best practice for multiple layers of table views is? I understand the principle of a navigation controller providing the framework for moving up and down a list but have not yet quite got my head around if you should have one navigation controller for the whole tree or several navigation controllers.
    In my app I need to have the following:
    Main view -> window view showing some interactive elements (picker, buttons etc.)
    Setup view -> Hierarchy managed by nav controller/table views
    The setup view needs to manage the following hierarchy...
    - Level A:
    - Global app variables (one table view)
    - Level B Items (table view showing list of items at belonging to Level B)
    - Level B Item 1 (table view showing list of items at level C belonging to level B item 1)
    - Level C Item 1 (table view showing list of items at level D belonging to level C item 1)
    - Level D Item 1 (table view showing list of items at level E belonging to level D item 1)
    - Level E item (table view for properties of item at Level E)
    - Level D Item n
    - Level C Item n
    - Level B Item n
    Each level in this has some properties and then a list of child items.
    What would be the best way of structuring this? I would assume that creating a class that extends a view controller for each level is a given but what about the control of the navigation? Should this be handled by one navigation controller or one per level? I think I know the right answer but have not seen a neat way of implementing
    I think I am also best off having each level in it's own xib but, once again, am not 100% sure that this is the best design pattern.
    Many thanks in advance for any help/pointers!
    Cheers
    jez

    Hi Julian,
    I have struggled with the same questions you are addressing. On a previous project we tried to model based on packages, but during the course of the project we encountered some problems that grew overtime. The main problems were:
    1. It is hard to enforce rules on package assignments
    2. With multiple developers on the project and limited time we didn't have time to review package assignment
    3. Devopelers would click away warnings that an object was already part of another project and just continue
    4. After go-live the maintenance partner didn't care.
    So, my experience is is that it is a nice feature, but only from a high level design point of view. In real life it will get messy and above all, it doesn't add much value to the development. On my neew assignment we are just working with packages based on functional area and that works just fine.
    Roy

  • Reg:View Maintenance

    Hi Abapers,
    One new field is being added to a joining table and view during upgrade activity.. I have accepted these changes to both joining table and view.. generated table maintenance successfully.. When i'm trying to delete the existing maintenance for view to re-generate again, i'm getting below error: J_1GSL_CTRL_V maintenance interface cannot
    deleted because of IMG link
    Can someone please help me as how to regenerate this view maintenance...
    Thanks & Regards,
    Padmasri.

    You don't have to delete your maintenance - just go into change mode and select 'Create Modules' 'Create maintenance screen' and 'New field/sec.table in structure'.
    On the next popup select the screens you would like to have regenerated and select if you added key fields or secondary fields.
    That should do it.
    The other option would be to remove the link from IMG - delete and regenerate the view maintenance - and put the link back into IMG.
    Hope that helps,
    Michael

  • Problem with maintain table views SM30 Transaction

    Hello All,
    i have a problem with the table maintenance view SM30, it doesn't permit me to modify the rows in the table.
    we have added a field into the table and when i tried to change the table view from menu: Utilities ==> table maintenance generator==> change the system propose me a message that the screen 0001 will be deleted and recreated...but the system has deleted the screen and doesn't recreate it...in somewehere on internet we find that we should use the transaction SE55 menu:
    Environment==> modification ==> Maintenance screen ==> button Layout which open the tool Screen Painter and from that we have created our screen with 4 fields of our table...our result that the screen is created and i can see it from the SM30 transaction but i can't insert rows in the table...when i try to go to maintain table: menu: Utilities ==> Table maintenance generator to try if i can modify something the system give me a message: "set the compare flag dialog ZIV_DP_PLCHAR_LA"
    the ZIV_DP_PLCHAR_LA is the name of my table...
    can you give me some advices please how should i do to fix this problem to insert rows in table throughout the transaction
    SM30 "maintain table views: initial screen"
    if i want to delete the screen from the SE55 transaction to recreate it newly what should i do to take care about some options
    to have a new screen?
    thanks for all
    Bilal

    Hi
    First delete the old table maintainence generator.
    Now Recreate the screen and your table is good to go..
    These error messages come when we add new fields and different version of the table maintainence generator in database.

  • Table for maintenance plan and maintenance cycle and Unit

    Hello,
    I need to know the table where the values are stored for maintenance plan, maintenance cycle and Unit.
    I know that we can get the maintenance cycle and unit from MMPT table.
    Question 1
    If the maintenance plan has only a single cycle then the data is stored in above table MMPT, but if a maintenance plan has mutiple cycles like 1 maintenance plan has maintenance cycle as 364 Days and 1092 days then the data is not stored in MMPt table.
    Question 2
    Requirement is I need to develop a report where in I need maintenance order, maintenance plan and the relevant maintenance cycle and unit. Supose an maintenance order is created for the above maintenance plan which has 2 maintenance cycle how can I identify for which maintenance cycle the order is created.
    Regards,
    Narendra

    Hi,
    Please review PM tables
    PM/SM/SD Tables
    MPOS                       Maintenance Items
    AFAB     Network - Relationships
    PLKO     Task list
    PLAS
    AFFH     Operations
    PRT assignment data for the work order
    AFFL     Work order sequence
    AFFT     Order process instructions
    AFFV     Order process instruction values
    AFFW     Goods movements with errors from confirmations
    AFIH     Maintenance order header
    AFKO     Order header data PP orders
    AFPO     Order item
    AFRC     Table of planned changes to conf.: Automatic goods receipt
    AFRD     Default values for collective confirmation
    AFRH     Header information for confirmation pool
    AFRU     Order completion confirmations
    AFRV     Pool of confirmations
    AFVC     Operation within an order
    AFVU     DB structure of the user fields of the operation
    AFVV     DB structure of the quantities/dates/values in the operation
    MPOS     Maintenance ITEM
    AFWI     Subsequently posted goods movements for confirmations
    AUFK     Order master data
    AUFM     Goods movement for order
    MPLA     Maintenance Plans
    BGMK     Master warranty header
    BGMP     Master warranty item
    BGMS     Text item master warranty
    BGMT     Master warranty text
    BGMZ     Warranty counter information
    CRHD     Work Center Header
    CRTX     Text for the Work Center or Production Resource/Tool
    EQKT     Equipment short texts
    EQST     Equipment link to BOM
    EQUI     Equipment master data
    EQUZ     Equipment time segment
    HIKO     Order master data history
    IFLO     Functional Location (View)
    IFLOT     Functional location (TABLE)
    IFLOTX     Functional location: Short texts
    IHGNS     Plant maintenance permit segment
    IHPA     Plant Maintenance: Partners
    IHSG     Object-related permits in Plant Maintenance
    ILOA     PM object location and account assignment
    IMPTT     Measuring point (table)
    IMRG     Measurement document
    KAKO     Capacity Header Segment
    KONP     Conditions (Item)
    KONV     Conditions (Procedure Data)
    OBJK     Plant Maintenance Object List
    QMEL     Quality notification
    QMFE     Quality notification - items
    QMIH     Quality message - maintenance data excerpt
    QMMA     Quality notification - activities
    QMSM     Notification - Tasks
    QMUR     Quality notification - causes
    STPOA     Name is does not have an A at the end; BOM items
    T001     Company Codes
    T001L     Storage Locations
    T001W     Plants
    T077D     Customer account groups
    T003O     Order Types
    T352R     Maintenance revisions
    T353I_T     Maintenance activity type description
    T356     Priorities
    T357G     Permits
    T357G_T     Table 357G texts
    T370A     Activity category for PM lists
    TINCT     Customers: Incoterms: Texts
    TVKO     Organizational Unit: Sales Organizations
    TVKOS     Organizational Unit: Divisions per Sales Organization
    TVKOV     Org. Unit: Distribution Channels per Sales Organization
    TVTA     Organizational Unit: Sales Area(s)
    VIAUFKST     Order selection view
    MMPT Cycle detail
    Regards
    Carlos

  • Data Type with reference and view maintenance

    Dear all,
    There are two questions that I want to ask.
    1.     Error when referencing a table with data type = u2018STRINGu2019.
    I have a Z table with some fields = u2018stringu2019, when I use this as a reference, an error prompted.
    "ZTBL_ABC" must be a flat structure. You cannot use internal
    tables, strings, references, or structures as components.-
    2.     Error in generating the View maintenance for field length > 255.
    Actually, I want to create fields with
    1.     data type = char(255),
    2.     data type = text
    3.     data type = char(3000)
    It is okay if I create the field with the selected size, however, when I generate the View maintenance (which can be access through SM30); it does not allow me to do so. It still not working if I change it into string. How can I create such table and use the table maintenance, as well as using that as the reference type of an internal table for another program?
    Regards,
    Mandy Au

    Hello,
    1st of all a table which has a field of type string can be converted in to table maintenance because TM does not support string type as it becomes a very big field to be displayed on screen ... so u need to change that.
    and then about the CHAR of length 3000 is too big ... to have a max limit of 255.
    If you change this both u will be able to generate TM.
    Incase after changing the field length it it gives error in activatin your table then go to SE14 put your table name EDIT and then Adjust n activate it....
    hope this was helpful
    --- Close the post once you get the solution

  • Creation of table,views etc

    Hi All,
    I want step by step procedure to create table views etc etc.Can u please get back to me in detail procedure.
    Thanks and Regards,
    Jaya.

    <b>Procedure to create a table.</b>
    <b>The path</b>
    Tools ABAP Workbench Development Dictionary or Transaction SE11 takes you to
    the overview screen of the ABAP Dictionary.
    2-1-1 To create table ZEMPLOYxx:
    1) Mark Database table and enter table name ZEMPLOYxx in the corresponding
    input field.
    2) Choose Create.
    3) Enter a short text in the maintenance screen for the table.
    4) Choose delivery class A and mark Table maintenance allowed.
    5) Now click on tab page Fields to go to the maintenance screen for the field
    definitions. Enter the field names there (they need not lie in the customer
    namespace).
    6) Use the given data elements for fields Client, Carrier, First name, Last name
    and Currency by entering the names of the data elements in column Field
    type. Save your entries.
    7) Create your own data elements for fields Personnel number, Department code,
    Area and Salary. Enter a name (Z<object>xx) for the data element in column
    Field type. Double-click on the name of the data element. The data element
    definition appears.
    8) Enter a short text (component of the F1 help). Now click on tab page Field
    label and store the texts for the field labels there.
    9) You also have to assign the data element a technical description (domain).
    Click on tab page Definition and enter a name (Z<object>xx) for your domain
    there. If the domain is predefined, activate the data element and return to the
    maintenance screen for the table fields (F3 or ).. Otherwise double-click on
    the domain name. The domain definition appears.
    10) Define the short description, data type (for example NUMC) and number of
    characters (for example 10) there. Activate the domain.
    11) Navigate back one screen (F3 or ) to the data element definition and
    activate your data element.
    12) Navigate back one more screen to the field definition. Start again there with 7)
    until all the table fields are defined. Save your table.
    13) Define the reference table and reference field for the salary field. Double-click
    on the field name and enter the following in the next dialog box:
    Reference table:
    ZEMPLOYxx
    Reference field: Currency
    14) Define the key fields for table ZEMPLOYxx. Fields Client, Carrier and
    Personnel number uniquely identify an entry. They must therefore be marked
    as key fields. You can do this by marking the Key column following the field
    name. The key fields must be at the beginning of the field list in this order.
    15) Activate the table. The maintenance screen for the technical settings appears
    automatically:
    Since the contents of table ZEMPLOYxx do not change frequently, you must
    choose data class APPL0 (master data). The expected number of records in
    table ZEMPLOYxx is 60,000, so you must choose size category 2. The table should not be either buffered or logged.
    Save the technical settings. Go back to the maintenance screen of the table (F3 or ). The table is activated.
    <b>Hope this is helpful, Do reward.</b>

  • Creating table view with text descriptions

    Hello everyone,
    I need to create a table view to a table ZMATERIAL (example) that needs to enter MATNR and MAKTX. But when i insert the material number and press enter, the view should automatically search the text description MAKTX of that material on it's respective table.
    How can i do this ?
                 Thank you,
                     Nuno

    Hello Nuno
    Most likely my variant works only for a single material number. In this case you have to use table maintenance events:
    <a href="http://help.sap.com/saphelp_47x200/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/content.htm">Extended Table Maintenance Events</a>
    Probably you have to use two or three events:
    <b>- Event AA: Instead of the Standard Data Read Routine</b> (Here you read to material texts for both possible materials per record)
    <b>- Event 05: When Creating a New Entry</b>
    <b>- Event 08: After Correcting the Contents of a Selected Field</b> (when the user changes the second material number)
    Regards
      Uwe

  • Dynamically Hiding Column in a Table View in VC Model

    How to dynamacally hide the columns in a table view in a VC model. Through the expression in Control Property, Form element/field or table view as a whole can be made hidden, however, the individual column can not seem to be hidden.
    I am using VC server version 700.8.0.1.
    Any help would be much appreciated.
    Kind Regards
    Sanjoy

    In this scenario, if the source is SAP BI, you can use the webapi commands. If not, you would have to have 2 separate tables in different layers and you can show and hide those layers or UI elements...

Maybe you are looking for

  • Animated GIF in WPf

    Hello, how do i add an animated GIF into a frame in a WPF application and only show it when i press a button

  • How can I get a list of available shared variables from my device?

    I have to develop a program to connect to many OPC ready devices.  I don't have these devices yet but I have setup two PCs.  One is simulating a device.  Does anyone know how to read a list of the available shared variables on a device or on another

  • Optimize Scanned PDF Options

    Hi I am scanning large A1 documents as colour PDFs and I need to reduce the filesize and also clean up the image by removing all the background noise in the image but keeping the detail. I used the optimize pdf function on the old version of Acrobat

  • Duplicate Genius Mixes in iTunes 10.4

    I have just re-synced my music from iTunes to my iPhone and have noticed that iTunes has now created a number of the same type of Genius Mixes. I dont really need to have 3 mix playlists of Jazz... I tried to delete the ones that I didnt work, howeve

  • Tabs in the form

    I have a question. In a table if the data is stored as 3 tabs, 4 tabs etc can we create tab forms dynamically based on the data in the database?