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

Idoc inbound process

Former Member
0 Likes
755

HI

IDocs can be passed to the application either immediately on arrival or can follow in batch.

I can post an inbound IDoc by calling a function module directly: A function is called that imports the IDoc directly.

Can anyone tell how to do this which function module i have to choose and how to create process code for inbound process?

thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
702

You can use standard FM <b>IDOC_INPUT_MATMAS01</b> or else create your own FM, if its required.

6 REPLIES 6
Read only

Former Member
0 Likes
702

You can find all the Inbound FM's in WE57 transaction codes (scenario based).

You can create a process code in WE42 tcode to assign the FM

Read only

0 Likes
702

hi

i have sent the material idoc using my own zprogram for tht how to create function module i have sent only material number and material description using which appliation i can post ?

which function module i can use for this?

Read only

Former Member
0 Likes
703

You can use standard FM <b>IDOC_INPUT_MATMAS01</b> or else create your own FM, if its required.

Read only

0 Likes
702

HI,

While creating process code for inbound process code can be user defined name

what should i give idoc_input_matmas01 in identification box?

and what should i select in processing type?

and also should i have to write any codin in idoc_input_matmas01 function module

Read only

0 Likes
702

Hi Azhar,

Generally message type will be linked with process code and process code will be linked with FM.

If want to use standard process, no need to create Process code.

MATMAS->MATM(Processcode)->IDOC_INPUT_MATMAS01.

you can use the above mentioned one.

if your scenario is custom defined then ist different case.

Read only

Former Member
0 Likes
702

Hi,

If you are using your own Z function module

create that entries for you FM using the BD51 else if you are using

idoc_input_matmas01 which is sap provide which you can already exist in this list

if you run BD51.

Now go to WE57 and assign the Direction as '2' ( For Inbound processing)

Basic TYpe , Message type and If you have Mess code also then also assign here.

Now go to WE42 ( For Process Code ) create new entires for Process code

in Identification assign your FM.

Now go to WE20 and selct tyour Partner type and

on the left side of screen you will se Inbound parameters there create the enteris

and assign the Process code.

thanks

PK