cancel
Showing results for 
Search instead for 
Did you mean: 

Relationship between new Warehouse Tasks created and the parent Warehouse Task

dsubhash567
Explorer
0 Kudos

Hello All,

How to find the new Warehouse Tasks created for the partial(BIDP) or full(BIDF) pick denial of the parent Warehouse Task(Need to find the relationship for my new report).
I have tried the below enhancement points - but none seem to be working out
/SCWM/ES_CORE_CR
/SCWM/ES_CORE_CO
/SCWM/ES_DLV_TOWHR

Accepted Solutions (0)

Answers (1)

Answers (1)

Daniil
Active Contributor
0 Kudos

Hi, this is two independent LUWs (confirmation and creation) , and if I remember right there are no direct mapping/reference available. You can only suggest it. You read confirmed WTs with exception when you have WTs created from Bin Denial + Delivery reference. It can be done from /SCWM/ES_CORE_CR Badi. Or you can do some more using more developments, but it could be probably fine to do it with a select.

dsubhash567
Explorer
0 Kudos

Hi Daniil,

Thank you for the response.

Based on the Delivery reference, I am able to get all the related WT's created for the delivery. My goal is to extract a report and show the WT that was denied using the exception code and the subsequent WT system automatically created as a result of the pick denial

I have tried creating a BADI at /SCWM/EX_CORE_CR_INT_CR, but it's not triggering.

I only option I am left is to compare the time when the Parent WT is denied and a new WT has been created around the same time - but this is not a consistent way to select.

Daniil
Active Contributor
0 Kudos

Hi Subhash,

For report you do not need to use any Badi, you can start from the WT with pick denial, and as you said you can check "next" WT for the delivery item. Sure it is little bit fuzzy, but you can add following checks:

1. Created by = Confirmed by (WTwith Bin Denial)

2. WTCODE = 'Y' ( wmegc_wtcode_bin_denial )

Or even other way around you can start with newly created WTs with wtcode Y and check last confirmed WT ( max( confirmation time ) LE creation time ) with bin denial exception.

Or you can do enhancement in /SCWM/TO_CREATE_BIN_DENIAL and note the WT number, after you can get it in the BAdi for created WT which you can enhance with "predecessor" field in the BAdi /SCWM/EX_CORE_CR_INT_CR