How to stop generate copa document for return sales order for the same billing type
My scenario is business doing return sales (credit memo). Return sales order creation and invoicing for " Products " and also for " Empties " and the billing type is same for both. Here user requirement. When the " Products " are return sales quantity need to update in COPA. When " Empties " are retune sales quantity need not update to COPA.
In above both conditions it is not possible to go with Reset COPA value field (KE4W) because billing type is same for both.
I need to go with functional exit. i am trying to use exit COPA0005 (EXIT_SAPLKEII_001 and EXIT_SAPLKEII_002). This is not working out..
I tested above exit with breakpoint.. it is not stoping after VF01 save. copa document get generating.
Can someone help me here.