09-09-2008 5:38 AM
Hi,
I am using Process Code SD10 to generate the custom Idoc ZORDERS05.
The function module used is IDOC_OUTPUT_ORDRSP.
I am able to succesfully generate the Custom Idoc (VA02->Extras->Header->Edit) but unable to populate the custom segments in the IDOC.
I have tried to write the code in User Exit EXIT_SAPLVEDC_003 -> ZXVEDU15. But still I'm unable to populate the Z segments.
Even though I place a break point in the FM or in the User Exit during the generation of Idoc the control doesn't stop in FM nor in the User Exit.
I am unable to understand how to go about this.
Can anybody please help me with this?
Thanks in Adavance,
Rohan.
09-09-2008 5:49 AM
09-09-2008 5:51 AM
Yes It is.
I mainly want to know why is the control not going into FM. Then I can analyse how to populate the Z segments using the Exits inside the FM.
Thanks,
rohan.
09-09-2008 6:00 AM
Hi ,
Have u linked the new idoc type to the Function module ?
if no, go to the tcode WE57 and configure the FM to idoc type.
Regards
Naveen
09-09-2008 6:21 AM
Yes in WE57, FM - IDOC_OUTPUT_ORDRSP, Basic Idoc type - ZORDERS05 and Message Type - ZORDERS05 are configured.
09-09-2008 6:25 AM
hi,
Make sure that Message control configuration is done from functional side.
revert back...
regards
Naveen
09-09-2008 6:47 AM
can you please be more clear on message control configuration?
I am not clear with that term.
Thanks
Rohan.
09-09-2008 6:50 AM
Hi
Iam sorry, i have a very little idea in Message control configuration.
this will be done by Functional guys using NACE tcode with condition records.
Better you ask ur Functional guy and he will explain.
Regards,
Naveen
09-09-2008 6:55 AM
Okay I under what you are speaking about NACE.
Yes that configuration has been done and I am sucessfully able to generate the IDOC.
But even though I know that in FM IDOC_OUTPUT_ORDRSP, I have to write code in User Exit EXIT_SAPLVEDC_003 to populate the Z segments; I'm unable to understand y the control doesn't pick the FM and Exit.
Right now I have code in the Exit to fill Z segments.
Thanks
Rohan.
09-09-2008 7:26 AM
hey,
while saving the order , can yu press /H in the commmand and switch on SYSTEM DEBUGGING ON and then execute and save.
now can yu check whether it is stopping at the break-point in the user exit.
Revert back.
Regards,
Naveen
09-09-2008 1:33 PM
Hi,
I tried doing /H while saving the order.
Still I don't see the control going into FM or the UserExit.
Any more help please?
Thanks,
Rohan.
12-08-2008 5:47 AM
Hi,
Did you get any solution for this when your are triggering the Order Ack using the Message control?.
Plz let me know.
Thanks
Regards.
Dinesh