STO from unrestricted to E stock from TAB item in Sales Order?

Hi all,
We have the situation where we are shipping stock intra-company via the STO Process. The requirements are being driven of a TAB item on the Sales Order, and the purchase req is being generated automatically, and being converted to STO > Delivery > Shipped then received at requesting plant.
If we leave the Dependent Requirements Indicator on MRP4 in Material Master to blank the stock is shipped from the shipping plant as Sales Order stock and received into the requesting plant as Sales Order stock. If we change the Dependent Requirements Indicator on MRP4 in material Master to '2' then it trys to ship the stock as unrestricted, and the theory is that is should be received as Sales Order stock.
Shipping as Unrestricted and receiving as Sales Order stock is exactly the scenario we are trying to achieve. 
We initially ran into an issue with error message M7146. OSS Note 305582 describes this situation, and says we need to change the consumption posting on Account Assignment Catgegory M to be 'E - Accounting via Sales Order'.
So we changed this, and now when we try and create the Sales Order we get an error message kd051 Maintain a Settlement Profile. We are told by our Finance people that we cannot use the Sales Order as a cost collector as it impacts the PA reporting, so I am wondering if anyone has any suggestions as to how we can resolve this issue.
Many Thanks.

Dear all,
can u update me with the depot to depot process   ( like  there some  20 qty in 1300 depot   i wanted to transfer the  20 qty to 1200 depot)
what is the process should be followed   
i am still  not getting the right way  
please guide me    my process i am following is  :
supplying plant
Create a STO PO from receiving plant  T-code ME21n
Create delivery with ref to STO PO   T-code VL10b
Post goods issue     T-code VL02n
Create Depot Excise invoice with  Reference to delivery document T-code J1IJ
Create pro-forma invoice   T-code VF01
Receving plant
Goods receipt   (With out excise capture selection)  T-code MIGO
Capture excise invoice at depot  (Enter challan qty and Excise baseAmount)  T-code J1IG
Please guide me on this as it is critical

Similar Messages

  • Copy down Ship-to Partner from main item to sub-items on Sales Order

    This is my first post on the forums here.  I'd appreciate any help you can give on my issue below.
    I have a requirement to copy down the ship-to partner from the main item to sub-items during sales order create or change.  Currently I have code in include MV45AFZB within user exit USEREXIT_FILL_VBAP_FROM_HVBAP as follows:
    <i>* Need to be able to copy the ship-to of a BoM parent down to the
    respective BoM children if the parent has a different ship-to
    from the header.
    data:  wa_xvbpa like vbpa.
    Clear: wa_xvbpa.
    read table xvbpa into wa_xvbpa with key posnr = hvbap-posnr
                                            parvw = 'WE'.
    A BoM parent line has a different ship-to from the header.
        if sy-subrc = 0.
          read table xvbap with key uepos = hvbap-posnr.
    See if current line is the child of that BoM parent
            If xvbap-uepos = hvbap-posnr.
              move wa_xvbpa-kunnr to xvbpa-kunnr.
              move xvbap-vbeln to wa_xvbpa-vbeln.
              move xvbap-posnr to wa_xvbpa-posnr.
              move 'WE' to wa_xvbpa-parvw.
              modify vbpa from wa_xvbpa.
            endif.
          Endif.</i>
    This isn't working for me.  At one point, I was able to copy the ship-to down to the first sub-item but not any subsequent ones.  I'm sure I need to add some code to another sales order user exit to get this to work, but I'm at a loss at this point.   Has anyone had to do this or something similar before? 
    Thanks very much in advance for your help.
    Angela

    Hi,
    Can you check few more things and tell me?
    - In this exit, does XVBPA and XVBAP contains all the line items. ( main and sub items ).
    - In Sales order creation time, do these table have VBELN populated when this exit triggers.
    - If you modify XVBPA or XVBAP in this exit, do they get overwritten after that.
    Try this code. See if it works.  Let me know if you still have a problem.
    DATA: wa_hvbpa LIKE vbpa,
          wa_xvbpa like vbpa.
    CLEAR: wa_hvbpa, wa_xvbpa.
    * check if HVBAP and VBAP line items are not same
    IF vbap-posnr <> hvbap-posnr.
    * read the ****-to partner from main-item
      READ TABLE xvbpa INTO wa_hvbpa WITH KEY posnr = hvbap-posnr
                                              parvw = 'WE'.
      IF sy-subrc = 0.
    *   read the line item data for sub-item based on main item
        READ TABLE xvbap WITH KEY posnr = vbap-posnr
                                  uepos = hvbap-posnr.
    * See if current line is the child of that BoM parent
        IF sy-subrc = 0.
          MOVE wa_xvbpa-kunnr TO xvbpa-kunnr.
          MOVE xvbap-vbeln TO wa_xvbpa-vbeln.
          MOVE xvbap-posnr TO wa_xvbpa-posnr.
          MOVE 'WE' TO wa_xvbpa-parvw.
          MODIFY vbpa FROM wa_xvbpa.
        ENDIF.
      ENDIF.
    ENDIF.
    Regards,
    RS

  • How to Copy Sales Text Data from Customer Master to Sales Order.

    Hi SAP Guru's
    I have Completed Configuration for Central Text for Customer Master for two texts 1)Additional Attachments 2) Wooden Packing
    I got these two fields in Customer Master.
    I need these data to be copied from  Customer Master to sales order. But i am unable get these two in to sales order.
    Steps which  I have done for Text Determination.
    1) Text Id in for Text Object KNA1
    2)Placed Text Id  in Text Procedure  and assigned   this procedure to Customer Account Group.
    Could you please advice me
    Thanks in Advance.

    Text Control
    In this IMG activity, you define the rules for text determination. You must carry out the following steps:
    Select a text object and define the rules for text determination for this object. Text objects are, for example, the sales texts in the customer master record or the sales document header.
    Define the permitted text types for every text object. If the text types contained in the standard SAP R/3 System are not sufficient, create new ones.
    Define the access sequences. This way, you define how the SAP System should determine the texts for a text type.
    Group the text types together in text determination procedures. The SAP System then proposes the text types from the procedure when you maintain a customer master record or a sales & distribution document. The search for the respective text is carried out using the access sequence which you have stored for each text type in the procedure.
    Allocate the text determination procedures so that a procedure applies to the following criteria in each case:
    account group customer
    sales & distribution document type
    item category

  • Coping from quantity contract to sales order

    Hi all,
    I  have  fixed  to  coy  rules  from  Contract  to Sales order .
    The  only  problem  I  have  is  that  If  I  dont  copy  the  BOM  header,the  sub  Item  number  in  the  sales  order  is 
    copied  as  its  in  contract-And  I  need  new  numbering.
    Example-the  Item  in  contract  is  number 20  but  I  need  this item  in  sales  order  as  number  10.
    Is  there  way  to  do  it  in  coping  control?
    Thanks and  best  regards
    L
    NB:Points  will  be  added

    In copying Control for Contract to Sales order (tcode VTAA), in header deselect Copy item number from reference. As it indicates whether the system copies the item numbers from the source document into the target document.
    Thanks & Regards
    JP

  • BAPI:Create sales order from an existing open sales order for open items

    Dear All,
    Could any one suggest me any BAPI that can create sales order from an existing OPEN sales order for OPEN items. since we are closing all open orders and creating new orders with reference to existing open orders.   please suggest, its would be great help.
    Regards,
    Reddy

    hi suresh,
    we are changing tax procedure from formula to condition based, so this is the reason we have close all the open orders and recreate in TAXINN procedure, it is going to be large number of records( open orders), so....
    Regards,
    Reddy

  • 'In Stock' quantities by warehouse in Sales Order

    Hello All
    Can anyone advise if there is anyway that a user can view the 'in-stock' quantity per warehouse ina sales order. Currently the 'in-stock' column is totalling all stock across all warehouses, but my customer would like to see the quantity in one specific warehouse. Is this possible as standard, or would I need to do a formatted search?
    Thanks
    Stuart

    Now sorted m yself

  • Message: Stocks already exist for the sales order

    Hi Gurus,
    I am trying to change the material valuation class in MM02. I am getting an error Stocks already exist for the sales order. Even though there exists no stock. SAP note suggests to make this error message as warning message. Could you pls help me to know the message class and number?
    Thanks
    Shashi

    Jürgen,
    Yes, you are right. SAP, unfortunately does not tell that stock does not exists in current or previous period. As I consultant, I have assured that there exists no stock in current and previous period. However, I am not sure, still why this message is thrown. Its checked in MD04 that nothing is assigned to material and in MMBE no stock exists. We shall take care of this Sales order that it is not used after changing the valuation class but now I need to know what is the message class and number for that error. Suggestions would be much appreciated.
    Shash

  • Copy Special Stock Partner Automatically from Ship-To in Sales Order

    Dear SD GUru,
    I have an issue here which needs help.
    In my partner determination, I have configured SB to be a copied Ship-To which is working now.
    So, each Ship-To has its own Special Stock Partner.
    In my consignment issue sales order, I do change the defaulted Ship-To to other Ship-To but the old "SB, Special Stock Partner" will still remain in the consignment issue order and will not change according to the new Ship-To automatically.
    Any way to make the system to refresh without manual intervention?
    Thanks,
    Soo

    Hi,
    If I am not wrong then below is the situation which you are facing:
    1. You have a sold-to-party which has multiple ship-to-parties, right or worng ?
    2. Every ship-to-party has it's own special stock partner , right or wrong ?
    Now, if first two points are right then, you might be getting a pop-up for selecting the special stock and ship-to-party partner function once you put the sold-to-party in your consignment-issue. Now, this is the point where you can select the ship-to-first and then system would automatically determine the special stock partner from the selected ship-to-party record.
    Let me know about this if my understanding and the solution is correct or not.
    Hrishi

  • Copying of Shipping tab fields from Customer master to Sales Order.

    Dear SAP SD Gurus,
    I am trying to create an Order, but the Data in the Shippining tab of the Customer Master doesnt get Copied  in to the Sales ORder.
    the Fields in the Cuystomer master are 1) Partial delivery per item 2) Max. partial deliveries.
    and this happens specifically for  a particular Sales Area.
    the same order when created with  the same customer master but a Different Sales Area, the data gets Copied correctly.
    can some body quickly advise me, if there is a Standard setting to maintian such a vehaviour or Could there be some "Z Developmet".
    thank you in Advance.
    Regards,
    Santa Khattri.

    Hello Friend,
    Check your customers (use tcode XD03 - provide sales area) the Shipping tab
    1) Partial delivery per item
    2) Max. partial deliveries.
    for the Sales Area which is not copying to sales order.
    If it is not maintained, then maintain the same as your requirement.
    Thanks & Regards
    JP

  • Handling Planned order created from Demand planning and Sales order in MTO

    Hi all
    In MTO\ Repetitive we genrate Dependent requirement from demand planning (PIR) after running MRP which finally planned order created but on the other hand in short term we have Sales order which generate planned order after running MRP(In MTO), How we should handle planned order generated from Demand planning and the ones generated from sales order.(both after MRP Running).
    Regards
    Babak Bolourchi

    Dear,
    You can combine the planning strategy also main as 56 and second as 65 and in demand managment MD61 you have the option select requirement type.
    Then while creating sales order use MTO strategy and take MRP run through MD50 and then MD02.
    and if you want to assign the stock to sales order then you and do it through MB1b with 412 E movement type.
    As per my knowledge, generally 56 strategy only takes Sales Order Stock into consideration.
    Consider setting the Individual/Collective indicator to 2.
    Mark those characteristics that should have a usage probability in demand management as Relevant for planning.
    Hope clear to you.
    Regards,
    R.Brahmankar

  • How to get called from R3 on a Sales Order creation

    Hi,
    I'm completely new on SAP NetWeaver technology.
    My domain is SAP Business One SDK development and .NET Technologies.
    What I'm trying to do is some kind of integration between B1 and R3 and for that I need to get called in my .NET application by an event or something similar coming from and R3 system everytime a new Sales Order is created.
    Could some of you as NetWeaver experts give me a hint on how to do it? Right now I'm looking at ALE and IDocs but I cannot find a concrete sample of a .NET application. Do you have some useful links to .NET samples?
    Thanks,
    Trinidad.

    Use ERP Connect.
    Apart from the client functionality that allows function modules or BAPIs to be accessed in
    the SAP system, ERP Connect also offers the possibility of easily developing a server
    function.
    For example, if you have a .net application which adds 2 numbers sent by R/3, you can call that .NET function using ABAP code like this one:
    REPORT z_add_test .
    DATA result TYPE i.
    CALL FUNCTION 'Z_ADD' DESTINATION 'YAHOO'
      EXPORTING
        number1 = 13
        number2 = 31
      IMPORTING
        res = result.
    WRITE result.
    Looks simple, right?
    But don't forget that you still have to do something from the .net realm.
    Code something like this:
    using ERPConnect;
    static void Main(string[] args)
      RFCServer s = new RFCServer();
      s.GatewayHost = "ides";
      s.GatewayService = "sapgw13";
      s.ProgramID = "YAHOO";
      s.IncomingCall  += new ERPConnect.RFCServer.OnIncomingCall(s_IncomingCall);
      RFCServerFunction f = s.RegisteredFunctions.Add("Z_ADD");
      f.Imports.Add("NUMBER1",RFCTYPE.INT);
      f.Imports.Add("NUMBER2",RFCTYPE.INT);
      f.Exports.Add("RES",RFCTYPE.INT);
      s.Start();
      Console.Write("Service is ready.");
      Console.ReadLine();
    private static void s_IncomingCall(RFCServer Sender, RFCServerFunction CalledFunction)
      if (CalledFunction.FunctionName=="Z_ADD")
        Int32 i1 = (Int32)CalledFunction.Imports["NUMBER1"].ParamValue;
        Int32 i2 = (Int32)CalledFunction.Imports["NUMBER2"].ParamValue;
        Int32 erg = i1 + i2;
        CalledFunction.Exports["RES"].ParamValue = erg;
        Console.WriteLine("SAP did a call at " + DateTime.Now.ToString());
      else
        throw new Exception("Something bad happened!!!");
    That... should be working
    Reward points when you find usefull.

  • No new item in sales order refernced from quotation

    Dear All,
    I am creating sales order which is referenced from Quotation.
    I should not able to add item directly in sales order other than item which i got from quotation. i have checked copy control of QT to OR but could not find
    how can i do this?
    please help

    Hi friend ,
    In order that you should not be able to enter any item in the sales order apart from reference to  the quotation .
    1. Goto VOV8 .
    2. Select your sales order type , enter into it , in General Control , Select Reference Mandatory press F4 select  " With Reference to Quotation".
    This will solve ur problem .
    Reward if it helps .
    Regards,
    Aditya.

  • Copy Credit Card details from customer master to Sales Order automatically

    Hi all,
    We would like to have the Credit Card information created in customer master to be copied in to the Sales order when we select the SP/SH..in the SO
    I request your input on how to set this...( as of now..we need to go to Header--> payment cards and then select)
    Note: customers do not have option of multiple cards .therefore the card info is defaulted in the Customer Master.
    Thanks you
    Ravi

    I could do it from the Header of Sales order

  • Copying of Text from Customer master to Sales Order

    Hi Gurus,
    I want that a text should be copied into a sales order from the c/s master but want to prevent any other text to be entered for that text type in Sales order. How can I do it?
    Thanks

    Hi aribis,
    you can use user exit USEREXIT_MOVE_FIELD_TO_TVCOM_H and USEREXIT_MOVE_FIELD_TO_TVCOM_I, which are in program MV45AFZB.
    Regards
    Jean
    Please reward points if it is ok for you.

  • Text copy from customer master to Sales order and invoice

    Dear friends,
    when i maintain the text in the customer master ther needs to copy to sales order and from sales order to invoice.
    Can you please guide me how to do this config
    Thanks
    Raju.

    Dear Raju,
    First you need to do the Text determination for all areas(i.e Customer Sales and distribution,Sales order header,delivery header and billing header) through VOTXN transaction.
    -->Create the Customer text ID under Object KNVV
    Maintain the text for Text ID in the customer master >sales area data>Extras-> Text
    To copy the customer text to the sales order you need to keep KNVV table as Text object in the sales order text access sequence for the text ID.
    If you want to copy the sales order header text to the invoice header first you need to copy the sales order header text to the delivery header from delivery you can copy to invoice.
    When you want to copy the Text from Sales order to delivery the Access sequence will place a role
    If you want to copy the sales order text to the delivery document The Text Object should be VBBK in the delivery Header Text determination access sequence for that Text ID
    Again you can copy the text from delivery to Billing document through checking the Delivery Text field in the billing document detail screen (Top most bottom of the screen).
    Go to VOFA transaction select your billing document type then go in to the details here you can find the Delivery Text field you just check that check box.
    Now system will copy the sales order header text to the delivery header then it will copy to the invoice header.
    I hope this will help you,
    Regards,
    Murali.

Maybe you are looking for

  • Comes with Music and Mac

    My daughter wanted to get 5130 beacuse of the CWM and I was a bit suspicious about that as we are Mac users. Unfortunately my worst fears came true. Totally horrendeous experience with the phone and now we are seriously thinking of returning the frea

  • Hi, you know how i can fix the problem that my iPhone5s not have any coverage in place? Please.

    Hi, you know how i can fix the problem that my iPhone5S not have any coverage in place? Please, and thanks.

  • LR4 metadata changes are not read in Bridge CS5

    I am saving the metadata in LR4 (as I normally do with LR3) and not all the adjustments are registering in Bridge CS5 or Adobe Camera RAW.  The develop panels (i.e. tone, presence) in LR4 have obviously changed and don't exactly match the current Ado

  • How to drop a job?

    I am using 8.1.7.4 These commands do not remove the job 61... SELECT * FROM dba_jobs_running; SELECT JOB FROM DBA_JOBS WHERE JOB=61; BEGIN EXECUTE DBMS_JOB.REMOVE(61); COMMIT; END; SELECT JOB FROM DBA_JOBS WHERE JOB=61;

  • Maximum messages processed per hour ?

    Hi Experts, I read a XI doc on Sizing SAP XI (ref. Sizing SAP Exchange Infrastructure 3.0 - Version 1.1 - July 2004) Examples are given with maximum of 108,000 message processed per hours : Is - it an unbreakable limit ? A client wants to integrate e