cancel
Showing results for 
Search instead for 
Did you mean: 

Need to perform sorting at HU level while creating warehouse task (Logistics Execution Delivery)

0 Kudos
1,217

While creating warehouse tasks from Tcode /scwm/prdo, We want to sort and change the order for picking the

quantities as per custom logic for which we have implemented BADI /SCWM/EX_CORE_RMS_DETERMINE.

In BADI implementation in the importing parameter table IT_QMAT we are getting the available stock at the

storage bin level and not at the HU level.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member788724
Contributor

Hello

Did you try with SAP standard approach by using sort rules? This will sorts the WT's for picking as per the sort sequence you define.

For example: I set sorting as descending order of source HU.

This sorting rule is assigned to your WOCR.

Please read the documentation of the WO sorting field . It will serve your purpose.

Once you go to RF and start picking this WO, system will first jump to pick WT as per descending order of the HU-> so for above example it will first pick HU 7000000337 , as we need to pick as per descending order of HU.

Regards- ASLAM

Ritz
Active Contributor
0 Kudos

Hi Aslam,

as per screen shots i can see you setup sorting on HU , but where you are defining its ascending or descending?

My understanding is it will by default go for ascending and HU with smallest number will be picked first. Please share your thoughts on it.

Thanks

RD

former_member788724
Contributor
0 Kudos

See the last column in the first screenshot.

Regards- ASLAM

0 Kudos

Hi Aslam

Our requirement is to pick the full pallets first & then pick the other partial pallets based on the exact match or other quantity.

so, to validate the quantity we need the available stock to be at HU level, not on the storage bin level and the same has to be updated in it_qmat.

former_member788724
Contributor
0 Kudos

ok- for this requirement you need to use the BADI then. It is not possible in standard.

As indicated by Daniil, please change setting of storage type. But don't understand why it was set at storage bin level. Are you working with bulk storage? for bulk storage , setting available quantity level at storage bin is obligatory.

once you change this to HU level, you should be able to see HU in QMAT .

Daniil
Active Contributor
0 Kudos

Hi Priyanshu,

In BADI implementation in the importing parameter table IT_QMAT we are getting the available stock at the

storage bin level and not at the HU level.

I guess it is because of the customizing of the storage type, available quantity on a bin level. And in this case sorting by HU should not work. And you should get WT without source HU. Or did I understood it wrong?

But you can always read quants and map it using stock_guid.

0 Kudos

Hi Daniil,

we are working with Functional to change the config for Storage Type to set the Available stock at "HU Level" and will validate the behavior.

Our requirement is to pick the full pallets first & then pick the other partial pallets based on the exact match or other quantity.

so, to validate the quantity we need the available stock to be at HU level, not on the storage bin level and the same has to be updated in it_qmat.

Feel free to give your inputs/suggestions.


Daniil
Active Contributor
0 Kudos

Hi Priyanshu, sure if you change level of available quantity it should work. Sounds not so complex, if qty = requirement qty record should go to the top of the list.