cancel
Showing results for 
Search instead for 
Did you mean: 

COPA userexits and currency

Former Member
0 Kudos

I am using COPA0002 to modify the value fields during a COPA posting during production order settlement (tcode KO88). With the values unchanged, two COPA records are created - one for company code currency and one for operating concern currency. However, when I intercept the values in COPA0002 and change them, the two COPA records are posted with exactly the same value and no currency conversion. The userexit is only accessed once and I'm not specifically choosing currencies so I don't know why changing the values is preventing the conversion.

Accepted Solutions (0)

Answers (2)

Answers (2)

miya_wang
Active Participant
0 Kudos

Dear Jeff,
I suggest to go through the exit documentation again in SMOD for COPA0002.

If data in your operating concern is also updated in the company code currency, you have at your disposal the line item stored in the
company code currency (field "EP_SOURCE_BUKRS") as well as the line item stored in the operating concern currency (field "EP_SOURCE") for valuating actual data in the enhancement component "EXIT_SAPLKEAB_001".

If you changed the company code line item in the exit, set the return parameter "E_BUKRS_PROCESSED" to "X". By doing so,
the fields for the company code line item are copied as they left the exit.

Did you follow the documentation when you are using COPA0002?

Best regards,
Miya

bhaskar_basam
Contributor
0 Kudos

have you tried copa exit COPA0005.