2024 Aug 14 11:03 AM
Hello All,
I have a requirement where I need to update my custom table after confirm and save warehouse task in program /SCWM/SAPLUI_TO_CONF.
I have tried using BADI /SCWM/IF_EX_CORE_CO_POST, which based on the definition "BAdI: Posting of Confirmed Warehouse Tasks" however when I tried to click on Confirm + Save button it's not getting trigger.
Is there another way to find this BADI, or can you suggest which BADI I should use?
Best Regards,
Tedi
2024 Aug 14 11:41 AM
Hello @acetedi
That is the right BAdI. Most probably it is called in an update task. That is why you might have problems debugging it.
Best regards
Dominik Tylczynski
2024 Aug 14 2:03 PM
Hello Dominik,
Thank you for your reply. I still don't understand how to access this BADI when I can't debug it?
From my understanding, I need to create an implementation of this BADI (/SCWM/IF_EX_CORE_CO_POST). However, how can I ensure that my code is correct if I can't debug it? Could you please provide some advice on this? Thank you.Best Regards
Tedi
2024 Aug 15 5:52 AM - edited 2024 Aug 15 5:53 AM
I solved this problem. The BADI wasn't triggered because new data is required before the WT is confirmed. The program skips this BADI under certain conditions, such as when the WT is confirmed.
Thank you again, @DominikTylczyn, for confirming that this is the correct BADI.
Best regards,
Tedi
2024 Nov 20 4:42 PM
Hello Tedi,
I'm having the same issue as you.
Could you point me to the code section where those conditions are checked?
Thanking you in advance, looking forward to your answer.
Best regards,
Mattia
2025 Feb 02 3:59 PM - edited 2025 Feb 02 4:04 PM
Dear Mattia,
You can use the BAdI /SCWM/EX_CORE_CO_POST and set a breakpoint in the method /SCWM/IF_EX_CORE_CO_POST~POST. In the program, click the Confirm + Save button, then activate debugging with /h and set a breakpoint at the 'call function in update task' statement. Ensure you use the correct data or a warehouse order that has not yet been confirmed. Also, configure the debugger settings accordingly.
Best Regards,
Tedi