We have a requirement to modify the Division for CO-PA line item.
In the current Intercompany sales process, when I create a sales order and save it I am able to see the corresponidng CO-PA line items in KE24 using sale order number as a Reference document number.
I used the enhancement component COPA0005(EXIT_SAPLKEII_001) and added the code to determine the correct Division for Co-PA line item from Ztable.
I want to test this user exit for Sales and Distribution data coming to CO-PA. So I created sales order and when I save the sales order the program is not stopping at the stop point I put in user exit code.
I have created the project in CMOD and assign the enhancement COPA0005 to it and activated it.
Can anyone tell me if I am using the correct enhancement component? If yes,how to stop the program at the user exit code in debugging mode?