on 10-03-2011 9:46 PM
Hi all,
I have a situation where we are making a sales, but since the material belongs to a different plant, 2 invoices are generated - intercompany invoice and customer invoice. The problem is that the profit center on the customer invoice is not showing up (it shows up on the intercompany invoice).
I am trying to use a profit center substitution for this, but can't get it to work. I have a very simple user exit as a test that changes pcasub-prctr yet this doesn't work. (it is activated in 0KEL)
FORM U901.
Data: s_pcasub type pcasub.
s_pcasub-prctr = '401'.
MOVE s_pcasub-prctr TO pcasub-prctr.
ENDFORM.
Please advice, thanks,
Thanks Ajay
In the end I used a user exit on a profit center substitution.
You can specify PCASUB-PRCTR and it will update 'profit center for billing' on the sales order. This will populate the customer invoice profit center
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Can you detail out your process in steps i.e. which company makes the SO, what are the next steps, etc
Did you ensure that material masters in both plants have PC in them or does the Sales Order have PC in it? 0KEL works to populate PC in the sales order
br, Ajay M
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ajay,
The SO takes the profit center from the material master right now (PC is set for both plants). In 0KEM, there is a user exit which should change the 'profit center for billing'. It should copy the value from 'profit center' all the time to this field, and therefore no prerequisites have been set
From my understanding, populating the 'profit center for billing' field will populate the 'profit center' in the customer invoice.
Please correct me if I'm wrong, thanks
Hi
Once you update PC in the Sales Order, the same gets passed on to billing... For that 0KEM is the right place..
You can build in conditions (Prerequisites in 0KEM) like: If Plant = XXXX and Dist Channel = YY and Div = ZZ, then PC = ABCD
If that logic is not sufficing, then you need to use exit.... Activation needs to be done in 0KEL....
The note says, create 2 substitution rules in 0KEM 1 for Field PRCTR and another for PCTRF
If you use exit, it asks you to use PCASUB-INT_*
br, Ajay M
Edited by: Ajay Maheshwari on Oct 4, 2011 8:04 PM
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.