Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Calling IDOC_INPUT_ORDERS

Former Member
0 Likes
934

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

3 REPLIES 3
Read only

Former Member
0 Likes
594

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

Read only

0 Likes
594

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

Read only

0 Likes
594

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