Supply Chain Management Blog Posts by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
RudraNarayan
Explorer
1,059

In SAP EWM space, LOSC feature plays an important role in every project. This blog will help you to understand the background logic with scenario specific understanding.  It is bit technical so don't be overwhelmed , I've tried to explain in simple terms. Hope it helps. Enjoy the blog .🙂

Scenario 1: Product WT creation from  /SCWM/ADPROD or against WHR with full with drawl.  No pick point check in source storage type


Configuration:

Source Storage type:

1.png

LOSC:

2.png

 

 

 

 

 

 

 

Execution:

Product WT create

3.png

 

 

 

 

 

 

Note: This scenario behaves the same way if your rounding rule is '5' where we round to the multiple of available stock in this case at HU level & it matches the requested pick quantity.

4.png

 

 

 

 

 

Debug mode:

We can  see  the  main  program on the top  and  also in the call stack.

The FM is /SCWM/ROUTING_LAYOUT_CHECK   is mainly to check for LOSC.


5.png

 

 

 

 

 

Inside the FM we can see the highlighted code which checks
1. IV_FLGHUTO ( HU WT flag) 

2.  IV_HOMVE ( Important field for LOSC* we will see this further)

3. LS_VT331-PPNTA ( Pick point field in source storage type)

If any of the above fields are having value then it will eventually go to the main LOSC determination FM /SCWM/TROUTL/DET

which will check the entry from LOSC config settings shown above.

We see the IV_HOMVE is coming with value 'A' which then eventually checked and updated LV_HOMVE with 'C'

6.png

 

 

 

 

 

So, the question is how this IV_HOMVE is getting the values. 🤔

Let's go 1 step back in debugging to get the answer.

This is coming from the  below FM '/SCWM/TO_SRC_HU_HOMOGEN_SET'

called inside the FM /SCWM/REM_BIN_DET_INT 😇

7.png

 

 

 

 

 

 

 

If we see now inside the FM we can see that system checks what is the WT quantity (CS_LTAP-VSOLM) ,100 KG as shown below

and is it matching with the HU quantity (LV_QUANTITY) ,100  KG as shown below.

If yes, then it will eventually pass CS_LTAP-MOVEHU with value 'A' and then CS_LTAP-HOMVE is  marked  'X'

8.png

 

 

 

 

 

 

 

So far, we have these values,

but if you recall IV_HOMVE value inside the FM /SCWM/ROUTING_LAYOUT_CHECK  was 'A' not 'X'.  Therefore, we still need to see where this value is being updated. 
Here it is 

9.png

 

 

 

 

 

Note: You can notice here, CS_LTAP- MOVEHU value is passed into IV_HOMVE not CS_LTAP-HOMVE.

Now if we continue, we can see that it finds the LOSC settings ,

finally we will  have 2 WT's- 1 HU WT (open) and waiting product WT.

10.png

 

 

 

 

 

11.png

 

 

 

 

 

 

Scenario 2: Product WT creation from /SCWM/ADPROD or against WHR with partial quantity. 

No pick point check in source storage type

12.png

 

 

 

 

In this case the requested quantity 10 KG (CS_LTAP-VSOLM) is not matching with full HU quantity 100 KG (LV_QUANTITY)

therefore the value will not be set & code will return in the below FM /SCWM/TO_SRC_HU_HOMOGEN_SET

13.png

 

 

 

 

This will eventually not qualify for LOSC. Skipping the main LOSC FM.

14.png

 

 

 

 

 

 

 

Finally creating only 1 Product WT.

15.png

 

 


Scenario 3
: The storage type have pick point active and we have HOMVE ( whole HU) A for partial
and C for complete HU pick scenario.

Configuration:

Source Storage type:

16.png

 

 

LOSC:

17.png

 

 

Execution:

a. Product WT creation for partial picking-

18.png

 

 

 

 

 

Debug Mode:

As pick point flag is active it will  always be going into the FM /SCWM/TROUTL_DET  via  /SCWM/ROUTING_LAYOUT_CHECK.

IV_HOMVE is initial, so it is passing 'A' into LV_HOMVE

19.png

 

 

 

 

It found the LOSC entry with IV_HOMVE ='A'

20.png

 

 

 

 

21.png

 

 

 

 

Finally creating 2 WT's- 1 active HU WT and 1 waiting product  WT

22.png

 

 

Similarly, lets see the complete HU pick case.

b. Product WT creation for complete HU picking.

The LOSC will find the correct entry with HOMVE ='C' and create the tasks.

23.png

 

 

 

 

Debug mode:

We can see that system has found LOSC searching with HOMVE value 'C'


24.png25.png

 

 

 

 

 

 

 

 

 

 

Again, created 2 WT-s , 1 active HU WT and waiting product WT.

26.png

 

This concludes the blog. Thanks for reading and do share your comments.


Disclaimer:  Above logic is tested in demo systems but actual project scenarios might be different so please do the required due-diligence.


Best Regards,

Y K B B Rudra Narayan

6 Comments