cancel
Showing results for 
Search instead for 
Did you mean: 

Prevent billing document from going to COPA

Former Member
0 Kudos

Hello,

I have a requirement to prevent a certain billing document from going to COPA. I created a new pricing condition, assigned an account key and linked this account key to a GL account. This enabled the condition value to be transferred to the GL account. In order to prevent the condition value from going to COPA, I did not assign this condition type to a COPA value field (transaction KE4I).

However, I notice that the bllling document is going to COPA but no condition values are getting transferred. Is it possible to prevent such billing documents from going to COPA entirely (as they would unecessarily create a profitability segment)?

P.S: This billing document was created with reference to a delivery of type LO (delivery without order reference) as we do not have the need for a sales order in this scenario.

Thanks,

Rugmani

Accepted Solutions (1)

Accepted Solutions (1)

ajaycwa1981
Active Contributor
0 Kudos

Hi

First of all, I would like to ask you why you would not like to take this in COPA. When a revenue value is posted in GL account and you dont take a posting in COPA, it would imbalance your FI and COPA profitability...

However, if you have rationally analysed your requirement and you would like to do it anyway, then here is the solution

Use Exit COPA0005 and apply the following code..

(This code is sample, based on blocking COPA doc where distribution channel = 45 and Ref Org Unit = CRMB).. You need to write your code in a way that it does not stop creating the COPA doc in other cases where it is required....

Do thorough testing once you have this code..

&----


*& Include ZXKKEU07

&----


data : wa_ACCIT type ACCIT.

if I_ERKRS = 'XXXX'. (Your Op Concern Code)

read table T_ACCIT into wa_accit with key VTWEG = '45' AWORG = 'CRMB'.

if sy-subrc = 0.

E_INIT = 'X'.

endif.

endif.

&----


Regards

Ajay M

Former Member
0 Kudos

Hi Ajay,

Am currently looking under similar kind of requirement.

With your helpful suggestion, was able to stop the COPA document.

But the real challenge is to not generate PSG.. but COPA0005 is executed after the characteristics are transferred from the Sender Document - hence the system is using the PSG as CO Account Assignment.

Our requirement is to have system use Cost Center as real CO Account assignment while posting the FI doc.

Currently am not using CE cat 11/12.. rather have assigned BS GL Accounts to all the condition types (revenue / rebate).. except one rebate condition type which i assigned PL GL ac with CE 01.. that we need to flow to CCTR.

The above requirement is applicable only when one particular Sales Org is selling Material from one specific plant.

Have tried assigning CCTR as default account assignemnt at Cost element level but of no avail.

Best Regds,

Vikrant

Answers (0)