Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Customed maintenance view and assign T-Code

Former Member
0 Kudos

Hello SAP exports,

I have one question needs your help!

We do not want the end users to maintenance V_T008 table directly by using SM30 in PRD.

Therefore, I copy V_T008 view and create a custom view ZV_T008 by using SE11.

The purpose is to create a maintenance view (ZV_T008) and assign a new T-Code in order to let user allows to maintenace ONLY in V_T001C table in PRD without using SM30.

Is above the solution workable?

I know how to assign a program to a new T-Code by using T-Code SE93.

But, I do not know how to assign a maintenance view (ZV_T008) to a new T-Code.

Please help.

Thank you.

Regards,

Sylvia Chen

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hai,

1.Goto se93, enter the tcode and click on create

2. Enter the short text and select transaction with parameters option and click on continue.

3.Enter transaction SM30 in transaction input field , check the skip initial screen check box give default values "Viewname" as name of screen field and "view name" as its value and give another record "update" as name of screen filed and "X" as its value and Click on save then tcode is created for the table. We can enter the data by using the tcode.

11 REPLIES 11

mithun_shetty4
Contributor
0 Kudos

Create a TCODE with SE93

Select u201CTransaction with parameters (Parameter transaction)u201D

Transaction SM30

Check Skip Initial Screen

In in default Values

Name of scren Field Value

VIEWNAME -- ZV_T008 <--Ur view

UPDATE -- - X

Former Member
0 Kudos

Hi ,

use the below link to assign a T code for the Customized view,

Explained in a very easy way.

[http://naveenvishal.wordpress.com/2009/07/17/assign-a-t-code-to-maintenance-view/]

B&R,

Saravana.S

Former Member
0 Kudos

Hai,

1.Goto se93, enter the tcode and click on create

2. Enter the short text and select transaction with parameters option and click on continue.

3.Enter transaction SM30 in transaction input field , check the skip initial screen check box give default values "Viewname" as name of screen field and "view name" as its value and give another record "update" as name of screen filed and "X" as its value and Click on save then tcode is created for the table. We can enter the data by using the tcode.

0 Kudos

Hi,

Go to transaction SE93.

Enter the transaction code and click create.

Select transaction with parameters.

In the default view enter

view_name - name_of_view

update - X

Former Member
0 Kudos

Great thanks for your support.

But, I still can not perform the requirement successfully.

Because when I run the T-Code, SAP still displays SM30 screen first.

I think that I did not create a maintenance view successfully.

Can you please tell me how to create a maintenance view (by using SE11?)

Regards,

Sylvia Chen

0 Kudos

Did u check the skip initial screen ?

There is a check box just below the Transaction code field

screens for the same is here in this link.

http://wiki.sdn.sap.com/wiki/display/Snippets/CreateTransactionCodefora+View

0 Kudos

Hi,

Goto se93 to create a tcode .Give any name click on create inside give transaction name as SM30 and check the skip initial screen.

Bottom of page pass Default values as

Name of the screen field Value

Viewname view name which you created eg zview

Update X

hope this will be helpful.

Regards,

G.Aditya

Former Member
0 Kudos

Great thanks for the tips!

Now I can run T-Code and SAP display the data table immediately.

I can modify the data table directly without using SM30.

This is great!

Two more things need to solve.

Can SAP only show one of the record of the data table?

There are 10 records in the data table.

The user ONLY needs to modify one record when the ZV_T008-ZAHLS = "K".

The other thing needs to solve is following:

when user inputs T-Code, SAP display the data table immediately.

But, the description field (ZV_T008-TEXTL) is able to modify.

How can I make this field become not able to modify?

If you can provide the above solution, it will make me a very Merry Christmas!

Regards,

Sylvia Chen

0 Kudos

There is something called as events

u can find under environment ->Modification->event

Here u can write a subroutine at a particular event.

for screen modification (hiding a field) environment ->Modification->maintainence screens.

do the same as u do in a module pool

here's an example for you

http://wiki.sdn.sap.com/wiki/display/ABAP/TABLEMAINTENANCEGENERATORandITS+EVENTS

Former Member
0 Kudos

Hi,

Check the below link to create TCODE.

<link to blocked site removed by moderator>

Jshree

Edited by: Thomas Zloch on Dec 17, 2011 10:57 PM

Former Member
0 Kudos

Great thanks for the information.

I will perform testing later!

Merry Chrimas!!

cheers,

Sylvia Chen