‎2020 Mar 17 1:23 AM
Hello Friends,
In S/4 HANA - QA 32 - selecting an inspection lot and then going usage decision and selecting Accept "A1" and then going to EWM inspection, there I select Edit Quality inspection button and select the enter a quantity and select a user action and this will trigger a Z function module in back ground when "trigger follow up action" button is clicked.. How can I debug this and see the data flows to my Z FM , I have put a break point in my Z FM but it never stops there?
Thanks a lot in advance.
‎2020 Mar 17 4:45 AM
Hi Ananth
1. Make sure that you are in the same session
2. Make sure you did not put the breakpoint inside any if statement. Put at beginning of FM.
3. If not working, then, Put /H in the command - before pressing the "trigger followup action" - This will take you in debug mode. (However it takes you PAI section before take you to FM)..
Regards,
Venkat
‎2020 Mar 17 7:07 AM
Hello Venkateswaran,
Thanks for ur reply.. I can get to debug mode.. but unable to trace the call to the Z FM's that has been defined in config.
‎2020 Mar 17 7:14 AM
Hi
In PAI of the screen, code will be there to check for the user_command - sy-ucomm - to check for the button action
Put break point in that place and see whether it calls the FM or not.?
Regards,
Venkat
‎2020 Mar 17 7:52 AM
‎2020 Mar 19 12:08 AM
I enabled update debugger and system debugger. Then after save the follow up action FM
'QTFA_EWM_LOG_FOLLOW_UP_S4' gets triggered now I am in debug mode.. I am able to debug but the movement type QALS-BWART is not populated. My Business analyst is saying is it should have '321' or '350' movement types. But it is blank... does any one have idea where is movement type being captured in this FM : 'QTFA_EWM_LOG_FOLLOW_UP_S4' ?
