on 2015 Nov 09 3:21 PM
Hi All,
My scenario is as follows:
We have WM managed SLOC's for a plant with both SLOC's belonging to one warehouse
Warehouse No: 100
Plant: 1000
SLoc 1: USA1
SLoc 2: USA2
Batch Management Active on the Materials.
Current LS24 stock situation as follows for (Warehouse No/Material/ Plant/SLOC) : 100 / MaterialABC /1000/ USA1
Type Storage Bin Total Stock Avail Stock Unit
Sloc Batch
002 LMNO 80 80 EA
USA1 Batch#990
Business requirement:
Based on some rules maintained in a Z Table(Not important for our discussion here)- Automatic transfer should happen from SLOC- USA1 stock into SLOC-USA2 with the destination storage type/ Bin same as the source.
After transfer this is how the LS24 stock situation should appear for (Warehouse No/Material/ Plant/SLOC) : 100 / MaterialABC /1000/ USA2
Type Storage Bin Total Stock Avail Stock Unit
Sloc Batch
002 LMNO 80 80 EA
USA2 Batch#990
TO BE DESIGN: We are planning on doing the following Steps
(1) Use of the following BAPI_GOODSMVT_CREATE
Do a 311 Mvt type to transfer stock btw SLOC's
This puts the batch stock in interim storage bin (922 TR-ZONE)
(2) Create a TO to move from the interim storage type/bin into a permanent storage bin
From : 922 TR ZONE
To: 002 LMNO (which is the same as the source SLOC storage type/bin)
My Questions:
(1) Is there any efficient way of doing this transfer
(2) How do I identify the Source Storage Type/ Bin in order to pass that information into the TO for the Destination storage Type/Bin
Thanks
Kumar
We have standard SAP functionality to achieve the required functionality which you are looking for, Please have a look on the below mentioned Link
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
with Standard BAPI_GOODS_MVT_CREATE and GM_code 4 it is possible to make the change without creating any custom code in that case you need to enter the storage type and storage bin value in STGE_TYPE_PC / STGE_BIN_PC and in NO_PST_CHGNT enter the value as X
Con of this approach is that you won't be able trace anything as system directly updates the Database
I used the approach as suggested by Manish
""with Standard BAPI_GOODS_MVT_CREATE and GM_code 4 it is possible to make the change without creating any custom code in that case you need to enter the storage type and storage bin value in STGE_TYPE_PC / STGE_BIN_PC and in NO_PST_CHGNT enter the value as X""
Thanks for all your help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jacob
We have created a front end transaction where the user can input the "Warehouse no, PLant, Material"
Internal logic:
(1) Table: MCHB to identify valid Batches
(2) Pass the Material, Plant and Batch into RESB to check if there are any open reservations, exclude these batches
(3) Pass the remaining batches into TABLE LQUA to get the source storage type/bin
(4) Using FM: BAPI_GOODSMVT_CREATE, do a 311 movement type to transfer stock from one SLOC to another SLOC
Let me know if you need anything else
Thanks
Kumar
Thanks Jacob, I was inclining towards that solution as mentioned by you.
Step 1 - Read Existing Bin information for the Batch stock
Step 2- Using a BAPI to do a 311 Mvt type to transfer from one SLOC to another
Step 3 - Using a BAPI to create TO to transfer from Interim to permanent storage Bin
I am not a WM consultant and the client does not have any inhouse experts, so I am figuring out things on my end and arrived at the easiest way (which is the custom solution which I am not a fan of).
The reason for my posting the question is to see if there is any standard way to achieve STEP (3).
Thanks Manish, I will look into your solution. Any additional information will be helpful for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To my knowledge the system wont retain the source storage type and bin to populate as the destination storage type and bin during the second step. There is no standard link that can be using in config between the first step TO and second step TO creation. Hopefully in this case I am mistaken and the solution provided in the other thread will work for you, Please let us know the results
Good day,
The most efficient way is through customization, create a Zcode to do the two step transfer in the back ground. You will need to temporarily write the source storage type/bin to a table that you can read from when the second step puts the stock away at destination storage location. You may need to create Z PID for the users if the traffic will go in both directions (so the user can tell the system VIA PID what source and destination storage location they want). I assume your site is not SU managed as you have not mentioned retaining the SU #.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
102 | |
8 | |
6 | |
6 | |
5 | |
4 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.