Deletion of STO

Stock Transport order at plant XXX has an outstanding amount of stock in transit  that cannot be cleared from the system due to alternate UoM discrepancy between PGI and PGR.  This element needs to be cleared from the R/3 system. how to do that???

Hi,
Try to maintain a conversion between the PGI UOM and PGR UOM at material master -> additional datat -> Unit of Measure tab. Then try to receive the goods in plant/warehouse.
Regards

Similar Messages

  • Deleting a STO PO

    Hi All,
    I am trying to delete the STO PO For which the Goods issue has been done and accounting Doc has been cleared. when we check the Document flow it is showing me as below.
    Purchase order  xxxxxxxxxx                             31.10.11
    Replen.Cross-company xxxxxxxxxxxx             14.09.10 Being processed
    Picking request xxxxxxxxxx                               14.09.10 Completed
    CE Incompany Invoice xxxxxxxxxx                    17.09.10 Completed
    Accounting document xxxxxxxxxxxx               17.09.10 Cleared
    TF to cross company xxxxxxxxxxxxxx               20.09.10 complete
    When i am checking the status of PO it is showing as 'Not yet delivered'. I am able to see the stock in Transit(MB5T).
    Note: The period has already been closed for this PO
    Can I go a head reversing the Accounting and cancel the billing document and reverse the Post goods issue and can I cancel the PO?
                                                                                (or)
    Can i directly mark "Final Invoice Indicator and Delivery Completed Indicator to close the PO?
    If u require any more Info please let me know.
    Please suggest the further steps to be made if there are.
    Thanks In advance,

    Venkat Naveen wrote:
    No, Because I have created another PO and everything has been done in it. Thats the only reason I want to close this PO.
    >
    > Thanks a lot for the response.
    This cannot be, your goods issue was done in refrence to the PO you want delete.
    if everything was done to another PO, then this would include the goods issue as well.
    if you want delete this PO, then you should check the PO history what has already happened to this PO.
    e,g, was the invoice posted.
    if yes you have to cancel the invoice receipt first, then you cancel the invoice on the shipping side, after you have cancelled the invoice, you can do a VL09 to cancel the goods issue, then you can delete the delivery, finally you can set a deletion flag to your PO.

  • Mark For Deletion of STO's which purchase order history

    Is there a way, where I can set mark for deletion for a STO which has partial goods issue/receipt { i.e. it has purchase order
    history }
    Thanks In Advance!!

    Dear,
    Check solved question: Re: To close old STO with inbalance GI and GR
    Regards.
    Syed Hussain.

  • Deleted Delivery Unable to do the Goods receipt reversal

    Hello Experts,
    Instead of deleting the particular delivery line items, user has deleted the STO delivery completely by using VL02N transaction code. Now in the purchase order history we have only GR and invoice document related to STO. (We already reversed the billing and deleted the delivery)
    Now we are unable to reverse the GR and getting the error "Delivery cannot be updated". This error because of the deleted delivery.
    Please advice how to proceed further. Now the overall from accounts it is showing imbalance.
    Please note, we are doing STO between company code to company code.
    Regards
    Rifaie M

    Satish,
    From you, i understood that for cancelling the GR i have to give delivery number reference.
    But in my case the delivery number itself deleted. I do not have delivery number in purchase order history. This has been deleted by the end user by mistakenly.
    Please advice
    Regards
    Rifaie M

  • Program to update Delivery dates of STO based on Material availability

    Hi,
    We have requireement in which, we need to material availability check for the materials on daily basis. This is only for Stock Trasnfer orders.
    Suppose there is STO ( Stock Transfer Order) 1 that has been created for material M1 for qty 20. The scheduled delivery date for the material is tomorrow. Now I create another STO 2 today for the same material and same quantity. The scheduled delivery date that was proposed was 7 days from today.
    Some one deletes the STO 1. Now Material M1 with qty 20 is avaiable to use. I then go in the system, open STO 2 in change mode. Select the line item and click on Material availability check. When I do this, the new delivery dates are proposed.
    This is standard sap functionality.
    We have required to do this programmatically. Is there any standard SAP program which will check all the STO's by there creation date and do the material avaibility check automatically and re-set STO dates.
    Regards,
    Shahu

    Instead of all that, you could just use stock transport scheduling agreements.  MRP can update those automatically during its processing.

  • Deleted Allocation Table in vendor PO items

    Hi guys, I write because it is having the problem I describe below:
    It creates an allocation table referencing a vendor PO.
    STO´s are created for each store included in the allocation rule in the allocation table.
    It is noted that there was an error in choosing the allocation rule
    Deletes the STO´s items generated for distribution to stores
    Deletes the allocation table.
    It tries to regenerate the allocation table referencing to vendor purchase order, but this is not generated because the order is linked to the previous allocation table.
    After the situation described, I wonder if there is any way to rearrange the vendor purchase order items so as to disassociate from the allocation table initially created.
    Greetings, and thanks in advance

    how is your problem fixed,please share with me!
    Thanks in advance .
    Deyi.

  • STO reconcilation process

    In STO Process,
    An STO was created for an item for 100 units, but for some reason delivary was posted for 0 units. So these 100 units are sitting at StcktrsptOrderRel in Stock Overview (In MMBE at Plant level),
    I wanted to remove these units from there. Please let me know the procedure.
    1) Can I delete this STO item line, as delivery is 0.
    2) I tried to create a new delivery (VL10B) with reference to STO, but as Batch for this materail doesnot exits, I am getting error. 
    Please answer this!! This has become a challenge.
    Thanks for your time and concern.
    Regards
    Venkat

    Hi Venkat,
    If you have not picked the delivery follow the following process
    1. T code VL02N and enter the delivery no.
    2. Delete the line items where there is 0 units.
    it will delink from the original document ie STO in your case.  Then you can recreate the Delivery for the STO.  In addition you can put the CANCEL in the field special processing indicator in the shipment Tab at the header level (if you have defined it in the IMG).
    Hope this helps.
    Thanks
    Kiran

  • How to generate a trigger in the CIF on ECC custom field ?

    Hi
    We have an intercompany scenario in ECC where we use a custom transaction to convert the stock transfer order into a sales order (at the source plant).
    As the 2 objects are not technically linked in ECC, we modified the CIF in order to delete the stock transfer during the transfer for the Source location in APO, so we only see the sales order at this location and not anymore the STO.
    However this custom transaction is not modifying any standard field in the stock transfer at the point of conversion, therefore there is no trigger to APO generated.
    Do you know an easy way to generate this trigger ? we tried with the bapi po_change to modify some standard fields, but no field is really secured to play with. We'd rather prefer to generate a trigger out of a custom field.
    Thanks in advance,
    Fanny

    Hi Fanny ,
    Here is a thought .
    You want to delete the sto in APO because  you dont want the demand to double dip. That is after you have converted the sto to a sales order using your custom program , unless you delete the sto your demand will show up both in so and sto which is necessarily a duplication of demand.
    But there is no need to delete the sto for that. You can make the demand element of the sto as not relevant to pegging . After converting your sto to so , if you mark the demand of the sto as non relevant to pegging then , sto demand will not be accounted for when calculating the stock availability and the demand element will not be displayed in the planning book also. So the only impact in this case will be that the order will be visible in the receipts view though it will not affect the stock . I think this will serve your purpose. Just give it a thought.
    But if you decide to follow this approach, you have to put in custom code to pick the relevant sto's and mark them as non- relevant to pegging. Also you have to configure the ATP category corresponding to the sto to pick the confirmed quantity and display the same in the planning book . Otherwise the sto demand will show up in the planning book.
    Thanks
    Saradha

  • Change the valuation class of material [Stock transport order scenario]

    Dears,
    Client would like to change the valuation class of material.
    There is no open Purchase order/Process order/Purchase requistion and stock in plant.
    Scenario- One Stock transport order is created.
    For same goods issue (351-issuing plant) and goods receipt (101-receiving plant) is done.
    When we are going to change the valuation class of said material, message is "purchase order is open
    and it shows the no of STO [for which receipt and issue is done]"
    To resolve this issue we had first delete the STO line item no(ME22N). Then change the valuation class.
    (this allows). and then undelete the STO line item. Through this we can change the valuation class of material.
    Please advise in such business process that this is right way or there may be other option.
    Thanks & Regards
    Rajan

    rajanshah219,
    Here's my take on how to fix:
    *Manually change Config TCode OMT4 - change message MM 326 & 327 to type "W"   (if open order exists...now you can enter through warning messages)
    *If inventory exists, then issue out of stock to a cost center
    *Change valuation class
    *Put stock back into inventory (reverse to that same cost center)  Note issue out and reverse back into inventory must happen in the same posting period.
    **Valuation class should be changed as expected
    **Manually change config  TCode OMT4 - change message MM 326 & 327 back to type "E"
    Thanks,
    Jason

  • Stock Transfer Reservation in spite of Purchase Requisition in MRP run

    Dear SAP gurus,
    We are running MRP heuristic on the PP/DS and we have different results comparing our development and productive environments.
    In our productive environment purchase requisitions are generated and in our development environment stock transfer reservations are generated as result of the MRP run.
    Where can I check differences of configuration that would be causing this?
    Thanks and BR
    Mauricio

    Mauricio,
    I guess I was not clear in my suggestion, I apologize.  Differences in T001W between ERP dev and prod will not necessarily generate your problem, differences in sourcing within APO between APO dev and APO prod will generate the differences.  I only mentioned the vendor number because a transportation lane can exist 'source plant > destination plant', but also you can have a transportation lane 'vendor of source plant > destination plant' which would also have an impact on the type of req created.
    Easier to check the sourcing, //PWBSRC1, mentioned earlier.  Your dev system should contain no objects that relate to Stock Transport orders.  You can delete the STO sourcing records within that transaction, which will also delete the material assignment to the Transportation lane.  Hopefully you will then get the default external supply proposal, which is normally a Purchase req.
    Also check for presence of quota arrangements //SCC_TQ1.  Delete any that unnecessarily refer to an STO object.
    Best Regards,
    DB49

  • "call to this must be first statement in constructor"

    Here's the code:
    public class TAGEmail {
        private StringBuilder sTO = new StringBuilder();
        public TAGEmail()
        public void setTO(String sRecipient)
            this( sRecipient, true );
        public void setTO(String sRecipient, boolean bAppend)
            String sRegexPattern = "^[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,4}$";
            Pattern oPattern = Pattern.compile(sRegexPattern, Pattern.CASE_INSENSITIVE);
            Matcher oMatcher = oPattern.matcher(sRecipient);
            if( ! oMatcher.find() )
                oLogger.addEntry(2,"Email address '" + sRecipient + "' is not a valid e-mail address!");
            if( sTO.equals(null) || bAppend )
                sTO.append( "\"" + sRecipient + "\"" );
            else
                sTO.delete( 0, sTO.length() );
                sTO.append( "\"" + sRecipient + "\"" );
    }The part I don't get is that it's not in a constructor...and it is the first line of the method it's in. Am I missing something?

    Ah. My thought process was just the opposite. If
    the compiler is going to add it anyway, I'll just do
    it now. Symantics, I suppose.Well, the compiler doesn't add it into the source code. It simply interprets the two expressions identically. (It might be possible that something is hiding or shadowing the method so that this. is necessary for disambiguation. I've only seen that with variables though. I don't know if it can ever be an issue with methods. If it happens, I'd say something is poorly named.)

  • Very Urgent: Deleting Batch from STO and Goos Issue reversal  Using BAPI

    Hi,
    I want to delete outbound delivery for particular shipment number and this should be done using BAPI or a FM not using the tcode VL02N.
    I wld be very grateful
    Please List out the BAPI 's or FM that can be used for to perform these listed , with using Tcodes:
    1) REVERSE BILLING DOCUMENT(VF11)
    2) GOODS ISSUe REVERSAL (VL09N)
    3) REMOVE DELIVERY FROM SHIPMENT (VT02N)
    4) DELETING DELIVERY(VL02N)
    5) REMOVE BATCH FROM STO (ME22N)
    Its very urgent..
    Thank you in advance....

    1) REVERSE BILLING DOCUMENT(VF11)
    BAPI_BILLINGDOC_CANCEL
    2) GOODS ISSUe REVERSAL (VL09N)
    BAPI_GOODSMVT_CANCEL
    3) REMOVE DELIVERY FROM SHIPMENT (VT02N)
    BAPI_SHIPMENT_CHANGE
    4) DELETING DELIVERY(VL02N)
    5) REMOVE BATCH FROM STO (ME22N)
    BAPI_PO_CHANGE

  • STO PO line item to be deleted

    Hi All,
    Customer has created a STO purchase order with reference to sale order as AAC.
    He didn't make any GR.
    When he try to delete the PO line item, system is not allowing to delete.
    error V1 348: No update of sales order from Purchse order.
    Please advice what to be done.
    Regards

    : No update of sales order &1 from purchase order (error &2 &3)   has message number v2 227
    and this message refers to message v1 348 which is  "Schedule line type xx is not supported here".
    go se91 enter the message number and then display the long text to the message it indicates what to do.
    Further check OSS  Note 823393 - Purchase order w/ third-party:Credit cust blocked in order

  • User needs to delete a line item from old STO

    Hi all,
    User needs to delete a line item from old stock transfer order and would like to be advised what he needs to do to delete the line item from the STO.
    On the STO, Goods Issue done and reversed also. Delivery completed indicator not checked. I aslo found that the payment has been made for the line item 40 for Freight. Carrier charges. It seems that the payment has been made/cleared to the vendor.  I think Due to this reason they are unable to remove this line item from STO. They have attempted to delete or block an item that is not yet closed. All down (advance) payments made to date have been taken into account.
    Can you please advice how to resolve this problem?
    Thanks in advance..
    Regards
    Suresh

    Hi,
    Delivery completed tick is also there for STO PO. If you are not getting it then check settings. Also you can mark deletion indicator for that line item. Or minimise quantity to goods received quantity.
    For STO if delivery is made from delivering plant but Goods receipt not done in receiving plant then that material remains in transit. Can viewed with ME5t. In this case that line item cannot be delted or delivery completed.
    Still your client wants to complete these type also better to leave decision to business if they want to reverse delivery (Stock of issuing plant will increase) or make Gr ( Stock of receiving plant will increase) Although they can adjust later with physical inventry process and make stock in system to real physical stock
    Regs,
    Appie

  • Deleting The Open STO Line Items...........

    Dear Friends,
    I am having one requirement as follows.
    The program is to build in such a fashion , that if there are any open items in STO
    ie. In one STO there are 3 items having 100 , 200 , 300 quantities...
    <b>First item</b>     10 .. quantity 100..... PGI Done for 100 ( balance Nill )
    <b>Second Item</b> 20... quantity 200..... PGI Done for 100 ( Open Deliv / Shipment ) -  (100 ).. Then system has to mark for deletion for ( open deliveries and  Shipment cost , Handling unit ).........
    <b>Third item</b> 30  -
      quantity 300...( Open Deliveries 300 ) ..Then system has to mark for deletion  for ( open deliveries , and PO line item  )
    How we can approach to this solution...
    Is there anyBAPI available or LSMW for each phase we have to consider or BDC..
    Thanx and Regards,
    Amitav

    Hi Rajesh,
    I think SAP help says that the period for which you are planning to delete or archive data may have to be locked.
    Check the following links:
    For Archiving
    http://help.sap.com/saphelp_47x200/helpdata/en/8d/3e55ec462a11d189000000e8323d3a/frameset.htm

Maybe you are looking for

  • My itunes icon is not appearing in my dock

    My itunes icon is no longer appearing in my dock and when I plug my iTouch in the only thing that comes up is iPhoto.  What should I do?  I am on 10.5.8.  I know I know.  It is way past time for an upgrade..... Any help would be greatly appreciated..

  • Update from Java 1.6 to 1.7 for OS X 10.5.8

    Is there any Java version 1.7 available for my Mac Book OS X 10.5.8 ? I have got Java 1.6.

  • Problem with automatic key generation

    Hi, I'm getting an exception when creating entity EJB's that use automatic primary key generation (I'm using MS SQL Server as the db). The data is being inserted correctly onto the database (including the auto generated key), but the auto generated p

  • 1st time builder bios questions?

    I finaly finished pluging everything in, and my computer fired right up on the 1st try but has 2 problems probly connected to each other? 1) NOTICE the number of hard discs is not adequate enough to create RAID!!! Serial_Ch0 Master No Drive Serial_Ch

  • Comment récupérer mes applications iTunes de mon pc à mon mac?

    Bonsoir, Navré si cette question a déjà été posée mais je ne parviens pas à trouver des réponses la concernant, donc je vous demande de l'aide. Je viens d'acquérir un MacBook Pro, et jusqu'à présent j'ai toujours utilisé des PC. Toutefois, je pocédai