Tracing stocks in Bins.

I have a situation where the stock data in SAP is interfaced to an external system.  So when ever there is a  stock change in SAP we have to send the updated stock data to a 3rd party system. We have SAP WM implimented in the facility. so we want to track LQUA table for updates and make sure SAp generates an IDOC when ever there is a posting in to LQUA table.  did any one do this. If yes can you please explain the process of doing this.
Regards

Hi,
I dont have worked much on interfaces.
But still, I think to start with you can search WM Goods Movements related threads in the SAP SDN MM as well as LE forums.
One more thing, the interfacing is done through the configuration of ALE-IDOC's which is purely a technical thing.
Once all the necessary technical parameters such as Idoc message types, Ports, Partner is maintained, you will be able to start the testing.
Best way is to start with help.sap documentation as well as SAP SDN threads like the one below.
[ale ppt slides;
Thanks & Regards,

Similar Messages

  • Stock report Bin location wise

    Dear expert,
    i want "stock report Bin location wise" in crystal report, anybody can provide sql query.
    thanks

    Hi,
    Take a look at procurement and inventory  content provided by SAP.They should help you.
    http://help.sap.com/saphelp_nw70/helpdata/EN/58/f6383fdb800804e10000000a114084/frameset.htm
    Regards.

  • How to get item stock from bin location with serial numbers?

    Dear experts
    I want to write query for getting item stock from bin location with serial numbers..
    Thank you
    Santosh Dhere.

    Hi Santosh,
    Try this:
    SELECT T0.[ItemCode], T5.[DistNumber], T5.[MnfSerial], T5.[LotNumber], T3.[OnHandQty]
      , T1.[BinCode], T1.[WhsCode]
    FROM  [dbo].[OIBQ] T0
      INNER  JOIN [dbo].[OBIN] T1  ON  T0.[BinAbs] = T1.[AbsEntry]  AND  T0.[OnHandQty] <> 0
      LEFT OUTER JOIN [dbo].[OBBQ] T2  ON  T0.[BinAbs] = T2.[BinAbs]  AND  T0.[ItemCode] = T2.[ItemCode]  AND  T2.[OnHandQty] <> 0
      LEFT OUTER  JOIN [dbo].[OSBQ] T3  ON  T0.[BinAbs] = T3.[BinAbs]  AND  T0.[ItemCode] = T3.[ItemCode]  AND  T3.[OnHandQty] <> 0
      LEFT OUTER  JOIN [dbo].[OBTN] T4  ON  T2.[SnBMDAbs] = T4.[AbsEntry]  AND  T2.[ItemCode] = T4.[ItemCode]
      LEFT OUTER  JOIN [dbo].[OSRN] T5  ON  T3.[SnBMDAbs] = T5.[AbsEntry]  AND  T3.[ItemCode] = T5.[ItemCode]
    WHERE T1.[AbsEntry] >= (0)  AND  (T3.[AbsEntry] IS NOT NULL)
    UNION ALL
    SELECT T0.[ItemCode], T5.[DistNumber], T5.[MnfSerial], T5.[LotNumber], T0.[OnHandQty]
      , T1.[BinCode], T1.[WhsCode]
    FROM  [dbo].[OIBQ] T0
      INNER  JOIN [dbo].[OBIN] T1  ON  T0.[BinAbs] = T1.[AbsEntry]  AND  T0.[OnHandQty] <> 0
      LEFT OUTER  JOIN [dbo].[OBBQ] T2  ON  T0.[BinAbs] = T2.[BinAbs]  AND  T0.[ItemCode] = T2.[ItemCode]  AND  T2.[OnHandQty] <> 0
      LEFT OUTER  JOIN [dbo].[OSBQ] T3  ON  T0.[BinAbs] = T3.[BinAbs]  AND  T0.[ItemCode] = T3.[ItemCode]  AND  T3.[OnHandQty] <> 0
      LEFT OUTER  JOIN [dbo].[OBTN] T4  ON  T2.[SnBMDAbs] = T4.[AbsEntry]  AND  T2.[ItemCode] = T4.[ItemCode]
      LEFT OUTER  JOIN [dbo].[OSRN] T5  ON  T3.[SnBMDAbs] = T5.[AbsEntry]  AND  T3.[ItemCode] = T5.[ItemCode]
    WHERE T1.[AbsEntry] >= (0)  AND  (T2.[AbsEntry] IS NULL   AND  T3.[AbsEntry] IS NULL)
    UNION ALL
    SELECT T0.[ItemCode], T0.[SRNDistNumber], T0.[SRNMnfSerial], T0.[SRNLotNumber], T0.[IBQOnhandQty] - T0.[OnHandQty]
      , T0.[BinCode], T0.[WhsCode]
    FROM  (
      SELECT T0.[BinAbs], T0.[ItemCode], MAX(T0.[OnHandQty]) AS 'IBQOnhandQty', SUM(T2.[OnHandQty]) AS 'OnHandQty', N'' AS 'BTNDistNumber', N'' AS 'BTNMnfSerial'
      , N'' AS 'BTNLotNumber', N'' AS 'SRNDistNumber', N'' AS 'SRNMnfSerial', N'' AS 'SRNLotNumber', MIN(T5.[AbsEntry]) AS 'AbsEntry', MIN(T1.[BinCode]) AS 'BinCode'
      , 10000044 AS 'SnbType', MIN(T5.[AbsEntry]) AS 'BTNAbsEntry', MIN(T5.[AbsEntry]) AS 'SRNAbsEntry', MIN(T1.[WhsCode]) AS 'WhsCode', MIN(T1.[SL1Code]) AS 'SL1Code'
      , MIN(T1.[SL2Code]) AS 'SL2Code', MIN(T1.[SL3Code]) AS 'SL3Code', MIN(T1.[SL4Code]) AS 'SL4Code', MIN(T1.[SL1Abs]) AS 'SL1Abs'
      , MIN(T1.[SL2Abs]) AS 'SL2Abs', MIN(T1.[SL3Abs]) AS 'SL3Abs', MIN(T1.[SL4Abs]) AS 'SL4Abs'
      FROM  [dbo].[OIBQ] T0
      INNER  JOIN [dbo].[OBIN] T1  ON  T0.[BinAbs] = T1.[AbsEntry]  AND  T0.[OnHandQty] <> 0
      LEFT OUTER  JOIN [dbo].[OBBQ] T2  ON  T0.[BinAbs] = T2.[BinAbs]  AND  T0.[ItemCode] = T2.[ItemCode]  AND  T2.[OnHandQty] <> 0
      LEFT OUTER  JOIN [dbo].[OSBQ] T3  ON  T0.[BinAbs] = T3.[BinAbs]  AND  T0.[ItemCode] = T3.[ItemCode]  AND  T3.[OnHandQty] <> 0
      LEFT OUTER  JOIN [dbo].[OBTN] T4  ON  T2.[SnBMDAbs] = T4.[AbsEntry]  AND  T2.[ItemCode] = T4.[ItemCode]
      LEFT OUTER  JOIN [dbo].[OSRN] T5  ON  T3.[SnBMDAbs] = T5.[AbsEntry]  AND  T3.[ItemCode] = T5.[ItemCode]
      WHERE T1.[AbsEntry] >= (0 )  AND  (T2.[AbsEntry] IS NOT NULL)
      GROUP BY T0.[BinAbs], T0.[ItemCode]
      UNION ALL
      SELECT T0.[BinAbs], T0.[ItemCode], MAX(T0.[OnHandQty]) AS 'IBQOnhandQty', SUM(T3.[OnHandQty]) AS 'OnHandQty', N'' AS 'BTNDistNumber', N'' AS 'BTNMnfSerial'
      , N'' AS 'BTNLotNumber', N'' AS 'SRNDistNumber', N'' AS 'SRNMnfSerial', N'' AS 'SRNLotNumber', MIN(T4.[AbsEntry]) AS 'AbsEntry', MIN(T1.[BinCode]) AS 'BinCode'
      , 10000045 AS 'SnbType', MIN(T4.[AbsEntry]) AS 'BTNAbsEntry', MIN(T4.[AbsEntry]) AS 'SRNAbsEntry', MIN(T1.[WhsCode]) AS 'WhsCode', MIN(T1.[SL1Code]) AS 'SL1Code'
      , MIN(T1.[SL2Code]) AS 'SL2Code', MIN(T1.[SL3Code]) AS 'SL3Code', MIN(T1.[SL4Code]) AS 'SL4Code', MIN(T1.[SL1Abs]) AS 'SL1Abs'
      , MIN(T1.[SL2Abs]) AS 'SL2Abs', MIN(T1.[SL3Abs]) AS 'SL3Abs', MIN(T1.[SL4Abs]) AS 'SL4Abs'
      FROM  [dbo].[OIBQ] T0
      INNER  JOIN [dbo].[OBIN] T1  ON  T0.[BinAbs] = T1.[AbsEntry]  AND  T0.[OnHandQty] <> 0
      LEFT OUTER  JOIN [dbo].[OBBQ] T2  ON  T0.[BinAbs] = T2.[BinAbs]  AND  T0.[ItemCode] = T2.[ItemCode]  AND  T2.[OnHandQty] <> 0
      LEFT OUTER  JOIN [dbo].[OSBQ] T3  ON  T0.[BinAbs] = T3.[BinAbs]  AND  T0.[ItemCode] = T3.[ItemCode]  AND  T3.[OnHandQty] <> 0
      LEFT OUTER  JOIN [dbo].[OBTN] T4  ON  T2.[SnBMDAbs] = T4.[AbsEntry]  AND  T2.[ItemCode] = T4.[ItemCode]
      LEFT OUTER  JOIN [dbo].[OSRN] T5  ON  T3.[SnBMDAbs] = T5.[AbsEntry]  AND  T3.[ItemCode] = T5.[ItemCode]
      WHERE T1.[AbsEntry] >= (0 )  AND  (T3.[AbsEntry] IS NOT NULL)
      GROUP BY T0.[BinAbs], T0.[ItemCode]
      ) T0
    WHERE T0.[IBQOnhandQty] > T0.[OnHandQty]
    Regards,
    JC.

  • How to upload the batch stock to bin level

    Dear gurus
    My client are going to implement WM  i want to know how to upload existing batch stock to bin  level.
    regards
    sam
    Edited by: Csaba Szommer on May 25, 2011 12:10 PM

    Hi,
    You can use LSMW for Tcode LT01 to upload inital stock in WH.
    So here u can enter all relevant data required like material, qty, batch, plant, Sloc etc..
    Hope this helps you...
    Rgds,
    Kris.

  • Stock issues - bin descriptions and locations

    I urgently need assistance with regards to the stock module. We are using JD Edwards EnterpriseOne and making use of the stock module.
    We have allocated bin numbers, stock descriptions to each bin and a location for each bin.
    We now face the problem where a stock item might be discontinued and a new product issued in its place. It is therefore the same the same thing, just the new improved version.
    We therefore need to change the bin descriptions and in some cases the locations as well.
    The new stock codes are now allocated to "blank" bins and creating havoc.
    Please can anyone let me know if it is at all possible to change the bin locations and descriptions? And how to allocate bin numbers to the "blank" bins?

    Hi,
    I suspect it is something to do with the service pack level of your system. Even we are having replacement path for non-cumulatve keyfigure but it is working fine and we are on SP 20. Please check 1131083, 1093435 notes.
    Or else I think you need to handle this in ETL level by the introduction of a field like 0ROWNUM in the cube and then you can make inventory as cumulative keyfigure.
    Regards
    Githen

  • Return stock to bin location

    Dear All
    I would like to know what transection code is that using reverse all materials from storage type 916 to particular bin because I want to cancel D/O but D/O has already posted GI. So I want to return all materials of this D/O to particular bin which I can not use LT0G due to D/O has been posted GI, then the system is not allow. How to do this and what T-Code is to use in this case?
    Please help.
    Thank you

    Hi,
    As the delivery is PGI'd it wont allow to use LT0G. To resolve this you need to reverse the goods movement created during delivery post goods issue. This can be done thru' trasaction VL09. After successfuly done you can reverse the WM postings thru' LT0G.
    Best regards,
    Sudhir

  • Create the stock in storage bin level

    Hai all
         while i am doing transfer of order it is asking that storage unit type and the material stock is not maintained in storage bin .
    can anybody tell me how to maintain the stock in bin level .please help me is there any tcode for that
    regards
    satish

    Dear Satish
    A storage type generally contains several storage spaces or slots. These are called storage bins in Warehouse Management (WM). The storage bin is the smallest available unit of space in a warehouse. The storage bin therefore describes the position in the warehouse where the goods are or can be stored.
    Since the address of a storage bin is frequently derived from a coordinate system, a storage bin is often referred to as a coordinate. The coordinate 01-02-03 for example, can refer to a storage bin in row 1, stack 2, and level 3.
    You assign each storage bin to a specific warehouse number and storage type according to its location. You must also assign each storage bin to a storage section.
    You can also define the following additional characteristics of a storage bin:
             --> Maximum weight
             --> Total capacity
             --> Fire containment section
             --> Storage bin type (for example, for small or large pallets)
    With certain stock placement strategies, the storage bin type plays a significant role in optimizing the automatic search for a storage bin in connection with the pallet type. For example, you can define the WM putaway strategy to place large industrial pallets into a specific large bin type and smaller pallets into small bins.
    <i><b>For information on how to define storage bins, call up the Implementation Guide (IMG) for Warehouse Management and see under Master Data --> Storage Bins .</b></i>
    Generally speaking, you can use any combination of letters and numbers for a storage bin coordinate with the exception of certain alphanumeric characters that are used for stock placement strategy P (according to pallet or storage unit type).
    When goods are placed into storage, the system selects coordinates in ascending order according to specific sort criteria, and assigns the next available storage bin based on the coordinate structure you define for creating bins.
    Thanks
    G. Lakshmipathi

  • How to clear stock from storage bin and delete bins?

    Hi All
    For the development of prototype we have made some dummy warehouse structure and made stock movements with dummy bins. Now we wanted to go for real implementation. Before we made actual configurations, we wanted clear all dummy data. Can anyone suggest the standard process for clearing the stock, storage bins?
    Thanks
    Sasidhar Gupta

    Hi Sasidhar.
    is it non production system.
    If yes you can move all this stock in some other storage type as dummy with dummy name.
    and you can use all built as actuals.
    or do PI and remove all stock from system as not actual stock .
    and if its non production system then why are u worrying about all this. Let it be and start building your system as you require.
    Regards
    Suraj

  • Enhancement for bin to bin stock transfer

    hi,
    when i am using stock transfer bin to bin using LT01 transaction, an information message have to raise when same material/batch if destination bin already having.........
    i already searched enhancement for above process "MWMTO001" i am correct or not?
    Thanks
    Muthuraman.D

    Yes, that's correct. You are using the right enhancement.
    It has the LTAK and LTAP tables which is the transfer order tables. This function will trigger during the TO creation.

  • Stock determination - Outbound del ag Sales order-More than one Cong vendor

    HI All
    I have Stock determination setup for IM and WM location to withdraw stock from consignment and the company's own stock. I have materials,with serialized and batch with all possible combination. When i deal with a material which is not batch managed and non serialized in IM level and i have more than one consignment vendor( i have the outbound delivery created against a sales order). I do the PGI with confirming the picked quantity, i dont have control from which vendor consignment, stock has to be shipped for that delivery. Could anybody please let me know is there a way i can enter the consignment vendor number before PGI?
    Thanks
    Terry.

    This is a known issue, the system doesnt allow stock to have two special stock statuses at the same time.
    Your concern of having to make multiple storage locations is valid (since this is a configuration).
    I suggest you do the following
    - Configure a warehouse and a single storage type (say 001). Allow mixing of materials in a single bin
    - Assign this warehouse to a new storage location.
    - Create a bin for every sales order number in the warehouse.
    - When goods are moved to subcontractor, perform a transfer posting to the storage location, and perform a putaway to the respective bin. The putaway strategy can be tweaked using a user exit to go to the relevant bin. This way you do not have to enter the WM transaction for putaway.
    - To consume the stocks, you can use 231E movement (MB1A). On the WM side, the picking strategy can be enhanced so that the picking TO is generated with the correct source bin. Make sure the GL account and CO objects are as per FICO requirements.
    This way you can track the stocks binwise (bin level reports are available in WM), perform physical inventory and also consume the stocks from the relevant bin automatically.
    We had faced the same situation, and we ended up not having sales order stock at all.
    Hope this helps.
    Regards,
    Aroop

  • Issue in WM enabled with HU (Transfer of stock frm Quality to Unrestricted)

    Hi,
    We've a scenario in such a way of both WM with HU engagged together.
    Transfer of a Material from Quality to unrestricted stock type using transfer posting.
    1. in MB1B using mvt  321, stock of Matl A with qty 20 has been transferd from Quality to unrestricted.
    2. Due to HU mapped, an OBD for posting change had been created.
    3. wrt OBD, matl get packed,(as per packing instruction) which is identified with the HU no.
    4. Subsequently a TO had been created and confirmed.
    as of this stage the stock view in IM & WM is as follows:
    IM                                                      
    Unres   -
        nil
    Quality  ---      20
    Due to effect of PCN, TO has been created to transfer the stock catogry within the same bin
    WM
    Bin 1  (Q)    20      ---            922 (Q)       20
    922          20     ---           Bin 1            20
    5. Then as per the process of completion PGI has to occur so as to nullifying the the -ve stock in 922 storage type
    so the stock levels will be
    IM                                                      
    Unres  ---  20
    Quality ---  nil
    WM
    Bin 1              20
    Issue case :
    A mannual TO has been created moving the stock from  Bin 1  to  922 , without doing step 5 (i.e w/o completion of PGI).
    This lead my stock figs as
    IM                                                      
    Unres    -
    nil       
    Quality  -
      20
    WM
    922(Q)              20
    This also causes storage unit status as " To be Picked". leads to stuck up to proceed further.
    We also tried to do mannual TO to transfer the stock from 922 to BIn 1. Due to unavailabilty of the stock system throws error as -ve stock is not possible for 922 Storage type..
    Seeking  experts to help out this issue if possibly w/o any customising settings.
    Regards,
    Prasanna
    Edited by: prasanna govindarajan on Sep 22, 2010 2:55 PM

    Dear Venkat,
    There is a  tick mark in post to inspection stock indicator thereafter inspection lot tab in qa32 or qa11 is not activated.
    Secondly, this is a stock item.
    Thirdly, No PS module is implemented in my client
    I think the user has posted  the stock through MB1C with Movt.Type 503 into quality stock.At the time of this posting the 05 inspection type is not activated in QM view of Material Master thatswhy system does not created any inspection lot for this.
      After some days,with out stock posting from inspection stock to unrestricted stock,he has activated 05 inspection stock for the first time.
    Pl.suggest any possible solution .
    Prashant

  • Auto consumption of Q stock from an STO?

    Hi All
    How much configuration is required to enable auto consumption to a reservation for receipt of Q stock for a stock transport order.
    The reservations are for Q stock only. Therefore, Plant B supplies Plant A with Q stock that I want to be receipted in using MIGO and auto consume to the planned reservation.
    Current Transactions
    Sending Plant (B)
    MB1B - 351 mvt to STO
    LB10 - Pick Q stock from bin (TO in Background)
    LT12 - Confirm
    Receiving Plant (A)
    MIGO - receive Q stock
    LB10 - Put away Q stock (tick confirmation)
    Issuing to Reservation
    MB1A - 281 mvt
    LB10 - Pick stock (TO in Backgroung)
    LT12 - Confirm pick
    Preffered Transactions
    Sending Plant (B)
    MB1B - 351 mvt to STO
    LB10 - Pick Q stock from bin (TO in Background)
    LT12 - Confirm
    Receiving Plant (A)
    MIGO - receive Q stock & issue to reservation
    Thanks in advance
    Darren

    Hi
    As per me it is not possible in WM. It is possiblein MM only. Reason is we have to pick the qty  from stock in transit in WM.

  • How to take stock in warehouse

    Hi,
    Already we have a plant and storagelocation which is under operational and also stock is maintained under IM. Now we have planned to go for the new warehouse creation if i configure the warehouse settings and all. Now how to take the stock which is already there in IM to WM.
    Whether i have to create a TR or the TO directly.
    Sunil

    Hi Sunil,
    As you have got stock alredy there at storage location level so dont need to go for any initial upload. I Assume that you have done all the required WM configuration to have WM functional. Here you dont need to create any TR. Rather you may go for direct TO creation. Your stock must be lying in the interim storage location, which you need to move the particular storage bins.
    Here your interim bin would be a source and the desired bin would be your destination for entering that in to TO.
    You may follow the following steps to do it.
    1) Logistics - Logistics Execution - Inbound Process - Goods Receipt for Purchase Order, Order, Other Transactions - Putaway - Create Transfer Order For Material (T-CODE: LB11)
    Fill in the mandatory entries like warehouse number, Material number etc.
    OR
    Directly LT03 can be used with reference to the delivery
    2) Click TO in foreground
    3) Click Putaway foreground (F5)
    4) Depending upon the putaway strategy the destination bin would be suggested or user need to do the manual entry
    5) Save / Post (Ctrl+S), which would give a Transfer Order (TO) number
    6) To display the TO created
    Logistics - Logistics Execution - Inbound Process - Goods Receipt for Inbound Delivery - Putaway - Display Transfer Order - Single Document (T-CODE: LT21)
    The list would show red indicator against the particular TO, which means it is yet to be confirmed.
    7) To confirm the TO
    Logistics - Logistics Execution - Inbound Process - Goods Receipt for Inbound Delivery - Putaway - Confirm Transfer Order - Single Document - In One Step (T-CODE: LT12)
    8) Choose Standard
    9) Select the line item and choose Confirm internally
    10) Save / Post (Ctrl+S). System issues a message for confirmation of TO
    11) To check the correctness of stock in Bin
    Logistics - Logistics Execution - Internal Whse Processes - Bins and Stock Display - Single Displays - Storage Bin (T-CODE: LS03N)
    12) Enter Ware house number, Storage type and storage bin. This would give the material stock available in that particular bin
    I hope this helps you
    Regards,
    Sachin

  • Destination storage bin determination issue

    Hi Experts,
    When we deconsolidate the ASN, some of the products getting into correct destination bin and some products are not getting into correct destination bin, getting into one inbound over flow storage type defined. When i looked at product master, strategies and storage types configuration the difference i see between actual storage types and overflow storage type is:
    1. HU requirement option. i.e. for actual storage types - HU requirement not allowed and for Overflow storage type - HU requirement allowed but not requirement.
    2. For actual storage type ---- Mixed storage selected as "several HUs with different Batches of the same product" for putaway rule: Addition to existing stock/empty bin and for Overflow storage type - Mixed storage without limitations
    Can you please help me if anything is wrong with above selection at storage type level?
    Thank you...
    Sridahr
    Message was edited by: SRIDHAR B

    Hello,
    I suspect the issue is from because of Capacity Check Method. Try removing Capacity check Method. If it works fine, then, build the right capacity check method based on your need.
    This should solve your problem.
    Regards,
    Sathish

  • Subcontracting for Sales Order Stock and collective Transfer Posting

    Dear Expert,
    We have a scenario in subcontracting wherein the sales order the customer also wants to see the components and as such along with the Header item of subcontracting ,we also mention the components as another line item in the sane Sales Order.
    Now from the sale sorder two Po's are created onr for the subcontractor and one for the compnens to be procured.
    Since the components are procured on sales order stock there is noway we can issue it to the Vendor stock through Movt .Type 541.
    As per SAP AG WE CAN:
    "ubcontracting is also possible in conjunction with sales order stocks and project stocks. The subcontracting orders are account-assigned to a sales order or a WBS element. Thus, the components are not transferred (using a transfer posting) to the u201Cstock of material provided to vendoru201D but are directly withdrawn from the sales order stock or the project stock at the time of the goods receipt. The material manufactured is also posted to the sales order stock or to the project stock. The cost of subcontracting is then debited to the sales order or WBS element.Since the components are not transferred to the u201Cstock of material provided to vendoru201D, we recommend that you use a transfer posting to transfer the provided components to a new storage location (for example, 9999). This enables you to obtain an overview of those stocks that are physically located at the subcontractor.This information is particularly important when you carry out a physical inventory of the sales order stocks and project stocks."
    But my query is that how many such storage locations will be created for the subcontracting vendors.
    Secondly for the stock transfer from sales to storage location , we have lots of sales order, is dera way through which we can do bulk transfer rathar than clicking at new item everytime and then doing the transfer posting.
    your expert advice shallbe helpful in resolving a longtime pending issue , waiting for the response.
    Regards
    Jabeen

    This is a known issue, the system doesnt allow stock to have two special stock statuses at the same time.
    Your concern of having to make multiple storage locations is valid (since this is a configuration).
    I suggest you do the following
    - Configure a warehouse and a single storage type (say 001). Allow mixing of materials in a single bin
    - Assign this warehouse to a new storage location.
    - Create a bin for every sales order number in the warehouse.
    - When goods are moved to subcontractor, perform a transfer posting to the storage location, and perform a putaway to the respective bin. The putaway strategy can be tweaked using a user exit to go to the relevant bin. This way you do not have to enter the WM transaction for putaway.
    - To consume the stocks, you can use 231E movement (MB1A). On the WM side, the picking strategy can be enhanced so that the picking TO is generated with the correct source bin. Make sure the GL account and CO objects are as per FICO requirements.
    This way you can track the stocks binwise (bin level reports are available in WM), perform physical inventory and also consume the stocks from the relevant bin automatically.
    We had faced the same situation, and we ended up not having sales order stock at all.
    Hope this helps.
    Regards,
    Aroop

Maybe you are looking for