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

SE16

Former Member
0 Likes
1,778

Hi,

I create a tranasaction Z* to display table 'FEBKO' (SE16).

I want change BUKRS parameter to obligatory and put autority check

Any ideas to help

Thanks

15 REPLIES 15
Read only

Clemenss
Active Contributor
0 Likes
1,537

Hi,

create variant parameter transaction, give transaction authority to selected users, make desired field mandatory in transaction variant.

Read documentation.

Regards,

Clemens

Read only

Former Member
0 Likes
1,537

You can create a report to display table with standard se16 function, and implement control and correction in report execution.

Read only

0 Likes
1,537

Do you have an example?

I creat report and i use FM 'ZRS_TABLE_LIST_CREATE' but i can't modify parameter

Thx

Read only

0 Likes
1,537

Why didn't you use Clemens' suggestion? That's the proper way to control Z-table transactions and it's covered in the help files and has been discussed on the forum many times...

Read only

0 Likes
1,537

I agree with Brad Bohn.

The "standard" solution is better.

Read only

0 Likes
1,537

Ok but i want to check autority 'F_BKPF_BUK' after F8

How can i do?

Read only

0 Likes
1,537

Now you've changed the question and the corresponding answer...

Read only

Former Member
0 Likes
1,537

As Clemens said, this is what is done for standard transactions and you should follow that.

But if you are creating a custom transaction, I don't understand where's the issue. You can always make it mandatory.

Try the following things:

- If you have created a custom transaction and a se38 report as well, then use loop at screen and make the value mandatory. (This is what i've done to make many standard transactions like MI01 to make few fields mandatory using enhancements).

- For authorization, first you need to add the transaction to a role and use the 'Authority_check' FM in your code to confirm the role in your code.

Regards,

Santosh

Edited by: Santosh Verma on May 6, 2011 4:28 PM

Read only

0 Likes
1,537

This is my problem:

When i execute my specific t.code i display selection screen of table 'FEBKO'. The user clik on F8 he display content of table.

Me i want make parameter BUKRS obligatory and when the user put the value on BUKRS i excute check autority 'F_BKPF_BUK'.

Read only

0 Likes
1,537

The base authorization object for SE16 is S_TABU_DIS. The object is checked both before and after execute, but the only checks are against the activity and the authorization group if it's assigned in the DDIC. In this case, the auth group is 'FA' and the user must have authorization to view table recs in that group. You MIGHT be able to create a hack approach with BADI VIM_AE_BADI but it's not worth the hassle. You'd be better off with a custom approach as described but it would be better to just restrict the entire table via the standard object.

Read only

Former Member
0 Likes
1,537

Hey SIMO,

If that's the case, then you have to change your requirement. You have to discuss this with the functional owner.

You may have to create a custom report where you will list the burks as dropdown as first input, then set the parameter id for it. Once the bukrs is selected, use a container/docking container below the BUKRS field and display the se16 screen format for other fields (here BURKS will be set again from the value selected in dropdown).

It may not be the best way, and I do not have a system to provide some quick better solution but i believe, you may have to end up creating custom report as well.

Regards,

S. Verma

Read only

0 Likes
1,537

I creat custom program and i call FM 'ZRS_TABLE_LIST_CREATE' copy of 'RS_TABLE_LIST_CREATE' at the end of FM i use syntax:

p_seltab = p_bukrs (selection screen)

SUBMIT /1bcdwb/dbfebko USING SELECTION-SET 'SELBUKRS' VIA SELECTION-SCREEN WITH SELECTION-TABLE p_seltab AND RETURN.

It work but when i change field selection from SE16 the program dump

I think i must use User exit in SE16. I don't know if exist???

Read only

0 Likes
1,537

I think i must use User exit in SE16. I don't know if exist???

Then use a runtime analysis trace to find out , but I've already given you a reply about that...

Read only

0 Likes
1,537

BADI VIM_AE_BADI don't exist

Read only

0 Likes
1,537

Please check on SAP Note

Note 1381945 - SM30: View Maintenance Authorization Enhancement

On my case, i have to delete interface IF_EX_VIM_AE_BADI before creating classic badi VIM_AE_BADI.

Thanks