cancel
Showing results for 
Search instead for 
Did you mean: 

BADI/Exit for Inbound delivery creation to update staging bay

0 Kudos

Hi,

My requirement is to update the Staging bay field(Item data, in Tcode: /scwm/prdi) while creation of inbound delivery/MRP document in backend, for a return work order posting from MIGO_GI transaction. I am searching for badi or Exit where i can write the logic to update staging bay. I have tried badi /SCWM/EX_ERP_MAPIN_ID_SAVEREPL but it does not get triggered, also tried badi LE_SHP_DELIVERY_PROC but could not find the field for staging bay in the interface. Please help.

Regards,

Raj

Accepted Solutions (1)

Accepted Solutions (1)

JuergenPitz
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

how about the BAdI which says "Determine Staging Areas and Doors"? /SCWM/EX_SR_STADET

"You can use this BAdI to influence the determination rules for the staging areas and doors for both the goods receipt process and the goods issue process.

This BAdI uses the interface IF_EX_SR_STADET. For more information, display the interface in the Class Builder."

Brgds

Juergen

---
Want to learn EWM?
Check for EWM courses @ https://training.sap.com/trainingpath/Applications-Warehouse+Management-SAP+EWM
Get a SAP Learning Hub Subscription: https://training.sap.com/shop/learninghub

And it is EWM. NOT eWM - Duh!
And if your question includes the word "transfer order" - do NOT tag the question with Extended Warehouse Management!

0 Kudos

Hi Juergen,

Thank you providing correct badi to modify staging bay however in the import parameter of the interface, we have document id and item id which are not yet created in the Database. Is there any way to compare this information with item(component) of work order(IW33) which is being posted in MIGO posting.?

Regards,

Raj

Answers (4)

Answers (4)

former_member230160
Active Participant
0 Kudos

Hello,

you can find much information around this topic in the EWM how to guides. Please see in help.sap.com/ewm the how to guides for S/4.

https://d.dam.sap.com/a/hv2DfQT/How_to_guide_list_Classic_Cloud_S4_Solution%20Manager.pdf?rc=10

There are multiple documents: For example

- How to access "Delivery/Warehouse Requests". This also includes how to read the delivery if it is not yet on the DB (btw. direct DB access should be avoided instead please use existing services)

- How to enhance EWM Delivery with own coding

Best regards

Markus

former_member435529
Participant
0 Kudos

Hello Raj,

As you pointed out the doc and item ids are available in the BAdi but they are not yet created in the Database, so how can I extract the Delivery's data?

Thanks,

Javier

0 Kudos

Hello, juergen.pitz, Raj

Raj is right If the EWM delivery is not yet created in the database, how can I retrieve the information from the ERP delivery created with the Tx. MIGO?

0 Kudos

Hello!

Try to use /SCWM/EX_DLV_DET_AT_SAVE

BR, Alex.

0 Kudos

Hi Alex,

Thank you for the help.

However, i could not find the way to use this badi to serve my purpose of updating Staging bay field of inbound delivery document.

Can you please elaborate more how to use it ? or any other enhancement way.

Regards,

Raj

0 Kudos

Hello!

In this badi you can take access to aspects of the delivery after it save.

How to see on:

https://wiki.scn.sap.com/wiki/download/attachments/451060111/Service_Provider_Call_Example.pdf?api=v...

BR, Alex.

0 Kudos

Hi Alex,

I tried implementing this badi and put breakpoint in that, unfortunately it didn't trigger when posting is done from MIGO_GI transaction. To check further, I even tried updating one custom table in the implementation class but no update happened. : (

Please help me with some more detailed approach to modify staging bay during automatic inbound delivery creation for return order posting from MIGO_GI transaction.

Regards,

Raj

former_member745609
Discoverer
0 Kudos

Hi Raj,

I also have similar requirement to update warehouse processing type, I tried so many BADIs but the necessary fields are not available in Import or changing parameters.

If you resolved this issue please help me out here.

Thanks

Murali

Enda
Product and Topic Expert
Product and Topic Expert
0 Kudos

Thanks for coming to SAP Community for answers. If your individual matter differs from the original question raised, please post your question as a new question here:
https://answers.sap.com/questions/ask.htmlSince you're new in asking questions here, check out our tutorial about asking and answering questions (if you haven't already), as it provides tips for preparing questions more effectively, that draw responses from our members.