I am creating an invoice where I got both RD00 (Printing invoice) as well as output MAIL(out going mail).
Both picks because of condition record.
RD00 picks with key combination of Sales organization + Billing type. So it's not specific to any customer.
Now my client wants when MAIL output trigger RD00 should not consider for specific customer. And they do not want to touch any condition record.
They want to achieve through user exit. I have used Z-program and forms for above out-put.So please advise how to proceed.
You can achieve this via z only where in you need to use a z table in which you will maintain all the customer (++ some additional combination of sales org or billing type for future use.) for which you don't want the output to be triggered and use those this z table in your z development which make the system skip all KUNNR i.e. customer code which exist in you z table i.e. you maintained the value.
However as mentioned by you your client don't want t change the master data, what is the reason for the same. The reason I m asking this is via stand config you can achieve the same with minimum efforts by only addition a new key combination in output table. Yes you to take care of master data i.e. output records which can be done easily.
Tried to make client understand the pro and cons of not using stand feature of SAP or else z development is always there to take care.