<?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 Re: Adding parent and child segments to Idoc while processing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-parent-and-child-segments-to-idoc-while-processing/m-p/5842133#M1318166</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sippy,&lt;/P&gt;&lt;P&gt; You can always use the userexits of the idoc processing to add the segments as you want in idoc processing.&lt;/P&gt;&lt;P&gt;You need to take care about when you want to put the segment, and check for the previous segment name in the IDOC_TABLE structure.&lt;/P&gt;&lt;P&gt;What idoc are you processing ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Siddharth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jun 2009 12:24:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-30T12:24:05Z</dc:date>
    <item>
      <title>Adding parent and child segments to Idoc while processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-parent-and-child-segments-to-idoc-while-processing/m-p/5842132#M1318165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have the following requirement, please help me to find the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while processsing the idoc i need to check the data present in the data segments, if the required information is not found in the idoc then i need to add the data (as parent and child segments) from the custom table maintained by the user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible to add data segments or status segments while prtocessing the idoc, here we are not modifying the structure of the idoc, just we need to add the data for the segments which are already defined while creating the idoc type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;Sippy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 11:54:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-parent-and-child-segments-to-idoc-while-processing/m-p/5842132#M1318165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T11:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: Adding parent and child segments to Idoc while processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-parent-and-child-segments-to-idoc-while-processing/m-p/5842133#M1318166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sippy,&lt;/P&gt;&lt;P&gt; You can always use the userexits of the idoc processing to add the segments as you want in idoc processing.&lt;/P&gt;&lt;P&gt;You need to take care about when you want to put the segment, and check for the previous segment name in the IDOC_TABLE structure.&lt;/P&gt;&lt;P&gt;What idoc are you processing ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Siddharth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 12:24:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-parent-and-child-segments-to-idoc-while-processing/m-p/5842133#M1318166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T12:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Adding parent and child segments to Idoc while processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-parent-and-child-segments-to-idoc-while-processing/m-p/5842134#M1318167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Siddharth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx for the reply. am using  idoc type &lt;STRONG&gt;oilmat05&lt;/STRONG&gt;. i need to check for the parent segment E1MARCM, if it doesn't exist then i need to add it along with its child segment E1OILMC with data. here am creating the materal by using the message type &lt;STRONG&gt;OILMAT&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i found the user exit for this EXIT_SAPLMV02_002, but i dont have idea how to proceed further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx for ur help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 12:41:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-parent-and-child-segments-to-idoc-while-processing/m-p/5842134#M1318167</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T12:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Adding parent and child segments to Idoc while processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-parent-and-child-segments-to-idoc-while-processing/m-p/5842135#M1318168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; It appears you are dealing with IS Oil.I do not see this IDoc type in my R3 system.But nevertheless, can you check in debug if you get the IDoc_table filled up in the and see all the segments till then.Then you can check for the segment after the segment which you want to populate, if it has not been populate then you can populate the segment and insert into the IDoc_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siddharth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 13:51:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-parent-and-child-segments-to-idoc-while-processing/m-p/5842135#M1318168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T13:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: Adding parent and child segments to Idoc while processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-parent-and-child-segments-to-idoc-while-processing/m-p/5842136#M1318169</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;exactly, it is related to is-oil. am finding idoc data in internal table &lt;STRONG&gt;IDOC_DATA&lt;/STRONG&gt; . so u mean to say in the user exit, add the segments to this internal table at the appropriate place ,  will fulfill the requirement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 14:04:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-parent-and-child-segments-to-idoc-while-processing/m-p/5842136#M1318169</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T14:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Adding parent and child segments to Idoc while processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-parent-and-child-segments-to-idoc-while-processing/m-p/5842137#M1318170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sippy,&lt;/P&gt;&lt;P&gt;Yes, that should help.But be careful when you add the segments.They ahve to be added in the right sequence as the Idoc structure else you would get an error idoc with a syntax error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siddharth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 14:19:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-parent-and-child-segments-to-idoc-while-processing/m-p/5842137#M1318170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T14:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: Adding parent and child segments to Idoc while processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-parent-and-child-segments-to-idoc-while-processing/m-p/5842138#M1318171</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;i have analysed the  function module IDOC_INPUT_MATMAS01, i found it is checking for the segment name first two charactes, if it is not E1 then it is allowing to execute the user exit implementation. am not sure when the required segment data is missing, how the idoc_data table is populated, means if the segments are missing in the idoc, then the same hierarchy of the idoc is maintained in the idoc_data table, without having segment name and data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx for ur help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 14:33:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-parent-and-child-segments-to-idoc-while-processing/m-p/5842138#M1318171</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T14:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: Adding parent and child segments to Idoc while processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-parent-and-child-segments-to-idoc-while-processing/m-p/5842139#M1318172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sippy,&lt;/P&gt;&lt;P&gt; I can now see that you are trying to process an inbound idoc for FM, IDOC_INPUT_MATMAS01.&lt;/P&gt;&lt;P&gt;Why do not you try creating a wrapper FM of the same import/export parameters of IDOC_INPUT_MATMAS01, where you read the idoc and insert the segments in the IDOC_TABLE and then pass it for processing in FM IDOC_INPUT_MATMAS01.&lt;/P&gt;&lt;P&gt;Keep in mind though that any change you would do in the idoc structure at run time in the wrapper FM or the user exit,would not be visible in the actual idoc you would later see in WE02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siddharth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 17:40:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-parent-and-child-segments-to-idoc-while-processing/m-p/5842139#M1318172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T17:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Adding parent and child segments to Idoc while processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-parent-and-child-segments-to-idoc-while-processing/m-p/5842140#M1318173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Siddharth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u plz explain a littile bit more, am unable to get the point u explained. its a standard FM, my understanding is  w'll create a custom funtion modulewith the same parametets of standard, this custom FM will be called when processing the idoc, within this  after modification to idoc data standard fm will be called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx in advance.&lt;/P&gt;&lt;P&gt;Sippy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2009 06:51:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-parent-and-child-segments-to-idoc-while-processing/m-p/5842140#M1318173</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-01T06:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Adding parent and child segments to Idoc while processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-parent-and-child-segments-to-idoc-while-processing/m-p/5842141#M1318174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sippy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; In transactions BD51 and WE57 we specify what function modules to be used to process the IDoc with the inbound message type, OILMAT in your case.&lt;/P&gt;&lt;P&gt;And in the standard config probably you would see that yuo have FM IDOC_INPUT_MATMAS01 maintained against OILMAT.What I was suggesting is creating a new custom FM lets say Z_IDOC_INPUT_MATMAS01 and maintain it against OILMAT in there and you call IDOC_INPUT_MATMAS01 inside this FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you have place to play around in the IDoc structure in the "preprocessing part" before the IDOC_INPUT_MATMAS01 is called and you need not use the user exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siddharth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2009 11:39:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-parent-and-child-segments-to-idoc-while-processing/m-p/5842141#M1318174</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-01T11:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Adding parent and child segments to Idoc while processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-parent-and-child-segments-to-idoc-while-processing/m-p/5842142#M1318175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Siddharth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx for ur help, i understood what need to be done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Sippy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2009 14:40:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-parent-and-child-segments-to-idoc-while-processing/m-p/5842142#M1318175</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-01T14:40:08Z</dc:date>
    </item>
  </channel>
</rss>

