Application Development and Automation 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: 
Read only

How to create transaction code for maintenance view

Former Member
0 Likes
7,276

hai friends,

i hope every thing goes good.

i have doubt, how to create transaction code for maintenance view. I created view for tranperant table and now i want to create transaction code for the view.

i tried and i donot know the screen number and program name and where can i give the view name.

if any one know please post in details.

thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
2,917

hi,

proceed the following steps

Se93 -> enter some tcode - > Create - > Select Transaction with Parameters ( start object ) - >

Transaction = SM30 (set skip initial screen)

in the bottom select name of the screen field as view name

then select corresponding view name (value)

cheers,

sasi

I guess by maintenance view you mean Maintenance Dialog that you have created in SE54 or in SE11 -> Utilities -> Table Maint. generator.

After this you have to create a parameter transaction .

The transaction will be SM30.

Parameter will be

VIEWNAME -> <YOURTABLENAME>.

UPDATE -> X.

Just see transaction BD60 in SE93 for example.

Cheers.

7 REPLIES 7
Read only

former_member221770
Contributor
0 Likes
2,917

Hi Elam,

You need to create a "Parameter Transaction".

What this means is that you will have a transaction (let's call it "ZMAINT") which calls "SM30" and passes in your table name.

Go to transaction SE93 and enter your new transaction code. Enter in the Tcode description and choose "Transaction with Parameters" (it shouldbe the last radio button).

Enter in the default transaction "SM30" and tick the "Skip Initial Screen" check box. Hit Enter.

Now scroll to the bottom of the screen and you will see a Table Control where you will need to enter in the values to the SM30 selection screen.

Because you hit ENTER, the program will have loaded in the Selection Screen parameters into it's memory. Hit the drop down for "Name of Screen Field" and select "VIEWNAME" and then enter in your Z Table in the "Value" column.

Now go to the next line and hit the drop down and select "UPDATE" in the "Name of Screen Field". Enter in a "X" in the value column.

Now save the transaction and there you have it.

Hope this helps.

Cheers,

Pat.

PS. Kindly assign Reward Points to the posts you find helpful.

Read only

Former Member
2,917

I guess by maintenance view you mean Maintenance Dialog that you have created in SE54 or in SE11 -> Utilities -> Table Maint. generator.

After this you have to create a parameter transaction .

The transaction will be SM30.

Parameter will be

VIEWNAME -> <YOURTABLENAME>.

UPDATE -> X.

Just see transaction BD60 in SE93 for example.

Cheers.

Read only

andreas_mann3
Active Contributor
0 Likes
2,917

hi,

or use fm VIEW_MAINTENANCE_CALL

Andreas

Read only

Former Member
2,919

hi,

proceed the following steps

Se93 -> enter some tcode - > Create - > Select Transaction with Parameters ( start object ) - >

Transaction = SM30 (set skip initial screen)

in the bottom select name of the screen field as view name

then select corresponding view name (value)

cheers,

sasi

Read only

0 Likes
2,917

Hi

Even I have the same requirement

Message was edited by:

Madhu Sharma

Read only

Former Member
0 Likes
2,917

Use SE93

Transaction = SM30

Skip initial screen = 'X'

Default values

View name = < your view name>

update = X

*reward if helpful*

Read only

Former Member
0 Likes
2,917

Hi,

You need to create a Parameter transaction - In SE93 while creating the tcode, specify the last option (Transaction with Parameters or Parameter Transaction).

In the subsequent screen, under the Defaults block, specify the transaction as SM31 and select the check-box 'Skip initial screen'.

At the bottom of this screen, in the list you would specify the following-

Name of screen field -


Values

UPDATE -


X

VIEWNAME -


Name of your table

Save all these.

http://www.sap-img.com/abap/create-a-table-maintance-program-for-a-z-table.htm

Regards

Sudheer