Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

COPA sales representative(ce10800-wwsrp) is not getting updated through BAPI

Former Member
0 Kudos

Hi,

COPA sales representative(ce10800-wwsrp) is not getting updated through BAPI_CUSTOMERRETURN_CREATE during return order creation and BAPI_BILLINGDOC_CREATEMULTIPLE during credit memo creation against return order through derivation rule.

Whereas with forward case i.e VA01 and VF01, we are able to update COPA sales representative field with the use of derivation rule.

Its very urgent. Can you please share your idea why it is not being populated through those two BAPI with derivation rule?

Thanks and Regards

Srimanta

8 REPLIES 8

FredericGirod
Active Contributor
0 Kudos

Hi

COPA is update with SD --> Sales order or Invoice (or others), not by BAPI ... why did you put BAPI in your title ?

Do you have check the user-exit of COPA ?  RGGBS..   I think

regards

Fred

0 Kudos

Hi Fred,

We have created Z characteristics for sales representative which is getting populated through derivation rule with all standard transaction i.e VA01 and VF01.

We have an custom application for all SD document creation which is using BAPI like BAPI_CUSTOMERRETURN_CREATE (return order creation ) and BAPI_BILLINGDOC_CREATEMULTIPLE (credit memo creation).

In these case, Z characteristics for sales representative  is not getting updated.

Thanks and Regards

Srimanta

0 Kudos

Hi,

did you have check the condition of the activation of the derivation ?  maybe when you use these BAPIs, the condition is not valid.

regards

Fred

0 Kudos

Hi Fred,

We have not used any condition in derivation rule to populate the Sales representative.

Kindly give us input what should be passed when it is processed through BAPI.

But how it is working from standard SAP transaction like VA01 and VF01?

Thanks and Regards

Srimanta

0 Kudos

I have made an error the exit for COPA is ZXKKEUxxx  and the trans. to active/desactive make filter ...   is KEDR

as the functionnal team

regards

Fred

0 Kudos

Can it be controlled through condition tab in KEDR ?

We know this exit ZXKKEU11 through which it can be populated. This is the last option we can adopt.

But standard transaction(VA01, VF01) is updating CE10800-WWSRP sales representative field in COPA.

Why is the same not getting populated when we are creating return order and billing document through BAPI_CUSTOMERRETURN_CREATE and BAPI_BILLINGDOC_CREATEMULTIPLE respectively.

Thanks and Regards

Srimanta

0 Kudos

For me you have to specify by customizing how the field in CO-PA is populated: constant value, derivated value ...

and maybe your BAPI didn't give the information in the right place.

there is no OSS note about your bapi & COPA

you will have to debug

Fred

0 Kudos

Hi Fred,

I didn't understand "maybe your BAPI didn't give the information in the right place."

Is there any provision to update COPA structure through this BAPI structure?

Kindly suggest us the details if possible.

I think there must be issue in BAPI which is not populating COPA table through derivation rule.

Whereas same is being populated through standard transaction VA01 and VF01 through derivation rule.

Thanks and Regards

Srimanta