Changing Sales Order from using Sales Order Stock to Std Unrestricted

Hi
We have set up some materials to default to an Item Category/Schedule lines that creates the Sales Order with relevance to Sales Order Stock.
However in some instances we need to change the Sales Order to a Std Item Category that just uses Unrestricted stock.
When we test this currently, we are unable to update the original Line Item as it is GREY.
So we have been adding a "reason for rejection" then copying information into a 2nd line with a Std Item Category.
But it is still sitting in MD04 under the Sales Order Stock configuarion and not reducing Unrestricted Stock . .. .
What are we doing wrong?
I had assumed that changing the Item Category would remove the Sales Order Stock requirement and use normal Unrestricted.
Thanks
Hayley

Hi,
In VOV4, has the standard item category been assigned under Manual Item Category column? If the value is assigned, then you can change the item category in sales order.
Regards,

Similar Messages

  • Create Sales order from Internal Purchase Order using IDOC

    Hello Friends,
    I have requirement to create Sales Order from Internal Purchase Order Using IDOC.
    Backgorund, we have already configured IDOC orders05 to create Sales Order from external Purchase order from Inbound IDOC, and it is working fine.
    Now we have new requirement to create Sales Order from our own Purchase order, i.e. When PO is created in one plant corresponidng sales order automatically must needs to create in another Plant with respect PO.
    I m trying to design a solution for above problem as follows,
    1.create an Inbound Idoc from PO, by creatiing one new message type on PO save.
    2.Process that Inbound  IDOC same as it is from external PO.
    3.Once processed Sales order will create.
    Please help me in step 1. to create Inbound IDOC from PO.
    If you want any further clarification please write me.
    Thanks,
    Mahesh

    I had done a similar scenario before and we achieved it through SAP XI. The problem is with the control record. When we create a ORDERS IDOC from a PO the control record will be for outbound transmission. We sent the file to XI and XI resent it back with some data parsing and a new inbound control record. This way it went neat outbound and inbound.
    I'm not sure what kind of architecture you have. If you have to do it within your ECC/R/3, then you could create the outbound IDOC to a new port and write a fresh RFC to pick it up from the same folder and create a new control record for inbound processing.
    I haven't tried this; but there is a "processing w. trigger (inbound)" option on the outbound process code. May be you can explore into that a bit more.
    I'm sure there could be better approaches to handle this within ECC so if you stumble on any, do write back. I would like to know to update my knowledge .

  • How to create planned order from the sales order for a processing item

    In the MTO sceanrio, assembly order is created directly from the sales order. I would like to create a planned order from the sales order.
    I tried the Planning strategy group 81 in the material master but it didnt work.
    Could you please let me know how to do it? Is it Schedule line config that controls whether planned order is created?
    Thanks
    Harish

    Narayana,
    Planning strategy 82 is the best & standard way of getting production order created on sale order create.
    just assign this strategy  in MRP 3 view under strategy group.
    If not then using sale order reqt type ( KMFA- Assembly with production order) & assigning this to your sale order item category is also another way to create prodcution order without using planning strategy in material master.
    Follow steps in SPRO-->Sales & dist --> basic functions >avail check &transfer of requirements> transfer reqts-->determination of reqt type using transaction
    Here you may select the item category you in sale orders & assign KMFA to your item category. this will then give option in sale order create to change reqt type to KFMA for assebly orders.
    If you need KFMA to be default assign it to Item cat/ MRP type ( PD) combo.
    Regards
    Ritesh

  • How to find sales order no., purchase order no. using sales order ID,PO ID

    hi,
    how to find sales order no., purchase order no. using sales order ID,PO ID
    Thank you,
    hari om

    Dear Hari Om,
    Could you please tell me, to what are you referring Sales Order ID and P.O. ID?
    meanwhile check with:
    T. Code: SE16
    Table: VBKD
    Execute (F8) the Report.
    On to next Screen, Go to Menu-bar
    Settings --> Format_Lists --> Choose Fields
    Field: VBELN - Sales Order
    Field: BSTKD - Purchase Order No.
    Best Regards,
    Amit

  • Service order from a repair order

    Hi,
    I want to create a service order from the repair order (sales order).
    In the sales order, i select "repairs" for the prinicpal item. After that, in the screen "Change Repair request xx: item data". this message appear " The system generates an item porposal automaticaly. Copy proposal?"
    But the system take a long time and at least do not create the service order.
    Another message appear, when i select SM Order "A service order has not been found for action 'Repairs' "
    What's the prerequisites to create a service order from the repair order.
    Thanks for your quick help

    Pre requsits for this are :
    Maintain Strategy group 84 in MRP 3 screen in material master.
    Go to t-code OISD, here you can maintain plant, material,work centre, task list.
    Now go to order creation put your material & quantity is 1 & enter system will genarate service order,
    Go to item data >>> schedule line , here u will find service order tab click on that tab service order is displaying
    else use IW32 or IW33 to see service order.
    Reagrds,
    kapil

  • SAP PM Work Order from SAP SD order

    Hi ,
    Is that possible to create SAP PM Work Order from SAP SD order in IS - U?
    What will be the trigger points for this?
    Thanks & Regards,
    VEER

    Hello All,
    sorry for updating the thread so late.
    Actually the issue here was the memory ID. We changed that and the print started coming fine.
    Thanks to all who replied,
    Amit.

  • ABAB programm to copy material sales text from one sales org to another?

    Hi all,
    i'm searching for a ABAP programm to copy a material sales text from one sales org to another.
    Has anybody seen something like that before or has anybody an idea how to do this?
    Greetings & TIA
    strobbel

    @Narin
    I've tried to execute both code now over a new programm in the se38 and i get a error message from the first code (http://www.sap-img.com/abap/bapi-to-copy-materials-from-one-plant-to-another.htm).
    It's called:
    "BAPI_MARC1" cannot be converted to a character-type field.
    Could you help me to solve this?
    Sorry but i'm an absolutely newbie in things like ABAP and so on ...

  • Changed the variable from used in condition to changed gives error

    Hi,
         How to decide on which fields to be used in charecteristcs and which in used in condition. ?
    I have a code in fox which works for some tets data and fails for ceration other test data. wheni changed one field from used in condition to changed field the code is working. however now when i transport the same to quality it gives the error as   :
    " Variable Material Must Have a Type of a Field to be Changed.
    Kindly Help on this. From where should i changed the type of material ? currently i have just changed the tick of the check box from  " used in condition "  to " changed "
    Thanks And Regards,
    Vijay

    Hi Vijay,
    Please replace the code with the following one.. I think it will work now.. Apparently there is no problem with field to change option. However, please note that you are checking the help option (below fox editor) while providing the sequence for material and Plant. It might happen that system is looking for plant and material option and you are providing as material and plant option.
    Please check the code below:
    DATA CALMONTH TYPE 0FISCPER.
    DATA LO_CURR TYPE 0LOC_CURRCY.
    DATA LO_0CALQUAT TYPE 0CALQUARTER.
    DATA MATERIAL TYPE GPUMATL.
    DATA VENDOR TYPE 0VENDOR.
    DATA LO_VENDOR TYPE 0VENDOR.
    DATA PLANT TYPE GPUPLANT.
    DATA L_SPLIT TYPE F.
    DATA L_VOL TYPE F.
    DATA TOT_VOL TYPE F.
    DATA L_VOLUME TYPE F.
    DATA L_FISCQUAT TYPE GPUFSCQRT.
    BREAK-POINT.
    TOT_VOL = 0.
    *CALCULATE TOTAL VOLUME
    FOREACH MATERIAL, PLANT,VENDOR, LO_CURR,LO_0CALQUAT,L_FISCQUAT .
    L_VOL = {Z9APSHIP,LO_0CALQUAT,LO_CURR,VENDOR,L_FISCQUAT ,MATERIAL,PLANT}.
    TOT_VOL = TOT_VOL + L_VOL .
    *CALCULATE SPLIT % BASED ON TOTAL VOLUME
    L_SPLIT = {GPU_VSPER,LO_0CALQUAT,LO_CURR,VENDOR,L_FISCQUAT ,MATERIAL,PLANT}.
    L_VOLUME = PERP(TOT_VOL,L_SPLIT).
    {Z9APSHIP,LO_0CALQUAT,LO_CURR,VENDOR,L_FISCQUAT ,MATERIAL,PLANT} = L_VOLUME .
    ENDFOR.

  • BAPI or FM to create Prod. Orders from partial planned order (like CO48)

    Hello everyone.
        I need create a Prod. Order from a planned order, but only converting this one partially, as in tx co48. Do you know any Bapi o FM or I only have the Call transaction option???
    Thanks a lot.

    IMH wrote:
    Hello everyone.
    >  
    >     I need create a Prod. Order from a planned order, but only converting this one partially, as in tx co48. Do you know any Bapi o FM or I only have the Call transaction option???
    >
    >
    > Thanks a lot.
    I don't think we have many BAPI's in the PP module. I guess recording is the option.

  • Creating SD Sales Orders from a Purchase Order

    Does anyone have any detail documentation for creating an SD Sales Order as an output message from a purchase order. We would like to implement a process where we generate a sales order to a specific sales organization automatically from a purchase order in a different company code.
    Any help would be appreciated.

    Hi,
    You can configure this scenario using ALE/IDOC . I dont have any docs but i remember that i had setup this few years ago.
    Create PO , attach output type , output type linked to process code , process code linked to sales order relevant IDOC Type and send to receiver as outbound IDOC ,
    The recepient receives this as an inbound and used this data to create a sales order in his company code.
    Thanks,
    Sudhi

  • DI: Create Purchase Order from Multiple Sales Order - Lines

    Hi all,
    I am trying to group multiple lines from multiple Sales orders concerning One given Vendor/Supplier so as to generate One Purchase order for this Vendor/Supplier
    oSalesOrder = (Documents)B1Connections.diCompany.GetBusinessObject(BoObjectTypes.oOrders);
    oPurchaseOrder = (Documents)B1Connections.diCompany.GetBusinessObject(BoObjectTypes.oPurchaseOrders);
    oPurchaseOrder.CardCode = 'Vendor1'
    oSalesOrder.getByKey("13");
    oSalesOrder.Lines.SetCurrentLine("4");
    oPurchaseOrder.Lines.BaseEntry = oSalesOrder.DocEntry;
    oPurchaseOrder.Lines.BaseLine = oSalesOrder.Lines.LineNum;
    oPurchaseOrder.Lines.BaseType = (int)BoObjectTypes.oOrders;
    oPurchaseOrder.Lines.Add();
    oSalesOrder.getByKey("14");
    oSalesOrder.Lines.SetCurrentLine("2");
    oPurchaseOrder.Lines.BaseEntry = oSalesOrder.DocEntry;
    oPurchaseOrder.Lines.BaseLine = oSalesOrder.Lines.LineNum;
    oPurchaseOrder.Lines.BaseType = (int)BoObjectTypes.oOrders;
    if (oPurchaseOrder.Add()!=0)
        MessageBox(B1Connections.diCompany.GetLastErrorDescription());     
    I get the following Error: <i>Base Document Card and Target Document Card do not match</i>.
    What more Should I do to avoid This?
    Regards,
    Emmanuel.

    Hi Emmanuel,
    As far as I know you cannot create a purchase order based on a sales order using the DI API. I know in SBO you can do this, but I don't think using the SDK. The reason why it's giving you the message "Base Document Card and Target Document Card do not match" is because one is a vendor and one is a customer.
    Hope it helps,
    Adele

  • Error while creating a production order from a sales order

    Hi
       Even though the product has BOM when i try to create order with a sales order reference it is showing a warning message " NO BOM FOUND" . How to correct this error .
    regards,
    PradeepM.

    Dear ,
    Goto -CS02-Enter FG -Goto Header -Staus Long Text -Check wether BOM status is set to 1 -Active .
    Check the usage of the BOM -Should  be 1-Production .
    Check wether BOM is locked and Deltion Flag set -Header Status Long txt tab
    Check the valididty of the BOM and Sales Order Schedule delivery date
    Try and come back
    Regards
    JH
    Edited by: Jiaul Haque on Jul 6, 2010 9:03 AM
    Edited by: Jiaul Haque on Jul 6, 2010 9:04 AM
    Edited by: Jiaul Haque on Jul 6, 2010 9:04 AM

  • Copy of Purchase order from other Purchase order.

    Hi all,
    How to know when a purchase order is a copy from other purchase order?
    some FM?
    Thanks!
    Regards,
    David.

    Hi,
    There is no  FM with the same you can create multiple purchase orders.
    Why do you want this functionality
    if you want this functaionality you have write  a new program and you have give
    the condition
    Regards
    G.Ganesh Kumar

  • XML queries... Change the code from using Oracle db into MS SQL

    Hi, I am a new begginer in this field. I came accross to an article that focuses in Oracle's XSU approach.
    Currently, i am trying to convert the java code from using Oracle db to MSSQL db. The code has shown below:
    import javax.naming.*;
    import javax.sql.*;
    import java.sql.*;
    import oracle.xml.sql.query.*;
    public class testxml
         public static void main(String args[]) throws SQLException, NamingException
         String tabName = "emp";
         int maxRows = 3;
         Context ctx = new InitialContext ();
         DataSource ds = (DataSource) ctx.lookup ("MyOra");
         Connection conn = ds.getConnection ();
    OracleXMLQuery qu = new OracleXMLQuery (
    conn, "select EMPNO, ENAME from " + tabName);
    qu.setMaxRows (maxRows);
    qu.setRowsetTag ("EMPLOYERS");
    qu.setRowTag ("PERSON");
    String xmlString = qu.getXMLString();
    System.out.println (xmlString);
    conn.close ();
    Currently, i am having difficulties to change the "bold" area that uses Oracle into MS SQL as my current application is using MS SQL as the database.
    Please help and need more advices from all of you. Thank You

    I resolved this issue myself. For the answer please message me.

  • [CRM] Change sales office from within an order

    We've been trying to get the following to work... as you might guess, so far without success.
    From within a CRM order, if we change the partner number for the department a check is being done whether that partner belongs to the same sales office. If that's not the case, the sales office has to be adjusted.
    Since this might have an effect on authorization, the changing of the sales office has to be done in a separate job (action). In this job, I do the following:
    - Retrieve data on the object
    - crm_order_read for that object
    - select the correct sales office
    - prepare the crm_orgman structure with the new data
    - crm_order_maintain with the crm_orgman and inputfields tables
    - optionally commit work, bapi_transaction_commit etc.
    For as far as we can see, the data is correct. However nothing is being changed. Ideally what I'd like to do is break into the process, change the object that's being processed in memory, and let the system do its job.
    What we've also tried is (shame):
    - Retrieve data on the object
    - crm_order_read for that object
    - select the correct sales office
    - direct update the corresponding tables with the new values
    This works, but as soon as we return control to the system, the changed values (verified, if we look at the tables the values are changed) are reset to what they were.
    It's taking way too much hours for something that should be (in my eyes) a pretty simple action. Any suggestions? Thx in advance!

    Hi Egbert,
    Please take a careful look at the GUIDs you are using: if you are using the orgman structures, the REF_GUID is not the ORGMAN-GUID but instead the ORDERADM_H-GUID. Can you confirm if this has been checked and if it then still is not working? The COMMIT_WORK BAPI is also not necessary.
    Kind regards,
    Joost Janssens
    PS Please reward points if this reply helped you!

Maybe you are looking for