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: 

Authorization check in BDC call transaction

krishna_moorthy11
Discoverer
0 Kudos

Hello gurus,

My requirement is MB1B t-code is not authorized for basis users but only for end user, but when I create a Z-program with a BDC call transaction MB1B it is allowing access.

How is this possible? My boss will ask me this question and I don't know the answer.

Regards,

Krishna

Edited by: Julius Bussche on Dec 2, 2008 10:54 AM

Several errors corrected...

Edited by: Julius Bussche on Dec 2, 2008 2:44 PM

1 ACCEPTED SOLUTION

MarcinPciak
Active Contributor
0 Kudos

Hi,

When using CALL TRANSACTION, authorization check is not checked automatically for the user. If your calling program doesn't check authorization, you must direct your called program to check it explicitly.

To do this, the called program must call function module AUTHORITY_CHECK_TCODE.

Regards

Marcin

3 REPLIES 3

former_member1245113
Active Contributor
0 Kudos

Hi Krishna Moorthy

To the best of my knowledge you need check the authorization in your program

use AUTHORITY CHECK

for further info take the help of KEY word documentaion

Regards

Ramchander Rao.K

Edited by: ramchander krishnamraju on Dec 2, 2008 10:20 AM

MarcinPciak
Active Contributor
0 Kudos

Hi,

When using CALL TRANSACTION, authorization check is not checked automatically for the user. If your calling program doesn't check authorization, you must direct your called program to check it explicitly.

To do this, the called program must call function module AUTHORITY_CHECK_TCODE.

Regards

Marcin

Former Member
0 Kudos

Hi,

Use the Fm

AUTHORITY_CHECK_TCODE before calling the call transaction or running the bdc.

Hope this will help.

Regards,

Rohan.