Problem with Make to Order sales order

Hi,
We are facing a problem with sales order which has Make to order item catagory, Rescheduling is not happening for the sales order of this type. However, we have taken up this issue with SAP and SAP has replied that MTO sales order are Excluded from rescheduling program.  SAP has suggested us to use CO28 to reschedule the Production order so that the changes can effect the corrorsponding sales order.
We have observed that when sales order is created with MTO item category, production order is automatically created but when we see the Requirement list in MD04 for the material there is an Exception message as '20' (Cancel process).  After the production order is confirmed and goods reciept has done the quantity confirmed against the sales order is becoming ZERO and hence we could not able to create delivery for the sales order.
We kindly request you to help us in this regard. This is creating a big problem for our business.
Thanks counting on your support.
Warm Regards,
Sridhar Burugula

Dear ,
Did you check any sales order reference in your production order assingment tab? Did you check the cost roll up in sales order level based on the BOM and Routung created for dt FG?
I believe the link between Sales Order and Production order lies in requirement Type and Requirement Class  in define planning strategy .
Check in you make to order planning stratgey -SPRO-Define Planning Strategy -Make To Order .Here you should keep the correct Requirement type for customer(OVZH)  and requirement class (OVZG).
Check and revert
Regards
JH

Similar Messages

  • Problem with batchNumber Allocated in Sales Order

    Hello,
    Today we have seen a strange problem for one of our customers.
    In fact, here is the problem:
    My customer does a sales order normally like this:
    Customer1
           - Item1 1500 unit --> No Batchnumber allocated
           - Item2 3000 unit --> BatchNumber "AA" allocated for 3000 unit
    Some days later, they change the sale order like that:
    Customer1
           - Item2 4500 unit --> BatchNumber "AA" allocated for 4500 unit
    The same day, the customer does the invoice for the 4500 unit of Item2
    But the problem: when I go in the "Batchnumbers transactions reports" I see that:
    - OR 1 --> Allocated 3000
    - OR 1 --> Allocated 4500
    - IN 2 --> Qty -4500 and Allocated -4500
    So 3000 units of Item2 stay allocated in a sales order which is closed.
    That is a problem to allocated this batchNumber in an other sales order.
    Can you help me about this? How I can canceled the allocation?
    Thank you.
    best Regards
    Séverine

    Appears to me as a system issue.  But could you please confirm that you are actually changing the quantity of the same item on the same row.
    The reason I am asking this is in business one the Base Document reference is maintaining with 4 reference values.
    DocType
    DocNum
    DocEntry
    LineNum
    Even a user deleting the row and adding a new row of the same item could cause SAP to think that it is a new line.
    Please check this and if everything is as you originally described please post this to SAP Support through a Support Message and they would be able to look into it
    Suda

  • Problem with attaching file to Sales Order

    Hello,
    In my company we have the possibility to attach files to sales orders, e.g. pdf files with the printing details.
    These files are added by the GUI user, this works fine.
    Now we have an extra order creation stream in which a pdf file has to be added to the SO without user interaction.
    I found a helpful link ( /people/rammanohar.tiwari/blog/2005/10/10/generic-object-services-gos--in-background )
    This program creates URL links with no problem, but the file generation is not implemented yet.
    I tried to add the file functions to his sample report but still have one problem. The file is uploaded, but not reported as a PDF file in sap. If I select the created attachment SAP allows only the saving of the attachment. After saving the created file is a good PDF file, it opens with PDF-viewers.
    Why does SAP not know this is a PDF file and report it as such (and open the pdf viewer when selected).
    Thanks, Frank.
    source-code:
    REPORT  zzfb_brc                                .
    * Report  Z_RMTIWARI_ATTACH_DOC_TO_BO
    * Written By : Ram Manohar Tiwari
    * Function   : We need to maintain links between Business Object and
    *              the attachment.Attachment document is basiclally a
    *              business object of type 'MESSAGE'.In order to maintain
    *              links, first the attachment will be crated as Business
    *              Object of type 'MESSAGE' using Message.Create method.
    *              Need to check if we can also use FM
    *              'SO_DOC_INSERT_WITH_ORIG_API1' or SO_OBJECT_INSERT rather
    *              than using Message.Create method.
    * I took this program and removed all the parts for adding URL's and
    * notes.
    * Include for BO macros
    INCLUDE : <cntn01>.
    * Load class.
    CLASS cl_binary_relation DEFINITION LOAD.
    CLASS cl_obl_object      DEFINITION LOAD.
    PARAMETERS:
    *  Object_a
       p_botype LIKE obl_s_pbor-typeid DEFAULT 'BUS2032',    "SO
       p_bo_id  LIKE obl_s_pbor-instid DEFAULT '0000757830', "example number
    *  Object_b
       p_docty  LIKE obl_s_pbor-typeid DEFAULT 'MESSAGE' NO-DISPLAY,
       p_msgtyp LIKE sofm-doctp        DEFAULT 'EXT'     NO-DISPLAY,
    *  Relationship
       p_reltyp  LIKE mdoblrel-reltype DEFAULT 'ATTA'.
    TYPES: BEGIN OF ty_message_key,
            foltp     TYPE so_fol_tp,
            folyr     TYPE so_fol_yr,
            folno     TYPE so_fol_no,
            doctp     TYPE so_doc_tp,
            docyr     TYPE so_doc_yr,
            docno     TYPE so_doc_no,
            fortp     TYPE so_for_tp,
            foryr     TYPE so_for_yr,
            forno     TYPE so_for_no,
           END OF ty_message_key.
    DATA : lv_message_key TYPE ty_message_key.
    DATA : lo_message TYPE swc_object.
    DATA : lt_doc_content TYPE STANDARD TABLE OF soli-line,
           ls_doc_content TYPE soli-line.
    * Create an initial instance of BO 'MESSAGE' - to call the
    * instance-independent method 'Create'.
    swc_create_object lo_message 'MESSAGE' lv_message_key.
    * Upload the pdf file, for now from the frontend, in the future from
    * the server.
    DATA:
    *  dsn(40) TYPE C VALUE '/usr/sap/trans/convert/1.pdf', "server location
    l_lines TYPE i. "filelenght
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename   = 'c:t1.pdf'
        filetype   = 'BIN'
      IMPORTING
        filelength = l_lines
      TABLES
        data_tab   = lt_doc_content.
    * no exceptions, the file is there in this example
    break brouwersf.
    ** the coding for the server input, for later
    *OPEN DATASET dsn FOR INPUT IN BINARY MODE.
    *IF sy-subrc <> 0.
    *  EXIT.
    *ENDIF.
    *READ DATASET dsn INTO ls_doc_content.
    *WHILE sy-subrc EQ 0.
    *  APPEND ls_doc_content TO lt_doc_content.
    *  READ DATASET dsn INTO ls_doc_content.
    *ENDWHILE.
    *CLEAR ls_doc_content.
    *CLOSE DATASET dsn.
    * define container to pass the parameter values to the method call
    * in next step.
    swc_container lt_message_container.
    * Populate container with parameters for method
    swc_set_element lt_message_container 'DOCUMENTTITLE' 'Title'.
    swc_set_element lt_message_container 'DOCUMENTLANGU' 'E'.
    swc_set_element lt_message_container 'NO_DIALOG'     'X'.
    swc_set_element lt_message_container 'DOCUMENTNAME' p_docty.
    swc_set_element lt_message_container 'DOCUMENTTYPE' p_msgtyp.
    swc_set_element lt_message_container 'DocumentSize'    l_lines.
    swc_set_element lt_message_container 'DocumentContent' lt_doc_content.
    swc_call_method lo_message 'CREATE' lt_message_container.
    * Refresh to get the reference of create 'MESSAGE' object for attachment
    swc_refresh_object lo_message.
    * Get Key of new object
    swc_get_object_key lo_message lv_message_key.
    * Now we have attachment as a business object instance. We can now
    * attach it to our main business object instance.
    * Create main BO object_a
    DATA: lo_is_object_a TYPE sibflporb.
    lo_is_object_a-instid = p_bo_id.
    lo_is_object_a-typeid = p_botype.
    lo_is_object_a-catid  = 'BO'.
    * Create attachment BO object_b
    DATA: lo_is_object_b TYPE sibflporb.
    lo_is_object_b-instid = lv_message_key.
    lo_is_object_b-typeid = p_docty.
    lo_is_object_b-catid  = 'BO'.
    *TRY.
    CALL METHOD cl_binary_relation=>create_link
      EXPORTING
        is_object_a = lo_is_object_a
        is_object_b = lo_is_object_b
        ip_reltype  = p_reltyp.
    * Check if everything OK...who cares!!
    COMMIT WORK.

    Hi,
    Welcome to the SDN Forums!!!
    You need to supply the PC file extension in the container element 'DOCUMENTTYPE'.
    swc_set_element lt_message_container 'DOCUMENTTYPE' p_msgtyp.
    In your case change the above statement as below:
    swc_set_element lt_message_container 'DOCUMENTTYPE' 'pdf'.
    <b>OR</b> change the default value of p_msgtyp to 'PDF'.
    Cheers,
    Ramki Maley.
    Please reward points if the answer is helpful.
    For info on awarding points click on this link: https://www.sdn.sap.com/sdn/index.sdn?page=crp_help.htm
    Message was edited by: Ramki Maley

  • Problem with MB1C while creating sales order stock

    Hi all,
    I am working  in MTO scenario. I have taken the requirements type as "KE" & assigned the requirements class "ABC". This "ABC" is copied from requirements class "40".
    I have created a sales order with 1 line item and in MB1C when i create the stock, the system creates the stock for the sales order.
    <b>Problem:</b> I start with creating the inquiry - quotation on the basis of inquiry - sales order on the basis of quotation. Now when i go to MB1C to create the sales order, I get the following error:
    <b>"Account assignment cannot be carried out because of different origin no."</b>
    Message no. <b>V1134</b>
    <b>Diagnosis</b>
    The sales document to which you want to refer is based on sales document 108 and item 000010. Therefore, the settlement and possibly inventory management are carried out using the number of the preceding document.
    <b>System Response</b>
    This entry is not allowed.
    <b>Procedure</b>
    Enter the document and the item number of the preceding sales document.
    Also if for the same sales order i run the <b>MRP</b> using <b>MD50</b>, then in the transaction code <b>MD04</b> - the system shows the reference of the <b>"inquiry document number"</b> for the production order. The production order should take the reference of the sales order number.
    For the requirements class in the fields <b>"Acct Assgt Cat"</b> & <b>"Valuation"</b> i have selected <b>"M"</b>
    Regards,
    Allabaqsh G. Patil
    Message was edited by:
            allabaqsh patil

    Hello Allabaqsh,
    How did you solve the problem?
    I am facing the same problem.

  • Problem with document_lines in the sales order object

    Hey all,
    i have a question refering to the document lines object from a sales order, or an invoice! When i add a line to the document, is there a possibility to get information if the line is correct or not? now its only possible, when posting the sales order or invoice, but that is to late! when i now post a sales order i get for example the error that the item number is missing! but i have add the correct line with itemCode etc.
    thanx for your help:)
    Maggie

    Hi Maggie,
    Unfortunately there is no way of getting information about the correctness of the line until you add the sales order.
    If you create the sales order object one line is always present, so for the first line you must NOT do an add, only before the next lines.
    Regards
    Ad

  • Single Invoice with reference to 2 Sales Order

    Hi,
    How can i make a single  billing invoice no (vf01) with reference to 2 sales order?
    billing plan has been maintained from each sales order,we dont have any pgi process.
    so process is sales order->billing plan-> invoice
    my user want to generate single invoice with reference to 2 sales order - same customer no.

    For processing  billing due list (VF04) - The system combines documents with the same customer number, proposal billing type and sales organization, and attempts to include them all in the same billing document. If the preconditions are met, then a single invoice is created for the deliveries and/or orders.
    To do a collective billing. Collective Billing Documents
    The selected documents in the billing due list are billed. The system tries to combine them as much as possible. Processing of the selected documents is carried out in the background. After processing of the documents, you return to the billing due list. The sysytem will indicate whether or not a document has been billed successfully.
    If successful, then Save
    You can also carry out a simulation of billing. In this case, select Simulate. The system simulates the collective billing / online function described above.
    -After the collective run you can display a log for the collective run. This displays possible errors during billing.
    -You can also branch to the resulting billing documents, in order to carry out a split analysis.
    -The billing documents of a collective run can also be canceled.
    Re: VF04
    Hope it assist you.
    Thanks & Regards
    JP

  • How to create a Contract with reference to a Sales-Order(VA01) with a BAPI

    Hi,
    my name is Wadim and i need help.
    My problem:
    I am creating a sales-order(VA01) with the BAPI 'BAPI_SALESORDER_CREATEFROMDAT2'.
    After that i have to create a contract(VA41) with reference to this order. I found the BAPI "BAPI_CONTRACT_CREATEFROMDATA" and it has the same interfaceparameters like the salesorder-bapi. but there are no parameters to get a connection to the sales-order.
    Is it even possible to get a connection to a sales-order with a bapi???
    thanks for help
    regards mark
    Edited by: Krapp Wadim on May 20, 2010 9:19 PM

    Hi Wadim,
    I have a similar requirement to create order lines in an existing contract with reference using  BAPI_CUSTOMERCONTRACT_CHANGE.  The order lines get created in the contract. However, the condition types from the order line which i'm referencing are not getting referenced and are not getting added in the Contract's line after referencing.
    Did you come across any such issue ? If yes , could you suggest the solution ?
    Regards,
    Venkat.

  • Purchase requisition with reference to blocked sales order

    Hello,
    we are creating purchase requisitions (PR) manually with reference to a sales order (account assignment Z). When this sales order is blocked, we still can issue the purchase requistion.
    What can we do to avoid this? I think in 2 solutions:
    - use enhancement MEREQ001 to show error message when SO is blocked, so PR is not created. Is this possible?
    - create a release strategy for PR created in that plant (tr. OME6). The problem is that release strategy refers to an amount in the PO, and not to other factor, like SO blocked. Maybe in the former enhancement we can set the field EBAN-GSFRG to 'X'?
    Thanks for your help.

    Many thanks for your answer. It help me to solve the issue.
    So applying note 738171, with transaction OVB5 (or VOFM, requirements->subsequent functions->Purch.requisitions) we create one new requirement, ie RV07A900, and then we apply the rule that if we have delivery or billing block, that is, VBAK-LIFSK or VBAK-FAKSK not empty, then we set an error with a code similar to this:
                da_sy-msgid = 'Z1'.    (message class)
                da_sy-msgno = '001'.  (message number)
                error_exception = true.
    and then the PR is not created.
    Regards.

  • BAPI to create sales order with reference to another sales order

    hi all,
    is there a bapi that allows you to create a sales order with reference to another sales order?
    thanks,
    V

    Hi Valencia,
    I think the normal BAPI (BAPI_SALESORDER_CREATEFROMDAT1)will do. You will have to fill the fields REF_DOC, REF_DOC_IT, REF_DOC_CA of the table ORDER_ITEMS_IN (and make sure that Customizing settings allow you to copy from order to order).
    Regards,
    John.

  • WES element is disable with billing plan in sales order?

    Hi experts,
    I have problem, when I create a sales order with item category billing plan, then the WBS element in this line become disable,so I can't input the WBS, How can I solve this issue?
    Thanks
    Best regards
    Lance

    done

  • Creating new sale order with reference of old sale order.

    Dear gurus
    i have requirement
    i want to make a sale order with reference of old sale order.
    how to achieve it?
    Regards
    Saad Nisar

    Hi,
    In vtaa
    give source and document number and assign all the relevant routines.
    Now on the left hand side, click the Item button and then give the source I.C as TAC and target also as TAC adn then fill the routines.
    Do the same for Schedule line (which is related to TAC)
    If this is done, then ur scenario will work

  • Creation of Billing with reference to the Sales Order

    Dear Friends,
    I need your suggestion for the following scenario.
    Client wants to create the Billing Document with reference to the Sales order.I mean when he is entering sales Order while creating the billing document ,the system should generate the billing document only for the delivered quantity.
    e.g  sales order is created for 100 Tons.And there are 5 delivery documents for 50 Tons.(Still the Sales order is open).
    Now when billing document is created with reference to the sales order ( Not with reference to the Delivery Document) it should create the billing document only for these five deliveries.
    Is it possible? If yes,how?
    Thanks in advance.
    Regards,
    Shrikant

    Hi Murali,
    Currently client has software where he enters only  Sales Order no and their software creates the billing for the delivery document for this Sales Order.
    Here client does not want to enter multiple delivery document nos if any.He wants to enter only Sales Order no.
    Regards,
    Shrikant

  • Invoice VF01 with reference to the sales order

    Dear Experts,
    Our business requirement is to book the invoice with reference to the sales order without posting delivery and PGI. Provide me the step by step process to complete this configuration.
    Is that suggestible to change the existing document type which the business is using by creating delivery PGI and Invoice to the document type where invoice booking with reference to sales order or I have to go with the new document type only.
    With Regards
    Uday
    Message was edited by: G Lakshmipathi
    Please dont add such text in your post which is not encouraged in SCN.

    TW Typewriter
    can you help, by creating the entire process in Sandbox and informing uday about the configuration steps?
    At the outset, please refrain posting like this which, being a senior member of SCN, you should be aware of rules where spoon feeding is definitely not encouraged.  Those sort of efforts have to be taken by OP.   This forum is only to guide the people wherever they get stucked. 
    cc: Phanikumar V
    You should also be knowing the forum rules and I thought, you would have expressed like what I said above.
    G. Lakshmipathi

  • TO CREATE AN INVOICE WITH REFERENCE TO THE SALES ORDER

    I have a credit memo request(sales order) and I need to create a credit memo(invoice) on saving the sales order without creating the delivery order in between.The invoice(credit memo) must be created directly with "reference" to the sales order(credit memo request) without the delivery order in between

    Hi,
      You can deliver the standard sales order by VA02 going to sales document-> deliver.
    then save it it will give you outbound delivery number then go to vl02n the do the PGI of the same.
    and for Invoices first create billing document byVF01 then create invoice list VF21
    Thanks
    Ankur
    Edited by: Ankur Sharma on Jul 23, 2008 7:51 AM

  • Credit memo with reference to a sales order with reference to a contract?

    Hello All
    Now I created a quantity contract and the customer paid the Amount that means the billing is done then I started creating sales orders with reference to the contract, can I create credit memos with reference to these sales orders?
    Regards
    Jacopo Francois

    Hi,
    You can create a contract for a longer duartion say 1 year, andyou can create sales order in reference to your contract. This would be an ideal scenario in case of service materials.
    You can now surely create credit memo's in reference to this sales order.
    You will invoice the sales order first and create a credit memo request in reference to your sales invoice and then invoice the credit memo request to raise your credit memo for the customer.
    Reward if helpful.
    Regards
    Ravi

  • Create a Sales order with reference to another sales order  using BAPI

    Dear All,
    Can any one tell me what are all the parameters required to create a Sales order with reference to another sales order using BAPI_SALESORDER_CREATEFROMDAT2....
    Thanks in advance

    Hi Madhan
    Thanks a lot for your reply.
    However, I would like to know which parameters need to passed in this BAPI in case of SO creation with reference. I beleive there are only a few parameters that need to passed in ORDER_HEADER_IN, ORDER_ITEMS_IN, etc.
    Need to know exactly which are these parameters.
    Regards
    Mihir Shah.

Maybe you are looking for