Loic related to Transport Order

Hi all,
I have problem with TO (Transport orders). I have one custom table with the fields Transport order, Group, Document No, Pick type and flag. I need to create and send IDOC’s for the TO’s with out the flag in the custom table. (If flag is there it’s considered as IDOC already send to the TO). Now what happened is I have one more entry for the same TO with same key fields like group, document no, pick type etc. So it was checking in the custom table with the key and flag. And it doesn’t create any idoc for that TO.
So I need a logic and piece of code to do this.
Regards
Arjun

i got of my own...thanks for the help guys...

Similar Messages

  • Minimum order qty for Stock transport orders

    Hello
    I wonder if there is any way to make the following fields from the Sales org 1 view in the material master to apply on Stock transport orders (ME21N, with subsequent delivery created in VL10B):
    Minimum order qty
    Minimum delivery qty
    Delivery unit
    As of now in our system, it only works for Sales orders and related deliveries. But not for Stock transport orders with a supplying plant.
    Also, if there is any other way to implement minimum order qty funcitonality and delivery for Stock transport orders, pls advice.
    Thanks,
    OT

    Hello
    We are in an intracompany business case. The supplying and recieving plant are in the same company.
    The situation is as follows: we are planning all replenishment manually without any involvement of MRP.
    What we would like to achieve is the same functionality as of the minimum order/delivery quantities material master fields in the material master.
    So when the planner creates the stock transfer order, he keys in supplying plant, material and quantity manually, then the warning message about the minimum order qty should appear.
    So far I have not found any way to do this. Any ideas are greatfully received.
    BR,
    OT

  • 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 of Handling Unit

    Hello All,
    I create a stock transport order for a material that is packed, at the point of issuing the material out, i get the following message:
    "HU item contains different data than the stock posting
    Message no. HUGENERAL319
    Diagnosis
    The stock that is to be posted is not in handling unit .
    System Response
    The system cannot post this material.
    Procedure
    Check the accuracy of the HU and IM inventories. If they are correct, contact your system administrator about this problem."
    Please how do i solve this.
    thanks.

    It seems in delivery one line item is not packed.Check is all the line items has the same HU location or not.If any item has different location then check is the line item related to HU location.Check all line items are packed or not in Pack box.If any thing not packed then pack and do PGI.System should allow the PGI.

  • 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

  • Excise Pricing procedure for Stock Transport Order in MM  with TAXINN

    I am an SD guy running STO  from manufacturing plant to sales depot
    AND not able to create JEX proforma excise invoice from NL
    to TEST my configuration, I created excise invoice in J1IS with respect to goods issue from NL from UB  means configuration is ok
    BUT base amount in J1IS is coming as zero because of missing excise conditions in MM  STO pricing procedure
    CAN anybody give me a sample EXCISE pricing procedure for STO
    AND  do i need to create records for the condition types in FV11 OR  MEK1 please clarify
    I know that calculation type 362 attached to BASB in TAXINN has something to do with this
    I am able to see chapter ID in J1IS
    And the relation between condition types in TAXINN and excise pricing procedure for STO
    And I am able to create excise invoice in J1IG with zero excise values
    I also maintained pricing procedure determination for JEX in OVKK that is document pricing procedure N pricing procedure JINSTOCK
    I think my explanation is sufficient enough
    please give A sample of TAXINN

    Hi Yoga,
    Here u not need to do VL10b.just follow this steps and try.
    In PO,Document type is UB and Item Category is U.
    After creating PO,In MB!B with reference that PO number and using movt type 541
    then u can see that stock in Transit.Now u do GR with respect to PO number.
    Thanks & Regards
    Suresh.
    > Hello MM Gurus,
    >
    > I am doing Stock transport order between 2 plants
    > under same company code.
    > I have maintained all the required settings.Following
    > is the process flow.
    >
    > 1.Creation of Purchase order with document type
    > UB.(ME21N)
    > 2.Creation of outbound delivery with respect to
    > Purchase order.(VL10B)
    > 3.Post Goods Issue from the supplying plant. (VL02N)
    > 4.Creation of Excise Invoice in supplying plant.
    > (J1IS)
    > 5.Goods receipt at the receiving plant.(MIGO)
    >
    > While I am doing Goods receipt in the receiving
    > plant, system is giving an error
    > message "Maintain Vendor for the Excise Invoice" -
    > Message no. 4F185.
    > Why this message is coming and how to resolve this?
    >
    > Thanks & Regards
    > Yoga

  • Stock Transport Orders within AII, also using HUM

    Dear all,
    we currently have the following issue at my customer:
    We are implementing SAP AII on top of an existing solution, using WM and HUM.
    In the current solution for STOs from 1 plant to another, the GI of an outbound delivery triggers the SPED output and an inbound delivery will automatically be created in the receiving plant, copying the batches and HUs. All pretty standard so far.
    However, when using AII, the GI of the outbound delivery triggers an eASN, which will load the serial numbers in AII and at the same time create an inbound idoc DESADV that is supposed to create the inbound delivery in the receiving plant. IF we would not be using HU, this process works fine and the IBD is created.  BUT when using HU's we get the message that the HU is already GI'd and cannot be used again.
    When we take out the HU of the idoc, have the inbound delivery created and later on add the HU manually to the delivery it works fine as well, so the error is really linked to the idoc (HUSELECT008). We have already checked each and every note related to inbound idocs and the mentioned error, but no solution was found.
    Did any of you also experience this problem while implementing AII for a complex environment with STO's?
    Any help would be very much appreciated.
    Thanks in advance!

    Hi
    Please go thru the following navigation to set up STO between Storage location with delivery.
    SPRO-> Material management -> Purchasing -> Purchase order -> Set up stock transport order -> step up stock transport order between storage locations
    In first step Activate Stock transfer between storage locations and do other configurations.
    Regards
    Ramakrishna

  • Adding serial number to stock transport order

    I've read in the SAP documentation that you can add equipment serial numbers to stock transport orders but I can't find any way to get this accomplished.   Can anyone give me some guidance?
    Thanks!

    I should add that when we try to create the stock transport order using ME27, select the line and then go to Item --> More Functions --> Serial Number, an error message comes up saying "This function not allowed here".  Double-clicking the message brings up an explanation about a missing entry in table T168.  I searched OSS and have found quite a few notes related to this table but none that have to do with serial numbers or transaction ME27.

  • Stock Transport Order Setup

    Hi
    I have to setup Stock transport order between plants in same company code through inventory route (by 351 movement). Kindly guide me for the
    1.Standard customizing and master data setup required for the same.
    2. Any additional Customizing &  Master data setup required for the same in the Cin Scenario.(i.e. customer/ vendor relation etc.)
    Regards
    Arvind

    Hi,
    If you are doing STO through 351 mvt in MIGO , PLease follow the below steps:
    Steps:
    -Create a Stock Transport Order (ME21N, Purchase Order doc type UB)
    -Process Goods Issue against STO (MIGO > Goods Issue > PO) u2013 movement type 351
    -Process Goods Receipt against STO (MIGO > Goods Receipt > PO) u2013 movement type 101
    Customisation:
    1. Config: MM > Purchasing > Purchase Order > Set up Stock Transport Order > Assign Document Type, One-Step Procedure, Underdelivery Tolerance.
    Here the source plant, destination plant and allowed STO document type is specified.
    2. MM > Purchasing > Purchase Order > Set up Stock Transport Order >define shipping data for plant. Here create receiving plant as a customer and assign.
    Regards
    Ram

  • Stock transport order getting closed with partial delivery

    I have a problem here .Stock transport Order gets automatically created in SAP ( by means of inbound IDOC).
    Suppose the STO Quanity is 10 pcs and delivery note is of just 5 PCS.
    The STO Purchase Quanity changes to delivery note Quanity i.e 5 pcs and changes the status of the STO to close .
    Delivery note also gets created automatically by incoming IDOC.
    I think this is a problem with some custom program logic which processes the delivery note for the STO,
    Anyone who has faced this scenario before , pls help whether this is SAP standard ??????

    I am not sure because what happens is if order quanity is 10 pcs and delivery note is 5 pcs , the PO order Qty changes to 5 pcs and gets closed,
    I think this is not SAP standard and hence it could be related to some ABAP Program behind.
    Please clarify.

  • To create a stock transport order and third party order

    please explain steps to create a stock transport order and third party order with transaction code what are the pre-requisite. related to MM?

    First you need a supplying plant. stock ready to transfer for a matetrial which should be created/extended at both the suppling and receiving plants.
    The order type is UB
    rest of the things are Pur org, Pur Grp, Company Code etc...
    The most important part is Vender has been replaced by supplying plant.

  • Very imp stock transfer and stock transport order

    hi folks,
    please explain me in detail the difference between stock transfer and  stock transport order.
    regards,meena

    Hi:
    Stock Transfer is the physical movement of material from one location to another location,stock transport order is one way of doing the stok transfer.
    Stock can be transfer between plant to plant,company code to company code,storage location to storage location.
    However there are different procedures for stock transfers:
    1.Stock Transfer using one step procedure: Here Goods issue and Goods receipts happens in single step.
    2.Stock Transfer using Two stage procedure:The two-step procedure allows you to monitor the stocks in transit. After the goods issue is posted at the issuing point, the stock appears "in stock transfer" at the receiving point and is managed as such in the system.
    3.Stock Transport Order:
    This is transfer of material from one plant to other plant or co.code to co.code via SD route.
    Here a.receiving plant raise the stock transport order on issuing plant.
           b. Issiuing plant creates the outbounmd delivery against STO and PGI.IF it is in India,then excise 
               invoice creation.
           c. Receiving plant post the goods receipt against outbound delivery and post the excise ivoice.
           d. Invoice verification.
    The main advantage of Stock Transport order is you have a more control because you can have  purchasing document behind itand you can check the PO history which would gives all the details for Delivery as well GR documents.
    However ftor STO via SD you need to configure the set up stock transport order in MM>Purchasing>Purchase Order-->Set Up Stock Transoport order.
    Also on a data maintanace side you need to maintain the custmor and vendor relations.
    Hope this would helps you.
    Cheers
    Rahul
    Awards plz.if helpful.

  • Inv. receipt field for stock transport order

    guyz,
    when we are creating a normal PO(from me21n), in 'Invoice' tab of item overview screen, we can find following three fields
    inv. receipt
    GR. based IV
    final invoice
    however when i'm creating a stock transport order from ME21N, i'm not able to see 'Invoice' tab at all... i thought it couuld be related to document type and its field selection but not able to find these fields in field selection group for po document types....
    any help?

    Hi,
    In case of STO (Document Type "UB"), you will not find the "Invoice" Tab if it is between plants of same Co. Code and if you are using "Supplying Plant" instead of "Vendor". But if you want to do Invoice Verification for Freight/Delivery Cost, etc... you can fill the values for freight conditions in "Conditions" tab page and also assign a Vendor to the condition type itself by going into "Details"
    Standard Pricing Procedure - RM2000
    And in MIRO after GR (MIGO) > Select this STPO and also select "Only Planned Delivery Cost", it will populate the values and you can do LIV.

  • Stock Transport Order automation

    Hi all,
    Please help me out following situation:
    How to do the stock transport automation.
    my client requirement is as follows:
    When ever he create the stock transport order, system should automatically has to create subsequent documents, like replenishment delivery,pro-forma invoice,good receipt.
    how to configure above scenario,
    Please help me out.
    If any body is having information related to this situation. please send information to the following mail id.
    [email protected]
    thanks in advance.
    Regards,
    Ch.Srinivas.

    solution available

  • Error in stock transport order

    Hi Sap Fans
    i have created a stock transport oder from plant to depot  for that first i have created a stock transport order in me21n and later i have done outbound delivery in vl10b and after i have done replenishment delivery in vl02n and after that i am doing billing in vf01 at that time i am getting the following log please help me how to solve the issue
    error log 0080000011   000000  customer 0000002010: exception 7 in function module view _kuag2
    please help me to complete the billing
    thanks in advance
    Srinivas

    Hi Murali
    at the time of doing migo am getting the following error
    Goods receipt not possible for delivery 80000012: error code 4
    Message no. M7865
    Diagnosis
    The goods receipt for the delivery cannot be posted.
    The error according to the error code:
    1. The delivery does not exist.
    2. The delivery type is unknown.
    3. The delivery is not goods issue posted.
    4. There are no delivery items.
    5. The receiving plant could not be determined.
    6. The delivery items have already been goods receipt posted or contain zero quantities.
    7. Goods receipt(effect)movement type to goods issue movement type could not be determined.
    8. It is not currently possible to block the delivery.
    Procedure
    Error code 1      : Check your entry.
    Error code 2,3,4,6: Check the delivery and its document flow.
    Error code 5      : The delivery must be related to a purchase order or
                        the customer must be a retail business.
    Error code 7      : Check the settins for your movement types.
    please let me know how to solve this issue
    Thanks n regards
    srinivas

Maybe you are looking for