Overview
STO is the intracompany process to transfer materials, between one plant to another within the same company with the same company code.
Customizings for STO
- You have to register the supplying plant as a supplier and the receiving plant as a customer.
The supplying plant can be customized on the vendor master data.
- XK03
- Enter the information of the supplying plant
- Select Purchasing Data and press enter
- Go to Extras
- Select Add. Purchasing Data
- See image below for reference:
The receiving plant can be customized following the path on SPRO:
- Materials Management
- Purchasing
- Purchase Order
- Set Up Stock Transport Order
- Define Shipping Data for Plants
______________________________________________________________________________________________________
Table J_1BIM02V should be set as below for movements 86X:
______________________________________________________________________________________________________
OMJJ - In this transaction you can set the allowed transaction for each movement, field settings, etc.
______________________________________________________________________________________________________
Tax Code Configuration on J1BTAX - MM
______________________________________________________________________________________________________
Posting String Configuration
- J1BTAX
- Nota Fiscal
- Inventory Management
- IM Posting Strings
- Select the value string and make sure the option 'line item ID' is set to T - Tax or D - Tax.
Standard Process Flow
ME21N - Generate the Stock Transport Order
Use the order type 'UB' and Item Category should be set as 'U'.
VL10B - Create delivery
Fill the Purchasing document field and press Execute (F8):
Select the line click on Background:
Delivery will be created and you can now double click on delivery number created under 'Document' column:
Click on 'Edit/Change'(F1), then in 'Picking' tab fill the value in Picked Qty and all other necessary and relevant information.
VL02N or VL03N - Change/Display Outbound Delivery
Enter the delivery created and press enter, then go to document flow (F7) to see an overview of documents created and it corresponding status.
J1B3N - Display Nota Fiscal
The DOCNUM should come up automatically just enter the NF to see all the values of the NF created.
MMBE / MB5T - Check goods movement
With these transactions, you can check the material's current situation. In this case, if the stock is in transit or if it was already delivered and free.
Here we can see an example of the system showing all the information about the material per Storage Location:
Another alternative is MB5T:
With this transaction, you can see all the Stock in transit as shown below:
MIGO - Goods Receipt and incoming Nota Fiscal
Fill the outbound delivery number and enter movement 861.
Check items and mark them as ok and then post document.
You can check the Nota Fiscal if you wish just by clicking on NF button.
Debug Tips
- SE80>>>Function Group>>>J1BN>>>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 KOMK will be filled. - SE80>>> Function Group>>>J1BF>>>Include LJ1BFF01
In this include the NF is created.
SE80>>> Function Group>>>MBGB>>> Subroutine>>> FORM AUSGABE (INCLUDE LMBGBFSU)
This include you can find out issues regarding accounting posting and the famous balance error.
Related Documents
Check out the SCN post in Portuguese about STO scenario for additional information.
Check out the SCN post in English about STO scenario for additional information.
Related Notes/KBAs
123124 | 123124 - LSA BR:5th v. Customizing of Brazilian movement types *This note delivers the report CATT P40XXXX_CU_BR to set all the Brazilian movements to its standard settings. |
2149094 | STO - Changing tax code during Goods Receipt, at MIGO |
2164657 | STO - Changing tax code during Goods Receipt, at MIGO |
1650850 | Message error 8B122 when use transaction MR8M |
1650880 | Subcontract Process Supported for Brazil Localization |
1294597 | Nota Fiscal generation for inbound delivery |
2078053 | Automatic determination of Incoterms for all Nota Fiscal processes |
1890828 | Message "8B 146" - Enter a partner type, a partner function, and a partner iden |
2069453 | MB1B- Incoterm is not being filled automatically for movement type 833 |
2069463 | Encapsulation of inbound delivery check |
2038744 | Incoterms not filled automatically for mvt 541 |
1768008 | Subcontracting: Configuring acc.keys for different acc. |
2037109 | Subcontracting: Balance error in reversal process for mvt. 542 |
2055635 | LPP: Incoming nota fiscal (GR) generated with wrongly values for STO process |
2062152 | LPP: Incoming nota fiscal (GR) generated with wrongly values for STO process |
679372 | DIFAL - Brazil: Tax on goods movements - Customizing |
722167 | BR: Altn. base amt and ctrl ind. for BAPI_GOODSMVT_CREATE |
1907014 | Future Delivery - Canceling a document with foreign currency |
2012645 | STO: Goods Receipt error on MIGO using Inbound Delivery |
1977720 | Subcontracting: Reversal document generated by mvt. 544 did not generate taxes |
2000223 | Subcontracting: Reversal document generated by mvt. 544 did not generate taxes |
1640802 | Stock Transport Order between project stocks |
1677806 | Allow tax calculation for subcontracting process |
1618453 | How to fix quantity on stock in transit? |
8 Comments
Unknown User (wtklqk0)
Hi All
I am facing a issue with Cross company Stock transfer order,our client process is:
Me21n then Vl10b(delivery creation),PGI(vl02n),VF01(Prof Inv),J1iin(Excise Inv),Migo(based on the Outbound delivery) here we take the reference of J1iin Exicse inv, the excise value captured from J1iin, it is our process.
But my client new requirement is the excise value should be posted in the inventory(material account), but now it is going to excise account. so please give an suitable solution on it.
Regards
Kp
Gustavo Oliveira
Hi,
I am using TAXBRJ calculation procedure. I am trying to configure the Sub Trib scenario using as key the field BRSCH for my excpetion table. It seems the system does not determine my exception because this is read "customer"-BRSCH master data, and function j_1bcalculate_taxes uses "vendor"-BRSCH, that is of course in blank.
It seems this scenario is not supported by SAP (and should) or there is a bug.
Have you tried this scenario before?
Patricia Eidelwein
Hi Gustavo,
I was going to suggest you to open an incident for us to test this scenario but I see you already have.
It is under dev analysis so you will have an official answer from them
Regards,
Patricia
Larissa Muncy
What are the steps when you get this error "Partial Receipt not allowed for STO", but the plant has confirmed that all goods are present. Also why the COO error?
Patricia Eidelwein
Hi Larissa,
Can you provide more details?
In what step this is happening?
Thanks,
Patricia
Rita Timmons
Hi Patricia - First of all, this is a great article. I am working on implementing the Intra-Company STO process in our Brazilian operations to transfer product between two plants. I have followed the configuration per OSS 888805, but I am confused when I get to the step for Tax Code Configuration on J1BTAX - MM. I am not completely sure which values to use. I configured it with Tax code = Z1, TC at GR = I1 and TX at GI = A1. But when I try to PGI my delivery, I get "tax code A1 does not exist for jurisdiction code".
When I change the Tax at GI to I1, I get a balance error.
When I change the tax at GI to SD, I get "only input tax is allowed on 134000 (my inventory account)
I am trying to understand exactly what the system is wanting for this step. As far as I can tell, everything else is setup according to the note.
FYI: I am using Z1 for my SD tax code because the I1 is calculating ICMS + PIS + COFINS, so I think someone messed with it along the way. And I get balance error when I use it.
Regards,
Rita
Patricia Eidelwein
Hi Rita,
Thank you I´m glad the article is helping people
Regarding the tax code basically you have 3 columns in J1BTAX:
How are they used?
Basically this is the logic.
If you are following this logic and still getting the error of jurisdiction code missing the root cause can be either a note missing or a configuration missing.
Please check the options below:
Kind Regards,
Patricia Eidelwein
Alexandre MASSART
Hello
I am interested in this scenario but I was wondering at what value the parts would be transferred (in your example it is 0 BRL). Outside Brazil if you have a UB STO cross Plant (if both the Materials are managed at Price Control S Standard Price in both Plants, as it is usually in Brazil too) the result will be a FI document stock to stock account into the same company code but at the standard price value. How is it in Brazil ? Do you have an example of FI bookings resulting of this scenario ?
Best Regards
Alexandre