Stock Transport Order (STO)

Hi All,
This is regarding Intra Comapny STO.
There are 2 plants KH01 & JS01.
JS01 - Receiving Plant
KH01 - Supplying Plant
JS01 raise the STO on KH01 plant.
For JS01 receiving plant in Set Up STO --> Define Shpping data for Plant.Here we have maintained Receving plant JS01  & Customer No.628  for the Sales org Inter.Company Sales Area KH01- C1 - D1.
We have also maintained 628 as customer for the supplying plant for the Sales Area KH01-C1-D1 & Kh05-C1-D1.
We have to Process the STO through  Sales Area KH05-C1-D1,but by default system picks KH01-C1-D1.In the Stock Transfer Order (ME21N),we are not able to change the Sales Area in Shipping Tab.
Please suggest some inputs to solve the problem.
Thanks & Regards,
Hemant Patil

Hi
Hemant
Please create one Y/Z transaction and ask user to run when the sales are get chage. This way h/she can process for both the sales area.
This way u can use the logic
parameters : pwerks like t001w-werks obligatory,
             pkunnr like kna1-kunnr obligatory value check,
             pvkorg like t001w-vkorg obligatory,
             pvtweg like t001w-vtweg obligatory,
             pspart like t001w-spart obligatory.
start-of-selection.
  data : i_t001w like t001w.
  data : wkunnr(10) type n.
  select single * from t001w into i_t001w
         where werks = pwerks.
  if sy-subrc = 0.
    wkunnr = pkunnr.
    i_t001w-kunnr = wkunnr.
    i_t001w-vkorg = pvkorg.
    i_t001w-vtweg = pvtweg.
    i_t001w-spart = pspart.
    modify t001w from i_t001w.
    commit work.
Hope this will help you.

Similar Messages

  • Stock Transport Order (STO)will not create delivery

    I have created a intercompany Stock Transport Order (STO) and it has created the shipping tab in the Purchase order(PO), and all seems to be correct.
    I have material in the plant, yet when I go to create the delivery using VL10G, the PO does not show as a choice. I also do not get an error, so I cannot tell why it is not creating the delivery.
    Is there a way to see an anaylis of why the STO is not showing as a choice?
    Thanks,

    Hi,
    Please check the delivery date in the STO created.and adjust the del creation date etc input fields at VL10G and try the posting.If there exists no error in the po created.

  • Stock transport order (STO) financial documents

    Hi
    Can any one post the financial documents of a stock transport order process between two different company codes( Both one step and two step process with delivery and billing document).

    Hi,
    Please check the delivery date in the STO created.and adjust the del creation date etc input fields at VL10G and try the posting.If there exists no error in the po created.

  • Stock Transport Order (STO) for Consignment Stock

    Hi Gurus,
    I have a business process that need a STO of Consignment Stock material process.
    Example:
    In Plant B the stocks of material XYZ is 10 Pcs, but separated with two condition 3 PCs of Unrestricted Stock and 7 PCs of Consignment (Vendor) Stock.
    Plant A need 5 pcs of material XYZ from Plant B.
    The requirement is to allocate 5 qty in delivery as below:
    3 PCs picked from Unrestricted Stock (priority to allocate from unrest.stock first)
    2 PCs picked from Consignment Stock (second priority)
    How can we do STO Plant to Plant for Consignment (from Vendor) Stock material like I mention above ?
    Regards,

    Hi ...
    Sorry .. I have to inform the requirement details ..
    The requirement is "without make it as own stock, so the material consignment stock directly transport from Plant A to Plant B using delivery process as STO standard process"
    Is there any best practice to do this ?
    Regards,

  • Commitment Item error in Stock transport order

    Hi all
    I have a stock transport order (STO) for a material non valuated in both sending and receiving plants.
    While creation , there is an error with respect to completion of an "committment item" *.
    If I input  the committment item in  STO create transaction in R3 , the STO is  saved  (permitting blank account assignment for the STO item  as intended)  and there is no further issue till post goods issue in sending plant or GR in receiving plant.
    The problem is however that this STO is triggered from APO and transferred via CIF to R3 while there is no chance to input the commitment item. This results into a CIF error with the STO not created  in both R3 and APO.
    Is there a way I could bypass this "committment stuff" in this situation?
    Thanks in advance
    Anton
    *The exact error message is as follows;
    "  No commitment item entered in item 00001 plant < >
       Message no. FI311
    Diagnosis
    The posted document contains at least one company code in which Funds Management, Cash Budget Management, or Project Cash Management is active. Therefore you must enter a commitment item in all involved company codes.
    Procedure
    Enter a commitment item.
    If you cannot enter a commitment item, check with your system administrator that your account assignment derivation is adjusted so that the system can automatically derive a commitment item from another account assignment, or from the G/L or cost element.   "

    Hi,
    Did you try using derivation rule using FMDERIVE in case funds management is active.
    Please also refer to the link below which guides on the item category to be assigned in Commitment item.
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/f0/ca5716260211d28a430000e829fbbd/frameset.htm
    Regards
    K.R

  • Automatic delivery for stock transport order

    Hi,
    with ECC6 you have the possiblity to automatically create the delivery out of the stock transport order (STO) using the following customizing steps in SPRO:
    Materials Management ->Purchasing->Purchase Order->Set up Stock Transport Order->Activate Automatic Delivery Creation and CRM Billing
    Materials Management ->Purchasing->Purchase Order->Set up Stock Transport Order->Activate Automatic Delivery Creation for PO Type and Shipping Point
    We want to use a batch job that runs ME59N to autmatically convert the purchase requisitions to STO and deliveries. While testing we found out that ME59N gives a warning when the availability check in the STO is running in case there is not enough stock. But you still can create STO and delivery.
    In case you only create a STO and put it in VL10B to create the delivery it will only create delivery items with the quantities that are available in warehouse. So no stock means no delivery at that time.
    Is it also possible using ME59N to
    a) not create STO and delivery in case there is no stock
    b) only create STO and no delivery in case there is no stock
    Cheers
    mickey

    Hi,
    Setting to error message not possible as this would cause all STOs not be convertered where no stock is available. But we need this functionality only for one specific process.
    Omit faulty items we also tested and did not provide the result we need. It is related to faulty purchase requisition items.
    Cheers
    Mickey

  • Stock Transport Order deletion in case of GR

    Hi all,
    I have an stock transport order (STO) between plants with delivery output posted (Goods Issue) and also with a goods receipt in destiny plant.
    Problem is that if I set deletion flag in STO, system allows me to do that without any warnings.
    Is there a way to validate when a STO has been received by the destiny Plant?
    Thanks & Regards,
    AW

    Yes. It is a standard behavior. System will allow to delete the line item which has completed the good issue and goods receipt both.
    Actually the status of this STO got completed after you post goods issue and goods receipt.
    It is also like normal PO, when goods issue and MIRO has done, then you can set deletion flag to line item. System will allow deletion flag for archive process.
    If you want to restrict that, then you have to use badi or exit for that by your own logic.
    You can use the badi ME_PROCESS_PO_CUST.

  • MM- outbound delivery through Stock Transport order

    How to stop the automatic creation of outbound delivery for a stock transport order(STO), in Txn ME21N. Actually after save of a transfer order of STO type, when we try to create the outbound delivery in Txn->VL10B, in background, It creates the delivery, without checking the stock in the storage location. This creates further problem in Picking. So the outbound delivery should not be created for those materials which do not have proper stock within correct storage location.
    If any one has faced it, please help me in writing user exit or any other method to validate the same.

    Hi Gajendra,
    Refer this link:
    http://help.sap.com/saphelp_erp2005/helpdata/en/0d/fa0a415e37d349e10000000a1550b0/frameset.htm
    Reward with points if it is helpful
    Regards
    Alfred

  • Regarding STOCK TRANSPORT ORDER - (351 to 101)

    Dear Freinds,
    Stock transport order (STO) is created by user for 100 eas in plant 2000.
    supplying plant 1000
    receiving plant 2000
    now goods issue against this STO has been done by supplying plant 1000 with movemen type 351 for 100 eas
    but actually only 50 eas are shifted from supplyng plant 1000 to receiving plant 2000, so goods receipt document with movement type 101 for only 50 eas has been posted in plant 2000.
    further recieving plant dont want to recieve the remaining 50 eas.
    here the situation is that STO is in open status for 50 eas. we need to close this STO.
    recieving plant dont want to recieve more quantities where as supplying plant cannot cancel the good issue document-351 for 100 eas.
    how to close this STO please assist in this regards..
    Thanks and Regards
    Vijay Moundekar

    Hi,
    In this case first you have to cancel the material document created for movement type 101 for 50 no's. and cancel the material document created for movement type 351 for 100 no's.
    Now you can do the 351 movement for 50 no's and do the 101 for 50 no's.
    Regards,
    Manish

  • Problem in creation of STO(stock transport order)

    hi all SAP gurus,
    i am facing the problem in creation of stock transport order with ME21N code. i m getting the error msg of "Not possible to determine shipping data for material in STO "
    i have checked the stock transport order setup in customization. but not getting the clear idea to come out from this problem.
    if anybody have the idea of " how to do the customization of stock transport order setup, pls. let me explain.
    thnx in advance.
    rgrds,
    rajesh

    Hi Rajesh,
    when ur creating STO with UB doc type, then you have to maintain material in both the plants.
    Regarding the error which is comming for you, you have to check the settings at
    SPRO- IMG- MM-Purchasing-Set up stock transport order- Assign delivery type & Checking rule
    here for document type UB and your supplying plant-XXXX select nothing for Dlv type(delivery type) and chr - 01 and after this save.
    After this you create STO as you are doing and see what the system is prompting.
    For any further clarification let me know.
    Regards,
    NJ

  • HELP for all 5 TYPES of  STO  Stock Transport Orders with detailed scenario

    PLEASE help me understanding the detailed scenarios for all 5 TYPES of STO s
    as in my day to day job activities , i frequently handles issues related to STO s
    PLEASE HELP WITH DETAILED STEP BY STEP SCENARIOS

    Hi Jagatram,
    Standard SAP has the following methods For Stock transport order:
    1) One Step Transfer stock without using purchasing documents; Use movement type 301.
    2) Two Step Transfer stock without using purchasing documents; Use movement type 303 in Supplying plant and movement type 305 in receiving plant.
    3) Using Standard Transport Order (STO) without delivery in two steps. STO created in T-Code ME27, receiving plant posts goods issue (for returns), movement type 351 and supplying plant post goods receipt from using movement type 101.
    4) Using Standard Transport Order (STO) with delivery in one step. STO created in T-Code ME27, Receiving plant creates shipment and Goods issue document (for materials to be returned) with movement type 647 and goods receipt document with movement type 101 both created in one step.
    5) Using Standard Transport Order (STO) with delivery in two steps. STO created in T-Code ME27, Receiving plant creates shipment and Goods issue posted (for materials to be returned) with movement type 641.Goods receipt is posted in the supplying plant, movement type 101.
    6) Using Transportation scheduling agreement (TSA) with delivery in two steps. TSA created in T-Code ME37. Receiving plant creates shipment and Goods issue document (for materials to be returned) with movement type 641. Goods receipt is posted in the supplying plant, movement type 101.
    To achieve it, necessary configurations has to be done in Tcode- OMGN.
    SPRO>> Materials management>> Purchasing>> Purchase Order>> Set up Stock transport Order:
    1. Plant: For the receiving plant, maintain customer No-Plant (If using STO with delivery), for the Sales Org, Dist channel and Division.
    2. Checking Rule: Create checking rule.
    3. Define checking rule : Usually no change required here.
    4. Assign delivery type/checking rule: Assign the document type(UB) - Supplying plant- Delivery type(NL).
    5. Purchasing document type: Maintain the supplying plant- Receiving plant relationships for the doc type-UB, either 1-step or 2-step, as per business.
    Hope this helps!
    Regards,
    Shilpa

  • Table to See Stock Transport Order Partners

    Hi All.
    What table can I see the partners defined in a Stock Transport Order?
    I've realized that VBPA is just for sales order documents.
    Thanks,
    Jim

    Hi,
    Select the PO's from the EKKO table of DOCU type "UB" which is STO's
    Then Select the parters from the EKPA table for the entries of the selected EKKO Po's
    Reward Points if it is Useful.
    Thanks,
    Manjunath MS

  • Proforma Invoice (F8) for Stock Transport Order

    With regard to intra-company STO, we have a specific requirement:
    Referencing delivery document generated using Xn: VL10B (delivery from Stock Transport Order), we create proforma invoice type F8. Subsequently, excise invoice is created referencing the proforma invoice.We need to capture the material cost plus 10 % of material cost as PR00 value in the invoice.
    Problem:
    However, here comes the problem: condition type PR00 does not come automaticcally in the proforma invoice, though pricing procedure has PR00 condition type. We have to manually entere the PR00 condition type for every line item (a routine calculates 110% of the value once value is enetered in the manually entered condition)
    Is it the standard system behaviour ? Any way out?
    with kind regards
    Muraleedharan.R

    Hi,
    Have you maintained the condition records for PR00 , if not than you have to enter it manually at the item level .
    If your price is same for all the items than maintain use header condition or else at item level you have to enter PR00 item by item.
    Regards,
    Krishna O

  • Inter - Company Stock Transport Order Issue

    MM SAP Gurus,
    When I try working on "inter company stock transport order between two company codes."
    I found the errors while creating PO(using document type UB)
    ie.
    *1st Error -Material 1 not maintained in Plant 2.
    2nd Error - Customer 1 does not exist (please check entry in plant 1)
    3rd Error - Not possible to determine shipping data for material1)*
    i couldnt find out the error................................
    Here is the configuration done by me......
    Company codes:c1,c2
    Plant for c1:p1
    Plant for c2:p2
    I m going to create and transfer stock from p2 to p1.
    Here i m using stock transport order with billing(SD)
    Purchase org for c1:porg1
    Vendor for c1,porg1:v1
    I assigned plant p2 in additional purchase data of vendor v1.
    Sales area for c2:sorg2,ds2,d2
    Customer for sales area(sorg1,ds1,d1):cust1
    Now i go to mm->purchasing->purchase order->setup for stock transport order
    > for receiving plant p1 i assign cust1,sales area(sorg1,ds1,d1)
    > delivery type for supplying plant:NLCC
    >checking rule RP.
    i assigned doc.type UB into receiving plant p1 and supplying plant p2.
    Then, in ME21N used doc type UB, these r the errors::::::::::::::::::::::::::::::
    *1st Error -Material 1 not maintained in Plant 2.
    2nd Error - Customer 1 does not exist (please check entry in plant 1)
    3rd Error - Not possible to determine shipping data for material1)*
    I already maintained all this.
    The doc type NB also I tried ,,,,,,,but same errors r being shown.
    Also where to create the inter company a/cs for billing?
    Please check the attached file for the error and let me know.
    Thanks & Regards
    Keerthi ...

    Business partner
    ●     Vendor master u2013 supplying plant
    Create the vendor for the purchasing organization of the receiving plant.
    Assign the vendor to the supplying plant in the vendor master record.
    From the menu, choose Logistics ® Materials Management ® Purchasing ® Master Data ® Vendor ® Purchasing ® Change (Current). Go to the Purchasing View and choose Extras ® Additional Purchasing Data.
    ●     Customer master u2013 receiving plant
    Create a customer master record for the receiving plant. From this, both the address and the data that is relevant for shipping point determination, such as transportation zone and shipping condition are taken.
    From the menu, choose Logistics ® Sales and Distribution ® Master Data ® Business Partner ® Customer ® Create.
    The above is from help.SAP:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/4d/2b90dc43ad11d189410000e829fbbd/frameset.htm
    Plz check this link for tht information.
    So, basing on this: I have customer 1 and vendor 1 for CC1......
    --> Customer 1 is assigned to the receiving plant with sales area1 in setup STO configuration.
    --> Vendor 1 is assigned to the supplying plant in the vendor master.
    --> My question for u is:
      1)  In ME21N, in the vendor field u assign the vendor from CC1 or CC2 (Because it says the vendor - external supplier if u read in F1 in tht vendor filed)
      Company code , Purc Org, plant all this will be from CC1 in ME21N, right?????????
    Material exists in both the plants P1 and P2.......right?????
    2) How to configure the inter - company accounts for the billing in sd for this STO scenario.???
    Please clarify these things.....
    You will be appreciated and rewarded too.
    Thanks
    Keerthi

  • Valuation type in case of stock transport order

    Hi,
    We are spilt valuation.
    now we are doing stock transport order and it is asking for valuation type. while we dont want to enter valuation type in STO.
    as which material is to sent to plant, we know at that time of delivery.
    but during making STO system is asking for 'enter valuation  type'.
    How we can do the same.
    Regards,
    Santosh

    Hi,
    Since you have activated the split valuation for the material system is asking to enter the valuation type.
    Check the material master Accounting 1 view whether you have maintained valuation category?
    If you want Split valuation, maintain the valuation type in config settings in IMG & extend the material to the respective valuation type.
    Hope it helps.
    Thanks & Regards,

Maybe you are looking for