‎2007 Apr 30 12:23 PM
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
‎2007 Apr 30 12:29 PM
You can use standard FM <b>IDOC_INPUT_MATMAS01</b> or else create your own FM, if its required.
‎2007 Apr 30 12:25 PM
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
‎2007 Apr 30 12:28 PM
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?
‎2007 Apr 30 12:29 PM
You can use standard FM <b>IDOC_INPUT_MATMAS01</b> or else create your own FM, if its required.
‎2007 Apr 30 12:39 PM
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
‎2007 Apr 30 12:49 PM
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.
‎2007 May 01 7:03 AM
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