cancel
Showing results for 
Search instead for 
Did you mean: 

CO-PA user exit for changing customer when release to accounting in VF02

0 Kudos

Hello everyone,

In VF02, when we release to accounting, I would like to change another customer for this. Is there any user exit to do that? (billing still on customer A, but profitability doc on customer B)

I have checked some relevant topic but it does not works.

For example: EXIT_SAPLKEII_001, EXIT_SAPLKEDRCOPA_001, EXIT_SAPLKEAB_001... Almost data that relevant customer is filled already. If I just changed one field customer number - it will lead to error or it does not affect.

Thank you so much for reading.

Accepted Solutions (1)

Accepted Solutions (1)

former_member226519
Active Contributor
0 Kudos

1. Go to the TCode SE24 and enter CL_EXITHANDLER as object type.
2. In 'Display' mode, go to 'Methods' tab.
3. Double click the method 'Get Instance' to display it source code.
4. Set a breakpoint on 'CALL METHOD cl_exithandler=>get_class_name_by_interface'.
5. Then run your transaction.
6. The screen will stop at this method.
7. Check the value of parameter 'EXIT_NAME'. It will show you the BADI for that transaction.

Answers (0)