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: 

Read X.509 client certificate in ABAP

christoffer_fuss
Participant
0 Kudos

Hello,

in transaction EXTID_DN I mapped several certificates to the same SAP User:

In my ABAP code I get in variable sy-uname "DT_MIETER" but I need the external ID "P000001".

Is there a way to access the client certificate in ABAP which was used to log on the user?

In my trace I find:

But how can I access this information in ABAP?

Best regards,

Chris

2 REPLIES 2

aghafoor
Newcomer
0 Kudos

Hi Christoffer,

I have the same issue. Did you find any solution to this? If you did, I would be really grateful if you could let me know how you solve this.

Thanks

0 Kudos

Hi Awais,

no I was not able to solve this. SAP was telling me that this is not possible. I switched to Basic Authentication and pass the external user id in my request. This is not nice of course.....

Best regards,

Chris