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

Need help for IDOC inbound function module !

Former Member
0 Likes
558

Hi guys please help me to create a IDOC inbound function module.

What are the parameters and tables.

How to write the code.

What it does.

Please send me one inbound func module code if possuble

Thanks

5 REPLIES 5
Read only

Former Member
0 Likes
531

Also tell me how to test it !!!!!

Read only

Former Member
0 Likes
531

Hi

Use the FM IDOC_INBOUND_ASYNCHRONOUS. Pass the control record and the data record to this FM.

Thanks

Vijay

Read only

0 Likes
531

Hey thanks Vijay.

Will it be a report program....where i will call this func module...

and pass those records ?

Read only

0 Likes
531

or in a custom function module again i will call that function module ?

Read only

soumya_jose3
Active Contributor
0 Likes
531

Hi,

You need to create an inbound function module. Then define the process code in transaction we42 and attach the function module to this process code.

In the function module you create you need to define tables of types EDIDC (Control record (IDoc)), EDIDD (Data record (IDoc)) and BDIDOCSTAT (ALE IDoc status (subset of all IDoc status fields)).

Regards,

Soumya.