Skip to Content

Restrict Duplicate print of receipt smartform for specific users

Hi Folks,

I have a custom driver program to print Customer Receipt and everything is working fine. But now I have a requirement saying I have to restrict the print option to specific user in case of print of Customer Receipt more than once.

I found a parameter TDAUTORITY in smartform control structure SSFCOMPOP but since there is no documentation for this structure, I have no idea what is this parameter for.

So, request you if you could guide through how to meet my requirement of restricting duplicate print for userids.

Thank you.



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Apr 21, 2011 at 01:49 PM

    SSFCOMPOP-TDAUTORITY is documented but it's not what you're looking for. Look at the data element. You need to check for an existing NAST-VSTAT = '1' record in your print program, then check your table or custom auth object or whatever method you decide to use for restricting the user ID's.

    Add a comment
    10|10000 characters needed characters exceeded

    • Thank you Brad for your reply.

      Since mine is a custom driver program that is not linked to any Output type in NACE, I can not use the NAST table variable. the NAST table is never updated since my program is a complete Z developement with selection screen to input the values.

      So , I believe that I am left with the Authorisation object approach. I shall use the AUTHORITY-CHECK for the user and should proceed accordingly.

      Thanks again !



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.