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

Relacement for kernel call 'GET_ACCESS_INFO'.

Former Member
0 Likes
1,279

Hi friends,

I have been cleaning up our ABAP Add-on code lately and I need to replace all Kernel calls by Function modules or reports etc.

I have been unable to find a replacement for 'GET_ACCESS_INFO"., which is used as follows:

CALL 'GET_ACCESS_INFO' ID 'CODE' FIELD hkcode

ID 'HWKEY' FIELD EX_HWKEY.

Does anyone have any suggestions of FM's that I can replace this with?

Thanks for your help.

Neeraj.

Hi friends,

I have been cleaning up our ABAP Add-on code lately and I need to replace all Kernel calls by Function modules or reports etc.

I have been unable to find a replacement for 'GET_ACCESS_INFO"., which is used as follows:

CALL 'GET_ACCESS_INFO' ID 'CODE' FIELD hkcode

ID 'HWKEY' FIELD EX_HWKEY.

Does anyone have any suggestions of FM's that I can replace this with?

Thanks for your help.

Neeraj.

2 REPLIES 2
Read only

Former Member
0 Likes
836

Hello,

You can use Function Module : MS_GET_HARDWARE_ID

This will also return you the system's current hardware key.

Success.

Wim

Read only

Former Member
0 Likes
836

Thanks Wim, that was a life saver!!