2011 Jan 19 5:23 PM
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!!
2011 Jan 19 6:45 PM
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 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!!
2011 Jan 19 6:22 PM
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
2011 Jan 19 6:45 PM
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
2011 Jan 19 8:09 PM
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.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |