cancel
Showing results for 
Search instead for 
Did you mean: 

Condition records for output type of sales order

Former Member
0 Kudos

Hello All,

I have tried to set up condition record for a output type with printer XXXX and its working fine. while creating/changing the sales order this output type was triggered and printed to the printer XXXX.

But now I had a requirement to print the same output with different printer based on the user logged in.

Please give your comments to get this effective. Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Jelena
Active Contributor
0 Kudos

@Upender - the question was about printing based on SAP user, not on the customer.

@OP - We can just use LOCL printer and then output will be sent to each user's default printer. Also if the users could be grouped in some way that is relevant to the document (e.g. Sales Group) then that can be configured using a custom access sequence etc.

But you might want to clarify where does this requirement come from. Are those special users located in another office? Why do they have to print on a different printer?

Former Member
0 Kudos

Tried using LOCAL printer in the condition records but we can't print output based on user

former_member211108
Contributor
0 Kudos

Hi Satish,

As mentioned by Jelena you can print the output locally using printer name LOCL. However the user need to define default printer on his pc/laptop.

Apart from that you can also mention the default printer name in user profile.

Hope this will help you.

Thanks and Regards

Atulkumar Dagade


Jelena
Active Contributor
0 Kudos

What exactly "can't print" means? Output still goes to a different printer? Printer does not print anything? It could mean 1001 things... Kindly be more specific if you're expecting any intelligent response on SCN.

Thank you.

Former Member
0 Kudos

Hello,

This was not working for background job. Output type was created with printer LOCL. but we didn't get any spool to print on the printer.

please advise. Thanks.

Jelena
Active Contributor
0 Kudos

Now I'm confused - why is this running in a background job?

Scheduled background jobs are usually run under some generic user ID, but then it conflicts with your requirement "based on the user logged in". This suggests that printing is happening online.

Former Member
0 Kudos

Yes, The recipients are different and so we didn't get the spools to print based on user.

So is there any other way to make this work ?

Jelena
Active Contributor
0 Kudos

You might want to clarify what the requirement is exactly. In the original post it was stated "based on the user logged in". In this case the condition records can be set up with printer LOCL and every person can trigger output (manually) and it will be directed to their default Windows printer. Obviously this won't work for a background job (this requirement was not mentioned originally).

It's not very helpful to spoon-feed us information and also good question is 80% of the answer. I can only guess (because it's still not clear what you're trying to achieve exactly) that the expectation is that a background job will run and somehow send output to different printers based on some criteria that is still not clear. So in this case obvious answer is - then output conditions need to be configured based on that mysterious criteria.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Sathish,

One possible solution is :

Create a custom table to maintain relationship between customer number and printer or you can also use any unused fields in Customer Master to maintain printer ID.

Use requirement routing in output to select printer from the custom table at the time of output creation.

BR,

Upender Solanki