cancel
Showing results for 
Search instead for 
Did you mean: 

COPA user exit for Characterstic value derivation

Former Member
0 Kudos

Dear experts,

I want to flow two fields(vendor batch no. and bill of landing) in COPA

These two fields are part of my MM module but at the time of PGI ,SD consultant will create two customized fields in PGI and same willbe part of my PGI also.

and my client want to see profitability at vendor batch no. and bill of landing.so i will create two characteristics.nee to fetch characterstics value from PGI.

Need to write logic through user exit

I have some doubt for user exit

1) Which copa user exit i will use? and where i will set this user exit?.

2)what will be the logic for the same?.

If you guide me step by step for above requirements.Your response will be highly appreciated.

regards

RR

Accepted Solutions (1)

Accepted Solutions (1)

ajaycwa1981
Active Contributor
0 Kudos

Hi

Use exit COPA0005...

This exit will provide you the Sales Order No to which this billing belongs...

Using this sales order No, ask your ABAP consultant to read the PGI document associated with the sales order and fetch the fields Batch No / BoL information

After fetching the values, use MODIFY command and modify the WWXXX Chars that you would have created

br, Ajay M

Answers (2)

Answers (2)

Former Member
0 Kudos
Former Member
0 Kudos

Dear Experts,

Anyone know the logic.

regards

Raman Rana

Former Member
0 Kudos

You might be able to directly read the info in tcodes KEDE/KEDR.

Alternatively you can use user exit COPA0001, which is called from the COPA derivation config as above. See the help in the user exit for further details.