10-21-2013 10:59 AM
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.
10-21-2013 11: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
10-21-2013 11:56 AM
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
10-21-2013 11:13 AM
Hi Neelima,
Try UPDATE = SPACE, while creating the Tcode.
Thanks & Regards,
-Vijay
10-21-2013 11:29 AM
Hi Vihaykrishna,
Try with table maintenance events to HIDE change button.
Regards,
Rajesh
10-21-2013 11:33 AM
Hi Rajesh,
If I understood this query correctly, here Former Member wants the view in GRAY DISPLAY Mode. So, how can we make gray mode through events in TMG?
Regards,
- Vijay
10-21-2013 11:47 AM
Hi Vijay
I tried with this option UPDATE = SPACE
too. But no use.
Regards
Neelima
10-21-2013 11: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
10-21-2013 11:42 AM
Hi Syed
I need to avoid change and create entries allowing only display mode.
Regards
neelima
10-21-2013 1:07 PM
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
10-21-2013 11: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....
10-21-2013 11:46 AM
Hi all
Please understand my query.
I dont want to create/change entries. Only display needed.
Regards
Neelima.
10-21-2013 12:03 PM
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
10-21-2013 12:02 PM
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
09-21-2022 11:35 AM
10-21-2013 12:16 PM
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.
10-21-2013 12:23 PM
Hi neelima,
While creating tmg just use the maintenace status as read only , already mentioned by Somi Reddy Satti.
Regards,
Madhumahesh.
10-21-2013 12:44 PM
10-21-2013 12:56 PM
Raymond Giuseppi wrote:
Did you try to use Event ST: GUI Menu Main Program Name ?
Isn't it easier to create a Maint. View & set the access as "read-only"?
Shouldn't we K.I.S.S
- Suhas
10-21-2013 1:45 PM
10-21-2013 1:10 PM
Hi Neelima,
In the PBO of your TMG you can check for the t-code and code accordingly by using LOOP AT SCREEN.
Hope this helps..
Regards,
Santanu.
10-21-2013 1:59 PM
Hi Neelima,
My suggestion when you are creating the Table maintain generator for the table in the mean time you are given a Function Group Name go to it and find the Screen Number your are give for the screens and go to Flow logic of it and Go to PBO Event and if SY-UNAME EQ 'Display USER' then Set the PF-Status to with out the EDIT/Create Buttton else you can what every you want.
Note : for that you need to create two PF Status.
Thanks
Sudhakar
10-22-2013 11:35 AM
Hi Neelem,
In Delivery and Maintenance tab your table .
select delivery class as 'G'.
Regards,
Hiriyappa
10-23-2013 7:27 AM
Hi all
thanks for your inputs.
Done with the help of basis though authorization group.
Closing the thread.
Regards
Neelima.
01-13-2014 7:11 AM
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
10-23-2013 1:54 PM
As u need table entries in display mode only, create database view of table.
And Create t-code using parameterized transaction of SE16.