Profit Center for Billing Substitution
Hello,
I am currently using this substitution in 0KEM to populate the profit center for billing (PCTRF) in an inter-company sales order.
PrCtr Type = '2' AND Profit Center = '' AND (
Sales Org. = '5010' OR Sales Org. = '5020' )
It is working because the profit center for billing (driven by PrCtr Type = '2' ) field is originally blank and so I can substitute in a different profit center value.
My question is I would like to take this a step further and substitute different profit centers in the profit center for billing field (PCTRF) based on the value in the profit center field (PRCTR). Has anyone had any luck with this? I see that is is controlled using the PRCTR_TYPE 1 and 2 in the PCASUB area, but I am yet to figured out the right combination for it to work.
Appreciate any help.
Kevin
Kevin,
Refer to SAP Note 815972 - PCA substitution for cross-company-code sale.. It gives the details on how to fill the two fields "Profit Center" and "Profit Center for Billing within the substitution.
Thanks
Venkata Ganesh Perumalla
Similar Messages
-
How to update "profit center for billing"(VBAP-PCTRF) for sales order.
Now, we need to bring "profit center for billing" in sales order to correspondence with meterial master, while BAPI "BAPI_SALESORDER_CHANGE" contain not this field, is there any way to achieve except modify database table directly.
Thanks!Hello,
Pay attention with BAPIs in SAP, they often use different names as input parameters as the actual fieldnames.
In your example you can use the BAPI BAPI_SALESORDER_CHANGE.
You have to check the parameter ORDER_ITEM_IN (table) with field PROFIT_CTR.
This will correspond with the field VBAP-PCTRF that you want to update.
You will also have to use the table ORDER_ITEM_INX of the BAPI and flag your field (PROFIT_CTR) with an 'X' in order to update it in the database.
Always use the RETURN (table) parameter from the BAPI to see what the result is of your update.
Success.
Wim -
Substitution for profit center for credit line item
Hi
There is some common material sold in two segments. (Example head phone is sold from cell phone segment and computer segment). These segments are created as a division also for SD purpose.
Now for determining the profit center, i am using the validation rule. Logic: if the division in sales order is cell phone, entry should be posted in cell phone division. So my revenue and PGI will be in cell phone segment.
When head phone was procured, it was procured in computer segment (division). So my inventory credit should be the posted to computer segment (via profit center) and consumption should be posted to cell phone division (for matching with revenue). Hence i want some substitution rule for posting to two different profit center ( or segments, determined by profit center) at the time of PGI. Debit (consumption) should be to the profit center for cell phone and credit (inventory posting) should be to profit for computer.
Please help.
Edited by: Meenu_ND on Jun 23, 2011 8:02 PMHi
In an ideal scenario, profit center is derived from material master. Since, your business is such that profit center is nto known as unique for a material master, try using the following BADI to derive profit center at the time of Goods movement document. You should not maintain profit center in material master in such a case.
MB_MIGO_ITEM_BADI
MB_MIGO_BADI
Regards
Sanil Bhandari -
Default Profit center for balance sheet account
Dear All
I've problem when i display accounting document in billing, there is no profit center information in GL account VAT,since document spliting is not activated,so I maintain default profit center for balance sheet account (3KEH),.
can anybody tell me why this problem raised? where that i have missed the configuration?
Thanks And Regards
AditHi Vijay,
Good day!
I would like to seek your advice regarding the default profit center for Balance Sheet Account:
We have this issue that BS account defualted to a certain profit center: I have done several testings but still cannot find why the BS account defaulted to the profit center
1. I have checked the FAGLBK3EH and the BS account in which PC defaulted is not maintained in this tcode.
2. also check the OBBH and the document does not contain any cost object wherein a profit center can be derived. also checked substitution, either both of this code does not defines the profit center im searching for.
Can you please advice some directions where to check and why certain profit center defaulted to balance sheet account.
Your advice is greatly appreciated.
Janice -
B/S Profit Center for GR/IR clearing act in MIGO is fine but not in MIRO
Hi Experts,
Can you please help on the below as am posting this after reviewing the existing postings:
We are in ECC 6.0 and implementing Classic GL.
While posting MIGO and MIRO the GR/IR clearing account (B/S account) is getting the Profit enter from expense line item.
Requirement is to have the B/S profit center from 3KEH.
As an option we created one Substitution so getting B/S profit center only for MIGO but MIRO is still getting the exp Profit center.
How to get the B/S profit center for MIRO also?
Thanks,
SudhaHello
ANy suggestion for question & if solved do let me know -
Difference in Profit center for GR/IR account in MIGO & MIRO Transaction
1) We have created material 106267 with material type ROH. We have assigned profit center 1001052999 (common profit center) to material.
2) We have created WBS element MUM-RIV002.SS.RC.RF with profit center 1001052002.
3) We have created PO 4000000236 for account assignment category u2018Qu2019 for the above material with WBS element MUM-RIV002.SS.RC.RF . After posting GRN for PO 4000000236 we have identified that for GR/IR account profit center is taken from material master & for stock account profit center is taken from WBS element.
Please find the below Flow
In MIGO
Entry
Accounting Document number in Entry View
5000001125
PSKY G/L Code Description
Amount
Curr.
Profit Center
WBS element
89 231101 RAW MATERIAL STOCK 2,000.00 INR 1001052002 MUM-RIV002.SS.RC.RF
96 162101 GR/IR-Material -2,000.00 INR 1001052999 MUM-RIV002.SS.RC.RF
Document number in Ledger View
L.item PK SG Account Description Amount Curr. Tx Profit Ctr WBS element
1 89 231101 RAW MATERIAL STOCK 2,000.00 INR 1001052002 MUM-RIV002.SS.RC.RF
2 96 162101 GR/IR-Material -2,000.00 INR 1001052999 MUM-RIV002.SS.RC.RF
3 50 162001 InterSegment Clrg -2,000.00 INR 1001052002
4 40 162001 InterSegment Clrg 2,000.00 INR 1001052999
It should take profit center from WBS element for GR/IR account & Stock account but for GR/IR account profit center is taking form material master & for stock account profit center is taking from WBS element.
MIRO
Entry
Accounting Document number Entry View
5100000657
PK SG Account Description Amount Curr. Tx Profit Ctr WBS element
31 100000 Ambuja Cement Ltd -1,996.00 INR V4
86 162101 GR/IR-Material 2,000.00 INR V4 1001052002 MUM-RIV002.SS.RC.RF
40 254001 VAT Receivable 80 INR V4
50 172103 TDS PAYABLE -194C -42 INR
50 176101 WCT-TDS payable -42 INR
Document number in Ledger View
PK SG Account Description Amount Curr. Tx Profit Ctr WBS element
31 160100 CRS-Domestic Supp -1,996.00 INR V4 1001052002
86 162101 GR/IR-Material 2,000.00 INR V4 1001052002 MUM-RIV002.SS.RC.RF
40 254001 VAT Receivable 80 INR V4 1001052002
50 172103 TDS PAYABLE -194C -42 INR 1001052002
50 176101 WCT-TDS payable -42 INR 1001052002
In the MIRO Accounting Document profit center for [162101] GR/IR-Material A/C has taken from WBS element
Please note that we are using document splitting with Profit center is mandatory
We have created same scenario for Cost center. After posting the GRN profit center is taken from cost center for both GR/IR account in MIGO & MIRO accounting documents.
Plez helpHello
ANy suggestion for question & if solved do let me know -
BAPI_PO_CHANGE me22n add profit center for purchase requisition number
Hello all,
I have to add an item line for a specific sales order( p_vbeln ).
for that i use BAPI_SALESORDER_CHANGE and it works and the item is inserted.
( p_posnr = sales order item and ln_etnr = schedule_line = 1 )
Now I have to maintain the specific po item line and to insert the Profit Center related to the Purchase Requisition Number that was assigned to the above sales order item like using transaction ME22N.
when i use the transaction all i have to do is to ADD the Purchase requisition number to the PO Order Number and to add the PROFIT CENTER.
for this i use BAPI_PO_CHANGE.
i colect the folowing data:
from table VBFA( vbelv = sales order number vbeln = l_ebeln)
PO Number = p_ebeln.
from table VBEP ( vbeln = sales order number, posnr = the previously inserted sales order item )
Purchase Requisition Number = l_banfn
Purchase Requisition Item = l_bnfpo
from table VBAP (vbeln = sales order number, posnr = the previously inserted sales order item )
Profit Center = l_prctr
from table EKKN
select max( ebelp )
from ekkn
into l_ebelp
where ebeln = l_ebeln.
add 10 to l_ebelp
Purchase Order Item = l_ebelp .
and i move the data:
i_t_poitem-po_item = l_ebelp.
i_t_poitem-preq_no = l_banfn.
i_t_poitem-preq_item = l_bnfpo.
i_t_poitem-acctasscat = cc_x.
APPEND i_t_poitem.
i_t_poitemx-po_item = l_ebelp.
i_t_poitemx-po_itemx = cc_x.
i_t_poitemx-preq_no = cc_x.
i_t_poitemx-preq_item = cc_x.
i_t_poitemx-acctasscat = cc_x.
APPEND i_t_poitemx.
i_t_poaccount-po_item = l_ebelp.
i_t_poaccount-itm_number = p_posnr.
i_t_poaccount-SCHED_LINE = ln_etnr.
i_t_poaccount-profit_ctr = l_prctr.
APPEND i_t_poaccount.
i_t_poaccountx-po_item = l_ebelp.
i_t_poaccountx-profit_ctr = cc_x.
APPEND i_t_poaccountx.
then i use the function BAPI_PO_CHANGE:
CALL FUNCTION 'BAPI_PO_CHANGE'
EXPORTING
purchaseorder = p_ebeln
testrun = l_test
TABLES
return = i_t_return_po
poitem = i_t_poitem
poitemx = i_t_poitemx
poaccount = i_t_poaccount
poaccountx = i_t_poaccountx.
BUT i get the folowing result ( messages in return table)
Insert item for PO-order
Message: Changing of PO using Enjoy BAPI unsuccessful ;
Message: Purchase order item 00120 still contains faulty account assignments ;
Message: Enter Profit Center ;
what should i do?
best regards,
emiliahello,
i debugged the function.
first the data from poaccount is copied in lt_account.
then this happens:
PERFORM get_current_data
TABLES poitem poschedule poaccount
pocondheader pocond
extensionout
poexpimpitem allversions popartner
potextheader potextitem return
USING
l_po lf_header_currency
CHANGING
expheader exppoexpimpheader.
exppoexpimpheader = poexpimpheader. "foreign trade export workaround
after this form is executed poaccount-profit_ctr is empty.
lt_account-profit_ctr in not empty but then it is not anymore.
in the form this happens:
item data
CALL METHOD im_po->get_items
IMPORTING
ex_items = lt_items.
LOOP AT lt_items INTO an_item.
l_item ?= an_item-model.
CALL METHOD l_item->get_data
IMPORTING
ex_data = ls_mepoitem.
ls_mepoitem-ebeln = ls_header-ebeln.
APPEND ls_mepoitem TO lt_item.
schedules
accountings*
CALL METHOD l_item->get_po_accountings
IMPORTING
ex_accountings = lt_accountings.
LOOP AT lt_accountings INTO an_item.
l_accounting ?= an_item-model.
CALL METHOD l_accounting->get_data
IMPORTING
ex_data = ls_mepoaccounting.
ls_mepoaccounting-ebeln = ls_header-ebeln.
APPEND ls_mepoaccounting TO lt_account.
ENDLOOP.
item conditions
foreign trade (item data; EIPO)
ENDLOOP.
so it acctualy copies every item from purchase number ebeln in lt_item.
for each one of them it copies the account data into lt_account.
so the last loop is for the item that i want to enhance.
here it copies all the necessary data in lt_account except of course the profit center because that's the one that i need to insert.
after this loop there is a form:
PERFORM move_account_out TABLES lt_account
ext_poaccount
USING header_currency.
where the ext_poaccount is the poaccount parameter.
this form:
clears ext_poaccount.
copies the data from lt_account into ext_poaccount.
and returns the ext_poaccount with the empty Profit center field
and so after performing get_current_data my parameter is deleted.
then it's almost the end of the function and nothing else related to the poaccount parameter.
so it's no use for me to insert the field Profit_Center?
is there another FM that i should use to be able to insert the profit center?
what should i do?
Best regards,
Emilia -
Assigning profit center for vendor to vendor transfer (F-02)
Hi,
We are having two profit centers and would like to generate financial statments each profit center wise for which we must assign profit center for each entry passed.
Now we want to transfer balance from one vendor to another(which is a normal scenario in our case) with tcode F-02, but it doesn't allow us to select profit center and at the same time it gives an error that profit center not selected.
kindly guide us
SanjayHi,
You have not mentioned teh Verison you are in.
Assuming you are in ECC 6.0 (As the error posted seems to be more relevant for this version) and document splitting is enabled, you cannot transfer from vendor to vendor or customer as profit centres in recon accounts are not taken by system.
So you need to take a intermediary GL account for first transferring from one vendor to GL account where you will be giving the profit center in teh gl line item and save. After that you use same GL account to transfer th amount to other Vendor account.
The system derives the proft center from GKL line item to teh AR/AP line items. Use F-44 or F-32 as the case may be.
Check document type in F-02 if you are using this as document type also controls the psoting in new GL.
Reward if useful.
Sarma -
Profit Center for Vendor/Customer line item in F-02
hi all,
We have implemented SAP ECC 6.
At the time of vendor line item posting, there is no input field for profit center.
Can anyone please tell the way out for Profit Center field pop up in case of t-code like f-02 for vendors & customers
AbhishekPlease note the following:
- On FBL5N and alike customer/vendor line item reports you won't find
the field profit center filled; hence you can't directly input it during document entry (as pre-mentioned)
and the profit center for customer/vendor gets inherited (as of document splitting functionality) from the document other line item(s) (according to the defined document splitting rules...)
- Yet you can use the below reports (with New G/L.) to get the customer/vendor line items wise reporting over a profit center (i.e. unlike FBL5N & showing the inherited customer/vendor profit center in the G/L. view)
S_AC0_52000887 - Line Items->Open Items->Receivables: Profit Center
S_AC0_52000888- Line Items->Open Items->Payables: Profit Center
In both reports you can use:
"Custom Selections" -Dynamic Selections Icon- enabling you to filter the output according to
a. Customer line items specific data entered within the posted document(s)
b. General ledger items of the G/L. view of the posted document(s)
& the "Output type" includes like most of the New G/L. Reports:
- Graphical report output
- Classical drill-down report
- Object list (more than one lead column) -
Open profit center for reconciliation account
Hi experts
I need to display the field profit center for reconciliation account and I check Field Status Group (OBC4 & OB41). The field Profit center is mandatory.The new legder is not activate
But when I use the FB01 , the profit center is not available
So It s possible to display the field Profit center for reconciliation account without the New Ledger ??
Thanks for your helpHi
If you are referring to Asset Recon account - You can not enter any Pr Ctr manually in it...
Just ensure
1. Cost Center is maintained in Asset master
2. Maintain KOSTL in T code ACSET for Acq Posting and transaction type *
3. Create APC account as Statistical cost element
Whether New GL or not, PC in Asset recon a/c depends on these settings.... You cant enter it manually in the APC acount
Regards
Ajay M -
Hi,
We have a stanndard report for customer evaluation is 'RFDOPR00'.This report is working based on company code level.
But our client needs a custom report which should work based on Profit center.
for that I have created a report for customer evaluation taking profit center value from BSID table. But in this table no PRCTR value filled except 0099990000.
So in this case, how can we get profit center value to make a report.
Kindly provide me a solution for this...
Thank you!!!
Regards,
Anilkumar.GHi,
Thanks for your replies...
Actually the standard report program is using LDB 'DDF' and inside source code we have PRCTR. But not able to find the table name (which are having open items) where PRCTR value will be available..
Regards,
Anilkumar.G -
Default Profit Center for Retained Earnings Account
Hi,
We wish to default a profit center for our retained earnings account. Currently, the system carries forward P/L balance to Retained Earnings Account Profit Center wise.
Kindly advise on how we can default a particular PC for retained earnings account. Also in case it is possble, does the system balance the PC wise trial balance by changing balances in Inter PC Balancing account (Zero Balance Clearing)?
Thanks!Dear,
You can default through 3KEH in classic GL and through FAGL3KEH in New GL
Br, Vivek -
Profit Center for Cash Journal
Hi Guru,
how to default the profit center in cash journal wise in FBCJ or else any alternative way to make to profit center default in cash journal.
Thanks and Advance
Laxmi narayanPlease assign default profit center for the GL account defined for Cash journal.
This will resolve your issue.
- Kiran -
Profit center for AUC settlement
Hi Friends,
I am trying to settle AUC to final asset with KO88. Posting goes like Cr AUC gl acct Dr. final asset GL. But I am not getting any profit centers in that posting. Final asset is assigned to a cost center which is linked to profit center so I thought it would bring that value. Also we have a hard coded validation rule for document type SA and acct type K or D, profit center is mandatory so now it is preventing me to do the settlement. Any clue how to populate the profit center for final asset and AUC during settlement.
Thanks in advanceHi
Check the following
1. Your Asset APC account should be Category 90 (Statistical) Cost element
2. Do settings in T code ACSET - Allow KOSTL for Trans Type * and APC Posting / Depreciation - and tick the check box in last column
3. FSG should allow KOSTL and PRCTR - This you have already checked in OBC4... Check OB41 as well for the FSG of Posting key
Regards
Ajay M -
Change profit center for accounting document on item line
HI
I need to change profit center for accounting document on item line, for that purpose I have used user-exit EXIT_SAPLV60B_004, but my new profit center gets latly overwritten in FM CO_DOCUMENT_CHECK (which is called from FM AC_DOCUMENT_CREATE). It gets overwritten from COBL. Is there any way to solve this?HI,
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
-
How do I move a document into a folder in PDF reader on an iPad
How do I move a document into a file in PDF reader on my iPad
-
Nokia Asha 205 firmware update while roaming
Hello, is it possible to update the Asha 205's firmware when the phone is roaming? The device does not have an USB-port, and Nokia Suite won't let me update when the phone is connected via Bluetooth. The FOTA update isn't working, because the phone t
-
Will These Applications Run? (Updating from 10.6.8 to 10.8)
Hi. I have a Mac that is running OSX 10.6.8. Processor: 2.53 GHz Intel Core 2 Duo Memory: 4 GB 1067 MHz DDR3 Startup Disk: Macintosh HD I am going to be getting SimCity on Thursday and when I went through the game specs I had everything except it sai
-
AE CS5 Photoshop Import Madness
Hello! I am a freelancer working at an animation studio in London. They are running CS5 on their Macs, the one I'm on now is OS X 10.6.7, 2x3 GHz Quad-Core Intel Xeon, 5 GB 667 MHz DDR2 Memory, with a fresh install of CS5. On launcing I receive this
-
Unable to find Error File after dataload in EAS 9.3.1
After testing the dataload process there were rejected records acquired however the dataload.err cannot be found. The Hyperion help documentation states that the file should be located on the local machine in the following location aaspath\client\dat