‎2008 May 12 8:14 AM
Hi,
I want to call IDOC_INPUT_ORDERS in my own Z function by populating the segments manually.
In IDOC_CONTRL i have populated the required parameters same as i populated in WE19.
In WE19 I am able to post the IDOC.
In the Z function I am not having the IDOC number.
After executingmy Z function I am getting error 'Function module does not exists'.
My question:
Can I call the FM without passing IDOC number to it?
Thanks,
Dilip
‎2008 May 12 8:57 AM
Hello Dilip,
EDIDC, EDIDD and EDIDS (tables associated with IDocs) are all linked through IDoc number. Calling the IDoc posting function module for input orders will not work without the IDoc number.
Regards,
Indu Shekar
‎2008 May 12 9:12 AM
Hi,
Thanks for your reply.
I have populated the IDOC_CONTRL, IDOC_DATA manually same as the IDOC_INPUT_ORDERS is populating in WE19.
Coz I am fetching the data in IDOC_DATA from legacy system, I have no idoc number.
Did this mean this ll not work at all?
Thanks,
Dilip
‎2008 May 12 10:37 AM
Hello Dilip,
It will not work at all. You can try creating an Outbound IDoc order and bring it back to the same system through ALE as an Inbound IDoc. Set up the profile and posting will go through. Give it a try.
Warm Regards,
Indu Shekar