cancel
Showing results for 
Search instead for 
Did you mean: 

Profit center substitution at Invoice Accounting Area for Intercompany STO

bruce_wayne7
Explorer
0 Kudos

Hi All,

I am an ABAPer. Please let me know if question isn't framed correctly.
My requirement is to change/substitute the profit center field for the Sales Inter-company account that appears at Invoice Accounting area.

The invoice will be created for an Inter-company STO.

I tried changing the value at Invoice line item Level, assuming it will change only for the Sales IC account alone. But PC was changed for all accounts.


I know 0KEM is for Sales Orders only, and i tried OBBH too. But it created one new line item with my new PC - XXXX and also another line item with the old PC YYYY, which is not the requirement.

I have searched through lot of forums, couldn't find this one exactly.

Can you please tell me how this can be achieved ?


Accepted Solutions (1)

Accepted Solutions (1)

bruce_wayne7
Explorer
0 Kudos

Thanks Ajay. I did change the values in the User Exit you had mentioned, but it somehow didnt reflect in the Accounting part of the invoice.

But I found a solution for this through OBBH substitution, by making use of "only Exit" option, and wrote the code in my User exit. I substituted BSEG-PRCTR(Profit Center), based on BSEG-HKONT(G/L Account). This worked perfectly for me.

Answers (1)

Answers (1)

ajaycwa1981
Active Contributor
0 Kudos

Hi Arvind

Please refer to note 815972

Also, you can use the exits SDVFX0* for your purpose

Ajay M

bruce_wayne7
Explorer
0 Kudos

Hi Ajay/All,

1. I have already implemented the note as part of another requirement and implemented it successfully too. But it was related to sales order, my current requirement is for Inter-company STO, where the 0KEM substitution will not work.

2. Also, I have tried 2 of the following highlighted User exit, when creating invoice, changing the values of export parameters XVBRP-PRCTR, and ACCIT-PRCTR in debugging. But it did not change anything.

Exit name    Short text

SDVFX001  User exit header line in delivery to accounting

SDVFX002  User exit for A/R line in transfer to accounting

SDVFX003  User exit cash clearing in transfer to accounting

SDVFX004  User exit G/L line in transfer to accounting

SDVFX005  User exit reserves in transfer to accounting

SDVFX006  User exit tax line in transfer to accounting

SDVFX007  User exit: Billing plan during transfer to Accounting

SDVFX008  User exit: Processing of transfer structures SD-FI

SDVFX009  Billing doc. processing KIDONO (payment reference numbe

SDVFX010  User exit item table for the customer lines

SDVFX011  Userexit for the komkcv- and kompcv-structures

Trying to change at the invoice is the right process ???
Or should i try to change it during delivery, or STO creation level ???

Or whats the right process ?

Please confirm if I have done something wrong.

Arvind.

ajaycwa1981
Active Contributor
0 Kudos

Hi Arvind

You can change PC during Billing. That should not harm

We used ZXPCAU04, if am not wrong. But the SDVFX should also work

Ajay M