Make to Order - Goods Receipt to Sales Contract

Dear SD Gurus,
In our scenario, sales order is created with reference to sales contract.
In the requirement class 040, Account Assignment Cat is "E Ind. cust. w. KD-CO".
So, when production order is complete, the stock is GR-ed into the sales CONTRACT number rather than the Sales Order number thus making it impossible to perform delivery.
We need this to be GR-ed to sales order.
Any advice is appreciated.
Thanks,
Soo

Problem solved.
Needed to change the requirement class in order to avoid PP parking the stock to the Sales Contract.

Similar Messages

  • Amount for production order goods receipt

    How does the system determine the amount of the product order goods receipt for make to order product that uses variant configuration?
    Meaning during sales order, the components are selected to make up that product.

    It is using Sales Order cost estimate because it is only calculated when the items are selected in sales order.
    If there are changes to the sales order, e.g. options are removed or added...
    how do I make sure the GR take the new value?
    I did the following test in QAS:
    - Production order is created but work not started. Production order deleted.
    - Make changes in sales order.
    - Re-do cost estimate in sales order. I do see that the calculated cost has changed.
    - Recreate production order and as per normal production steps
    - When do production order goods receipt, the value remains the old value and not the new one.
    Did I missed out or do the wrong step?
    However, that also does not help to explain why the value ended up as only $0.01 as same as MM costing view.

  • BADI for MIGO ( Material document change for Production Order goods Receipt

    Hey experts,
    I am actually stuck up with MIGO BADI.
    There are many BADI's available but i dont think any one would suit my requirement.
    here goes my requirement.
    When a Production Order is created in transaction CO01 , the system picks the value of the moving  material and multiplies it with the quantity .
    But when the production order is being confirmed thru CO11N , again the system picks the present moving price of the material and multiplies it with the quantity. This goods receipt is done through MIGO transaction by selecting goods receipt for order that is 101 movement type. I have been asked to get the value of the material at the time of production order create and then change the dmbtr value of MSEG table, this can be done in the badi at the time of creation of material document number but the BADI's MB_DOCUMENT_BEFORE_UPDATE,  MB_DOCUMENT_UPDATE do not allow me to change the values .
      The BADI MB_DOCUMENT_BEFORE_UPDATE does not allow any changes to be made for XMSEG table
    and MB_DOCUMENT_UPDATE is passed by value and hence the changes are not affected after it comes out of the method.
    Guys please help me as this creating a hell lot of problem here and i would surely reward the max points if answered.
    here is the example to be more precise.
    Material : Pen
    Quantity : 10.
    date : 01.06.2008.
    TYransaction co01.
    lets say at the time of creation the value of the material was 5 rs
    a material document would be created with the value  : 50 rs.
    Now for this prod. order goods receipt is being done on 01.07.2008.
    Let the value be 4 rs now.
    so the Material document would be created with a value of 40 rs.
    I need to make this 50 rs.
    I have got all the data to do it but i am not gettin the coreect BADI, i just want the BADI name to change the DMBTR value at the time of creation of material Document.
    Thanks in Advance.

    User-exit /BADI to change mseg during migo
    https://forums.sdn.sap.com/click.jspa?searchID=-1&messageID=5435559
    try this links

  • Purchase Order Goods Receipt quantity tolerance setting not working.

    Team,
    We are using the IS-Oil solution, ECC 6.0 REL 605 SP LEVEL 009 .
    The issue that I have is as follows:
    Purchase Order Goods Receipt quantity tolerance setting not working, I had set up a 10% tolerance on QTY received in the GR process via the PIR and also the Purchase Value Key in the  material master and also changed the message to a warning in OMCQ for message number M0722.
    I  had performed a similar configuration and master data maintenance on a different NON IS-OIL client install and it worked fine.
    I believe it is the IS-OIL component in the Inventory update portion of the GR process that is causing the error.
    I have searched for OSS notes, however they mention that there is no solution.
    Setting the PO line item as Unlimited will not be best practice for the business and will not be used.
    Has anyone come across this issue? and how was it resolved, your help and guidance will be greatly appreciated.
    Thanks

    Hello,
    Please check the Tolerance levels in O588 
    Also you can use the BAdI OIB_QCI_ROUND_QTY: A new method, CHECK_TOLERANCE
    Best Regards,
    R.Brahmankar

  • Unit price validation in Purchase Order, Goods Receipt PO and A/R Invoice

    Hello!
    I want to have validation of the Unit Price field in Purchase Order, Goods Receipt PO and A/R Invoice documents.
    This means that user has to get some kind of message if she/he do not enter the Unit price in above mentioned documents.
    I can not use the price lists for this, to get the field populated automatically, because I do not have all the prices...
    I am no longer newbie when it come to SAP, but this really puzzles me
    Thanks,
    Dejan

    Hello guys,
    I have tried to add this code to check if the field Unit Price was empty in the Purchase Order form (Object ID 22)
    But it gives me an error message - Error converting data type varchar to numeric (CINF)
    I am getting the same error message even if I have some value in the Unit Price field...
    I am really confused - what is wrong with it???
    Here is the code from the Transaction notification
    IF (@object_type = N'22' AND @transaction_type in (N'A', N'U') )
         BEGIN
              IF EXISTS (SELECT T1.DocEntry FROM OPOR T0 inner join POR1 T1 on T0.DocEntry = T1.DocEntry
              WHERE (T1.PriceBefDi IS NULL OR T1.PriceBefDi = ' ') AND T0.DocEntry = @list_of_cols_val_tab_del)
                   BEGIN
                        Set @error =1
                        set @error_message = 'Unit Price cannot be blank'
                   END
         END
    Thanks,
    Dejan

  • Production Order Goods Receipt  in Mass

    Hi Frds,
    My client need production order Goods Receipt  in mass i e at time number of production orders with batch creation,
    Could any light on this issue,
    Thanks
    Mohan M

    Dear,
    There is no T. code to do the GR in mass you need to use the BAPI BAPI_GOODSMVT_CREATE.
    Regards,
    R.Brahmankar

  • Problem of Query of Module Purchase Order, Good Receipt PO, Good Return

    Hi,
    I would like to seek for assistance regarding double entries of documents,  I have used the query and found out lately the it has a problem, Please refer to thread "Query of Module Purchase Order, Good Receipt PO, Good Return" for details.
    You help is very much appreciated.
    Regards,
    Clint

    Hi Clint,
    Try this one:
    SELECT DISTINCT 'GRPO' AS TYPE, T1.DOCNUM
    'GRPO/RET#', T3.DOCNUM 'PO#',T1.CARDCODE,
    T1.CARDNAME , T1.DOCDATE, T0.ITEMCODE, T0.QUANTITY,
    T0.PRICE, T0.LINETOTAL
    FROM DBO.PDN1 T0
    INNER JOIN DBO.OPDN T1 ON T1.DOCENTRY = T0.DOCENTRY
    LEFT JOIN DBO.POR1 T2 ON T0.BASEENTRY = T2.DOCENTRY
    INNER JOIN DBO.OPOR T3 ON T2.DOCENTRY = T3.DOCENTRY
    WHERE T1.DOCNUM = '[%0]' AND T0.ITEMCODE IS NOT NULL
    UNION ALL
    SELECT DISTINCT 'RETR', T1.DOCNUM,T3.DOCNUM,
    T1.CARDCODE, T1.CARDNAME , T1.DOCDATE, T0.ITEMCODE,
    T0.QUANTITY, T0.PRICE, T0.LINETOTAL
    FROM PDN1 T0
    INNER JOIN OPDN T1 ON T1.DOCENTRY = T0.DOCENTRY
    LEFT JOIN RPD1 T2 ON T0.TRGETENTRY = T2.DOCENTRY
    INNER JOIN ORPD T3 ON T2.DOCENTRY = T3.DOCENTRY
    WHERE T1.DOCNUM = '[%0]' AND T0.ITEMCODE IS NOT NULL
    If you still have duplicates, let me know any differences in those lines.
    Thanks,
    Gordon

  • Query of Module Purchase Order, Good Receipt PO,  Good Return

    Hi,
    Like to ask assistance regarding Module Purchase Order, Good Receipt PO,  Good Return under Purchasing A/P.
    I have a hard time to linking the tables above:
    PO Module have table : OPOR and OPOR1
    GRPO have table : OPDN and PDN1
    Good Return have table : ORPD and RPD1
    Its very mind bubling linking this 6 tables can anyone please can assist regarding the situation, a query that shows that they are connected to each other.
    Thank very much!
    Clint

    Clint,
    Like Suda said, this query assumes your have normal business practise.
    One more thing to mention, the lower part of union all needs some other change.  Here is the complete query:
    SELECT     DISTINCT 'GRPO' AS TYPE, T1.DOCNUM "GRPO/RET#", T3.DOCNUM PO#,T1.CARDCODE, T1.CARDNAME , T1.DOCDATE, T0.ITEMCODE, T0.QUANTITY, T0.PRICE, T0.LINETOTAL, T0.TOTALFRGN, T0.RATE
    FROM         PDN1 T0
    INNER JOIN OPDN T1 ON T1.DOCENTRY = T0.DOCENTRY
    LEFT JOIN POR1 T2 ON T0.BASEENTRY = T2.DOCENTRY
    INNER JOIN OPOR T3 ON T2.DOCENTRY = T3.DOCENTRY
    WHERE    T1.DOCNUM LIKE '[%0]'
    UNION ALL
    SELECT     DISTINCT 'RETR', T1.DOCNUM,T3.DOCNUM, T1.CARDCODE, T1.CARDNAME , T1.DOCDATE, T0.ITEMCODE, T0.QUANTITY, T0.PRICE, T0.LINETOTAL, T0.TOTALFRGN, T0.RATE
    FROM         PDN1 T0
    INNER JOIN OPDN T1 ON T1.DOCENTRY = T0.DOCENTRY
    LEFT JOIN RPD1 T2 ON T0.TRGETENTRY = T2.DOCENTRY
    INNER JOIN ORPD T3 ON T2.DOCENTRY = T3.DOCENTRY
    WHERE    T1.DOCNUM LIKE '[%0]'

  • Sales Order with Ref to  Sales Contract using BAPI

    Hi ,
    I am using BAPI_SALESORDER_CREATEFROMDAT2 for creating the Sales order with ref to Sales Contract.
    but problem is that , Its not validating the quantity.
    I am passing following values to Header  & item
    ORDER_HEADER_IN-REF_DOC   =  <Sales contract>
    ORDER_HEADER_IN-REFDOC_CAT = 'G'.
    & item
    ORDER_ITEMS_IN-REF_DOC   = <Sales contract>
    ORDER_ITEMS_IN-REF_DOC_IT   = <item>
    ORDER_ITEMS_IN-REF_DOC_CA  = 'G'
    Thanks
    Jitendra

    Keshav.T wrote:
    What do you mean by but problem is that , Its not validating the quantity. generally to populate qty we follow like below
    Hi Keshav,
    Suppose Contract -> 1000 L
    First Order -> 500 L wrt to that contract.
    and again create a order wrt contract with quantity  700 L
    It should throw a waring Or Error message  but It creates the Order with 700 L quantity which is not correct.
    Thanks
    Jitendra

  • Goods Receipt for sales order stock

    Hi everybody,
    I want to receive materials for sales order stock. what I did:
    1- Created a Purchase order,
    2- Account Assignment = C
    3- went to MIGO
    4- selected PO number
    5- set movement type 101 / E
    the SAP give error message that you have not planned 101 / E !!!!
    I searched alot but couldn\t find the solution.

    Hi Dear,
    When you use C account assignment category, System will consume those materials/services for the respective sales order at the time goods receipt/service confirmation. There is no inventory possible when we use, account assignment C as a standard, If you want to make inventorize, we have to choose account assignment category M against sales order.
    When we are procuring material against project, Account assignment Q-will be inventoried and P-will be consumed for respective cost object
    Like the same M-will be inventoried and C--will be consumed for respective cost object
    R,
    Amala Srinivasa Rao

  • Freight from PO or goods receipt into sales order in Third party drop ship

    Hello!!!
    We have a requirement where the freight charged by vendor in third party drop ship sales order scenario should show up in the billing document to customer. So we will create a sales order with TAS item category.  This will create PReq and PO subsequently.  Once the vendor delivers the goods to customer and we do the goods receipt in the system, we will bill the customer.  While we bill we want to bring the actual freight charged by vendor to the customer billing document.  Also we bill the customer as soon as we do the receipt and do not wait for the vendor invoice.
    I am not sure if we can do this standard SAP but would like to if anyone has come across this scenario and what is the approach if we need to do this. We can have vendor send us the freight while doing the goods receipt but not sure how to transfer the value to sales order or to billing document directly.
    Any help or idea is appreciated.
    Thanks in advance,

    During GRN we cannot enter any value apart from the excise or customs duty, therefore the freight that you have incured at actuals cannot be captured during GRN and therefore cannot be transfered to the invoice also.
    While creating invoice to the customer you can insert a freight condition type and enter the freight value manualy.
    Generally in third party scenario we can only invoice the cust after purchase booking has taken place. In your case you want the cust invoice to be created based on grn, for that you have modify the copy control settings.
    raj

  • Goods receipt for sales order (sample for inspection)

    Hi Experts
    Is it possible to enter goods receipt for a sales order?
    This process is required for collecting sample from customer for carryingout testing of the sample.
    Please suggest the doc types and process steps.
    warm regards
    ram

    Hi Lakshmipathi
    Thanks for your reply.
    This is a sample received from a client for carrying out analysis and furnishing the laboratory test results as a Quality certificate
    So, the sales order is for execution of service (Testing service).
    The sample to be received in ref with the sales order and test result to be delivered to customer.
    Please suggest the best possible process
    warm regards
    ram

  • Enhancement to make the first goods receipt as final(first and last for PO)

    Hello Experts,
    We have a business requirement wherein that only 1 goods receipt is allowed per purchase order. So meaning
    to say that no additional goods receipt will be allowed for a PO if it has already a goods receipt. I have checked
    BADIs like MB_MIGO_BADI, MB_MIGO_ITEM_BADI, etc but I can't change the value of the field ELIKZ which is the indicator
    for delivery complete.
    Any of you have done the same requirement of BADI/EXIT that I can use?

    Sorry - I don't mean the FIRST GR date, but the date when the batch was produced.
    thx,
    Jannik

  • Purchase order & Goods Receipt

    Helloe Experts ,
    I am New to the MM .As part of the case study In my project i need to configure MM as explained below
    1)There are 2 vendors A & B
    2) A suppllies material X & B suppllies material  Y
    3)I need to configure the blank Client system for Creation of Purchase order.
    4)Then for the same i need to configure Goods issue through MIGO.
    Could any one send me the steps to configure for the same.
    Please note that i have given a blank client.
    All enterprise settings needs to be done
    Thanks in advance
    regards
    sagar

    Hi,
    Refer to this link where will find configuration doc based on industry specific.
    http://help.sap.com/bp_bblibrary/600/BBlibrary_start.htm
    Regards
    Ravi Shankar.

  • CRM 7.0 Repair Order: goods receipt against order stock

    Hi gurús,
    We are implementing CRM 7.0 Service and one of our business processes is Repair Order. We have done almost all customizing following Note 806768.
    We have our repair orders replicated in ERP, where logistics processes take place without problems as far as we do not set special stock indicator to order stock at level item, therefore receiving and issuing products to be repaired into unrestricted stock. Processes are correctly updated in CRM.
    The problem comes when we try to use order stock, as mentioned in SAP Help. Return to repair enters into unrestricted stock, even though it is supposed to entry order stock, with movement 653-E (Schedule categ. IR). When we try to deliver repaired product, movement 601-E (Schedule categ. IA), we are getting errors, since there is no order stock, and return and deliver are managed with two different item positions.
    I suppose this is a logistics issue, not a CRM problem, but I would like any advice in case anybody has already dealt with it.
    thanks in advance and take care.
    Pablo

    What resolution did you get for this issue? Did you do an enhancement?

Maybe you are looking for