Different profit center in MM03 or RV60SBAT
Hello,
I have the need to insert different profit centers for the same material.
Each profit is linked to a particular document type (contract Type) and the system has to select profit on the strength of contract type.
Can I manage it in MM03 transaction or in invoicing program (RV60SBAT)?
Thanks in advance
From the error message It seems there is a validation using Field exit. Ask your abaper to debug. Then would be able to know the logic behind it.
Venkat
Similar Messages
-
Need cost of materials of plant to be posted to different profit center
hi,
when we create a maintenance order in plant maintenance module, profit center is getting defaulted from the cost center assigned to main work center, all the material costs are psoted to this profit center, but my requirement is cost of materials of specific plant should be posted to different profit center. is there any way i can do this.
thanksDear Monica,
One way is to maintain the entries in a ztable for material and cost center relation and implement a proper BAdi/Enhancement.
Please check this sample program from other thread to find BADI and enhancement for a given transaction code. You just need to create a custom program in your system by cut and paste below codes.
REPORT ZTEST.
TABLES: TSTC,
TADIR,
MODSAPT,
MODACT,
TRDIR,
TFDIR,
ENLFDIR,
SXS_ATTRT ,
TSTCT.
DATA: JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
DATA: FIELD1(30).
DATA: V_DEVCLASS LIKE TADIR-DEVCLASS.
PARAMETERS: P_TCODE LIKE TSTC-TCODE,
P_PGMNA LIKE TSTC-PGMNA .
DATA: WA_TADIR TYPE TADIR.
START-OF-SELECTION.
IF NOT P_TCODE IS INITIAL.
SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
ELSEIF NOT P_PGMNA IS INITIAL.
TSTC-PGMNA = P_PGMNA.
ENDIF.
IF SY-SUBRC EQ 0.
SELECT SINGLE * FROM TADIR
WHERE PGMID = 'R3TR'
AND OBJECT = 'PROG'
AND OBJ_NAME = TSTC-PGMNA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
IF SY-SUBRC NE 0.
SELECT SINGLE * FROM TRDIR
WHERE NAME = TSTC-PGMNA.
IF TRDIR-SUBC EQ 'F'.
SELECT SINGLE * FROM TFDIR
WHERE PNAME = TSTC-PGMNA.
SELECT SINGLE * FROM ENLFDIR
WHERE FUNCNAME = TFDIR-FUNCNAME.
SELECT SINGLE * FROM TADIR
WHERE PGMID = 'R3TR'
AND OBJECT = 'FUGR'
AND OBJ_NAME EQ ENLFDIR-AREA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
ENDIF.
ENDIF.
SELECT * FROM TADIR INTO TABLE JTAB
WHERE PGMID = 'R3TR'
AND OBJECT in ('SMOD', 'SXSD')
AND DEVCLASS = V_DEVCLASS.
SELECT SINGLE * FROM TSTCT
WHERE SPRSL EQ SY-LANGU
AND TCODE EQ P_TCODE.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) P_TCODE,
45(50) TSTCT-TTEXT.
SKIP.
IF NOT JTAB[] IS INITIAL.
WRITE:/(105) SY-ULINE.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
Sorting the internal Table
sort jtab by OBJECT.
data : wf_txt(60) type c,
wf_smod type i ,
wf_badi type i ,
wf_object2(30) type C.
clear : wf_smod, wf_badi , wf_object2.
Get the total SMOD.
LOOP AT JTAB into wa_tadir.
at first.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 'Enhancement/ Business Add-in',
41 SY-VLINE ,
42 'Description',
105 SY-VLINE.
WRITE:/(105) SY-ULINE.
endat.
clear wf_txt.
at new object.
if wa_tadir-object = 'SMOD'.
wf_object2 = 'Enhancement' .
elseif wa_tadir-object = 'SXSD'.
wf_object2 = ' Business Add-in'.
endif.
FORMAT COLOR COL_GROUP INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 wf_object2,
105 SY-VLINE.
endat.
case wa_tadir-object.
when 'SMOD'.
wf_smod = wf_smod + 1.
SELECT SINGLE MODTEXT into wf_txt
FROM MODSAPT
WHERE SPRSL = SY-LANGU
AND NAME = wa_tadir-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
when 'SXSD'.
For BADis
wf_badi = wf_badi + 1 .
select single TEXT into wf_txt
from SXS_ATTRT
where sprsl = sy-langu
and EXIT_NAME = wa_tadir-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED ON.
endcase.
WRITE:/1 SY-VLINE,
2 wa_tadir-OBJ_NAME hotspot on,
41 SY-VLINE ,
42 wf_txt,
105 SY-VLINE.
AT END OF object.
write : /(105) sy-ULINE.
ENDAT.
ENDLOOP.
WRITE:/(105) SY-ULINE.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No.of Exits:' , wf_smod.
WRITE:/ 'No.of BADis:' , wf_badi.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'No userexits or BADis exist'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'Transaction does not exist'.
ENDIF.
AT LINE-SELECTION.
data : wf_object type tadir-object.
clear wf_object.
GET CURSOR FIELD FIELD1.
CHECK FIELD1(8) EQ 'WA_TADIR'.
read table jtab with key obj_name = sy-lisel+1(20).
move jtab-object to wf_object.
case wf_object.
when 'SMOD'.
SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
when 'SXSD'.
SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
ENDCASE.
Alternatively, you can do the following:
1. For what ever transaction u want the enhancement .. just check for the System-->status (menu) and find out the PROGRAM name....
2. Double click on to the program name and go inside the program (Abap editor)
3. Search for "Call Customer-function " ... and u'll get some search results .. If u get results then u have enhancement in that tcode .....
4. Then it actually calls a Function module .... copy the Function module name .... go to SE80 (object navigator) click on "Repository Information system" then Customer Enhancements .... Give the Function module name in the "Components" field and click Execute ....
ull get a list of Enhancements related to that Componene....
5. Choose which ever enhancement will suit ur business need ..
6. Go to CMOD... create a project .... assign ur enhancement ... and then code ur logic.... activate ur enhancement in CMOD ....... Ur Buisness need will be solved...
For a user exit......
Finding whether there is any User Exit or not for tcode VA42
1. For what ever transaction u want the user exit .. just check for the System-->status (menu) and find out the PROGRAM name.... ( The program name would be for our scenario "SAPMV45A" )
2. Double click on to the program name and go inside the program (Abap editor)
3. Search for the word "USEREXIT" .... u ll find all the user exits in the search result .. and find ur's then ...
Hope this will help.
Regards,
Naveen. -
Post billing invoice with different profit center for specific cond. type
Hi Expert,
I have requirement where for each item in the sales order, when the user create the billing document, the accounting document generated need to use one specific profit center on specific condition type.
For example, my order profit center in the account assignment is PC1 (derived from material) and it has 2 condition type, Z1 and Z2.
Currently for this condition type will be posted to 2 different GL account. (Configured in account determination)
Going forward, the plan is to use same GL account for Z1 and Z2 but specific for Z2 should use different profit center (not taken from account assignment profit center).
Is this possible and if it is may I know the best way to achieve it?
Thank you before.Hi
First of all check with the Controlling team wheather profit center can be assigned to the Z2 condition type only.If it is not possible then you assign a new subroutine to Z2 condition type with the help of ABAP team
Regards
Srinath -
Different profit center in Project definiton and WBS
Hi,
Our client facing a problem for closing the project due to different profit center. In Project definition the assigned on profit center and WBS they assigned another different profit center . There is not data posted or planed .
SAP won't allow me to change the Profit Center because it says the project is released.
Now they try to close the project but it showing error like different profit center in project definition and wbs.
Could you please anybody help to solve this issue?
Thanks.
V.KFrom the error message It seems there is a validation using Field exit. Ask your abaper to debug. Then would be able to know the logic behind it.
Venkat -
MIRO has a different Profit Center thatn MIGO
Hi Guys,
We have a PO , whose account assignment has a Sales Order and the Profit center is being picked from this Sales order while the MIGO document is posted.
However, when the system is posting the MIRO transaction, the system is picking up a different profit center. I can see a different Profit center in the line items in the MIRO document.
Why does the system pick a different profit center for MIRO ? Also, when i see the MIRO document, all the items are highlighted in yellow..What does that suggest?
Any ideas why there is a discrepancy in the Profit Center assignment in the MIGO and MIRO documents?
Thanks a lot.
Srikanth.Hi
in OBBH, there is no substitution , but i could find one substitution in GGB1.
It says, if sales office = xxxx, then use this PC.
I have analysed that , in MIRO doc, the PC is correct as per the Sales order, but when FI document is posted, the PC is different.
Is it that the Substitution will be triggered when the FI doc is posted??
Any clues..
Thanks
Srikanth. -
Issue to different profit center from comman storage location
Dear All,
I have two plants and attached to two different profit center but have the comman one storage location.
i want that if i issue material from different plants ....that must go to the storage profit center attched to that plant irrespective comman storage location.
Now How to map in SAP ?
Please guide with full solution !
Regards,
Pardeep MalikHi,
Storage locations are at the plant level, although it can have the identical key, still its attached to different plants (haveing common or different PCs), hence I dont see any bottleneck to map the issues from one plant to another having different PCs.
Regards
Merwyn -
Two different profit center generated after material movement 201
Hi there:
Here is my issue:
After I did movement 201,then I went to mb03 to look at material document, then I click accounting document found that there are two different profit center appeared in two items, first line item is that credit inventory account 20208100, I don't know where does profit center come from in first item? Second item is that debit material consumption 60100000, cost center shows correct which is the one when I populated while doing movement 201, and profit center shows correct, since cost center belongs to it.Hi Please see my reply as below:
This behaviour seems correct... I think your Profit center in Mat master is different than the Profit center of the cost center to which material was issued
Yes,because profit center in material master is blank in which plant to issue
Inventory account will always be credited with the PC assigned in Mat master
Considering the profit center of mat master is blank, so what default value does it be reflected to inventory account?
Consumption account (If it is created as Cost element) will always be debited with PC of the Cost Center to which material is issued
It was not created as cost element, based on your theory, it will be debited with PC of the material master, but PC of material master of specify plant is blank, so what default value does it be reflected to inventory consumption account?
Consumption account (If it is not created as Cost element) will always be debited with PC of the Material master
Thanks -
Hi Friends,
I have created a debit memo request and tried billing it. But the system fails to create accounting documents. I verified and found that the system is determining a different Profit center and copying the one in the material.
Could you tell me the areas in the config to check this.
Many Thanks
KumarCheck this thread
[Profit center priority in the RV(Account) document |Re: Profit center priority in the RV(Account) document]
thanks
G. Lakshmipathi -
Different profit center in Billing document
Dear All,
We have created a Credit memo for a service order.
In the sales order, a profit has been maintained. But in the Invoice, it is determined different Profit Center in the profit center document.
What may be the reason for this.
Regards,
Mullairaja- check profit center in MMR & compare with the one determined in Sales order ( it should be same)
- Check in the G/L account, some billing documents / Credit notes demand for CO objects. Profit center can be determined from the Cost center which is assigned to your G/L account
Check with FI consultants in Profit center derivation rules.
regards,
Reazuddin MD -
Different Profit Center in GR and Invoice Document
Hi,
I have a query in the Purchase order cycle.
The Profit Center Accounting document has a different Profit Center in the Goods Receipt Document and Invoice Receipt Document. I found that in the case of GR it picks up the Profit Center from Material Master, whereas in the Invoice document it picks up from the Sales Order (MTO Scenario). Hence there is a mismatch.
Please advise on how i can have a same Profit Center. Where do i need to make necessary corrections.
Thanks in Advance,
SafiHi
in general sales order picks profit center from material master so same profit center is possible when doing GR /IR Plz chek it
thanks
MvNr -
Sales Order with different Profit Center
Hi All Experts,
In material master, i was created profit center PBB2K for part A but it is showing different profit center when sales order created
Please kindly advise why different profit center show in sales order?
Thanks
Regards,
shirleyHi ,
check 0KEM for any sales order substitution for profit center.
In genreral the material master profit center defaults to profit center , But at sales order you can change the profit center other wise check 0KEM
If helpful asign points.
regards
Prabhat -
Customer balance transfer to different profit center
hi
i want to transfer the balance of one customer to another, when i am posting the balance it is not asking for any profit center and that balance is going in dummy profit center. how to post the entry .please guide.
ThanksDear
Since the customer is created at client level, you need to have/operate a clearing GL to transfer the balance from one customer account to another so that the profit center is inherited to cutomer account from the clearing account.
Customer A/c Dr
Clearing A/c (with profit center)
Clearing A/c Dr (with profit center)
Customer A/c Cr
Or you can do trnasfer posting with clearing.
Regards -
Transfer pricing within different profit center
Hi Friends,
I will like to know that after configuration of transfer pricing. What are we going to do in AKE5 i.e. in the receiver profit center are we defining the WIP. Also are we going to assign WIP i.e. in Profit center 2 every time after the production order completed. For e.g. I am giving the scenario.
Profit center 1 Profit center 2 Profit center 3
Raw material + profit -
>WIPprofit -> Finished goodprofit
Regards
AnandHi Anand
I may be of a little help here. From what I know is that transfer pricing is mainly done with the material ledger, but do not activate it unless you are very sure that you want it.
A Production order is generally created with a BOM (Bill of material) and if necessary routing. The order collects costs such as raw materials and overhead costs such a activities from cost centre accounting. This order can then be settled to stock of semi-finished stock.
If this then moves with additional cost it is probably the material ledger that you need. (but be sure about this)
The semi-finished product is then included in the BOM of the finished product and is used in the product costing. When it is confirmed it can be settled to finished goods stock.
That is as far as I know. I hope it gives some where to start.
Kind regards
Dawn -
Cost elements Assign to different profit center
Hi All,
I have 3 costelements are, these cost elements i have to assign to profit center.
Where i have to assign these things, i mean which transaction code i have to use.
Thanks
Rams
09833624515Dear,
Use transaction OKB9 to assgin cost elements to a profit center.
One cost element can be assgined to one profit center only.
Regards,
Chintan Joshi -
Profit center in accounting document is differ with profit center in PO
Dear Expert,
I have created 2 PO. 1 PO is with material number, and the other PO is without material number. both PO have account assignment category H ( Cost Center - COGS)
I also have created 2 MIGO with reference to each of the PO. but when I checked the FI document in Material document I found that the profit center in accounting document is different with profit center in PO - this problem only occur for PO with material number. Profit center displayed in accounting document is refer to ZOKB9 (user exit)
Material ledger is active for this material number.
My question is what may cause the different profit center in accounting document and in PO?
How to solve it?
Thanks
PaulineHI,
possible reasons are :
In GR document profit center pulled from PO Material :
If you have ordered with material code, must check profit center assigned into material by mm03/Plant Data2
If you have ordered without material code, than check cost center assigned Profit center by 1KE4
Maybe you are looking for
-
Airport extreme 5.8 ghz with a netgear router at 2.4 ghz?
We will be getting a new imac which I would like to run wirelessly as part of a home system with two other ethernet connected macs and a wireless PC laptop. We expect to get substantial interference and would like to get the airport extreme and run i
-
Create PDF = Scan = AppCrash
I have a new PC with Windows Vista 64 bit. 4G Ram. I have installed my printer scanner (Samsung SCX-4200) and updated Acrobat Pro 9.0 I have configured the presets Each time I try to create a PDf from the scanner, Acrobat immediately stops working an
-
What can I do about these messages? There are aboutr 60 of them. Should I do anything? Especially the 7 errors. Is there some way to let DW make the corrections? The page is http://righttax.org if you want to look at it. Message In HTML 4.0, FONT
-
PSE 7 won't reduce jpeg further
Hi, I've been pounding my head against the screen for the last 30 minutes trying to reduce a 25mb photo to something below 100kb for emailing. I used "save as" and chose the lowest quality, which reduced it to 3mb. I then opened that file to repeat t
-
How to implement new Indian currency symbol in oracle reports ..?
Dear All, One of our client needs to display new indian currency symbol instead of the "Rs" in the report ourput. Our 10g application and db server is deployed in Sun solaris environment Please let me know how can i implement the same. Thanks in adva