Skip to Content
Product Information
Author's profile photo Patricia Eidelwein

STO – Stock Transfer Brazil

STO is the intracompany process to transfer materials, between one plant to another within the same company, with the same company code.

The most common scenario goes as follows:

  1. ME21N                 STO
  2. VL10B                  Delivery Creation
  3. VL02N                  Outgoing movement 862
  4. MIGO                    Incoming movement 861

Important Notes:

123124 – LSA BR:5th v. Customizing of Brazilian movement types

    • This note contains the report that updates the Brazilian movement to its standard configuration.

199233 – Transfer with stock transfer order

888805 – CBT: Stock transfer with stock transport order


  • The plans must be set one as a customer and the other as the vendor.
  • On view J_1BIM02V the movements 861, 861, 863 e 864 must have the NF relevance field set as ‘U’.
  • Transaction OMJJ ha slots of configurations for movements.
  • Posting string (J1BTAX>>>NF>>>Inventory Management>>>IM Posting Strings) field ‘line item ID’ must be set as T or D.


  • Taxes do not match. (incoming x outgoing).
    • Lots of customer open incident asking why the values do not match. As this is not hard coded the values can change from one document to another. So it is necessary to check your setting to find out why the taxes are different.

DEBUG tips:

  • SE37>>>Function Module>>>J_1B_IM_TX_CALCULATE_TAX_NEW
    • For all calculation routines related to material movement can be see in this FM and it is where it starts the interface with FI.
  • SE37>>>Function Module>>> CALCULATE_TAX_ITEM
    • Where the KOMP and KONK will be filled.
  • SE38>>>Include LJ1BFF01
    • In this include the NF is created.
    • This include you can find out issues regarding accounting posting and the famous balance error.

For more information on MM localization scenarios, check out our WIKI:

Materials Management Localization Scenarios Overview

For post in Portuguese check out this link.




Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo François CARRON
      François CARRON

      Dear Patricia,
      I allow myself to contact you as you seem to be one of the STO specialists under Brazilian context. We are using cross-company STO N1 scenario (business function LOG_MM_SIT) where transfer of property occurs at Goods Issue: SAP simultaneously chains transaction types 683 Goods issue from sending plant (US for example) + 107 Goods receipt posted in receiving plant (Brazil for example). At that time, goods are considered as logistics stock in transit in Receiving plant in MB5SiT transaction. Then later on when goods are physically received, VL32N on Inbound delivery for transaction type 109 (no posting). At that time, goods are considered as being received in receiving plant and not in-transit anymore. This is the standard behavior, but in our Brazilian sub, it is mandatory to book the goods receipt only when goods are physically received (meaning at 109 time but not at 107 time). Between initial Goods issue and physical receipt, goods are considered as being in transit in receiving plant from a Logistics point of view, but not from an accounting point of view as 107 books a regular goods receipt posting simultaneously with Goods issue.
      I understand from your blog that STO has not been localized for Brazil yet, is it still the case or some enhancements are ongoing and Under release ? If not, does it mean that we need to use N1 scenario (described above) as for other subs and then process intra-company STO as you described in your blog (STO with brazilian transaction types 862 / 861) ? (in order to post on goods in transit waiting for physical receipt).
      Thanks a lot for your support,
      Best regards,

      Author's profile photo Patricia Eidelwein
      Patricia Eidelwein
      Blog Post Author

      Hello François,

      The STO process that has been localized is the Intra-Company. Cross Company has not been localized nor it is planned to.

      The STO Intra-Company process, uses movements 861 and 862, the logic about the stock is that once you post the goods issue it automatically enters the receiving plant. This is the standard behavior of the system.

      Best Regards,

      Author's profile photo Andre Amorim
      Andre Amorim

      Hi Patricia,

      Could you tell me if there is any sap note which confirms this accounting concept?

      Best regards,

      Andre Amorim

      Author's profile photo Patricia Eidelwein
      Patricia Eidelwein
      Blog Post Author

      Hi Andre,

      Please check KBA - 2708101 - STO stock behavior for Brazil.

      Let me know your comments.