<?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: Custom - Material Master Update using an IDOC (Message Type - MATMAS_BAPI) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-material-master-update-using-an-idoc-message-type-matmas-bapi/m-p/5457531#M1250524</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program ZXMGVU04 is already included in the EXIT for inclusion of some other modules logic.&lt;/P&gt;&lt;P&gt;So the custom code can be simply added there.&lt;/P&gt;&lt;P&gt;The issue however remains, is there a way through which I can check that BAPI_IDOC_INPUT1 (say executed through "standard Inbound processing" or "Inbound Processing Module" in WE19) will internally invlove the EXIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, EDIDC is used currently, I think. That's what I see when I test it from WE19 manually and it updates the material master successfully (off course without the Custom Validation)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea how to verify my doubt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-- Arunesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Apr 2009 18:19:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-16T18:19:16Z</dc:date>
    <item>
      <title>Custom - Material Master Update using an IDOC (Message Type - MATMAS_BAPI)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-material-master-update-using-an-idoc-message-type-matmas-bapi/m-p/5457528#M1250521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was writing a functional specs. Basically, I want to update the material master MM02 using an IDOC (MATMAS_BAPI01 - Basic Type &amp;amp; MATMAS_BAPI - Message Type). This is currently working.&lt;/P&gt;&lt;P&gt;To my understanding, this currently uses function module - BAPI_IDOC_INPUT1 to update the material master after the IDOC is posted to SAP ECC from XI system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to add one small validation logic before it actually updates the material master (MM02).&lt;/P&gt;&lt;P&gt;I looked around and found one exit - EXIT_SAPLMV02_002 in enhancement MGV00001. I was almost sure that this EXIT can be used to write the custom validation code before, actual MM02 updation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However while trying to establish a link between this EXIT and BAPI_IDOC_INPUT1, I found that EXIT_SAPLMV02_002 is actually a part of another function module - IDOC_INPUT_MATMAS01 and not BAPI_IDOC_INPUT1. I am stuck here if adding the custom logic in the exit really going to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a bit of googling and I found from WE30 that the purpose of both these function modules are actually different. While BAPI_IDOC_INPUT1  actually create &amp;amp; updates the material master (also plant specific master data which is my need), IDOC_INPUT_MATMAS01 is just for maintenence of few fields in MM02 (may be custom fields). &lt;/P&gt;&lt;P&gt;Can anyone point out if my thing is in right direction?&lt;/P&gt;&lt;P&gt;Also please offer any solution where shall I put the Custom Logic in the EXIT or the some variants of &lt;/P&gt;&lt;P&gt;BAPI_IDOC_INPUT1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A less technical explanation would be appreciated as I come from a functional background and invloved in this for writing the func specs. I want to make it sure that what I write is not useless and makes some sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arunesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 17:24:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-material-master-update-using-an-idoc-message-type-matmas-bapi/m-p/5457528#M1250521</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T17:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Custom - Material Master Update using an IDOC (Message Type - MATMAS_BAPI)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-material-master-update-using-an-idoc-message-type-matmas-bapi/m-p/5457529#M1250522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope you are in the right track, just use the include 'ZXMGVU04' in the function module 'EXIT_SAPLMV02_002' to develop your custom code. Since user exits will trigger for several scenarios better to check some conditions such as checking Idoc type &amp;amp; message type and other related information. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this purpose you can use structure 'EDIDC'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 17:55:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-material-master-update-using-an-idoc-message-type-matmas-bapi/m-p/5457529#M1250522</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T17:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Custom - Material Master Update using an IDOC (Message Type - MATMAS_BAPI)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-material-master-update-using-an-idoc-message-type-matmas-bapi/m-p/5457530#M1250523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try debugging function module BAPI_IDOC_INPUT1  if you can find any exits&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lalit Mohan Gupta.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 18:00:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-material-master-update-using-an-idoc-message-type-matmas-bapi/m-p/5457530#M1250523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T18:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Custom - Material Master Update using an IDOC (Message Type - MATMAS_BAPI)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-material-master-update-using-an-idoc-message-type-matmas-bapi/m-p/5457531#M1250524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program ZXMGVU04 is already included in the EXIT for inclusion of some other modules logic.&lt;/P&gt;&lt;P&gt;So the custom code can be simply added there.&lt;/P&gt;&lt;P&gt;The issue however remains, is there a way through which I can check that BAPI_IDOC_INPUT1 (say executed through "standard Inbound processing" or "Inbound Processing Module" in WE19) will internally invlove the EXIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, EDIDC is used currently, I think. That's what I see when I test it from WE19 manually and it updates the material master successfully (off course without the Custom Validation)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea how to verify my doubt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-- Arunesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 18:19:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-material-master-update-using-an-idoc-message-type-matmas-bapi/m-p/5457531#M1250524</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T18:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Custom - Material Master Update using an IDOC (Message Type - MATMAS_BAPI)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-material-master-update-using-an-idoc-message-type-matmas-bapi/m-p/5457532#M1250525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lalit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did some head breaking with the function module - BAPI_IDOC_INPUT1 to check whether it is calling the EXIT_SAPLMV02_002 internally. Couldn't get anywhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On question of another EXIT in BAPI_IDOC_INPUT1, I don't see any. I am not very proficient in ABAP code, I must say though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found the list of exits from google, almost same list everywhere. &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?f=21&amp;amp;t=296637" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?f=21&amp;amp;t=296637&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here I got the EXIT, I am talking about. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other way to find either the EXIT or link the above?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; -- Arunesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 18:19:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-material-master-update-using-an-idoc-message-type-matmas-bapi/m-p/5457532#M1250525</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T18:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Custom - Material Master Update using an IDOC (Message Type - MATMAS_BAPI)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-material-master-update-using-an-idoc-message-type-matmas-bapi/m-p/5457533#M1250526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just for a quick check for available exits,&lt;/P&gt;&lt;P&gt;open the mentioned FM in se37&lt;/P&gt;&lt;P&gt;start a GLOBAL search for the key words of CUSTOMER FUNCTION by selecting the radio button of MAIN PROG.&lt;/P&gt;&lt;P&gt;Then, u can see some CALL CUSTOMER FUNCTION statements:&lt;/P&gt;&lt;P&gt;I guess, u knew that, to trigger any exit, we hv to create a project in CMOD and activate it.&lt;/P&gt;&lt;P&gt;thanq&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 18:30:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-material-master-update-using-an-idoc-message-type-matmas-bapi/m-p/5457533#M1250526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T18:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Custom - Material Master Update using an IDOC (Message Type - MATMAS_BAPI)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-material-master-update-using-an-idoc-message-type-matmas-bapi/m-p/5457534#M1250527</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;Just checked in SE37  for "CUSTOMER FUNCTION" in where used list (sorry I didn't understand your point of main program).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't find any in BAPI_IDOC_INPUT1 but only in IDOC_INPUT_MATMAS01 which I expected but no joy. This still keeps me at the same point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;am I missing anything?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my list of EXIT is also at &lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/f9/8268985c5b11d396a400a0c930e0da/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/f9/8268985c5b11d396a400a0c930e0da/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Arunesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Arunesh Chakrapani on Apr 16, 2009 8:39 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 18:38:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-material-master-update-using-an-idoc-message-type-matmas-bapi/m-p/5457534#M1250527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T18:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: Custom - Material Master Update using an IDOC (Message Type - MATMAS_BAPI)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-material-master-update-using-an-idoc-message-type-matmas-bapi/m-p/5457535#M1250528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Arunesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create/change Materials using IDOC_INPUT_MATMAS FM also.  Check if the Segment exist in this MATMAS05 basic type for updating Plant Master Data.  You can compare segments for both Basic Types.  If you have, then you can use this one too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you can go into debug mode uisng WE19 transaction code and put a break point at statement 'CUSTOMER FUNCTION'  and see if it stops you there. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shylesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 19:25:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-material-master-update-using-an-idoc-message-type-matmas-bapi/m-p/5457535#M1250528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T19:25:24Z</dc:date>
    </item>
  </channel>
</rss>

