‎2006 Jun 27 8:24 PM
Hi all,
I HAVE FM IDOC_OUTPUT_ORDERS AND FROM THERE I HAVE EXIT_SAPLEINM_002 IN WHICH I HAVE AN INCLUDE ZXM06U02 IN WHICH I HAVE CODE WRITTEN . cAN ANYBODY TELL WHEN THIS INCLUDE IS GOING TO GET TRIGERRED .
PLEASE LET ME KNOW IF YOU NEED ANY DETAILS.
DEEPTHI
‎2006 Jun 27 8:34 PM
This include will get triggered when inbound/outbound idoc gets processed.
Try to create some sample idoc from we19 and process the same, and check whether this gets triggered or not.
Am not sure whether its an inbound or outbound?
Regds
Manohar
‎2006 Jun 27 8:46 PM
I AM CREATING A PO AS SOON AS PO IS CRETED I SEE AN IDOC BEING CREATED IN WE02 T CODE.
I have no idea about idoc's ,can you tell me when that include is goint get triggered.
thanks in advance
‎2006 Jun 27 8:46 PM
This is an outbound IDoc, so it is probably associated with an output type of an order. When you create/change the order, the output associated with this order will be triggered and depending on the timing(immediate or scheduled), you can either find it processed in NAST table with object key equal to order number or you will find it in new status in NAST.
Run RSNAST00 program, enter the output type, object key(=order number) and execute. If you have a breakpoint in your include it will stop there.
‎2006 Jun 27 8:48 PM
Did you already create an enhancement (transaction CMOD) for MM06E001 and activated it ? When the PO output timing is in the PO update (mode 4) you have to enable update debugging to hit your include. But easier is to set the output to batch processing (mode 1) and then trigger the PO output via ABAP RSNAST00.
best regards Jack