Account Assignment in an automatic PO created from a goods receipt idoc

Hi guys,
I'm doing a goods receipt via the IDOC MBGMCR that is automatically creating a PO.  Is there a way to make the item on that PO using the account assignement "K" (Cost Center) ?
In the BAPI for the goods movement, they are calling the function module "ME_CREATE_PO_ITEM" to create/prepare the item.  In that called, they defaulted the account assignement to space!!! I don't know how I can overwrite it.  Is it possible via configuration ??
Many thanks,
Stéphane

Hi Stephen,
Did you find an answer to your query, i have the same question i want to default the account assignment 'K' for each item for a particular stock transport order.
I'm wondering if it can be configured or do i need to have ABAP do it.
your reply is greatly appreciated,
Thanks,
Michelle

Similar Messages

  • Account assignment for group asset is different from that in asset

    Dear experts,
    I have creted one main asset . and i have created group asset. and my main asset class and group asset class are both are different.If i continue that error assets are shoud be craeted .but the depreciation key and usefull life and ordinary depreciation will going and it's showing grey.
    My question at the time of assighning the group asset for the particular assets the below error is comming.
    Account assignment for group asset is different from that in asset
    Message no. AA810
    Diagnosis
    The account allocation 14000 of the group asset 140000001 0 is different from account allocation 1000 of the asset.
    System Response
    This error needs to be corrected for balance sheet valuation (usually determined in depreciation area 01). For all other depreciation areas, this is only a warning you should check.
    Procedure
    Check your entry. When an individual asset has a different account assignment than the group asset, it is not possible to reconcile the individual asset to the group asset in reporting by means of accounts.
    kindly help on this issue
    regards
    venkataswamy

    Hi sudhakar
    Thanks for your reply
    1) for example i have buliding asset class and i have one group asset class.under the building asset account determination i have assighned the gl a/c for both b/s and book deprecitaion
    In groups asset class also i have done same things. i have craeted asset under building asset class and created one asset under group assets.
    then assighned the group asset to main assets. the error is comming like this Account assignment for group asset is different from that in asset
    I have serched in sdn forum and service .sap.com . they are saying you can use same gl a/c for both asset class.for depreciation .i have tried this scenario. still i am getting the same error and same problem.
    The most important thing is we are working on ECC 6 versions
    sap note 76186.
    Kindly help me
    Regards
    venkataswamy
    Edited by: venkataswamy bathini on Jul 6, 2009 9:22 AM

  • Two accounting documnets to be generated at time of MIGO (Goods Receipt)?

    Hi SAP Gurus,
    Could you please give the solution to the below scenario.
    Two accounting documnets to be generated at time of MIGO (Goods Receipt) with two different documnet types ?
    1) 1st Accounting Document:-----
         Inventory a/c DR                               
              To GR/IR Clearing a/c            
    2) 2nd Accounting Document :----
         Cost of Goods Sold a/c DR       
               To Inventory a/c                   
    NOTE: G/L Account assigned in the Purchase Order.
    Many Thanks
    Kiran Konujula.

    >
    Two accounting documnets to be generated at time of MIGO (Goods Receipt)
    with two different documnet types ?
    1) 1st Accounting Document:-----
         Inventory a/c DR                               
         To GR/IR Clearing a/c
    This one is normal GR entry done against PO with movmeent 101     
    > 2) 2nd Accounting Document :----
         Cost of Goods Sold a/c DR       
               To Inventory a/c
    This entry comes in play when you do good issue against sales order. Nothing to do with GR.
    Edited by: Afshad Irani on May 4, 2010 2:46 PM

  • Account assignment for service item not copied from PR in PO

    Hi,
    We have a PR created for a service item from SRM. When we run ME59 it automatically creates the PO without issues by copying the account assignment details from the PR. The problem is as follows:
    1. If we try to manually create a PO using ME21N from this PR, the account assignment is not getting copied from the PR but it throws the account assignment pop up screen where we manually have to enter the account assignment.
    2. The client is using a Z transaction of ME59 which is copy of Me59 but with a few validations (nothing to do with Account assignment). This Z Tcode also fails to create the PO with the error 'no account assignment'. Indicating that the PR account assignment details are not getting copied.
    Note: This is happening for all PR's irrespective of whether its created in SRM or created using ME51N.
    Please let me know if someone has faced a similar issue
    Thanks,
    Lakshmi

    Hi,
    Please check first if notes 1085214 and 1102653   
    could solve the issue. 
    Regards,
    Edit

  • Account Assignment is not populated while creating service PO using BAPI

    Hi All,
    I am creating a service PO using BAPI_PO_CREATE1 and Its creating PO, But when I go to ME23n and check Account Assignment in Services then Its empty.
    Please help me as I am not able to understand what could be the problem...
    Thanks & Regards,
    Prabhat Pandey

    Thanks for your most valuable answer.
    Regards,
    Prabhat

  • How do I link manufacturing label designed in wwi to print automatically during the time of goods receipts from the production

    Hello
    Is there any way to link label to print automatically from the printer at the time of TECO ,Goods receipts from production and PGI at the time of delivery to the customers .
    Regards,
    M D

    Hi !
    GLM supports Automatic Label Print requests & Automatic Label Printing(immediately after generation of automatic print requests). But this is limited to Delivery order, Process Order & Handling Unit as standard. For other scenarios, you will have to customize.
    Automatic Print Request Generation - Global Label Management (EHS-SAF-GLM) - SAP Library
    http://help.sap.com/erp2005_ehp_07/helpdata/en/32/a81051e71e2514e10000000a44176d/content.htm?frameset=/en/00/704e3340074776bb6877aa7edb7394/frameset.htm&current_toc=/en/54/c86cb93bdc4d698eb8e2524b59692b/plain.htm&node_id=38
    But this is possible with "Enhanced" GLM. It's better explained here,
    New changes for GLM in EHP7.0 and ERP 6.0
    Regards
    Subash Sankar

  • "Account determination for entry CHFS BSX 37AP not possible" -goods receipt

    I have a student using ECC 6.0 getting the following message when posting a goods receipt for a purchase order:
    "Account determination for entry CHFS BSX 37AP not possible"
    This is in the Fitter Snacker configuration phase 2 client, but now doing the configuration for the Marshall Muffler Company case. No other student has this message. I have checked everything that I can think of -- company, plant, purchasing organization, G/L account numbers, vendors, materials, quanity and value updating, valuation grouping code, automatic postings for inventory posting (BSX), controlling area, .. but cannot find anything amiss.
    Can anyone help with this? We are client 625 on the moscow server at Chico. The student is user 625-037, using 37 as a prefix for the various components e.g. company code 37MM. One PO for exampe is 4500000116. The student has created a number of orders trying to get it to work. Strangely, the student did get one raw material received on one PO for a vendor earlier, but now cannot do so.

    1st thing to do is understand the error message format.  - comp. code - transac - valuation class.  so you need to tackle BSX part. 
    goto transaction code OMS2 make sure the Mtype for Raw materials (RM) , Semifinished (SP) and Finished (FP) is selected for Quantity / Value updating tick box.  You can check this by going clicking Quantity/valur updating on left  hand panel.
    then goto transaction code OBYC for BSX transaction , make sure your plant it is assign to the correct valuation classs 3000. save everything.
    now try goto transaction code MIGO to cerate the GR again.   Normally if you don't maintain the BSX properly, you bond to have similiar error for WRX.   so please make sure that is also taken care off.    
    Now you should be fine creating the GR.  Good luck.

  • Automatic creation of po during goods receipt

    Dear all,
    po has not been created, but while receiving the material i want automatic generation of po. i have some knowledge about it but it is not working. Can some one send detailed information. with navigation details. Tips that are posted on the sdn is not working.
    Regards

    Hi
    Pl Make sure you have done following settings for the Automatic Creation of PO during GR:
    1) In SPRO ---> Enterprise Structure ---> Assignment -
    >  Material Management ---> Assign Std. Purchase Org. to your Plant...
    2) In Material Master -
    > Purchasing View -
    > Pl. Check. Automatic PO check Box   and  Maintain Purchasing Group....
    3)Create your Vendor for oyur Company Code and  Std. Pur. Org. combination and in that Vendor Master -> Purchasing Data View--- > Pl. Check Auto. PO Check Box...
    4)For your Vendor -Material Master - Plant -Std. Pur. Org combination Maintain valid Info record...
    5)In OLMB --->  Goods Receipt -
    > Automatic Creation of PO ---> for the M.Type:101  pl. check  Auto PO check Box
    6) In OLMB ---> Movement types ---> Copy,Delete, Check M.Types ---> Choose the M.Type:101   and go into Details -
    > Then goto  allowed Fields for M.Types for M.Type:101 --->  there for the M.Type:101   make the field   LIFNR as a Mandatoty field...
    If you have done the above settings properly...then  in  MIGO ---> Choose Transaction GR  and referance as Others
      and do the GR....Make sure you are doing GR with M.Type:101....and yougive the Vendor's name during   GR....
    Now If you save the GR ...automatically PO will be created...
    this you can see it by displaying the MIGO Document..
    Reward if useful
    Regards
    S.baskaran

  • Shipping notification created after occurred goods receipt

    Hello,
    We have in place a standard confirmation process for intercompany purchase orders. This means that when the outbound delivery is created, the system generates an inbound (confirmation) linked to the PO line.
    We have noticed that after the goods receipt has been performed, when users enter the outbound delivery in change mode the system generates output (EDI output) and a new confirmation is created and placed into the PO.
    This has as consequence that if the delivery completed in the PO is not yet set, unreal quantities are shown as expected in  the ATP check.
    Has anyone experienced this issue before?
    Thanks.
    JC Garita

    Dear,
    Please check you make the PO with account assignment category (K, A, O) so while you make the GRN with reference of PO so system will make the MM document and also FI document but stock will direct hit to concern cost center, Asset, or Order.
    and stock will not be updated or appearing in MMBE or any standard reports.
    Regards,
    Aamir

  • Difference between creating a "Item" Goods Receipt PO and a "Service" one

    I use following codes to create a Goods Receipt PO. It works fine while creating an "item-type" goods recript PO, but got the following error
    message when creating a "service-type" one?
            "-5--2 Data cannot be empty in one of the tables Doc1, Doc3, Doc10. OPDN.DocNum Line: 0"
    I have read many articles on the forum about -5002 error  and realize that is caused mostly by mandatory fields or foreign keys.
    But  does someone give me more clear idea on this?  
    oPD = Nothing
                oPD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseDeliveryNotes)
                ocb = oFormIQC.Items.Item("cbDocType").Specific
                If ocb.Selected.Value = "I" Then
                    oPD.DocType = SAPbobsCOM.BoDocumentTypes.dDocument_Items
                Else
                    oPD.DocType = SAPbobsCOM.BoDocumentTypes.dDocument_Service
                End If
                oed = oFormIQC.Items.Item("13").Specific
                oPD.CardCode = oed.Value
                oed = oFormIQC.Items.Item("edComments").Specific
                oPD.Comments = oed.Value
                For offset As Integer = 0 To PDcount - 1
                    If offset > 0 Then
                        oPD.Lines.Add()
                    End If
                    oPD.Lines.SetCurrentLine(offset)
                    If oPD.DocType = SAPbobsCOM.BoDocumentTypes.dDocument_Items Then
                        oPD.Lines.ItemCode = oDataTable.GetValue("U_ItemCode", offset)
                        oPD.Lines.ItemDescription = oDataTable.GetValue("U_Descrp", offset)
                        oPD.Lines.Quantity = oDataTable.GetValue("U_AcptQty", offset)
                        oPD.Lines.UnitPrice = oDataTable.GetValue("U_Price", offset)
                    Else
                        oPD.Lines.ItemDescription = oDataTable.GetValue("U_Descrp", offset)
                        oPD.Lines.LineTotal = oDataTable.GetValue("U_LineTtl", offset)
                    End If
                Next
                RetVal = oPD.Add()
                If RetVal <> 0 Then ' If the addition failed
                    oCompany.GetLastError(ErrCode, ErrMsg)
                    SBO_Application.MessageBox( ErrCode & ", " & ErrMsg)
                    Return False
                End If
    Edited by: Chao-Yi Wu on Aug 24, 2009 5:16 AM

    The G/L Account (AcctCode) field in doc line is mandotary if it is service type. So you should add this as well.
    oPD.Lines.AccountCode = ****

  • Change unit cost AP Invoice line based from a Goods Receipt PO base entry

    Hi,
    Im using SAP B1 2007A PL 46 with B1DE 2.0
    SCENARIO:
    (1) I have a goods receipt PO that has a line for an item with a quantity but 0 unit cost.
    (2) At a later stage, via DI, I create a AP Invoice and set the line BaseType, BaseEntry and BaseLine to point to the goods receipt from step 1.
    REQUIREMENT:
    When creating the AP INV, I would like to change the unit cost for the line to something other than 0. I find however, that because I have based the AP INV Line a base document, I cannot override the line price for the line before calling the APINV.Add() method. After calling the APINV.Add() method, the APINV Line still has the price of 0 even though I set it, for example, to 100. (see example below)
                        docAPInv.Lines.BaseType = (int)BoAPARDocumentTypes.bodt_PurchaseDeliveryNote;
                        docAPInv.Lines.BaseEntry = GoodsReceiptPODocEntry;
                        docAPInv.Lines.BaseLine = 0;
                        docAPInv.Lines.Price = 100; //NEW PRICE            SEEMS TO HAVE NO EFFECT
                    int res = docAPInv.Add();
                    if (res < 0)
                        Success = false;
                        ErrorReason = B1Connections.diCompany.GetLastErrorDescription();
                        break;

    Hello,
    If your system is installed as 2007 (no upgrade from 2004/2005)
    -> use the UnitPrice instead of Price field.
    If you have upgraded from 2005/2005 versions,
    ->You can choose between the UnitPrice and Price fields up to the Customizing settings.
    See SAP Note 1334050
    Regards,
    J.

  • Automatic e-mail on initial Goods Receipt

    After we create a new product in SAP, we need a way to automatically e-mail a list of people only on the initial receipt of that item.  We do not want an e-mail to go out on following receipts.  Also, we would like the list to be specific to each plant that it is received into.
    Example: We create a new product in SAP and receive it into plant 1010 two weeks after it has been created.  We want SAP to e-mail three people in plant 1010 that the product is ready to sell.  We do not want them to be e-mailed anymore when that product is received again.
    Is SAP capable of this?

    Hi ,
    Though this is not the exact solution you are looking for , I suggest you to try activating missing part check for your plant , and use reservation for the initial procurement. If you do the correct settings in this , you can do  the customisation to get the mails to the MRP controler of the plant.
    Refer the URL for information on missing part check :
    http://help.sap.com/saphelp_47x200/helpdata/en/e1/8e51341a06084de10000009b38f83b/frameset.htm
    Hope this would serve your purpose.
    Regards
    raghuramam.

  • Automatic creation of equipment after goods receipt

    Hi SAP experts,
    I need help to find where in  SPRO do I turn off/on the automatic creation of equipment once a GR is done for serialised equipment.
    Also, is it a PM function or MM?
    Thank you
    Emanuel

    hi
    SPRO>PM>Master data in PM >Technical objects->Define Serial No Profile  -->here goto ur serializing no profile --> goto serializing procedure and chek in MMSL procedure and change the EqR value to 1 .
    regards
    pushpa

  • Automatic unexpected MB11(561) upon goods receipt - MIGO_GR(101)- Why????

    Hi.
    Whenever we do & save MIGO_GR(101) for the PO, automatically in background, MB11(561) happens which doubles the stock simply. The MB11-561 documents stamped with same userid/time stamp and same material data.
    We really do nto expect this MB11(561) to happen. This is happening for one of the plants only.
    Please throw soem light.
    Thanks

    HI,
    I agree with Arif, do have someone check the code.
    It does look like someone has modified the code to do this, it doesn't sound like it could be a bug (if it IS a bug then it is the cleverest bug I have heard of).
    Steve B

  • Is there an IDOC that be generated from a Goods Receipt?

    My scenario is that I need to update a 3rd party system whenever we receive a part in the WH against a PO using MIGO. I'm wondering if there is an IDOC that can be triggered to send some sort of update when this occurs. I know about WMMBXY but it seems that this can only be used for inbound processing.
    Just to be clear, I am not looking for an IDOC I can use to post a goods receipt.
    Any suggestions? Thanks in advance.

    using the IDOC type and Message type you can configure in the WE20. The Output type depends on your requirement. I am not sure which one you are using...?
    WE01, WE02 etc..

Maybe you are looking for