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: 

SE16N selection screen for table maintainence

Former Member
0 Kudos

Hi Guys,

I have a requirement to design a selection screen like SE16N for a table maintenance for a custom table. I searched for this in SDN and got some links related to SE16 and not for SE16N.

Please reply me if you have worked on a similar requirement.

Thanks,

Meenu.

19 REPLIES 19

ThomasZloch
Active Contributor
0 Kudos

You can use SE16N for custom tables as well, plus there is the standard table maintenance generator via SE11 for table maintenance via SM30 or parameter transaction.

What could be a reason to design yet another tool like this?

Please provide more details.

Thomas

0 Kudos

Custom table can be only displayed in SE16N right ....data cannot be modified here. So they are asking for a selection screen like SE16N with maintanence propperties.

0 Kudos

Hi Meenu,

Try using function module SE16N_INTERFACE

Use the below parameters

I_TAB -> Your custom table name

I_EDIT -> X

Make sure to build proper authorizations and limit it only to your specific table, as any table name provided would go into EDIT mode.

Regards

Rajvansh

Edited by: Rajvansh Ravi on Jul 1, 2011 12:27 PM

0 Kudos

I am using this FM only and I am using custom selection screen. But this FM does not have a selection screen like SE16N. It directly takes you to output.

Thanks,

Meenu.

0 Kudos

SE16N can be used to modify custom Z-tables as well, if the settings made in SE11 tab "delivery and maintenance" allow it.

Thomas

0 Kudos

Hi Meenu,

Make the changes which Thomas has said.

And use the function module SE16N_START to get the selection screen as in SE16N. I tried with a new Z table and it works well

Regards

Rajvansh

0 Kudos

For me it is not working since they have applied the SAP note : 1420281 in my development system. This note says "the &SAP_EDIT function will be deactivated once this note is applied". Is there any other way....please let me know...

Thanks,

Meenu.

0 Kudos

Hi Meenu,

In one of my system the note is implemented and &SAP_EDIT does not work. But i am able to maintain entries in SE16N for custom table and through function module as well (Not sure why, but checking on this).

For your custom table check the below settings (Which Thomas already mentioned).

1. In SE11 for the table, under "Delivery and Maintenance" it should have value "Display/Maintenance allowed"

Regards

Rajvansh

0 Kudos

Yes....it is set to Display/Maintainence Allowed. Still not working.

0 Kudos

I am able to maintain entries using FM but not directly from SE16N transaction........but though FM selection screen is not coming like SE16N....it directly goes to output....

0 Kudos

Hi,

Have you tried function module SE16N_START ? It gives selection screen right .. Any issues with SE16N_START ?

Regards

Rajvansh

0 Kudos

Yes I tried this ...but this will not allow you to modify the entries......

0 Kudos

Hi Meenu,

For me it works.

When you execute from SE16N_START a screen same as in SE16N will be displayed

There is a checkbox "Maintain entries" . this needs to be selected. Otherwise it goes to display mode

Regards

Rajvansh

0 Kudos

This Maintain entries checkbox is disabled in my system....I think due to some settings....

Former Member
0 Kudos

The transaction code SE16N [report RK_SE16N] offers some options for table maintenance activities, if the corresponding authorizations are assigned as well.

first of all we have to understand how the table maintanence activity is executed.

when we call the transaction SE16N and enter the table name we want to maintain ,it either offer integrated maintanence functionality repersented by checkmark in check box or it doesnt offer this functionality automatically.

in the second case we use a different path to achive this we enter "&SAP_EDIT" to activate general maintanence functionality .

0 Kudos

hello,

use UASE16N tcode, program UA_SE16N_START. (it is only in newer versions of SAP). you could use it as example how to overcome your problem.

br,

dez_

0 Kudos

Hi all,

After

SAP Note 1473881 - Usage of transaction UASE16N

you can no longer do...I think the argumenthas becomea little chaotic !

Bye...

0 Kudos

Hi Meenu,

As suggested by  Rajvansh, I tried SE_START and was able to maintain the table. If yuo see there is a View Maintenance Tab which displays all the entries in the table. You can change the mode from DISPLAY to CHANGE and modify the existing table entries.

Thanks

Abhilasha Gupta

PeterJonker
Active Contributor
0 Kudos

Hi Meenu,

One option you have using the function module SE16N_START is to copy the function group to a zfunction group and copy the function module to ZSE16N_START and change the code of the function module as follows:

after statement   "gd-display = i_display."     add lines:

gd-sapedit = 'X'.
gd-edit = 'X'.

Or maybe you can achieve the same by enhancing the function module SE16N_START.

Regards,

Peter Jonker