Create STO with refence to PR

Hi Folks,
I have a requirement to create a Stock Transfer Order with Reference to Stock Transfer Purchase Requisition. ME27 transaction is used to enhance this.
But I need to do it via a BAPI.
Found a BAPI (BAPI_PO_CREATE), which is used to create Purchase Order.
Can I use the same to create STO.
There is no Input field for Purchase Requisition.
Regards
-Senthil Mallappan

Hi,
Can you try using BAPI_PO_CREATE1 to post the STO.
The Pur. Reqn details would go to the tables parameters - POITEM, POSCHEDULE ( and POaccount)
Regards,
Anil.

Similar Messages

  • Create STO with order unit of measure

    Hello,
    Is there a way to create Plant to plant STO with ordering unit of measure? Based on our customization we are not able to use Unit of issue from supplying plant and we also cant have base unit of measure in the STO.
    Any help will be greatly appreciated.
    thanks!

    Hi,
       Please refer the KBA:  1980679 - Why the field 'Unit of Issue' of the supplying plant is taken in STO?  which explains the standard design. The unit of issue in the supplying plant has the highest priority in case of intra company STO and there is no configuration option to change it as of my knowledge. If you need to alter the standard behavior, you may check the feasibility of development. You may check the BAdI: ME_PROCESS_PO_CUST
    Regards,
    AKPT

  • Not able to create STO with serial assignment for returning defective goods

    Hi all,
    I am facing problem while creating STO (641 movement) for returning defective engines which are manufactured at client plant.
    The actual problem is:
    My client manufactures engine with serial no. profile attached.The steps which is followed is (all the movements are reflected in Equipment master ie03 )
    1. They create Stock using Assy. Back flush (131 movement)
    2. They do Sloc transfer using 311 movement.
    3. They send the engines to other plant by raising STO (641 movement)
    4. The Receiving Plant is doing GR (101 movement) using Tcode migo and while doing GR they delete the Serial no attached to the particular engine against material manually.
    5. Everything was going fine till some days before some engines were found defective, now they want to raise return STO against the sending plant to send back those defective engines.
    I had simulated the same case in QA client, but after GR when i am trying to raise return STO by attaching serial no. it is throwing error like check Equipment status i had tried all one but nothing worked.
    Your fast and reliable solutions needed.
    Thanks and Regards,
    Amar

    Hi,
    For converting PR to PO in the configuration you need to first set up which PR Document Type can be converted to which PO type.
    You can check if the PR Doc type is assigned to PO doc type here
    SPRO-IMG-Materials Management-Purchasing-Purchase Order(Purchase requisition)-Define Document Types
    And if you need to prevent the referencing of PR for PO creation then you assign parameter EFB to the user role. This is done by BASIS.
    You can whether your role has been assigned to any of the parameters. Ask you basis team to find this out .Tell the basis team your User ID and ask them which Parameter is assigned to your role. Give them the following configuration path if need
    SPRO-IMG-MM-Purchasing-Authorisation Managment-Define Function Authorisation for Buyers
    Regards,
    Niranjan

  • STO with del and billing

    Hi Experts,
    I created STO with order type NB as per standard. now from SD I created delivery and since its One step and automatic GR/IR should be done I check one-step check box on omgn screen. Now I need your help to proceed further to billing. In STO , I have no idea how the standard billing takes place. can u plz provide some help on tcodes and further process.what are the necessary settings to be done to go for billing in STO scenario?
    Thanks,
    kanna Palle.

    Hi Kanna Palle,
    Firstly, you should go to your delivery type from 0VLK t-code in order to check and maintain your default order type in delivery type configuration. After checking default order type used for delivery, please go to sales order type configuration for your default order type from VOV8 t-code. And please maintain dlv-rel.Billing type you want to use according to your business requirement should be allocated there in the sales order type.
    According to maintaining billing type into the sales order type configuration, you need to maintain copy control for this requirement from VTFL t-code for copy control: delivery to billing document. You can maintain it as below example:
    - go to VTFL for copy control: delivery to billing document
    -for header details: Copying requirements-003-Header/Dlv-related, Assignment Number--C,  Reference number---E
    -for item details: Copying requirements-004-Deliv-related item, Data VBRK/VBRP---001-Inv. Split (sample)
    Billing quantity----
    B
    Pos./neg. quantity----+
    Pricing type----
    G
    Price source----
    E
    These configurations will allow you to create billing by using delivery doc. number as a reference from VF01.
    Please try these ways to meet your requirement. I hope it will works on this issue.
    Regards,

  • Unable to create delivery with reference to STO

    Hi,
    Facing this error while creating del with ref to the STO.
    Configured the following:
    maintained shipping data for both receiving and supplying plants
    shipping point dertermination
    material extended to the sales area
    Document is incomplete: You cannot save the delivery
    When the system checked whether saving delivery was permitted, it determined that the requirements stored in Define Incompletion Procedures for this document do not allow this subsequent function.
    Please suggest
    regards
    Joseph

    Hi,
    Please check for master data - Vendor master of supplying plant for receving plants purchasing organisation and also supplying plant in additional data in purchasing tab in vendor master
    Customer master for supplier's sales organisation
    Check if shipping point, ship to party / customer, delivery type picked in sto properly
    Check for the STO set up in SPRO
    Delivery type assignment for supplying plant
    if everything is ok, Create delivery in VL10B for sto, if it errors, check for log clicking on log icon
    give error description
    Regds

  • Plant to Plant STO with excise invoice and taxes in one company code

    Hi,
    I have a new business requirement, we want to create only one company code and 12 plants in different states,  each plant will have separate purchasing and sales activity this is ok this can be done with separate excise and series group as ther will not be any issue for purchsing and saling of materisl with exice in each plant , but how we can transfer the material plant to plant  if the plant is in different states we want that the material should be transfer from palnt to plant  with excise invoice only,  as we have the company code common,  how to create the billing document for this, and how to pass the duty from the saling plant and capture the same in the recieving plant. with proper tax entry. Can we do the STO with biiling if the two plants are in single compnay code.
    regards,
    zafar

    hi,
    I am trying to create a Stock Transport Order (STO) with document type UB and item category U. My objective is to transfer material from Plant (supplying plant) 100 to Plant (receiving plant) 1100 within one company code (1000) with STO.
    For this purpose I created a raw material 1434 in plant 1000 with sales org 1 view and in that view entered in delivering plant field 1000 as delivery plant. After that I extended material 1434 to plant 1100 without changing anything what I did while creating the material first in Plant 1000 except in organizational level I entered 1100 in the plant field. I entered Sales org 1000 and distribution channel 10 in organization level for both plant while creating and extending the material. In me21n I chose Stock Transport Order with document type UB and item category as U also receiving Plant as 1100. With this when I tried to save the STO the message, I am getting an error,  Cannot determine shipping data for the material 1434? 
    I am doing solely mm function why I need to create Customer master? In this case plant 1100 is the customer right? 
    Solution:
    1. Mat.(1434) should be maintained in both the plants. (1000&1100).
    2. Should have enough stock in supplying plant(1000).
    3. Make its supplying plant as a vendor in vendor master record in receiving plant(1100).
    4. Make it receiving plant as a customer in customization.  
        Create customer (xd01) & and define the shipping data for plants in both the plants.
        Path: spro u2013 img u2013 m.mgmt u2013 purchasing u2013 po u2013 set up STO u2013 define shipping data (1 by1 )
        In Receiving plant (1100)                         In Supplying plant (1000)
        Customer num.  123345 (for ex.)              Customer num.  -
    (don't fill) 
        Sales org.yyy                                                  
        Dist. Channel                                                              
        Sales div.  y   
    5. Assign doc. Type is "NL" for intra company STO. If  STO is inter company, Assign doc. Type is "NLCC".
        Position doc type is "UB"
        Enter supplying plant(1000) & doc type (NL) & checking rule (ex:01)
    6. Assign doc. Type is "UB" to u'r plants.(PO)
        Go for new entries 
        Enter supplying plant(1000) & Receiving plant (1100) & doc type (UB).
    7. Create a PO, choose the doc type is `UB' & item cat.'U', Enter supplying plant as a vendor in PO  of the receiving plant(1100).
    8. Provide this num (PO) to SD people, they will do the delivery by using transactional code is VL10B.
    9. Sales people they will provide "out bound delivery num".
    10. Do the GR. In GR the second tab 05 out bound delivery instead of PO mov.type 101.
    11. See the stock over view in the receiving & supplying plants.  
    thanking you

  • Goods Receipt in STO with delivery ( SD Route ) problem

    Hi,
    there is issue related to Goods Receipt in STO with delivery ( SD Route)
    here
    1. PO with delivery is created ( SD rote )
    2. with reference to above STO outboud delivery & PGI is done
    but after this Goods Receipt is done but outbound delivery document is not updated.
    Note : as per my understanding here user has done Goods Receipt against STO PO instead of Outbound delivery.
    so please guide me so in the future user can not do Goods Receipt against STP PO in the case of STO with delivery cycle. only user can do Goods Receipt against outbound delivery.
    Thanks
    h shah

    You have to ensure in your organizational processes that there is no switch between Transactions MB0A/MIGO and VL32/VL32N. please read the note 199703.

  • Intra company sto with excise

    In sto I did
    1.Raised a P.O using me21n with doc.type UB
    2.VL10b
    3.VL02n
    4.J1is
    until this every thing fine.
    A)when i try to capture Excise Invoice Using J1iex wrt P.O system is not allowing
    B) i even tried J1IEX without P.O -system is asking for vendor. Why
    (Since this is plant to plant within the company I cannot maintain supplying plant as vendor as per SAP Standards)
    Please let me know the solution for capturing of excise duty in receiving plant
    Thanks,
    VVSRS

    Hi VVSRS, check the STO cycle as under :
    1. Me21n - Create STO in receiving plant (Order Type UB ) Supplying plant - receivable plant - qty - material etc.
    2. Vl10b - Create replenishent delivery - collect sales document no from layout screen.
    3. Ref. to that sales doc no do the PGI in supplying plant - post delivery goods not save --- check mov type is 641 in po.
    4. J1IIn if excise invoice for supplying plant or if depot then do the j1ij for the same.
    5. VF01-create STO invoice in supplying plant - without a/c doc (select order type excise invoice india).
    6. Migo-Do GR in receiving plant w.r.t the outbound delivery made in supplying plant.
    7. Update excise if required j1ig & create internal excise inv.

  • Delivery Qty Zero for STO with 2 line item

    Hi Guys,
    I have a problem when create delivery for STO with 2 line item which contain material with BOM. I have create delivery with tcode VL10G refer to Purchase Order and Delivery successfully created, but delivery qty was zero or empty. I try to fill the dlv qty same with STO Qty but  popup message "Only 0 PC for the material available", I have check the stock and there is a stock exist for the material.
    I need help for this problem.
    Regards
    Gunawan

    Hi,
    Please check if inbound delivery is already created for that Qty
    Thanks
    Diwakar

  • STO with reference to Purchase requisition

    Dear SAP gurus,
    Can I create a STO with reference to purchase requisition from Sales order.
    Below is the scenario:
    In Export sales, we have created dock location as plant. First a sales order to be created with third party item to generate purchase requisition.
    Now with reference to purchase requisistion, I want to create a STO.
    Can this be possible....
    regards,
    PP

    Hi,
    Did something similar on a 4.0a system years ago, maybe this will help.
    My notes say:
    PO create, stock transfer order
    enter order type (ours was customized version - probably so that the copy rules from PR - PO were set correctly)
    Create with reference to P.Req.
    on the pop-up box remove the 'U' (think that was the key bit)
    continue
    select item, copy +details
    Save, STO created
    Regards,

  • GR for a STO with SD delivery and Batches with split valuation X

    Hello,
    We have a problem with the Goods Receipts for Stock Transfer Orders between plants for materials subject to batch split and split valuation with valuation type X.
    The scenario is very similar to the one explained on this thread: STO:problem with batch valuated material
    When creating the the STO, it automatically sets a valuation type that is not be the appropriate one, we cannot use only one valuation type per position because we can use more than one batch (and valuation type). The outbound delivery has the correct valuation types for each batch and material but when doing the GR at the receiving plant, it only takes into account the valuation type indicated in the STO with no chance to change it.
    I have seen the Note 212532 but we are not working with active ingredients.
    Does anybody know a useful EP to use?
    Thanks in advance for your help.
    Regards,
    Javier.

    Well, we can change the valuation type before Posting the goods issue of the delivery, but in most cases we need more than one batch (each batch has a different valuation type) for each item (material) in the purchase order.
    We can do this at delivery level but the GR only takes into account the valuation type of the purchase order.
    Thanks.

  • Checking the stock in multiple plants by creating STO to fulfil an order.

    Hi All,
    The requirement is to do a Stock Transfer from different Plants for fulfillment of Configuration Order(putting together different components to make one product) which always be done at one central plant. When configuration order is created the Order Header requirement is always set to u2018Complete Deliveryu2019, which means that all the line items on the Order be delivered to the Warehouse in one delivery for Configuration completion. 
    There are multiple plants around the Central plant and the suggestion made was to create STO from other plants to the configuration plant whenever there is a shortfalls. Currently in legacy the STO process for meeting shortfall requirement is met through Automated STO. The system looks for inventory in nearby Plant in a Sequence until it finds the inventory in one of the Plant and not external Procurement is done for this configurable materials.
    Is there any way that this can be configured in SAP from MRP or planning perspective to look for the stock in a sequence of plants specified? I know using a Special procurement key u201Cstock transferu201D under the MRP view in Material master but I was not completely clear on this process.
    Can anyone provide me their thoughts on how to resolve this issue. 
    Regards
    Shane

    HI Csaba,
    Thanks for your thoughts. Yes it is not possible to acheive this with in Materials management. It looks like APO has the in built functionality to handle these kind of scenarios.
    Shane

  • Cannot create STO due to Material Not released

    Hi experts,
    I have a query here.
    A part number has block code BL (Blocked) in MM in MRP1 & Costing views. Because of which we cannot create Intercompany Stock Transport Orders.
    However it allows us to create normal PO's for the same part to the vendors. The material status of this block code BL has only Inventory Mgmnt blocked with "B" whereas rest of the settings
    Material 82001 cannot be taken from plant 1001 due to status "Not Released"
    Message no. ME125
    System Response
    Procedure (system administrator)
    Check the material status in Customizing:
    Define material status
    Could you let me know why it behaves differently in normal PO to that of Intercompany Stock Transport Orders?
    Regards,
    Pri

    I dont know the reason, but probably it is to to avoid potential business trouble, to inform requesters at the earliest time that the supplying plant cannot delivery what you request.
    Assume you would create STO today for a delivery in November.
    You would be lucky because you succefully created the STO.
    In November someone in the sending plant would starf processing the goods issue to you, would then realize that it is not possible, would then inform you about that.
    you would get in trouble with your customer, as you cannot meet the promised delivery date.
    Wouldn't you ask him why he did not tell you that in August already?
    But the sending plant has no chance to know this prior to the processing (except they would lookup manually everytime the material master status when you send an order).
    So the easisest way to let you know that it is not possible to move material in the sending plant, is thru the message at order creation.
    As I said, it is just my assumption. You may ask SAP for the correct answer. Maybe another one here knows it.
    Can it be that you do not use delivery processing for this STOs?

  • Intercompany STO with Delivery & Billing- Return STO

    Hi Everyone,
    Currently I am doing Intercompany STO with Delivery and Billing, which is working perfetly fine.
    We create 1 Purchase order for 1,00000 LB and it will be finish after 6 months ( we provide schedule to supplying plant weekly for next 6 month, how much they have to ship ) Some times we received less quantity from supplying plant lets say weekly they have to sent 100 LB but they sent only 85 LB in last week of month and I have to close the sales.
    In this can I use Return STO process ? I dont want to adjust quanity in next shipment because I have to close sales.
    Some times at the time of GR we found that they have send 85 qty and sometimes we finished GR and Invoice then we get to know later that qty was less.
    Return process
    - Create return PO with Returns check in PO (NB)
    - Create delivery , Vl10B
    - PGI
    - Credit memo
    is this right process?
    Thanks
    Shree

    Slight change in your return process.
    Your Return process.
    Return process
    - Create return PO with Returns check in PO (NB)
    - Create delivery , Vl10B
    - PGI
    - Credit memo
    Correct process :
    - Create return PO with Returns check in PO (NB)
    -GR with 161 MVT  type
    - Create delivery , Vl10B
    - PGI
    - Credit memo
    Returns :
    Case 1 - At the time of GR
    Case 2 -  GR and Invoice both done
    You can follow same process to the both scenarios as you are creating new PO for returns.

  • STO with moving average price & with out moving average price

    Hi,
    i have two questions.
    1) I have created STO and issued the material with 351 movement type, after issuing material accounting documents will be with moving average price from issuing plant.
    what is the other process to issue with out moving average price ,the price must take as per in PO(sto).
    2) why we will use STO why cont we use 301 movement type with one step transfer.
    Pls help
    Regards
    Sunil

    Hi Sunil,
    1) the 351 movement type uses always the price from the material master, you can't change it
    2) I don't really understand your question. You need advise when using STO and when 301?
    Attila

Maybe you are looking for

  • How to download 'all photos at a time' from shared stream?

    I have a photo stream shared album (with 120 pictures) on icloud.  This is shared from iPhone.  I opened the link on my mac/windows in the browser.  Now, how to download 'all photos at a time' from shared stream?  I don't want to download each photo

  • How do i update from OS 10.4 to OS 10.5?

    Hi, I'm trying to update my OS from 10.4 to 10.5 but I can't find any software update on the mac website.  Any advice would be much appreciated!

  • Problem in Opening Excel file

    Hi...... I've written a logic for sending mail through FM SO_DOCUMENT_SEND_API1 every thing works fine a get a attachment of the  excel file with all the data but when i open the file i get a pop message saying Worksheet setting problem.....and the f

  • Changing a Template Layout

    I selected the Basic template from the Template Chooser, as it was the closest to the design I wanted to use.  My problem is this, when I started my first chapter I selected a Chapter page type, which in this template consists of two halves. See Figu

  • Reason for errors in IDCOS ? pls tell small scenarios

    hi pls tell practical scenarios reason for errors in idocs? all ale configuration are done.