cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict Duplicate print of receipt smartform for specific users

sudarshan_b
Participant
0 Kudos

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.

Regards,

Sud.

Accepted Solutions (0)

Answers (1)

Answers (1)

brad_bohn
Active Contributor
0 Kudos

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.

sudarshan_b
Participant
0 Kudos

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 !

Regards,

Sud.