cancel
Showing results for 
Search instead for 
Did you mean: 

Authorization Check for Business Partner screen

Former Member
0 Kudos

Hi!

Is it possible to exclude certain business partner information from being

processed or displayed in the business partner screen of Sales Order

(VA01/ VA21...) by restricting the authorizations? Thanks!

Just something similar to what is suggested for condition types in OSS notes 105621.

Best Regards,

Chris Poon

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Chris;

This can be done through SHD0 T.code where in you can define the fields that a user/user group can access.

We need to create a transaction variant and assign this to a user.

Hope this helps.

Regards.

Former Member
0 Kudos

Thanks Mani for answering,

However, I am looking for ways to do it for the same TCode (VA01...) instead of creating a new TCode.

I tried using the user exit USEREXIT_FIELD_MODIFICATION in MV45AFZZ.

  • Display/hide Customer related field according to user authorization

IF SCREEN-NAME = 'GVS_TC_DATA-REC-NAME1' OR

SCREEN-NAME = 'GVS_TC_DATA-REC-STREET' OR

SCREEN-NAME = 'GVS_TC_DATA-REC-POST_CODE1' OR

SCREEN-NAME = 'GVS_TC_DATA-REC-CITY1'.

AUTHORITY-CHECK OBJECT 'ZV_DOC_CUS'

ID 'ACTVT' FIELD 'L1'.

IF SY-SUBRC NE 0.

SCREEN-ACTIVE = 0.

ENDIF.

ENDIF.

But it does not works at all

So I wonder if there is any other user exit to control the fields in Business Partner Page? thanks!

BR,

Chris Poon

Former Member
0 Kudos

Sorry Mani,

I misunderstood your solution, I just misunderstood to create an Variant Transaction.

Anyway, I am trying the suggestion now, Thanks!

BR,

Chris Poon

Former Member
0 Kudos

Hi Mani,

I have tried your suggestion.

1) I create a Variant Group. e.g. ZTEST

2) Then, under this variant group, for Transaction Code VA03, it generate a ZTESTVA03 Transaction Variant

3) Then I edit this Transaction Variant to hide those fields that I don't want user to access.

4) Finally, I assign a user to this Variant Group.

Now, my question is, it seems that that when that user run VA03, it does not run with the Transaction Variant ZTESTVA03, any idea?? Does it means that I have to "Set Proposal" instead of "Assign"?

Thanks You!

Best Regards,

Chris Poon

Message was edited by:

Chris Poon

Former Member
0 Kudos

u will have to assign it to the user and press the set proposal button. Then you have to re-login .

Regards.

Former Member
0 Kudos

It works! Thank You very much.

Points rewarded.

Former Member
0 Kudos

if there are no further issues, can you please close this thread.