MB1A and Cost Center (KOSTL) based on Order (AUFNR)
Hello,
I have a requirement, where i must make a modification in transaction MB1A in the following way:
On the second screen "Enter Goods Issue: New items" i must fill automatically the Cost Center field, based on the Order number (after the Enter).
How can I do this?
I've tried with a substitution in GGB1 but it didn't worked:
select single kostv from coas into cobl-kostl where aufnr = cobl-aufnr.
Thanks in advance !
Tohi
HI
Can you check the below exits
Transaction Code - MB1A Goods Withdrawal
Enhancement/ Business Add-in Description
Enhancement
MBCF0002 Customer function exit: Segment text in material doc. item
MBCF0005 Material document item for goods receipt/issue slip
MBCF0006 Customer function for WBS element
MBCF0007 Customer function exit: Updating a reservation
MBCF0009 Filling the storage location field
MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_CREATE1
MBCF0011 Read from RESB and RKPF for print list in MB26
MB_CF001 Customer Function Exit in the Case of Updating a Mat. Doc.
BADI
MB_MIGO_BADI BAdI in MIGO for External Detail Subscreens
MB_MIGO_ITEM_BADI BAdI in MIGO for Changing Item Data
MB_PHYSINV_INTERNAL Connection: Core Inventory and Retail AddOn
MB_QUAN_CHECK_BADI BAdI: Item Data at Time of Quantity Check
MB_RESERVATION_BADI MB21/MB22: Check and Complete Dialog Data
MB_RESERVATION_SCR Screen BAdI for Retrofit DFPS
MB_RESERVATION_UPCHD BAdI for Creation and Changing of Manual Reservations
MB_RES_BAPI_CHANGE BAdI: Execution of Changes to Reservation Fields
MB_RES_BAPI_CREATE1 BAdI: Adoption of Customer's Own Fields as Reserv. Fields
MB_RES_BAPI_DETAIL1 BAdI: Display of Customer's Own Fields in Reservations
MB_STOR_LOC_BADI_GTS BADI to Check and Change Storage Location (GTS Fct. Only)
Similar Messages
-
Post proft segment and cost center in a sales order with value type 4 in CC
Hello,
We have CO-PA activated in SD. When we create the Sales order the field "Profit Segment" is automatically filled (with the characteristics values) and additionally we field manually the cost center.
The main problem is that when we post in the two CO objects the cost center becomes automatically with value type 11 "Statistical Actual".
In the end of the month we need to do the Assessments (KSU5) from the invoices created from one cost center to various cost centers but since the cost center in the invoice has "statistical actual" value type we can't do the assessments.
Is there any way to post in profit segment and in cost center and the cost center becomes with value type 4 "Actual"?
Thank YouHello,
Thank You for you answer. I have one more question.
Is there any way to desactivate the field "Proft Segment" only for a specific document type?
I've already tried in transaction KE4W and system is not creating now the Profitability Analysis document but this field "Profit Segment" is still with values so the cost center is still with value type 11.
I've tried to delete manualy the values in the field Profitability Analysis but system gives me an error related with incomplete data in sales order. I've look in SD customizing and this field is not configured in the incomplete data messages
Best Regards -
COGS and cost center (by order reason)
hi,
i am confuse of COGS and cost center which assign by order reason
below is my scenario, free sample order will be created for both outside customer and internal department. if free sample order for outside customer, COGS will have after PGI, but internal department using this sample, order reason to assign cost center will be used. DN also require to create.
Then my question is any COGS of sample order for internal department will be created? whats accouting impact. pls advice
thanksHi,
Thanks for the quick replies. Our requirement is to post costs to a cost center for some order reasons. (like free samples to cost centers). It is not for preventing costs.
I think the setting in OVF3 may work. I am testing in sandbox client and update if sucessful.
Thanks
Kalyani. -
Internal order and Cost center
hi guys
can anyone please explain me why do we have cost centers and internal orders?
If we can track cost to cost center then why do we need internal orders?
please give some detailed explanation.
thankswhen you are posting a document and if the g/l is created as a cost element then
you have to either assign a cost center, profit center, internal order etc
so when you are posting an expense and if its for that project you assign the
internal order and when the project is finished you can settle it to a cost center.
If we can assign both internal order and cost center i dont think so but not very
sure. Best way to learn these things i would recommend is try it in test system
that way you will understand better about the whole flow and it will stick in your
mind.
Regards,
Zaid -
Hi Members,
Finance and Controlling report in combination with Cost center, GL account, Internal Order.
Please provide any slandered report in all 3 dimension.
Thanks
Dileep KumarSearch this query in FI Controlling forum am sure you will get useful results there.
This kind of reports related to Controlling are usually created using Report Writer tool.
In fact majority of reports in Controlling component is created using Report Writer only. -
Cost Center field in Production Order CO01 and PO tables
Hi SAP Consultants,
Is there any Cost Center field in Production Order transaction CO01 ?
What are the tables where Production order data is stored/saved ?
Any help would be appreciated.
Thanks in advance.Need to understand your purpose first. Let's not make it any more technical than it should be, talking in terms of fields and layouts.
All the replies given before mine are referring to the operational costs - which are what are passed on "for performing each operation" of the production order. These are the costs coming to the production order from the work center where the operation is performed. At the end of several operations, the production order would have collected all these costs of different operations, and also those of the materials used in the process. There may be other (overhead, etc) costs coming on to the production order too.
If you're looking for one "cost center" for the entire production order, what cost center is this? Is it the department to which you want to settle the production costs? This is possible, that all the costs accumulated in the production order over the course of its life are finally "settled" to a different cost object, which can be an inventory account, or a sales order, an internal order, or a cost center etc. (There are exceptions, where a production order need not be settled but lets leave this to save us some complexity).
What exactly are you looking for? What is the business purpose you are trying to achieve? Or is it just a purely technical reason to write a report or something? Even then we need to know the purpose and objective of the report/enhancement before being able to answer your question.
-Ram -
Cost center (KOSTL) is not updating in HR master table for infotype 0001
Hi ABAP gurus,
We have one interface where we are posting the HR master data using the IDOC (IDOC_INPUT_HRMD) into SAP.
While updating cost center, We have one issue regarding infotype 0001.
It is working fine for all the fields except: KOSTL, ORGEH, STELL. Surprisingly the created IDOC contains the value in these fields but it is not getting updated in master table PA0001. I have tryied inserting the value manually and it is working fine and tried with BDC Programming and no issues. Only we have this issue while we want to use the IDOC. This is mandatory in our interface.
While debugging the IDOC function module I found that one condition is there for these three fields.
CHECK NOT inte IS INITIAL. where inte value is being fetched from table t77s0 based on
GRPID = PLOGI
SEMID = ORGA
In this condition I see no value for this combination and hence it is not getting further. I am not sure how this condition does exist for only these three fields and not for others.
Can any please provide the reasona and solution for this.
Appreciate the help in advance.
Thanks,
JitenderDear Mohan,
Try assigning your cost center to position it will default both your org unit and cost center.
Cheers! -
Not updating G/L account and cost center with BAPI BAPI_PO_CREATE1
Hello Friends,
The two fields G/L ACCOUNT and Cost Center is not updated using BAPI BAPI_PO_CREATE1. I am unable to understand why? This is what i am passing to account assignment structure( POACCOUNT). Filled POACCOUNTX structre as well. I have passed company code at the header level.
PO_ITEM = 00010
SERIAL_NO = 01
CREAT_DATE = sy-datum
GL_ACCOUNT = 621000
COSTCENTER = 1000
CO_AREA = 4000
Please let me know why it is not updating anything i missed while passing?
2>I need to update GR quantity but this field is not available in the BAPI ..Please let me know how to update this field.
Any help is highly appreciated.
Regards,
RajHi, I have a problem I use the bapi BAPI_PO_CREATE1, I pass the table pt_poaccount in the parameter poaccount but the bapi when register my purchase order doesn't register correctly the values KOSTL, AUFNR, PS_PSP_PNR, NPLNR of the tablepoaccount and register the default values of the contract. Please i need help with this.
CLEAR s_poaccount.
s_poaccount-po_item = <fs_datos>-ebelp.
s_poaccount-serial_no = w_serial.
s_poaccount-costcenter = <fs_datos>-kostl.
s_poaccount-orderid = <fs_datos>-aufnr.
s_poaccount-wbs_element = <fs_datos>-ps_psp_pnr.
s_poaccount-network = <fs_datos>-nplnr.
s_poaccount-activity = <fs_datos>-vornr.
s_poaccount-quantity = <fs_datos>-menge.
s_poaccount-net_value = <fs_datos>-brtwr.
s_poaccount-creat_date = sy-datum.
s_poaccount-itm_number = <fs_datos>-ebelp.
s_poaccount-co_area = '1001'.
APPEND s_poaccount TO pt_poaccount.
CLEAR s_poaccountx.
s_poaccountx-po_item = <fs_datos>-ebelp.
s_poaccountx-serial_no = w_serial.
s_poaccountx-po_itemx = 'X'.
s_poaccountx-serial_nox = 'X'.
s_poaccountx-creat_date = 'X'.
s_poaccountx-itm_number = 'X'.
s_poaccountx-co_area = 'X'.
s_poaccountx-costcenter = 'X'.
s_poaccountx-orderid = 'X'.
s_poaccountx-wbs_element = 'X'.
s_poaccountx-network = 'X'.
s_poaccountx-activity = 'X'.
s_poaccountx-quantity = 'X'.
s_poaccountx-net_value = 'X'.
APPEND s_poaccountx TO pt_poaccountx.
CALL FUNCTION 'BAPI_PO_CREATE1'
EXPORTING
poheader = pe_poheader
poheaderx = pe_poheaderx
IMPORTING
exppurchaseorder = pi_exppurchaseorder
TABLES
return = pt_return
poitem = pt_poitem
poitemx = pt_poitemx
poschedule = pt_poschedule
poschedulex = pt_poschedulex
poaccount = pt_poaccount
poaccountx = pt_poaccountx
poservices = pt_poservices
posrvaccessvalues = pt_posrvaccessvalues.
The BAPI is register with these values as default however i pass other values in table
pt_poaccount -
Control G/L account and Cost Center for movement type 251
Dear Friends,
I would like to use mov. type 251 for GI for sale and like to control over G/L account and Cost center.
The G/L account is by default from the valuation class of the the material and if the user will enter wrong G/L
we had done the customising in OMJJ movement type 251 - Account grouping - Unchecked the check box of column
"Check account assignment" - Impact is " the system always uses the G/L accounts or account assignments determined automatically"
I also made default cost center for G/L account and plant wise through OKB9.
Now I would like to suppress/dispaly the G/L account and cost center - for same I had done Setting in Entry control menu of OMJJ for 251 of field Account control - Value - "-" field is suppressed. But it is not working.
Please advise to solve this situation.
Thanks & Regards
RajanDear Rajan
Yes, I have checked in MB1A earlier. We have separate node for Field seletion layout for Enjoy transaction MIGO for mvt type in which the G/L account (KONTO) an Cost center (KOSTL) have only optional or required entry selection.
warm regards
Ramakrishna. -
What is the impact of business area and cost center in the sales document
Hi all
I have small doubt regarding what is the impact of bussiness area and cost center in the sales document... what is the uses of these (bussiness area, cost center) is help full for sd module
can any one reply plz....
Thanking youHi,
Business Area determines where the revenue should be allocated when you sell a material or a service.
For eg: If your customer is in say Mumbai and he is ordering for a service in Delhi (say DIAL - Delhi International Airport Limited) then based on the terminology.
Your customer would belong to B Basis Business Area - WHERE THE REVENUE IS COMING FROM or WHERE YOUR CUSTOMER BELONGS TO (SALES OFFICE).
Whereas your DIAL sales will belong to A Basis Business Area - WHERE THE REVENUE IS GOING TO.
Cost Center would determine where your allocate your cost to.
Say Rounding Off can be used as a cost element, because some sort of revenue is lost when figures are roudned off..
Hope it clarifies your doubt.
Reward points if satisfactory
Regards
Ravi.D.Mansharamani -
Cost Elements and Cost Centers in a service order
Hello Finance Friends....
I am inquiring about something that has been happening and I can not find the answer as to how. I spoke with the finance consultant and he seems to think it is the valuation class being changed but the valuation class has not been changed at all....so here is my problem as I am at a lost...it is an intermittent problem....
I have a service order for material to be repaired by the customer...lets say coming in for Ansi Calibration with repair.
The technician will issue material to the service order for repair....if the technician does not end up using the material for repair he will reverse the goods issue and then the material goes back to stock...
in my scenerio ....when the material is issued it is under GL account (cost elelment) 5XXXXXXX. When the reversal was done it went to 6XXXXXXXX. So when the DP90 transaction is done (billing request) it gives the error for cost center XXXX cost elelment 6XXXXXXX and can not complete the transaction DP90. The error is the Material combination for DP90....this works in others....these are just one offs that it is happening to and there seems to be no rhyme or reason to why it happens... I have tried reverse the transaction to put the material back to the service order and then manually reverse myself using the original GL account number it was issued on (5XXXXXX)...however when doing the DP90 it still reads the 6XXXXXXX cost element and cost center XXX. Keep in mind that the valuation class or material type has not been changed.
Where is the GL account and Cost center being derived from in the service order? What can I check?
Thanks in advance....Hi,
Check in T030 table for OBYC assignments and TKA3A table for OKB9 settings.
Also check account assignment tab of PO.
Best Regards,
Madhu -
Statistical posting to Cost Center using Statistical Internal Order
We have a delivery transction in SD which used both a statistical order and cost center as account assignment objects. However, in the cost center report, the amount was shown in the statistical portion of the report. Why could have happened? Shouldn't the item be shown as a true posting?
When you post to an internal order and cost center one of these is statistical
When you say the internal order is satistical then you have actual cost on costcenters. When the internal order is not statistical the internal order get the actual cost and the cost center statistical.
In the fieldstatus group from the internal order you can make the field statistical requered. When you want only to have statistical cost on your internal order.
With CO-PA it is an different case, see the other reaction on this. But then it is better to use profit center accounting for reporting.
Note SD is posting sales (sales cost) and there should no reason to post it on a cost center
Paul -
Link between Employee and Cost center and TCode CAT2
hi all,
can anybody tell me where is the link b/w a PERNR and Cost center (which infotype) ?
if anybody has played with Tcode CAT2, please revert back !!!!!!!!!
Any help will be rewarded !!!!!!
Thnx,
Preetihi puneet,
i have to upload some data in tcode CAT2. There is Cost center that appears in header record of this employee (say 1000) in this transaction ( and say his KOSTL is D010000).
But when i try to update any other cost center with an activity type, it gives me error message and does not allow me to save data.
However, if the COST CENTER <b>CATEGORY</b> is same for all three (activity type, Cost center m tryin to upload and Cost center in header), it allows to save and upload the data.
so my ques is :-
is it necessary to have cost center category same for all the 3 fields or is there some conf. problem?
plz help !!!!!!! -
*Internal Order* or *Cost Center* on SD Sales Order
Hi Gurus,
please can you tell me how we can set automatically Internal Order or Cost Center on SD Sales Order (without putting it manually).
Thank you very much
Kind Regards
AndreaHi Andrea,
As Ambrusa told, one Z table should be created where you can maintain order reasons, sales org, sales order type and the internal order no. as combination and use the below mentioned user exit.
When user create sales order, system will default the order reasons maintained in the z table and internal order no. will be picked as user select the order reason.
Hope this will meet your requirement.
Regards
Suresh. -
Override Company and Cost Center for FI Posting from HR Payroll
Hello all. I have this scenario with a company that was merged into another and retroactive payroll occurs for absences and extra time in the "old" company, but the "old" merged company is closed so no postings can occur.
I also found this unanswered post: How to Override Company and Cost Center for FI Posting from HR Payroll
We suppose that retroactive differences could be accounted in the new company code but I didnu2019t found any way to do it even in the BADI SMOD_PCPO0001 I couldnu2019t find a way to change the company code/cost center....
Does anyone have dealt with the same problem? What is the solution?Amosha, thank you for your response. Here is PCP0 that shows what I mean by 'header company code' that I don't see how to change (I re-ran pd 26 2008--bi-weekly payroll, btw):
06/30/2009 Posting Document
Run 0000002791
Company Code 0057
Document 0000008174
PostingCurrency USD
Reference HRPAY00009
Doc. Type ZB
Run Type PP
Posting Date 12/01/2008
Documant Type G/L Account Document
Document Date 06/30/2009
Bus. Transaction HRP1
There are error messages for this document
Account Number with Text
21301000 Accrued Salaries & Wages CCTR 14515 ...
20303998 HR P/R Doc Split ...
Messages for Document 000008174
Error in document: HRPAY 0000008174
The CO account assignment object belongs to company code 0001, not 0057
Company code 0057 is now closed and has been merged into 0001. Cost center 14515 in the above doc was populated by my clone of RPCIPE00 and call to my BAdI which retrieved current company and cost center from PA0001. You can see from above that the 'header' data still shows 0057 and indeed, my version of RPCIPE00 only changes P_ITEM-BUKRS, P_ITEM-KOSTL and P_ITEM-SGTXT. It looks to me that fm HRPP_TRANSLATE_FICO gets the 'header' company code afresh. I was planning to leave WPBP-BUKRS (and all other Payroll data) alone (ie, not override company code).
As for your other question, we post retros to /551 and /552.
Thanks again.
Maybe you are looking for
-
Java plugin 1.5 not working with firefox
Hey, i'm running SUSE 10.0 and I installed the Java Runtime Environment using the RPM file, and then copied over the .so file into my ~/.mozilla/plugins and ~/.mozilla/firefox/plugins directories, and firefox just ignores them when I try to run a jav
-
Default values for creating vendor master data
Hi. Is it possible to set default value for payment term and planning group when creating vendor master data of a specific account group? Thanks in advance.
-
Where's the best location to place Wireless router
I have a two story house and want to know the best location to get the besp reception inside and outside the house
-
Can't re-install snowleopard operating system
Hi! Thanks for reading my question and helping me to solve my issue. I have an old macbook pro that was purchased around 2010, and I've been trying to re-install OS snowleopard (the original operating system) before selling this laptop. However, the
-
Read Attachment from SAP inbox and Transfer to Application Server Folder
Hi I have one requirement . I have to developed one background program to read the all the attachment in SAP inbox and transfer all this attachment to sap application server folder. Thanks and Regards Shyam