02-06-2009 12:18 PM
Hi There.
I am using process code DELV for functional model IDOC_OUTPUT_DELVRY in partner profile for generating an output idoc (I have created new idoc type with new segments for message type delvery05.)
The problem is that while putting breakpoint in FM IDOC_OUTPUT_DELVRY and retriggering the output through VL02N the system is not stopping at breakpoint . It is not possible that this FM is not being used as if I remove the FM IDOC_OUTPUT_DELVRY from we20 it will not process the idoc.
Could you suggest me the reason why my debugging is not working in this case. FM is definitly activated.
Regards
-Manu
02-06-2009 12:47 PM
Hi Manu,
Try debugging the idoc through we19.
Give the idoc number which you want to debug in we19 and execute.
In the next screen test the inbound idoc through a function module ( ie, click on the inbound function module button). Give ur FM name there and check the check box "Call in debugging mode" to debugg.
Regards,
Soumya.
02-06-2009 1:08 PM
Hi Soumya
Just wanted to reconfirm the methodology which you have suggested will work for outbound idoc.as my problem is of outbound idocs
Regards,
-Manu
02-06-2009 1:31 PM
Hi,
Try like this
goto VL02N->IN THE menu select->EXtras->Delivery output->header->Now specify the output type, meduim as ALE and then in the application tool bar select Futher data and select (send with application own transaction) and save.
before that put break point in the program RSEOUT00 and also in ur function module...I think it will stop now.
Check and let me know..
Regards,
Nagaraj
02-06-2009 1:38 PM
Hi,
Just before saving the document, put /h in the command field. Now press 'Save' button. You will be in debug mode, there Goto the menu Settings -->System Debugging and press F8 . The debugger will stop at the next break point ( i.e in your function module )
regards,
Advait
12-11-2015 5:27 PM
Hi,
You place a break point in subroutine CALL_BADI_SAVE_DOC_PREP/USEREXIT_SAVE_DOCUMENT_PREPARE of program SAPMV50A and enter in debugging mode, if not in New Debugger Mode, switch to New Debugger from Classic Debugger, Enable Update Debugging.
Press F8 until it starts/enters in to Update Debugger mode, here press F5 until you reach statement like PERFORM (VBFUNC) IN PROGRAM (TFDIR-PNAME) USING VBID. Press F5 again, it would enter in to function module already set for processing in update task. If the function module is not IDOC_OUTPUT_DELVRY, place a breakpoint at function module IDOC_OUTPUT_DELVRY. Once in function module IDOC_OUTPUT_DELVRY, to determine any Customer exit considering CALL CUSTOMER-FUNCTION statement.
To Determine the customer exits / projects, use MOD* (i.e. like MODSAP, MODATTR, etc) tables.
Best Regards,
Yogi