cancel
Showing results for 
Search instead for 
Did you mean: 

Rederiving COPA characteristics after changing sales order

former_member195434
Contributor
0 Kudos

Hi,

We have a scenario where the sales order settles to COPA. The COPA derivation for the field 'profit center' is typically taken from the material master.But if we change the profit center manually at sales order line item level, the COPA segment (which is the settlement receiver) does not change the profit center characteristic. Due to this settlement does not happen because sales order item (sender) has different profit center and COPA segment (receiver) has different profit center.

However, if there is an incompletion log then the correct characteristic is automatically derived and settlement happens successfully.

Also when I click on PSG indicator button, the profit center changes successfully so we are using this as temporary solution.

In this regard I want to know at which point, or using which program is the characteristic rederived? That is, which is the exact trigger point for characteristic rederivation.

If anybody could help please advice.

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I'm also facing the same problem and but solution provided by Abhinav is not working.

We are having a customization where after changing in usage field automatically PC is updated (we are having assignment of PC to usage field).

Hence, after making the changes in usage field, PC on item level is updating but same is not reflected in settlement rule and PSG.

Br,

Madhusudan

ajaycwa1981
Active Contributor
0 Kudos

Hi Abhinav

SAP Note 79847 - Updating profitability segment in SD document.. See if it helps you

Also read note 88511

Br, Ajay M

former_member195434
Contributor
0 Kudos

Hi Aay,

The given note 79847 will rederive COPA characterisitcs by running a report.

Howver we want the characteristics to be rederived as soon as the profit center is changed on the line item or at the time of saving the sales order.

Is there any way to do that?

Thanks

former_member195434
Contributor
0 Kudos

Hi,

We have found a function module "COPA_PROFITABILITY_SEGMENT" which appears to populate the characteristics of COPA. Inside this, there  is a perform named "fill_table_criteria" where the profit center field of COPA is populated from the profit center (PRCTR) of structure COBL(sales order line item).

Can anyone validate if the understanding here is correct?

And if yes, how can this funciton module "COPA_PROFITABILITY_SEGMENT" be called and used within an enhancement? That is, what are the input parameters for this?

Thanks

Former Member
0 Kudos

Hello Ajay,

Can you please through your advise on the below issue. I am also facing similar issue.

Scenario : Production order settlement to PSG.  Here the Sender (Production Order) is having a Profit Center but the Receiver(PSG) does not have a profit center.   While doing the settlement system is updating an Dummy Profit Center.  How can we restrict this..?

Please have a look into the below screen.  while defining a settlement rule "PSG" system is popup the below screen where the Profit Center is null.  If I press continue then it fetches the Dummy Profit Center & COPA reports show amount under this dummy profit center.

Regards

Raj