<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Reduced IDOC: Generating Inbound function module for IDOC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reduced-idoc-generating-inbound-function-module-for-idoc/m-p/3509742#M844166</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Created a reduced IDOC based on message type MATMAS called ZMATMAS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I send IDOC to receiver  IDOC has status 51:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Incorrect function module IDOC_INPUT_MATMAS01 called up'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is because process code used is MATM which uses function module IDOC_INPUT_MATMAS01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I generate an inbound function module &lt;STRONG&gt;IDOC_INPUT_ZMATMAS01&lt;/STRONG&gt; for custom process code ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Mar 2008 17:22:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-12T17:22:55Z</dc:date>
    <item>
      <title>Reduced IDOC: Generating Inbound function module for IDOC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reduced-idoc-generating-inbound-function-module-for-idoc/m-p/3509742#M844166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Created a reduced IDOC based on message type MATMAS called ZMATMAS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I send IDOC to receiver  IDOC has status 51:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Incorrect function module IDOC_INPUT_MATMAS01 called up'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is because process code used is MATM which uses function module IDOC_INPUT_MATMAS01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I generate an inbound function module &lt;STRONG&gt;IDOC_INPUT_ZMATMAS01&lt;/STRONG&gt; for custom process code ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 17:22:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reduced-idoc-generating-inbound-function-module-for-idoc/m-p/3509742#M844166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T17:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: Reduced IDOC: Generating Inbound function module for IDOC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reduced-idoc-generating-inbound-function-module-for-idoc/m-p/3509743#M844167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Please do this stting for custom Idocs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Make the entries in we57 for the new fucntion module  &lt;/P&gt;&lt;P&gt;2.Create a process code in inbound -&lt;STRONG&gt;WE42&lt;/STRONG&gt; .&lt;/P&gt;&lt;P&gt;TO maintain entries follow the below example&lt;/P&gt;&lt;P&gt;A process code needs to be maintained on each client. It then needs to be linked to the message via the partner profiles on each client. This allows the various clients to use a unique function module for the same message type.&lt;/P&gt;&lt;P&gt;To maintain the process code follow these steps:&lt;/P&gt;&lt;P&gt;&amp;#149;	Log on to the appropriate receiving system client&lt;/P&gt;&lt;P&gt;&amp;#149;	Execute WE42 (ALE -&amp;gt; Extensions -&amp;gt; Inbound -&amp;gt; Maintaining process codes inbound)&lt;/P&gt;&lt;P&gt;&amp;#149;	Choose Inbound with ALE service&lt;/P&gt;&lt;P&gt;&amp;#149;	Choose Processing with function module&lt;/P&gt;&lt;P&gt;&amp;#149;	Click on Processing with function module and choose create icon&lt;/P&gt;&lt;P&gt;&amp;#149;	Click on New Entries&lt;/P&gt;&lt;P&gt;&amp;#149;	Type in process code ZINR and give it a description and save&lt;/P&gt;&lt;P&gt;&amp;#149;	Now you are asked to Please maintain codes added in ALE entry methods, enter and choose Z_IDOC_INPUT_FIRVSL and copy it. You should choose a FM similar to your one.&lt;/P&gt;&lt;P&gt;&amp;#149;	Enter your process code ZINR&lt;/P&gt;&lt;P&gt;&amp;#149;	Enter your function module Z_IDOC_INPUT_ZINVRV&lt;/P&gt;&lt;P&gt;NOTE: The next 6 steps are used in workflow error handling. &lt;/P&gt;&lt;P&gt;&amp;#149;	Enter IDPKFIDCMT in object type&lt;/P&gt;&lt;P&gt;&amp;#149;	Enter MASSINPUTFINISHED in End event&lt;/P&gt;&lt;P&gt;&amp;#149;	Enter IDOCINVOIC in IDoc object type&lt;/P&gt;&lt;P&gt;&amp;#149;	Enter INPUTERROROCCURREDFI in IDoc start event&lt;/P&gt;&lt;P&gt;&amp;#149;	Enter INPUTFINISHEDFI in IDoc End event&lt;/P&gt;&lt;P&gt;&amp;#149;	Enter IDOCINVOIC in Application object type&lt;/P&gt;&lt;P&gt;You will need to determine the task associated with object IDOCINVOIC, and then assign the appropriate position to it. This position will then receive the application error messages via workflow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.make the Function module as the Inbound function module -BD51&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Define FM settings (BD51) Client independent&lt;/P&gt;&lt;P&gt;   Enter transaction BD51 (ALE -&amp;gt; Extensions -&amp;gt; Inbound -&amp;gt;   Define settings for input modules)&lt;/P&gt;&lt;P&gt;Click on New entries&lt;/P&gt;&lt;P&gt;Type in the name of the new function module &lt;U&gt;IDOC&lt;/U&gt;INPUT_ZINVRV&lt;/P&gt;&lt;P&gt;&amp;#149;	Enter 0 for mass processing in the output column&lt;/P&gt;&lt;P&gt;&amp;#149;	Save and Exit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if u have any Queries&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Sree M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2008 06:28:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reduced-idoc-generating-inbound-function-module-for-idoc/m-p/3509743#M844167</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-13T06:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Reduced IDOC: Generating Inbound function module for IDOC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reduced-idoc-generating-inbound-function-module-for-idoc/m-p/3509744#M844168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inbound IDOC&lt;/P&gt;&lt;P&gt;	&lt;/P&gt;&lt;P&gt;Creation of Function module: SE37	&lt;/P&gt;&lt;P&gt;Assigning the characteristics for FM: BD51	&lt;/P&gt;&lt;P&gt;Assigning FM with IDOC type: WE57	&lt;/P&gt;&lt;P&gt;Creation of process code: WE42	88&lt;/P&gt;&lt;P&gt;Creating partner profile for Inbound parameter: WE20	&lt;/P&gt;&lt;P&gt;Processing of Inbound IDOC manually: WE19	&lt;/P&gt;&lt;P&gt;Viewing processed Inbound IDOC: WE02	&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have followed all these steps then easily you can achieve the requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In WE19 you can process already generated IDOC once again or you can add segments, even you can create new IDOC and click on button standard Inbound if this gives popup with message partner profile found then you can go for testing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To debug you can click on button Inbound FM and give FM and carry on debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this will resolve your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use of WE19 is very imprtant for Inbound IDOC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2008 08:26:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reduced-idoc-generating-inbound-function-module-for-idoc/m-p/3509744#M844168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-13T08:26:15Z</dc:date>
    </item>
  </channel>
</rss>

