cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Additional field in creating warehouse task

hasada
Product and Topic Expert
Product and Topic Expert
0 Likes
4,707

Hello, Does anyone have some experience with appending a field in creating warehouse tasks?

For example, I want to add custom fields to inbound delivery in EWM. And want to pass the fields to warehouse tasks from inbound delivery. I'm planning to use FM: /SCWM/TO_CREATE for warehouse task creation, but I'm not sure if such appending structure is feasible in the function module. It is really appreciated if any advise. Thanks,

Accepted Solutions (1)

Accepted Solutions (1)

j_blohm
Active Participant

Hi Hironori,

Append your fields to the EEW structure /SCWM/INCL_EEW_S_WT_CREA.

They will then show up in the structure of IT_CREATE of /SCWM/TO_CREATE. You can fill the fields in IT_CREATE.

Or if you create the WTs with standard methods, you just fill the custom fields (in the above-mentioned append structure) in BAdI /SCWM/EX_DLV_TOWHR_PTO_CREA with the values from your PDI fields.

If I remember correctly, you only have to append the same field (same name + type) to structure /SCWM/INCL_EEW_S_ORDIM in order to have them in the WT in the end. Standard is doing a MOVE-CORRESPONDING there.

If that's not working, implement BAdI /SCWM/EX_CORE_CR_INT_CR as well in order to persist your custom field in the WT.

hasada
Product and Topic Expert
Product and Topic Expert
0 Likes

Great Thanks for your advice! Yes you are correct. Will try it.

Answers (1)

Answers (1)

rahulvsaganeau
Explorer
0 Likes

Hi Hiironori,

Technically it is possible. Depending on where you want to add custom field at i/b delivery item level or WT structure during WT creation. For both technical teams will have to extend the correct structure and use badi to fill the data in these custom fields.

hasada
Product and Topic Expert
Product and Topic Expert
0 Likes

Sure, it's understandable. Great thanks for your help!