Skip to Content
0

Incorrect vendor is deriving in COPA docuemnt

Oct 24, 2017 at 10:21 AM

58

avatar image
Former Member

Hi Guys,

We are deriving vendor code as a characteristic from Batch master (Transaction code: MSC1N & Table MCHA) in COPA document via Billing document.

But incorrect vendor code is deriving in COPA document. This is happening only during creation of billing document through batch job. Either it is picking from previous / later billing document / Item no of billing document. Individual billing creation in VF01 no problem.

We are using COPA enhancement COPA0001and exit EXIT_SAPLKEDRCOPA_001.

Could you please suggest me which went wrong or provide me the correct enhancement or exit.

Thanks

Suri

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

MaDhU ReDdY Oct 25, 2017 at 06:26 PM
0

Hi

EXIT_SAPLKEDRCOPA_001 is correct one. I guess derived value seems not refreshed / cleared before next derivation is triggered. You can change target field attribute in KEDR to "Overwrite with new value". If this is already set, then you should debug Derivation and made code changes if necessary.

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Madhu,

Thanks for the response. we debugged exit , Yes i agree with your statement "I guess derived value seems not refreshed / cleared before next derivation is triggered". I checked target field attribute in KEDR "Overwrite with new value".

But i see there two fields 1. Overwrite with new value even if new value is initial and 2. Overwrite with new value only if new value found .

We set up the first one 1. Overwrite with new value even if new value is initial.

Is this correct ?


Thanks

Suri

0

Yes.

This option should work.

0