Skip to Content
avatar image
Former Member

Tcode for table maintenance only in dispaly mode

Hi all

I have created tcode for the maintenance of a Z-Table as

Viewname  - given table name

show          -  'X'.

While executing the tcode , it is opening in display mode only but there is option for change/create entries also.

How to avoid change entries?


Thanks in advance

Regards

Neelima.

sm30.JPG (20.5 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

13 Answers

  • avatar image
    Former Member
    Oct 21, 2013 at 10:09 AM

    Hi Neelima,

    Please refer below threads.

    http://scn.sap.com/thread/229815

    http://scn.sap.com/thread/1354974

    Just for your information. We can always try below options in order.

            1) Try to read F1 help (most of the time small issues get solved here)

            2) Seek some help from team lead or peers

            3) Search on SCN (somebody already faced same issue and answered also)

            4) Google it out

            5) Post a question

    Cheers!!!

    Rahul

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Rahul

      Thanks for the suggestion.As i already done with all 4 options, opted for 5th option .

      In my case , for the same table maintainance generator i need create/change access to some users and display only to some users.

      So trying to create 2 different tcodes for the same purposes.

      For dispay transaction i need to restrict the change access.

      Regards

      Neelima

  • Oct 21, 2013 at 10:13 AM

    Hi Neelima,

    Try UPDATE = SPACE, while creating the Tcode.

    Thanks & Regards,

    -Vijay

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 22, 2013 at 10:35 AM

    Hi Neelem,

    In Delivery and Maintenance tab your table .

    select delivery class as 'G'.

    Regards,

    Hiriyappa

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 23, 2013 at 06:27 AM

    Hi all

    thanks for your inputs.

    Done with the help of basis though authorization group.

    Closing the thread.

    Regards

    Neelima.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Neelima, I Have seen ur thread recently. I got same requirement now.like below. create new custom tcode for standard table.  This tcode should display table . Could you please give solution for this. Regards Karthik

  • avatar image
    Former Member
    Oct 21, 2013 at 10:27 AM

    Hii Neelima,

    At the place of show change it to  UPDATE = 'X'.

    like shown below

    It will allow create and change of values in tmg maintenance

    regards

    Syed


    tmg.PNG (6.9 kB)
    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hii Neelima,

      U can acheive ur requirement through modification of maintenance of screen.

      go to TMG-->go to Environment-->modification-->maintenance screen

      A pop-up window will be appeared with ur screen no and description place the cursor on the description value and click ok.

      like below

      After clicking ok.

      below screen will be appeared click ok.

      After cliking ok u will be directed to below screen

      Go to element list

      and uncheck the input field of all field and checked the ouput only field of all.

      Thus u will get the entire field of ur tmg non editable i.e in display mode.

      After cliking new entries it will still in display mode.

      Here is the ouput

      Or

      else u can acheive this by creating a module in function group of tmg.

      Go to se80.

      double click on ur screen no. u will get the PBO and PAI of the screen.

      Now u can create a module in PBO and modify the screen like

      Loop at screen.

            if screen-name = <ur screen field name> .  -->u will get ur field name within chain and endchain.

                screen-input = 0.

           endif.

      modify screen.

      endloop.

      Cheers

      regards

      Syed

      tm1.PNG (41.9 kB)
      tm2.PNG (32.0 kB)
      tmgnew.PNG (81.4 kB)
      tm3.PNG (57.8 kB)
  • avatar image
    Former Member
    Oct 21, 2013 at 10:27 AM

    Hi Neelama.........

    1. Go to Tcode se93.

    2. Select ' Transaction with parameters'.

    3. Then Transaction SM30' with click on skip initial screen

          VIEWNAME : your table name

          UPDATE   : X

    Instead of using SHOW = X  use UPDATE = X, then you can maintain values in your table.

    Refer above screen shot....


    update.jpg (48.7 kB)
    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Neelima,

      Check the below screen shot. In this particular event 25 you can write authorization for individual.

      you can write event code in your tables maintenance generator.

      Regards,

      Rajesh

      Capture.JPG (87.4 kB)
  • avatar image
    Former Member
    Oct 21, 2013 at 11:02 AM

    Hi Neelima,

    "Tcode for table maintenance only in dispaly mode"

    The possible solution for this requirement is

    1.Create Miantenance View for Z-table(e.g. Table ZTESTT and Maintenance View name ZTESTT_M)

    2.Maintenane View of ZTESTT_M -->select  tab Maint.Status --> select radio button read only under box Access.

    3.Create Table Maintenance Generator for Maitenance view ZTESTT_M.

    4.Activate Maintenance View.

    5.Create Transaction Code for Maintenance View ZTESTT_M.

                     VIEWNAME  = ZTESTT_M

                     SHOW          =  'X'

    I hope this will gives solution for above requirement 😊.

    Regards,

    Somi Reddy Satti


    MV_ZTEST_M.png (17.1 kB)
    MV_TC.png (4.4 kB)
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 21, 2013 at 11:16 AM

    Hi Neelama,

    http://sap-abap-info.blogspot.in/2013/05/make-table-maintenance-display-only.html

    http://scn.sap.com/thread/1760509

    Check above links..May be useful to ur requirement

    Thanks,

    Srinivas.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 21, 2013 at 11:23 AM

    Hi neelima,

                    While creating tmg just use the maintenace status as read only , already mentioned by Somi Reddy Satti.

    Regards,

    Madhumahesh.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 21, 2013 at 11:44 AM

    Did you try to use Event ST: GUI Menu Main Program Name ?

    Regards,

    Raymond

    Add comment
    10|10000 characters needed characters exceeded