Good receipt problem for subcontracting purchase order

Good receipt problem for subcontracting purchase order
with account assignment type ‘E’.
After update to ECC 6.0. Do good receipt for subcontracting purchase order with account assigment 'E'.The system show the error message(KI235)----Two cost elements (Change in Stock (Subcontracting)&Outside processed fee) haven't CO account assignment.but the field status  for sale order is option entry , when I default cost center for the cost element  in OKB9.the system post the material document and generate the following accounting document.
Doc.Type : WE ( Goods receipt ) Normal document
Doc. Number    5000056065       Company code    1000         Fiscal year     2007
Doc. date      2007.12.04       Posting date    2007.12.04   Period          12
Calculate Tax
Doc.currency   HKD
tm PK Account    Account short text   Tx Cost Ctr   SaleOrder               Amount
1 89 13500000   Stock-Work in proces                   1007823  10             274.4
2 96 21210010   GR/IR Clearing                             1007823  10             205
3 91 41010102   Chg in Stock(Subcon)    10901099  1007823  10            274.4
4 86 41031000   Outside processed fe     10901099  1007823  10            205  
5 99 13500000   Stock-Work in proces                    1007823  10            69.4
6 81 41010101   Cost of Prod (Subco)                      1007823  10           69.40
My problem is:
When use MIGO to do good receipt for subcontracting Purchase order, for consumption account((Change in Stock (Subcontracting)-41010102&Outside processed fee--41031000) ,why the system don’t recognize the sale order filled as CO account assignment?

Dear fanny chen
Did you get a solution for your open question?
I`m facing the same problem, so any help yould be appreciated.
Regards

Similar Messages

  • Goods receipt with reference to Purchase Order

    the requirment is that we should be able to restrict the one Goods receipt posting for one Purchase order.  The standard system is supporting processing of multiple P.O's of different vendors in on GR.
    could anybody suggest to configure the functionality
    regards

    Hi,
    There is no standard option available and I don't think that there is any feasible way of stopping this without the use of a user exit (as already suggested).
    But even the user exit option would be complex because it would have to block off the PO number field after enter (or any other key) was pressed.
    It would also have to stop the use of multiple entries via the "find" option.
    If you have a valid reason for doing this, have you thought of trying to get your users to do as they are told instead of changing the system?
    Why is it important to have one PO per GR ?
    Steve B

  • Problem for Goods Receipt for Subcontracting Purchase Order

    Dear all,
    Presently, we are using SAP version 4.6C and we need to introduce GR for
    Subcontracting Purchase Order. We have developed a ABAP program to handle
    subcon Goods Receipt by uploading flat-files from our subcontractor. The
    scenario is as follows :
    Goods Receipt for Subcontracting Purchase Order
    1. In the ABAP program, function BAPI_GOODSMVT_CREATE will be used for goods
    movement.
    2. Data provided to the function are as follows :
    - Posting date
    - Document date
    - Material number
    - Plant
    - Storage location
    - Batch
    - Movement type (101)
    - Quantity
    - Purchase order number
    - Purchase order item
    - Movement indicator (B - Goods receipt for purchase order)
    3. The function will do data verification and automatically determine GI
    item for subcon stock:
    - Movement type (543)
    - Special stock (O - parts prov. vendor)
    - Material
    - Quantity
    - Plant
    Our problem is that :
    Only the GR item in the interface is to be transferred and the GI item is
    determined by the system. So, the quantity for subcon stock cannot be
    changed using this BAPI. Then the system will continue processing the goods
    receipt and create material document.
    Manually, by using transaction code MIGO, the user can display the subcon
    stock data and then change the quantity.
    By using transaction code MB01, after the user fills in all the GR fields,
    the system comes to line item 002 (subcon stock data) and then quantity can
    be changed.
    As per user requirement, quantity for GI item must be same with the quantity
    that has been transferred to subcon vendor in Delivery for Subcon
    (transaction code VL02N).
    We cannot achieve this requirement by using the BAPI mentioned above. Would
    appreciate any valuable help from anyone who is able to help us on this
    matter. Are there any other BAPI's that can help us to achieve the same
    result ?
    Thank you in advance and best regards.

    As far as i understood the problem I suggest u to create the
    BDC according to user actions that are performed in he manual
    operation.
    I can't say that the BAPI performs the exac solution what you want.
    I have done some BDC work using MB01 and suggest you to be careful
    and try to keep the complete in the logic as some chages in rows in BDC will
    change the complete scenario.And throw correct quantity val in correct
    material
    row.
    This methodology will help u even in mass uploads.
    Or in case of automation u can perform the call transaction BDC in
    background mode.
    so As per my understanding bdc program is the solution. pls try and let me
    know.

  • Posting of Components made compulsory for Subcontracting Purchase orders

    Hi
    I am working in ECC 6.0. In case of Goods receipt for subcontracting Purchase Orders, does the child quantities automatically changes when i change the default quantity of Header material according to the BOM relation ? I found it is not happenning.Please inform is this standard?
    Also i can post the documentfor  header material without the components,by manually changing the quantities for Child items .Kindly give a me suggestion by which this can be controlled.
    Regards
    Arvind

    Hi,
    1.
    The component changes as per the header material in MIGO when you want to do GR. Please take care that the components musn't be exploded when you change the qty of the BOM header material. If they are exploded, collapse them ("close the explosion"), after that change the qty of header material and when you explode the components again you should get the proper quantities (this button is in the line of BOM header material).
    2.
    As per my best knowledge, in standard system you cannot restrict/control the change of component quantities. The cause of it might be that the quantity of components may differ from the rates defined in the BOM and the user HAVE TO CHANGE the quantities as per the real consumption.
    Solution might be training. If the user intentionally changes the component quantities, this is a HR issue..
    Regards,
    Csaba.
    Edited by: Csaba Szommer on Dec 26, 2008 5:14 PM

  • Edit goods receipt copied from approved purchase order?

    Hi everyone
         Is it possible to edit quantity field or add a new row to a goods receipt copied from a purchase order that has been approved ?
      if  this behavior was changed from past releases or it always was like that?
    i appreciate your help and thanx in advance
    (any link to a official document, guide, how to doc that describes this point would be great)

    hi gordon thanx for your response
    just another thing before i mark my question as answered, is there a official guide or SAP document that describes every detail of approval procedures including this question?
         once again i appreciate your kind help.
    Aley Chena

  • What is the  FM/BAPI  to get the Goods Receipt  Based on the Purchase Order

    Hi ,
    I want FM/BPI  to get the Goods Receipt  Based on the Purchase Order in MM.
    Thnx in advance

    Hi
    BAPI_GOODSMVT_CREATE
    Thanks & Regards
    Kishore

  • Goods Receipt check box on Purchase Order

    Hi All,
    I am creating a NB Purchase order (non-account assigned). Immediately on entering the Material, in the Line Item 'Delivery' tab, "Goods Receipt" is automatically checked and this option is disabled.
    Does anyone know the configuration that defaults "Goods Receipt" as checked and disabled?
    Thanks much,
    Sheetal

    Hi Sheetalnn,
    You can check the field selection set up for the purchase order document. It is found in the following path:
    SAP IMG -> Materials Management -> Purchasing -> Purchase Order -> Define Screen Layout at Document Level
    Just read the accompanying documentation for you to have a better understanding of what influences the field selection for the purchase order.
    As a side note, the GR requirement for the PO item is influenced by the Account Assignment Category used.
    Best regards,
    DeLo

  • Batch determination for subcontract purchase order component.

    Hello
    Is it possible to do batch determination for the subcontract purchase order componet, then bring the component batch to the outbound delivery directly from purchase order?   If no standard, any user exit or BADI... can do this also good for us.
    Thanks
    Hailiang

    Hi
    Yes I can manual input batch number, but I want the system select the batch in stock base on the batch classification.  I can not find the batch determination function the the component detail screen.
    Best Regards
    Hailiang

  • LTP Planning for Subcontracting Purchase Order

    Hi All,
    I am doing LTP run for the Finished Material.
    Finished Material is having few open subcontracting Purchase order's.
    When I take the LTP run  in MS02, system is considering the Open PO's and adjusting (netting) it with the Planned independent requirements of finished material. This is ok.
    But the planning is not creating depending procurement proposals for the child items.
    It is subcontracting PO of finished material, system suppose to create the dependent requirements.
    In the MRP run it is working fine in MD02. But not working in LTP planning run in MS02 Transaction.
    Rgds /  Shailendra
    Edited by: Shailendra Hadkar on Apr 7, 2010 10:44 AM

    Hi All,
    I have found one BAdi u201CMD_CHANGE_MRP_DATAu201D  for showing up Subcon requirements in MS04 for child materials.
    This BADI "MD_CHANGE_MRP_DATA" requires to implement using method "CONSIDER_RESB".
    But implementation of this BADI using method "CONSIDER_RESB" will open up Dependent requirements/reservations of phantoms in phantom assembly planning and other reservations also.
    How I can implement this BADI for specific Subcon requirements or Specific MRP element??
    Regards,
    Shailendra
    Please refer below post by Nethi Venkata R... 
    LTP Doubt

  • Message type for generating IDOC  for SUBCONTRACTING PURCHASE ORDER

    Hi All,
    I have to generate IDOC for PO creation or change .
    I am using IDOC_OUTPUT_ORDERS and IDOC_OUTPUT_ORDCHG.
    The messagetype.idoctype  I am using is  ORDERS. ORDERS05  and ORDCHG. ORDERS05.
    Now the confusion is regarding whether  this message type will work in case of SUBCONTRACTING PURCHASE ORDER as well ?
    As I have gone through some websites and came to know that I will have to use PORDCR1.PORDCR102 specially for subcontracting.
    And programs we need to use is BUS2012_ICH_R3 instead of  RSNASTED and Form Routine SEND_PORDCR1 instead of EDI_PROCESSING.
    Purchase Order Collaboration scenario - Not generating IDOC in ECC
    http://www.erpgenie.com/faq/edi_purchasing.htm    on this site question no  8.
    Subcontract PO IDOCs
    I hope your experience will help me .
    Please reply ASAP.
    Edited by: uttam27 on Dec 4, 2011 1:47 PM

    There is a generic function to create change pointers for all message typs - 'CHANGE_POINTERS_CREATE_DIRECT'.  This is triggered only if you configure your message type to create change pointers from BD50.
    Once you activate it do any change to orders you can see change pointer tables BDCPV filled. Then BD21 will read the changes and generated outbound idocs accordingly.

  • Bapi for subcontracting purchase order

    Hi,
    is there a BAPI allowing to create a subcontracting purchase order?
    Best regards.

    Hello,
    BAPI_PO_CREATE and BO: BUS2012.
    BAPIEKPOC = ITEM_CAT (3 - Subcontracting)
    Regds, Murugesh AS

  • MIGO PROBLEM in the Good Receipt  with reference to purchase order

    Hello Everybody.
    i m getting one problem with reference to MIGO tcode.
    Might be anyone notice or not but i want to share with you.
    in MIGO selected goods receipt then beside it ask for the different actions.
    I use the purchase order no.
    suppose i given po no 1
    enter
    now it will display the details of that po number (1) but at the same time po number field is again in the input mode and you can give more po number .
    suppose now i have given po no 2.
    enter
    Then in same gr we will be having the item details of both po number( 1 & 2) .
    This is my problem .I want to make restriction that in single gr it should take only one po number not more than that ,after giving one po ,it should make that field in display mode.
    How to do that please guide me .
    I will be grateful to you.
    Thanks a lot

    You can use a field exit on any field that gets filled when the first PO is entered
    check that field (Something like challan Number , Delivery date)
    if is if filled use the "screen" Table to make the PO Number field Display only .

  • Error adding Goods Receipt PO based on Purchase Order

    I am working on an add-on that was working against a 2005A version of SAP Business One and I am upgrading it to run against a 2007A Company (PL41)
    I am receiving strange errors when testing the add-on.
    I can add a Purchase order not based on a Goods Receipt PO without any problems but as soon as I specify a base type, entry and line I get either -1 General Error, or the Tried to Read/Write Protected Memory Error.  The error I receive seems to arbitrarily change between the two.
    I have read a few notes on the forums about this but none of them have proven useful in solving my problem.  I have checked the DI-API version on my PC and it is definitely using 8.0.177.0 which matches the version of SBO that I am running.  I have re-installed the DI etc without any success.
    The following is the code snippet which I am using to test:  I have verified that the referenced purchase order is open, contains the correct item, customer etc
    int iResult = -1;
    string sResult = string.Empty;
    string sOutput = string.Empty;
    try
    sOutput += Environment.NewLine + "Connecting to company...";
          sbocoy = new SAPbobsCOM.Company();
          sbocoy.Server = "<insert server name here>";
          sbocoy.CompanyDB = "<insert database name here>";
          sbocoy.LicenseServer = "<insert server name here>:30000";
          sbocoy.UseTrusted = true;
          sbocoy.DbServerType = SAPbobsCOM.BoDataServerTypes.dst_MSSQL2005;
          sbocoy.UserName = "manager";
          sbocoy.Password = "<inser sap user here>";
          iResult = sbocoy.Connect();
          sOutput += Environment.NewLine + "Connected";
          SAPbobsCOM.Documents PO = (SAPbobsCOM.Documents)sbocoy.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseOrders);
          SAPbobsCOM.Documents GoodsReceiptPO = (SAPbobsCOM.Documents)sbocoy.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseDeliveryNotes);
          sOutput += Environment.NewLine + "Get Purchase Order";
          PO.GetByKey(1402);
          sOutput += Environment.NewLine + String.Format("DocNum: {0}; DocEntry: {1}; ItemCode: {2}; LineNum: {3}", PO.DocNum, PO.DocEntry, PO.Lines.ItemCode, PO.Lines.LineNum);
          GoodsReceiptPO.CardCode = PO.CardCode;
          GoodsReceiptPO.CardName = PO.CardName;
          GoodsReceiptPO.Lines.ItemCode = PO.Lines.ItemCode;
          GoodsReceiptPO.Lines.ItemDescription = PO.Lines.ItemDescription;
          GoodsReceiptPO.Lines.Quantity = 1.0;
          GoodsReceiptPO.Lines.BaseType = int.Parse(PO.DocObjectCodeEx); // If I comment out this and the next two lines the document will add
          GoodsReceiptPO.Lines.BaseEntry = PO.DocEntry;
          GoodsReceiptPO.Lines.BaseLine = PO.Lines.LineNum;
          sOutput += Environment.NewLine + "Adding Goods Receipt...";
          iResult = GoodsReceiptPO.Add();
          sResult = sbocoy.GetLastErrorDescription();
          sOutput += Environment.NewLine + string.Format("Result [{0}] {1}", iResult, sResult);
    catch (Exception ex)
    sOutput += string.Format(Environment.NewLine + "Exception: {0}{1}SBOError: {2}", ex.Message, Environment.NewLine, sbocoy.GetLastErrorDescription());
    The results when I try and reference the purchase order are:
    Connecting to company...
    Connected
    Get Purchase Order
    DocNum: 301396; DocEntry: 1402; ItemCode: SEANTESTITEM; LineNum: 1
    Adding Goods Receipt...
    Exception: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
    If I comment out the 3 lines that reference the base document the Goods Receipt Adds and the following is the output...
    Connecting to company...
    Connected
    Get Purchase Order
    DocNum: 301396; DocEntry: 1402; ItemCode: SEANTESTITEM; LineNum: 1
    Adding Goods Receipt...
    Result [0]
    The above code will work correctly if we base a Delivery Note on a Sales Order so it appears to be specifically related to the Purchasing Documents.
    Edited by: Sean Archer on Feb 2, 2009 2:23 PM

    Hi Ganesh,
    Thank you for the reply.
    I ran the add-on against another database and it is working.
    I also verified that the document was failing to create if done via the Data Transfer Workbench so it would appear the issue affects the DI-API irrespective of add-on.
    I will need to do more testing to confirm whether this is a bug with PL41 of 2007A or a corrupt database as you suggest.
    Cheers,
    Sean

  • Goods Receipt against account assigned Purchase Order

    Respected members,
      I am doing the good receipt with movement type 101 and special stock E with ref to po.
    In my purchase order in account assignment there is everything like sales order,internal order and profit centre and inventory gl account.
    The inventory gl account made as a cost element 90.Account assigment category i am usingis M.
    My problem is when i am doing good receipt it is generating only accounting document and in that value of profit centre and internal order is not coming for inventory gl account.It is not generating the profit centre document and co document.
    But in Material Document everything is getting , I am able to have the all the values for the respective field.
    I am not understanding where the values getting cleared off when it is generating a accounting document and why it is not geneating a controlling document.
    The accounting document is posted to both balance sheet accounts
    that is debit and credit entry.
    I have checked the all configurations in obyc and omjj. but i am notgetting any clue.
    And interesting thing is previously it is picking the values but now settings have been disturbed and now it is not picking ,why it so.
    Please help me out as soon as possible.
    Thanks a lot.

    dear,
    kindly ckeck in omjj in "gbb" account whether your g/l acc..has been assigned or not..
    kindly also check whether you have maintained profit center and cost center in"okb9" ..
    also see in mm03 costing views 1 you have entered correct profit center...
    or create a new g/l acc in fr00 and see its postings..
    regards
    rewa

  • DTW : How to Create goods receipt with quantity exceeding purchase order ?

    Hello DTW Experts,
    is there any way to deliver or receive an quantity exceeding the quantiy of the purchase order using DTW, or the only way is to create additional order (create a goods receipt is based on a purchase order).
    When i try the system gives me these 2 different messages :
    1 - One of the base documents has already been closed  PDN1.BaseEntry[line: 1]Erreur définie par l'application ou par ...
    2 - One of the base documents has already been closed Erreur définie par l'application ou par l'objetoPurchaseDeliveryNotes
    Thanks,
    Hafid

    The best way is to draw the purchse order through then add an additional line to the Goods Receipt for the additional quantity. This will close the PO properly, but record the additional quantity

Maybe you are looking for