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: 

Mass mapping of SNC in SNC1

Former Member
0 Kudos

Hello,

i want to configure the SAP NetWeaver Single Sign-On for SAP GUI for Windows with Kerberos integration.

the SAP username is made from the first letter of the firstname and the family name "flastname" but the Kerberos token generated by the SAP secure login client is  "CN=FIRSTNAME.LASTNAME@COMPANY.COM".

My question is the following: is there a way to use variables in the transaction SNC1 so that the SAP user "flastname" will be mapped to "CN=FIRSTNAME.LASTNAME@COMPANY.COM"?


Regards,

Hassan

1 ACCEPTED SOLUTION

LutzR
Active Contributor
0 Kudos

There is the BAdi.

Go ahead and develop your own mapping logic.

Cheers! Lutz

8 REPLIES 8

LutzR
Active Contributor
0 Kudos

There is the BAdi.

Go ahead and develop your own mapping logic.

Cheers! Lutz

tim_alsop
Active Contributor
0 Kudos

I find that most customers use ECATT to update the USRACL table since this can be done easily without any code development. You just need to create an export from your Active Directory and use that in your script.

LutzR
Active Contributor
0 Kudos

Hi Tim. I would be faster doing the ABAP I bet .

But there will probably be some manual actvity involved to resolve name collisions. In every company I worked with we had at least three employees named Stefan Müller. And which of them will get the smueller? Which ID will the others get?

Mapping is never fun to do if a non-ambiguous common denominator is missing.

So I agree: Export - manual cleanup and ECATT sounds promising too.

Former Member
0 Kudos

The versions for our ABAP systems is the following: 7.02 SP12, 7.30 SP07 and 7.30 SP08 and for those versiosn there is no BADI implementation in the SNC transaction.

I think that the screenshot you are sharing is for 7.40 system.

Can we map the users directly in the table USRACL?

tim_alsop
Active Contributor
0 Kudos

Yes,  you can update USRACL table but after you have done that you must run t-code SNC4 so make the USRACL entries canonical.

Former Member
0 Kudos

thanks for your anwsers,

As i am not an ABAPER i will ask a developer to create the BADI.

0 Kudos

I am not logged on, but if I remember correctly you can use report RSUSR300 for such operations and there were some recent SAP notes for it to support import of files and variables and some processing corrections.

The search term should at least help you further on SMP and possible also google.

Cheers,

Julius

ps: when asking questions you should mention which release and SP level you are on.

0 Kudos

Yes, that is a good option Julius. The LDAP connection needs to be created so that account attributes in AD user accounts like samAccountName can be used to construct the required SNC name. Then you will be sure that the case sensitivity is correct. I have seen many customers use this method successfully.

Thanks

Tim