Intercompany stock transfer order

Hi all
I have a STO between different plants in different company codes in two steps (643).
I saw that in the time between the made of 643 and that of 101, the value of stock in transit is 0. I saw already the sap note stock in transit between companies (like that between plants in the same company) or I must calculate it or using in my program?
thanks
Davide

Hi,
Perhaps for your requirements is so easy control it by deliveries NLCC and its status, ie: you can create a report where you can read the info from table VBFA (flow of documents on you have the MM movements).
I copy some ABAP coding for control stock transfer for deliveries UL.
*&      Form  selecciona_entregas
form selecciona_entregas .
  clear entregas.
  select vbeln lfdat kunnr from likp
     into corresponding fields of table lt_ul
       where lfart =  p_lfart
       and   lfdat in s_lfdat.
  describe table lt_ul lines entregas.
  check entregas > 0.
  select * from vbfa
     into table lt_vbfa
       for all entries in lt_ul
         where vbelv = lt_ul-vbeln.
endform.                    " selecciona_entregas
*&      Form  tratar_flujo
      text
-->  p1        text
<--  p2        text
form tratar_flujo .
  data: veces like sy-dbcnt.
  check entregas > 0.
  delete lt_vbfa where posnv is initial.
  loop at lt_vbfa where vbtyp_n = 'R'.
    sm_vbfa = lt_vbfa.
    append sm_vbfa.
  endloop.
  loop at lt_vbfa where vbtyp_n = 'i'.
    em_vbfa = lt_vbfa.
    append em_vbfa.
  endloop.
  loop at lt_ul.
    loop at em_vbfa where vbelv = lt_ul-vbeln.
      if     em_vbfa-plmin = '+'.
        add 1 to lt_ul-mov_p.
      elseif em_vbfa-plmin = '-'.
        add 1 to lt_ul-mov_n.
      else.
         nada/nothing
      endif.
    endloop.
    modify lt_ul.
  endloop.
  loop at em_vbfa where plmin = '+'.
    at new vbelv.
      clear veces.
    endat.
    add 1 to veces.
    read table lt_ul with key vbeln = lt_vbfa-vbelv.
    if  sy-subrc = 0
    and lt_ul-mov_p > 0.
      if     lt_ul-mov_p = lt_ul-mov_n.
        delete em_vbfa where vbelv = lt_ul-vbeln.
      elseif lt_ul-mov_p > lt_ul-mov_n.
        if veces < lt_ul-mov_p.
          delete em_vbfa.
        endif.
      endif.
    endif.
  endloop.
  delete em_vbfa where plmin = '-'.
endform.                    " tratar_flujo
*&      Form  matriz_de_datos
form matriz_de_datos .
  check entregas > 0.
  loop at sm_vbfa.
    read table em_vbfa with key vbelv = sm_vbfa-vbelv
                                posnv = sm_vbfa-posnv.
    if sy-subrc <> 0.
      datos-vbeln = sm_vbfa-vbelv.
      datos-posnr = sm_vbfa-posnv.
      datos-mblnr = sm_vbfa-vbeln.
      datos-zeile = sm_vbfa-posnn.
      datos-dmbtr = sm_vbfa-rfwrt.  "evita acc.MSEG
      append datos.
    endif.
  endloop.
  loop at datos.
    read table lt_ul with key vbeln = datos-vbeln.
    if sy-subrc = 0.
      move-corresponding lt_ul to datos.
      select single name1 into datos-name1 from kna1
        where kunnr = datos-kunnr.
    endif.
    select single budat into datos-budat from mkpf
        where mblnr = datos-mblnr.
    modify datos.
  endloop.
endform.                    " matriz_de_datos
For your requiriment perhaps you can use NLCC (no UL).
I hope this helps you.
Regards,
Eduardo
Edited by: Eduardo Hinojosa on Jul 10, 2008 3:46 PM

Similar Messages

  • Intercompany Stock transfer order with excise

    Hi,
    Can anyone  tell me about Intercompany Stock transfer order with excise step by step.
    hoping to replu

    Hello,
    Create Stock Transport Order - ME21N
    Create Delivery Challan (DC) - VL10B (this reduces the inventory from supplying plant)
    Create Excise Invoice refering the DC created above - J1IS - Ref document type OTHR (Excise values are transfered in this step)
    Do goods receipt against the DC (outbound delivery) - MIGO in receiving plant. Also capture and post the excise invoice cerated in J1IS.
    Regards
    Mahesh Naik

  • RE: Intercompany stock transfer order process

    hi SD Experts,
    I really appreciate if anyone explain me how to execute Intercompany stock transfer order with intercompany billing scenario.
    I  used T-Code ME27, but unable to do delv and intercompany billing
    thanks in advance
    regards
    vaseem

    hi
    Material should exist in both the plants (Delivering  & Ordering),
    Internal customer should be assaigned to the ordering plant ( MM -> Purchasing -> Purchase Order -> Setup stock transport order -> assign the internal customer to the ordering plant and assign the Sales area of the internal customer.
    Assign its Sales area to the delivering plant
    Assign the document type and Delivery type  NB and NLCC
    Assign the Supplying plant --> Receiving Plant --> NB 
    Take the delivering plant and assign the sales area.
    Vendor master has to be created and assaign the supply source ( Delivering Plant).
    Create a puchase order ME21N ---> Save
    Delivery VL10 G ---> Calculation rule (appropriate) --> Assaign the purchase order number here and execute.
    Select the Delivery creation line and do the back ground process.
    Start the log display and see the delivery document number by the documents button
    Goto VL02N --> do picking and PGI --> Then do the MIGO with respect to the delivery document.
    Billing (Intercompany pricing conditions should be set).
    rewards point it helps

  • Intercompany Stock Transfer order - Shipping data

    We are in the process of implementing intercompany PO/STO process and we have hit a roadblock.
    Taking the example of one of our sites - Plants in Ireland supply material to plants in UK. Although they are part of difefrent company codes they are treated as INTRA-COMPANY transfers so we need to use the distribution channel IN
    But some plants in northern Europe (Finland/ netherlands) also supplys material to UK and they are INTER-COMPANY transfers so we have to use distribution channel IC
    Issue : IN SPRO, When you define shipping points for plants, you can assign only on distribution channel for a plant but as per the example above We need two distribution channels.
    Has anyone else come across any similar issue? Is there any work around or user exit that we can use for this please?
    Cheers,
    KB

    SPRO > MM > Purchasing > Purchase Order > Set up Stock Transport Order > Set up sTock Transport Order Between Storage Locations > Define Shipping Data for Stock Transport Orders Between Storage Locations (V_T001W_L) - here you can define different sales area / customer master for Plant / SLoc combinations.
    SAP will recognize the proper sales area when you input the issue SLoc during creation of STO (issue SLoc is the last field in the line of the PO item, it appears after hitting enter key).
    Regards,
    Csaba

  • Intercompany Stock Transfer Order Returns

    Our company uses plant-to-plant stock transport orders to record the movement of stock.  We are on SAP R/3 version 4.7.  When the two plants in question are in different company codes, an intercompany billing (type IV) results from the supplying plant (Plant 1) to the receiving plant (Plant 2).  Our pricing procedure for intercompany sales includes a markup on the standard cost (Plant 1 has a small profit, and Plant 2 has a higher standard price).
    My problem is that sometimes Plant 2 has to return some of the stock to Palnt 1.  I cannot just process an STO from Plant 2 to Plant 1, because it would process as a sale from Plant 2 to Plant 1, with a markup on the already higher standard price in Plant 2.  What I need to do is process a return on the original STO PO, which would generate a return credit billing from Plant 1 to Plant 2.
    I tried to enter a PO return Delivery using TCode MBRL, and I got the error message that "There are no Open Items on the PO".  Since, on a regular PO to an outside vendor, the MBRL transaction creates the open item, this indicates there is something about the intercompany process that prevents this from being the solution in this case.  How can I process a return on an intercompany STO, that will generate a Return Credit Billing (type IG) from Plant 1 to Plant 2)?

    Hi Laura,
    If you are processing with delivery, you shd check the delivery indicator in MBRL Transaction.
    In your scenario if Plant A has shipped to plant B and Plant B return to plant A on a return PO. Plant A raises the crdeit memo on plant B.
    Typically returns are done with as you create a  return purchase order with Return indicator create an outbound delivery  and do 161 movement and subsequent PGR on the outbound delivery.
    Thanks
    Sudhakar

  • Inspection lot creation not required for intercompany Stock transfer order

    Hi Team,
    The client  does not want system to create inspection lots for inter comapny STO. But for intra STO system does not create the inspection lot and thye are happy with it.
    I have have flagged the indicator "QM not active' for the movement type
    101 entry as below at transaction code OMJJ.
    101  B(goods movement for Purchase Order) X(Stock Transport Order)
    Even after flagging the above indicator, system is still creating the inspection lot at the time of GR for InterCC STO.
    Are you aware any other place to control inspection lot creation for Inter company STO.
    Thanks & Regards
    Mangesh

    The ispection types assigned to the material are given below.
    Z05 Goods Return Inspection(copy of 05)
    Z09 Shelf life extension Inspection(copy of 09)
    Z89 Inspection for Quality Assurance(copy of 89)
    Z90 Goods Receipt  for Trading goods( It is a copy of 01 inspection type)
    There is no inspection type 08 active in the material .
    Thanks & Regards
    Mangesh

  • BOM Explosion needed on Delivery for Intercompany Stock Transfer Order

    Good afternoon,
    I have been researching the SDN and web for a solution to my problem to no avail so far.
    The business problem I need to solve is the requirement for our STPO process to explode certain BOM's that are transfered from one company/plant to another company/plant in order to record batch/serial # component information by the delivering plant on the delivery and verification of the batch/serial # in the receiving plant during MIGO processing of the delivery. This is needed by our Service Mgmt department in order to track servicable items within the Finished Good (medical devices industry).
    It appears on the SDN that a BOM can not be exploded on a non-Subcontracting PO (which would be ideal for us), but barring this problem, we are trying to have the BOM explode in the Delivery created from the STPO via the VL10B transaction.
    The STPO generates a Delivery doc with type NLCC and item category NLC. I have maintained the material master for the BOM material to have an Item Category Group of ERLA, and I have modified Item Category Determination in configuration in Logistics Execution for deliveries to include ERLA, usage V, and NLC as default item category. But, the deliveries generated from the STPO still do not explode, like what normally happens if the delilvery of the BOM was created from a standard Order.
    The components for the BOM need to be displayed on the Delivery (if not the STPO), so the cleark can record the Batch/Serial #'s for each component. Then when the receiving plant posts the Goods Receipt for the delivery a user exit we have (based on movement type and material document code) builds a Service Mgmt table that is then processed to De-install the BOM and components from the former plant and install the BOM and components at the receiving plant (and then subsequently at the ultimate customer's location when a normal sale is made), generating a new Functional Location.
    Has anyone here had to do anything like this before? Would any of you have any ideas on how this BOM explosion might work on the PO or Delivery?
    Thanks in advance.
    Scott.

    No responses to this question.
    Subject dropped.

  • Why we dont have a sales order in case of Intercompany Stock Transfer?

    Hi,
    Why we don't have a sales order in case of Intercompany Stock Transfer?

    HI,
    It is up to the client requirement business scenarios..
    U can do stock transfer with so many ways..
    1. one step process
    In this just stock transfer between two plants but no goods reiceipt only goods issue
    2. two step process
    In this both goods issue and goods receipt docuements
    3. stock transfer with out delviery
    Here purchage order NB  with goods issue and goods reciept
    4. stock transfer with delviery and billing..
    In this Purchage order, goods issue, migo, miro and inter company invoice..
    Regards
    sankar

  • Intercompany Stock Transfer

    Hi guys
    I have created all the infomation relating to inter company Stock Transffer but i couldnt get able to invoice two times i.e one to customer and another to suppling plant
    please give me the information relating to it

    Hi,
    Pls. check and correct if any of thefollowing steps have been missed out for intercompany stock transfer -
    Material should exist in both the plants (Delivering  & Ordering),
    Internal customer should be assaigned to the ordering plant ( MM -> Purchasing -> Purchase Order -> Setup stock transport order -> assign the internal customer to the ordering plant and assign the Sales area of the internal customer.
    Assign its Sales area to the delivering plant
    Assign the document type and Delivery type  NB and NLCC
    Assign the Supplying plant --> Receiving Plant --> NB 
    Take the delivering plant and assign the sales area.
    Vendor master has to be created and assaign the supply source ( Delivering Plant).
    Create a puchase order ME21N ---> Save
    Delivery VL10 G ---> Calculation rule (appropriate) --> Assaign the purchase order number here and execute.
    Select the Delivery creation line and do the back ground process.
    Start the log display and see the delivery document number by the documents button
    Goto VL02N --> do picking and PGI --> Then do the MIGO with respect to the delivery document.
    Billing (Intercompany pricing conditions should be set).
    Hope it helps.
    Regards

  • Intercompany Stock Transfer - ship complete

    I have a need to force one delivery document to create per stock transfer PO.  All items are going from/to the same plants. 
    In comparing the functionality I am looking for to the SD side of the equation, I see three options to accomplish this.
    1. In SD, I can mark a sales order "Ship Complete" and that makes all lines delivery onto one Outbound Delivery.
    2. In VL02N, I can add items to an existing outbound delivery by clicking on the menu Outbound Delivery --> Deliver Sales order. 
    3. Grouped Deliveries at the line level allows me to coordinate certain lines to create on one Outbound Delivery.
    On the MM side with an intercompany stock transfer, I don't see either of these options available, so I'm wondering how I accomplish forcing all lines to create 1 OBD. Or as a 2nd option, add lines to an existing OBD from a stock transfer.  Or as a 3rd option, the ability the group multiple lines together and force them onto 1 OBD.
    Any help in this area is greatly appreciated.
    Gina Feldner

    where is this ship complete field?
    I think you refer to field 'Partial delivery/item' is set to 'C' ('Only complete delivery allowed'), which is at item level in the sales order.
    So it just means that this one  item has to be completely delivered, it does not mean that all items of a sales order have to be together in one delivery.
    In general there exists so-called split criterias and they are common for deliveries based on sales order and deliveries based on purchase orders.
    in a STO you have as well indicator for partial delivery. OSS Note 1093582 - FAQ: Delivery complete indicator ELIKZ
    explains how it is used (question 6)

  • Intercompany Stock Transfer in Retail

    Dear Experts,
    I have the following issue:
    we need to customize intercompany stock trasfer in Retail system (ECC 6).
    I not how to do it in normal SAP.
    Is it different in Retail?
    I cannot assign Sales Org/Distr Channel/Division and Customer to the plants in "Set Up Stock Transport Order".
    There is no plants created for Retail (with T001W-VLFKZ field not empty).
    Does it mean that intercompany stock transfer is configured differently in Retail (different customizig transactions)?
    If yes where can I find detailed description of configuration steps for intersompant stock transfer in Retail?
    Thanks in advance.

    Dear Sotiris,
    so is scenario in retail is the same as in normal SAP but only customizing done with different transactions?
    For example in normal SAP I would start procedd with creating Purchase order from ordering plant, indicating vendor which has suppliyng plant (LFA1-WERKS) corresponding to delivering plant. By this field system would understand that this is intercompany stock trasfer order.
    In retail I cannot assign field LFA1-WERKS since it gives me error: "0101 is not an industry plant; assignment not possible. You wanted to assign plant 0101 to the vendor. You cannot make this assignment as 0101 is not an industry plant. You can link a retail plant to a vendor via the plant master.".
    WHERE I CAN LINK VENDOR TO PLANT? I cannot do it in WB02 and also in WB08!
    Please help!

  • InterCompany Stock Transfer - shipping Point

    Hello
    How sales area and shipping point are determined in delivery document for intercompany stock transfer process.
    regards
    Prashant

    Hi Prashant,
    Material should exist in both the plants (Delivering  & Ordering),
    Internal customer should be assigned to the ordering plant ( MM -> Purchasing -> Purchase Order -> Setup stock transport order -> assign the internal customer to the ordering plant and assign the Sales area of the internal customer.
    Tcode : OMGN
    Assign its Sales area to the delivering plant
    Assign the document type and Delivery type  NB and NLCC
    Assign the Supplying plant --> Receiving Plant --> NB 
    Take the delivering plant and assign the sales area.
    Vendor master has to be created and assaign the supply source ( Delivering Plant).
    Create a puchase order ME21N ---> Save
    Delivery VL10 G ---> Calculation rule (appropriate) --> Assaign the purchase order number here and execute.
    Select the Delivery creation line and do the back ground process.
    Start the log display and see the delivery document number by the documents button
    Goto VL02N --> do picking and PGI --> Then do the MIGO with respect to the delivery document.
    Billing (Intercompany pricing conditions should be set).
    Thanks & Regards,
    Pankaj Mahajan

  • Intercompany Stock Transfer - without clearing accounts

    Dear all,
    I have configured in one client machine the Intercompany stock transfer process, following the indications of the different messages posted in the forum (vendor allocated to supplying plant, customer associated to receiving plant, NB purchase order, define shipping data for plants, assign delivery type and checking rule (NLC), deliveries items, schedule lines, etc).
    The process works correctly (purchase order, outbound delivery in supplying plant, inbound delivery in receiving plant, and interCo billing). In the outbound delivery posting, BSX and GBB operations are used.
    After that in other client machine I have configured the same process, with the same master data and so on. But in the outbound delivery posting, BUV operation is called and it is compulsory to fill in clearing accounts in Tx. OBYA. This leads to two account document creation.
    I have check:
    - Movement configuration --> the same in both client machines
    How can I deactivate the last behaviour. I don't want to use this automatic clearing. I would like to achieve the outbound delivery posting like in the first case (BSX and GBB).
    Any ideas?
    Thank you very much in advance.
    Alberto.

    Hi Jürgen,
    I also tried this option but then the following error appeared:
    "Message no. F5598: Posting keys for account determination for transaction BUV do not exist".
    Some point is forcing the PGI to ask for BUV operation (Tx. OBYA).
    Thank you for your contribution.

  • Intercompany stock transfer without billing

    Hi experts,
    I have one issue. We want to map intercompany stock transfer for spares and consumables  without billing.
    Is it possible in SAP? If possible can anybody tell the business process step by step with transaction?
    points will be awarded
    Regards,
    Santosh

    Hi,
    normally, the intercompany stock transfer process is not billing relevant, but the
    cross company stock transfer is billing relevant;
    step-by-step process for intercompany stock transfer:
    ======================================
    the question is if you want to do the process with or without a delivery, in one step or two steps...
    one of the processes is following (with delivery - two step):
    1) me21n -> create purchase order (UB)
    2) vl10b -> create outbound delivery (NL) and post goods issue within vl02n (movement type 641
    -->> after this step, the material will be in stock in transit
    3) migo -> A01 post goods receipt - R05 with reference to outbound delivery
    (you can also do it with reference to the purchase order, but you could have changed something within the delivery -> check note 326539)
    -->> if you would need an inbound delivery for your process, this is also possible, and you can also create it automatically)
    (you can check notes 421276, 490865, 497287, 965176 regarding this)
    if you want to do it with delivery with one step
    you just have to do point 1) and 2) -> here with movement type 647, that also makes the post goods receipt and you do not have to do point 3)
    if you want to do a stock transfer process without delivery,
    you should post goods issue and receipt with migo with reference to the purchase order
    you could also check notes 498143, 842829 for more information, f.e. about customizing settings
    hope I could help you,
    regards,
    Ely

  • Intercompany Stock transfer for Returns

    Hi,
    Can any one help me in giving solutions for Intercompany stock transfer for Returns. I need the Steps involved the above process.
    Regards,
    Kannan

    Hi Laura,
    If you are processing with delivery, you shd check the delivery indicator in MBRL Transaction.
    In your scenario if Plant A has shipped to plant B and Plant B return to plant A on a return PO. Plant A raises the crdeit memo on plant B.
    Typically returns are done with as you create a  return purchase order with Return indicator create an outbound delivery  and do 161 movement and subsequent PGR on the outbound delivery.
    Thanks
    Sudhakar

Maybe you are looking for

  • Acrobat Pro 9 and Leopard Won't Recognize Scanner

    Hi, I'm new to this forum. I am running OS 10.5.5 on an iMac (intel core duo processor), and using Acrobat Pro 9.0.0. I have an Epson 1640SU scanner, and it has worked fine through all of OS X including Tiger 10.4.11 and Acrobat Pro 9 on my PowerPC (

  • SLM2008 to SG200-08 VLAN

    Hi, I have the following setup: Service Provider connected to SLM2008 port 2 SLM2008 connected to SG300-20 using LAG2 SG300-20 connected to SG200-08 using LAG1 SG200-08 port 1 connected to PC I have configured VLAN 4 to isolate this (port-to-port)​ t

  • Moving Developing to Production Server

    Hi All, can any one please let me know the procedure for moving the applications from Development server to Production server with steps in 7.1.3 version for ASO application. Regards

  • SQ02 Changes

    Hello Experts, In query i made changes through SQ02 tcode. Actually I have added two fields in the query. Also I have generated the query My query is that when query is generated it did not ask for transport request. I have mannually added the change

  • DM3 (New 2010 model) - FAN NOISE - Constantly Running LOUD

    This is the first HP to use "Cool Sense" technology. Yes, it is cool but at the expense of FAN NOISE.  The fan runs constantly even when Thermal Assistant is set to "Quietest." Just an open browser window at 0-10% cpu makes the fan run all the time!