Skip to Content

Allow Printing based on Allowed T-Codes

Hi,

How to disable/enable "Print" option for selected/allowed Transaction Codes for some SAP Users in SAP ?

We are running with SAP ECC 6.0.

e.g.

If a selected SAP User is executing VA02/VA03, then the User will not be allowed to take a "print" of Sales Order (Print Option will be disabled). but while executing other Transaction Codes, the Printing function will be allowed for that SAP User (e.g he/she can take a print of Demand Notes, etc..etc).

I tried to get this kind of constraint by creating new Z-Authorization Object with combination of SPOACTION and TCD Auth. Fields. But, it's still allowing printing to the selected user. May be the combination of Auth Fields within the Z-Auth. Object is not is not proper. May be these things are not sufficient to fulfill my objective.

Please provide me your valuable suggestions to achieve this kind of requirement.

Transaction Code based Printing functionality for some restricted SAP Users is possible or not in SAP ?

Awaiting for your valuable suggestions.

😊

Regards,

Bhavik G. Shroff

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jan 15, 2010 at 12:07 PM

    define 'print' option! there is no such button on VA02 or VA03 main screen ... so I take it, you are trying to prevent documents from being printed - like say, message type BA00 for VA02?? this can be achieved by suppressing Activity = '04' in the V_* auth-objects.

    Add comment
    10|10000 characters needed characters exceeded

    • > if you want to restrict the physical = paper output, you are in great difficulties though, because SAP does not differentiate between print-preview and physical output. You can try for tricks with S_SPO_DEV but will fail when it comes to printing on LOCL ...

      I agree. It is a pain & requires a reasonable amount of development. I have had this requirement before at a client who wanted something similar.

  • avatar image
    Former Member
    Jan 15, 2010 at 12:08 PM

    > I tried to get this kind of constraint by creating new Z-Authorization Object with combination of SPOACTION and TCD Auth. Fields. But, it's still allowing printing to the selected user. May be the combination of Auth Fields within the Z-Auth. Object is not is not proper. May be these things are not sufficient to fulfill my objective.

    The way you describe this makes me think you didn't adapt any source code to actually check your new object. I may be wrong here. But if I am right this is like putting extra keys on your keyring without adding locks to the door.....

    >Transaction Code based Printing functionality for some restricted SAP Users is possible or not in SAP ?

    I don't think so. At least I've never heard of it.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Bhavik Kumar G. Shroff

      >

      > Hi,

      >

      > Thank you for your reply.

      >

      > Though, I have added that Z-Auth Object (ZTCPRINT) in the checklist of VA03 T-code using SU24, the user is able to take print of the selected Sales order in the print preview of the same. New Spool request is getting generated instead of preventing from printing.

      >

      > Regards,

      > Bhavik G. Shroff

      you have to code that authority check someplace in MV45...