2009 Sep 24 2:50 PM
Hi All,
I want to add a segment to the inbound idoc.
I tried writing the code to insert the Idoc_data in the user exit. bt when i executed the segment is not getting. Its not stopping at the exit when i set some break points. My assumption is its not going into the exit.
Can any one please let me know how can i solve this.
Inbound function module : IDOC_INPUT_DESADV1
Thanks,
Prem.
2009 Sep 24 2:53 PM
Hi All,
I want to add a segment to the inbound idoc.
I tried writing the code to insert the Idoc_data in the user exit. bt when i executed the segment is not getting. Its not stopping at the exit when i set some break points. My assumption is its not going into the exit.
Can any one please let me know how can i solve this.
Inbound function module : IDOC_INPUT_DESADV1
Thanks,
Prem.
2009 Sep 24 2:53 PM
2009 Sep 24 2:57 PM
2009 Sep 24 3:02 PM
2009 Sep 24 3:05 PM
First try to acivate the user exit-by below process...
go to t-code --'>SMOD' -->enter MM06E001 and execute now it will show all the exits now Press CTRl+F3..
Prabhudas
Edited by: Prabhu Das on Sep 24, 2009 7:36 PM
2009 Sep 24 3:12 PM
2009 Sep 24 3:19 PM
how you are executing..
through we19-->next press 'Inbound function Module'
if you done by above process , what status are you getting..
if the status is 56 there is error happend before your user-exit..
send the status-id we will try to analyse the problem...
Prabhudas
2009 Sep 24 3:21 PM
Actually i want to add the segment E1EDL41 after E1EDL43. by default the segment E1EDL41 doesn't come. Hence its failing.
When i added the Segment E1edl41 in we19 and executed the IDOc was successful.
Now am in need to populate the Idoc_data with E1EDL41 in the User exit.
2009 Sep 24 3:23 PM
The status is 51. the error is because the Segment E1edl41 is missing.
2009 Sep 24 3:29 PM
..
go to we02-->enter message type DESADV1 and status 53 and execute --> take the successfull idoc and
next go to we19-->enter idoc number and execute now press "Inbound function module " and
enter the function moduel "IDOC_INPUT_DESADV1" and execute it will trigger your break point..
Prabhudas
2009 Sep 24 3:35 PM
The Idoc which is successful has the E!EDL41 segment but I need to write the code to insert the segment into the IDOc.
But anyways i tried as you said. It didn't stop.
Thanx a lot for your help.
2009 Sep 24 3:55 PM
Prabhu,
Sorry was wrong before.
U r right It stopped. Do you mean to say these exits will trigger only E1EDL41 is available. And there is no way possible to insert a segment in the Inbound Idoc??
2009 Oct 27 11:46 AM
2009 Oct 27 11:46 AM
2009 Sep 24 2:54 PM
tell the User exit--so we waill tell whether it belongs to the FM or not..
below are the user-exits available for desdav1--
LMELA010 EXIT_SAPLEINM_010 Customer enhancement
MM06E001 EXIT_SAPLEINM_006 Customer enhancements
V55K0001 EXIT_SAPLV55K_001 Delivery (inbound):
V55K0002 EXIT_SAPLV55K_002 Delivery (inbound):
V55K0003 EXIT_SAPLV55K_003 Delivery (inbound):
V55K0011 EXIT_SAPLV55K_011 Shipping notification
V55K0012 EXIT_SAPLV55K_012 Shipping notification
V55K0013 EXIT_SAPLV55K_013 Shipping notification
Prabhudas
2009 Sep 24 3:04 PM
Prabhu,
I tried with EXIT_SAPLV55K_001 and 002 and EXIT_SAPLV55K_005
I placed a hard break point. and then executed using the transaction we19. bt it didnt stop.
Thanks,
Prem.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |