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

Transaction acess on batch input

Former Member
0 Likes
866

Hi friends! I need a little help!

I have an Z program that make a batch input on a standard transaction and works ok, but the user wants to block this standard transaction to direct acess and allow to run this standard transaction only with batch input in Z transaction. The goal is do not allow user make changes out of the Z transaction.

Is possible to do this?

Thanks!!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
769

Hi

I think the authority-check for transaction is skipped if the transaction is called by ABAP, that means it can create a profile without the transaction standard, but with the transaction Z.

In this way the user can't call it directly (by SAP prompt).

Max

Hi

I think the authority-check for transaction is skipped if the transaction is called by ABAP, that means it can create a profile without the transaction standard, but with the transaction Z.

In this way the user can't call it directly (by SAP prompt).

Max

3 REPLIES 3
Read only

Former Member
0 Likes
769

Hi Fulvio,

Maybe check if the transaction variant tool can solve this challenge. Documentation can be found at:

[Transaction Variants and Screen Variants|http://help.sap.com/saphelp_nw04s/helpdata/en/67/232037ebf1cc09e10000009b38f889/content.htm]

Kind regards,

Robert

Read only

Former Member
0 Likes
770

Hi

I think the authority-check for transaction is skipped if the transaction is called by ABAP, that means it can create a profile without the transaction standard, but with the transaction Z.

In this way the user can't call it directly (by SAP prompt).

Max

Read only

Former Member
0 Likes
769

As Max pointed out, remove the authorization for user to the Standard t-code and see if the user is able to execute the Z transaction... I am guessing, it should go through...

You can look at the FM AUTHORITY_CHECK_TCODE documentation for more details with regards to how Call transaction is handled. Unless an entry is maintained in TCDCOUPLES and OKFLAG Is turned on for the combination of std tcode and z tcode, CALL TRANSACTION should be successful from your Z pgm or Z tcode.