Maintenance view of v/76

Hi gurus,
I have a couple of problems with maintenance view of the v/76. I have to make a z transaction of the v/76. I have made that. Here they want this description field of the view to be conditionally editable. Like if the level of the product hierarchy is within 3(less than three),then the description should not be changeable or the row should not be deletable.
How can this be done ?? There is another query too. I will post that separately.

This can be done in either of the two ways..
Use routines, on update or identify the development class and try to modify the screen under the development class.. by placing some conditions... usually for custom table maintenace it will not ask for access key.
regards,
Sairam

Similar Messages

  • Hiding a Maintenance View in a View Cluster

    Hello ABAP Experts,
    We have a scenario where we would like to hide a maintenance view to an existing view cluster based on condition.
    Is it possible via events of a view cluster, where i can hide the view at runtime based on some condition before the view cluster is displayed ?
    Is there any way as well, which help achieve this hiding of views ?
    For example in the below View Cluster, i would like to hide "Define object links" view from the main view cluster "Define document Types".
    Thanks,
    Naresh

    Hi Naresh,
    Yes, you can do it in events of a view cluster, define a subroutine and bounding it to event(02) in SE54,
    when you define the subroutine, it will ask you creat a mian program, in this main program, you need  'INCLUDE lsvcmcod'.
    Then you can access some standard data, http://help.sap.com/saphelp_nw04/helpdata/en/62/c302c7de8e11d1a5960000e82deaaa/frameset.htm
    INCLUDE lsvcmcod.
    FORM yourSubroutineName.
    DATA: viewname TYPE vclstruc-object,
            error_flag TYPE vcl_flag_type,
      viewname = 'ZTEST_VIEW1'.
    *  PERFORM vcl_set_table_access_for_obj USING    viewname
    *                                       CHANGING error_flag.
      ----> according your condition to change the view.
    IF xxx = yyy.
      DELETE vcl_struc_tab WHERE object = viewname.
    ENDIF.
    ENDFORM.
    regards,
    Archer

  • Possibility to edit datasets, when there is already a maintenance view?

    Hello again,
    is it right that I can modify datasets even when there exists a generated maintenance view for the table?
    It was usual for me, that in the transaction SE16 don't allow that.
    Thank you for your answers!
    Melanie

    Depends on the setting for "delivery and maintenance" in SE11, should be set to "allowed with restrictions" for the underlying tables of the view. Also check the very good F1 help for this field.
    Thomas

  • Can I use classes and methods for a maintenance view events?

    Hello experts,
    Instead of perform/form, can I instead use classes and methods, etc for a given maintenance view event, lets say for example I want to use event '01' which is before saving records in the database. Help would be greatly appreciated. Thanks a lot guys!

    Hi viraylab,
    1. The architecture provided by maintenance view
       for using EVENTS and our own code inside it -
       It is provided using FORM/PERFORM
       concept only.
    2. At this stage,we cannot use classes.
    3. However, inside the FORM routine,
       we can write what ever we want.
       We can aswell use any abap code, including
       classes and methods.
      (But this classes and methods won't have any
       effect on the EVENT provided by maintenance view)
    regards,
    amit m.

  • How to create a variant to a maintenance view (trans: SM31)

    Hi gurus.
    I have created a maintenance view (called z_jest). By running it from SM31 there is a variant option. However, I am not able to create the variant which I want to filter a selection upon in this transaction.
    I have even looked into transaction SE54 and created a variant for the maintenance table view there( called z_jestv). Then going back to transaction SM31 and view z_jest, i push 'Variant' radiobutton and type as variant: 'z_jestv', I only get the message: "Variant z_jestv for object z_jest does not exist".
    Can anybody please advice on how to create and/or connect the variant to the maintenance view?
    Regards LL.

    Hi Mahalakshmi
    Thanks for reply.
    When I look into the procedure, there is a prerequisite: "The basis dialog for which the maintenance variant is created already exists."
    I am a little bit unsertain if I miss this 'Basic dialog'. Can you please advice on how to check / create this 'basic dialog' before I go on to create the variant. (I need this 'basic dialog' as input in the procedure you sent.)
    (Note: I have already created a 'maintenance dialog' for the view, but I have a feeling, that is something different...)

  • How to create transaction for a maintenance view, Thank you.

    How to create transaction for a maintenance view,
    Thank you.
    deniz...

    Hi Deniz,
    Go to se93.
    Then create the new T.code.
    Under that select parameter Transaction.
    Then give the sm30 in the t.code in default values tab.
    check the checkbox skip initial screen.
    in classification tab.
    click checkbox inherit gui attributes..
    Now below..
    In the default values..
    select
    viewname and give ur table name.
    UPDATE= Xsave
    view - table name ( Should be upper case
    update X ( should be upper case).
    http://www.sap-basis-abap.com/sapbs011.htm
    Hope this helps you.
    Regards,
    Viveks

  • Using DYNP_VALUES_UPDATE with a Maintenance View

    Hi,
    I am using a maintenance view to insert values into a table. When user creates a new entry, based on the value provided for a field,I need to fill a read-only field. In PAI, when user enters a value for one field, I am using FM 'DYNP_GET_STEPL' to  get the current line and then DYNP_VALUES_UPDATE to fill the contents to the read-only field. But this does not seem to work. Any idea?
    Regards
    Rachana

    Hi Tamas,
    I tried both the options suggested by you.
    I am updating the underlying structure, still its not visible when the screen loads again. But if you see the same field gets filled with DYNP_VALUES_UPDATE if an F4 help is used for teh first(editable) field and then my read-only field is also filled in the PROCESS ON VALUE REQUEST module.
    So my guess is that, since it is a table control, it loops through the rest of the table control which is empty and my underlying structure gets cleared. So the problem could be where I am actually filling the field.
    Is it possible to somehow fill the <EXTRACT> table so that teh value is not lost?
    Regards
    Rachana

  • Read Only access for a Maintenance view

    Hi All,
    I have a requirement like this.
    There is a Z Maintenance View (namely ZVHR_GRD_TARGET), for this i have to maintain the status as Read Only, and have to create a transaction code for this view with only SE16 access.
    I am doing like this.
    In the Z view, in the tab "Maint. Status", i have selected the radio button "Read Only" and saved it.
    I have created a transaction code for this view with SE16 access with the inputs
    Transaction                                                           SE16
    Selected the check box "Skip Intial Screen"
    Selected the check box for GUI status
    Name of the Screenfield                                          DATABROWSE-TABLENAME
    value                                                                      ZVHR_GRD_TARGET (i.e, view name)
    But the transaction code is not executing.
    So can any help me out in the requirement
    Regards
    Srinivas Kodukula

    Anchorage,
    Please refer to the following link:
    Read Only Schema in Oracle APPS 11i
    http://oracle.anilpassi.com/read-only-schema-in-oracle-apps-11i.html
    You may also search this forum as the same topic was discussed here many times before.

  • How to use table maintenance view in module pool screen

    hi ,
    want to use table maintenance view in a module pool screen so that i can edit, insert, delete and update date in to the ztable.please help.

    You can simply call it via SM30.   Or you can call the table maintence view from any program(report or module pool) using a function module.
      call function 'VIEW_MAINTENANCE_CALL'
           exporting
                action                       = 'U'
                view_name                    = 'Z_Table_Name'
           exceptions
                client_reference             = 1
                foreign_lock                 = 2
                invalid_action               = 3
                no_clientindependent_auth    = 4
                no_database_function         = 5
                no_editor_function           = 6
                no_show_auth                 = 7
                no_tvdir_entry               = 8
                no_upd_auth                  = 9
                only_show_allowed            = 10
                system_failure               = 11
                unknown_field_in_dba_sellist = 12
                view_not_found               = 13
                others                       = 14.
    Regards,
    RIch Heilman

  • How to call a maintenance view  from a program

    Hello Abapers,
    Can anybody explain with some examples. How to call a mainetenance view from a program.
    Thanks
    Ranjith.

    Use FM 'VIEW_MAINTENANCE_CALL'.
    REPORT  zmaintaintest.
    VARIABLES / CONSTANTS                          
    CONSTANTS: 
                    c_action(1) TYPE c VALUE 'U',                                 "Update
              c_viewname TYPE tabname value 'ZEMP_EXAMPLE', "View Name
              c_field(6) TYPE c VALUE 'EMPNO'.                            "Field Name
    INTERNAL TABLES
    DATA: itab_rangetab TYPE STANDARD TABLE OF vimsellist,
              v_empno TYPE zempno,
              wa_rangetab TYPE vimsellist.
    SELECTION SCREEN
    PARAMETERS:     p_empno TYPE   zempno   OBLIGATORY.  "Emplyee ID
    AT SELECTION-SCREEN                                                 
    AT SELECTION-SCREEN.
    Chcking the existence of the user in EMPLOYEE table
      PERFORM validate_employee.
    START_OF_SELECTION                                                  
    START-OF-SELECTION.
    This will restrict the user view so that user can only view/change
    Table data corresponding to his/her Employee ID
      PERFORM define_limited_data_area.
    Displaying table maintenance view for a particular employee ID
      PERFORM call_view_maintenance.
    *&      Form validate_employee
    Validate plant entered in the selection screen
    FORM validate_employee.
      SELECT SINGLE empno     u201CEmployee ID
        FROM zemp_example     u201CEmployee Table
        INTO v_empno
        WHERE empno = p_empno.
      IF sy-subrc <> 0.
        MESSAGE 'Not an Valid User' TYPE 'I'.
      ENDIF.
    ENDFORM.                    "validate_employee
    *&      Form DEFINE_LIMITED_DATA_AREA
    To restrict the user view so that user can see/change table data
    corresponding to his employee ID. Here one internal table is
    getting populated with field name as u201CEMPNOu201D (Key field of the table)
    And value as given by user in Selection Screen and this is passed as
    Parameter in function module 'VIEW_MAINTENANCE_CALL'
    FORM define_limited_data_area.
      CLEAR wa_rangetab.
      wa_rangetab-viewfield  = c_field.
      wa_rangetab-operator  = 'EQ'.
      wa_rangetab-value       = p_empno.
      APPEND wa_rangetab TO itab_rangetab.
    ENDFORM.                    "define_limited_data_area
    *&      Form CALL_VIEW_MAINTENANCE.
    Displaying table maintenance view for a particular employee ID
    FORM call_view_maintenance.
      CALL FUNCTION 'VIEW_MAINTENANCE_CALL'      
        EXPORTING
          action           = c_action
          view_name   = c_viewname
        TABLES
          dba_sellist     = itab_rangetab.
    ENDFORM.                    "call_view_maintenance
    Regards,
    Joy.

  • Retrieve data from a maintenance view

    Hello,
    I created a specefic table.
    i want to add a check when deleting lines from a maintenance view.
    How to retrieve selected data ?
    thanks,
    Meriem.

    Hello Sudeesh,
    I think i must use extract table and Field Symbol <XMARK>.
    Can any body give an exemple.
    thanks,
    Meriem.

  • Unable to edit maintenance view in SM30

    hi everyone.
    need your help, I have one custom table, let's call it YTAB.  This table has several maintenance views created for it, depending on company code.  For YTAB, i have created a maintenance view YTABX. 
    When we moved YTABX to PRD, we cannot edit it in SM30.  The user ID has the right authorization.  The error message is "client 100 not modifiable".  When I try to edit the mother table YTAB in PRD, I am able to go in and do the changes.
    I have already compared the settings for YTABX with the other existing views, they are the same.  My settings for the view are:
    Access: Read, change, delete & insert
    Delivery Class: C
    In the table maintenance generator, i have a 2-step maintenance type, recording routine is Standard recording routine and compare flag is automatically adjustable. 
    Attributes for table YTAB also has delivery class C, table category is transparent table, table maintenance is allowed.
    Thank you in advance.

    Hello roch,
    the direction in which mark points is right but i think you should get some more information on the principles of table types and sap system landscape.
    Usually you should not be able to directly maintain any table. This is not only bad style but also a huge risk for the system consistency. That's why application data is always maintained via some kind of application which ensures that the data is vilidated before it is stored.
    Customizing data should only be maintained within a development system and then transported through the landscape. To maintain these table you can use generated views, customer developed maintenance views, view clusters which all include automatical link to the transport system. If you would maintain these tables directly in the productiion system it would have another configuration than the development and the quality/test system which makes them more or less useless as you can no longer make any serious test if the server configurations differ.
    To prohibit changes of customizing tables on production and test servers the admins lock the systems which results in the message you got. This setting is made in TCODE SCC4. Even if you have for any reason the authorization to use this transaction you should in no case change these settings without approval of basis / system owner. 
    Kind Regards
    Roman

  • Add button to a maintenance view

    I am working with maintenance views and user-defined events in maintenance views at the moment.
    Now I'd like to add a button to the maintenance view that will show a popup with recent changes to the selected line of the database table.
    Is that possible with user-defined events or should I modify the generated dynpros manually. But then, will the modifications be deleted if I will have to regenerate the maintenance view in the future (e.g. when I might add a field to the database table)?

    If you are talking SE54 and Maintenance Views, when I do an SM30 on the Maintenance View and do SYSTEM->STATUS, I see GUI STATUS ZULG on program SAPLSVIM.  If you look at that status, I see two buttons with dynamic text.  The first one is call GPRF and has dynamic text VIM_PR_STAT_TXT_CH.  You can find a suitable PBO event to set the text of that function code and if that works, find a suitable PAI event to respond to that function.
    I recall finding some documentation on customizing the GUI STATUS but no luck today trying to find it.
    Let us know how it goes.

  • Append table - Regenerating a maintenance view

    People,
    I would like to create one more fied in a standard table, so I will create an append in this table.
    But it has a maintenance view associated to it. As this is a standard table, is there a way to regenerate this maintenance including the new field ?
    Thanks a lot!

    I´m not sure the maintenance view is regenerated.
    This is a standard table and I don´t want to get an access key to solve this.
    Anyone here has this experience?

  • Issue on a maintenance view

    I want to fetch the data from a maintenance view: V_001_B.
    I used the select statement to retrieve the data.But, I got a message saying that "it's not a table or a database view or a projection view".
    Any body please help me, how to retrieve data from a maintenance view.

    these r the 3 tables which r connected to ur view - T882,T001,T001Z
    if u want data based on some join on these 3 tables then put a join in ur code on these 3 tables and then fetch ur record..if u want datra specific to one table only then u can directly select tht frm a single table..
    amit

  • Updates through a maintenance view

    Hi,
    I'm having difficulty with maintenance views. I thought it ws possible to construct a maintenance view consisting of two or more tables and be able to update non-key fields in any table, provided the tables were linked via FK and had suitable cardinality of C:1.
    However, this seems to be what I've found: you can only update non-key fields in the primary table. Although fields in the secondary tables appear as though you can update them (via SM30), any data changes you make are erased (as you look at it!) when you hit Save - the original value returns.
    Is my assessment correct? SAP Help is vague and ambiguous on the matter.
    Also, maybe someone could explain the cardinality requirements. SAP Help states the FKs must have N:1 cardinality, but as far as I can see it should be C:1.
    Thanks,
    T.

    Hello Tenchy
    You are talking about view clusters (SE54) where you have hierarchical linked tables that can be maintained together.
    Obviously, you cannot edit key fields of the primary table. Instead you need to use execute two operations:
    - DELETE entry
    - CREATE new entry
    It goes without saying that the same operations are propagated to the dependent entries in secondary tables.
    The cardinality between primary table and secondary table should be 1:N meaning
    - for each entry in the primary table you can have none or multiple entries in the secondary table
    - you cannot have secondary records for which the corresponding primary record does not exist
    Regards
      Uwe

Maybe you are looking for

  • Shortcut to close multiple folders in List View

    In the Finder, in list view, I have multiple folders open (using the triangle by the Folder name). I'd like to be able to close all the open folders at once. I know that holding Option while clicking the red Close button on a window will close multip

  • Message "iTunes could not sync contacts to iPhone because an error occurred while committing data"

    Hello all. I recently replaced the HD in my MacBook Pro. Just after, I retrieved my old files from the Time Machine backup, which I made just before the replacement. During the first sync of my iPhone via iTunes and while I was trying to sync my cont

  • PO date issue when scheduling replenishment

    Hello Guys, i'm currently experimenting an issue that i don't understand. when I try scheduling RWRPLPRO program (WRP1) with a timezone UTC+11 for my step user, the document date of my purchase order is the system date and not a user date. Is there s

  • SD process for service process

    hi what will be the SD flow for service process i.e i'm trying to create a service as a material ( for logistics service providers ).i need to do shipment. i have created a material as a service(material type - DIEN), and i have created a sales order

  • Dreamweaver Navigation Bar

    First off should I use the Insert>Image Objects>Navigation Bar option?  If so, is there a way to get text on top of the images that I use so that I dont have to use 20 different images?