<?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 inbound process for material master in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/inbound-process-for-material-master/m-p/5652210#M1285998</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi abapers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have on req my req is iam sending material master from one server to other server..&lt;/P&gt;&lt;P&gt;in inbound side i want to do mapping for materials,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like matetial type 'FERT' in sending  system ,in receving side this material type should be 'HAWA'.&lt;/P&gt;&lt;P&gt;like this kind of mapping i need to do.,   for this i found one badi 'badi_matmas_alv_in'.&lt;/P&gt;&lt;P&gt;In this badi there are 'idoc_control' and 'idoc_data'  exporting parameters and in changing parametes 'material tables' are there, now i did mapping passed values to different tables .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;upto now is fine but  probelms what i face is &lt;/P&gt;&lt;P&gt;1. The changed records  are not updating in database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so how the cding should should be done in inbound side ,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any other exits or any sol's plaese let me know..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 May 2009 08:56:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-08T08:56:31Z</dc:date>
    <item>
      <title>inbound process for material master</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inbound-process-for-material-master/m-p/5652210#M1285998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi abapers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have on req my req is iam sending material master from one server to other server..&lt;/P&gt;&lt;P&gt;in inbound side i want to do mapping for materials,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like matetial type 'FERT' in sending  system ,in receving side this material type should be 'HAWA'.&lt;/P&gt;&lt;P&gt;like this kind of mapping i need to do.,   for this i found one badi 'badi_matmas_alv_in'.&lt;/P&gt;&lt;P&gt;In this badi there are 'idoc_control' and 'idoc_data'  exporting parameters and in changing parametes 'material tables' are there, now i did mapping passed values to different tables .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;upto now is fine but  probelms what i face is &lt;/P&gt;&lt;P&gt;1. The changed records  are not updating in database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so how the cding should should be done in inbound side ,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any other exits or any sol's plaese let me know..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 08:56:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inbound-process-for-material-master/m-p/5652210#M1285998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-08T08:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: inbound process for material master</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inbound-process-for-material-master/m-p/5652211#M1285999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ajay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for inbound Material master the FM is 'IDOC_INPUT_MATMAS01&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the user exit in this Function module and check the Segment that has Material type ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and read the segment and check if the segment has matetial type 'FERT'  modify the segment to  matetial type 'FERT' and append to edidd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 09:06:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inbound-process-for-material-master/m-p/5652211#M1285999</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-08T09:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: inbound process for material master</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inbound-process-for-material-master/m-p/5652212#M1286000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks prabhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here i found one exit 'MGV00001'&lt;/P&gt;&lt;P&gt;in that there two fm's 'EXIT_SAPLMV02_002' Enhancements in Material Master: IDoc - Post&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here i want testing this by putting break point init .and going to we19 giving the idoc no executing in begguing mode in foreground,&lt;/P&gt;&lt;P&gt;but here this exit is not triggering, see below code of idoc_input_matmas01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM CHECK_USER_EXIT TABLES T_EDIDD       " zu 3.1H&lt;/P&gt;&lt;P&gt;                                         USER_SEGMENTS&lt;/P&gt;&lt;P&gt;                                  USING  CURRENT_TABIX.&lt;/P&gt;&lt;P&gt;          LOOP AT USER_SEGMENTS.&lt;/P&gt;&lt;P&gt;            REFRESH T_RES_FIELDS.&lt;/P&gt;&lt;P&gt;            SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;            CALL CUSTOMER-FUNCTION '002'&lt;/P&gt;&lt;P&gt;                EXPORTING&lt;/P&gt;&lt;P&gt;                     MESSAGE_TYPE      = IDOC_CONTRL-MESTYP&lt;/P&gt;&lt;P&gt;                     F_CUST_SEGMENT    = USER_SEGMENTS&lt;/P&gt;&lt;P&gt;                TABLES&lt;/P&gt;&lt;P&gt;                     RES_FIELDS        = T_RES_FIELDS&lt;/P&gt;&lt;P&gt;                CHANGING&lt;/P&gt;&lt;P&gt;                     F_MARA_UEB        = I_MARA_UEB&lt;/P&gt;&lt;P&gt;                EXCEPTIONS&lt;/P&gt;&lt;P&gt;                     APPLICATION_ERROR = 1&lt;/P&gt;&lt;P&gt;                     OTHERS            = 2.&lt;/P&gt;&lt;P&gt;            IF SY-SUBRC NE 0.&lt;/P&gt;&lt;P&gt;              APPLICATION_SUBRC = SY-SUBRC.&lt;/P&gt;&lt;P&gt;              PERFORM HANDLE_ERROR&lt;/P&gt;&lt;P&gt;                          TABLES&lt;/P&gt;&lt;P&gt;                             IDOC_CONTRL&lt;/P&gt;&lt;P&gt;                             IDOC_STATUS&lt;/P&gt;&lt;P&gt;                             RETURN_VARIABLES&lt;/P&gt;&lt;P&gt;                             T_MERRDAT&lt;/P&gt;&lt;P&gt;                             T_IDOC_MATNR     "JH/4.0C/KPr100004993&lt;/P&gt;&lt;P&gt;                          USING&lt;/P&gt;&lt;P&gt;                             APPLICATION_SUBRC&lt;/P&gt;&lt;P&gt;                          CHANGING&lt;/P&gt;&lt;P&gt;                             WORKFLOW_RESULT.&lt;/P&gt;&lt;P&gt;              EXIT.&lt;/P&gt;&lt;P&gt;            ENDIF.&lt;/P&gt;&lt;P&gt;            APPEND_RESFIELDS COUNTER-TRANC.&lt;/P&gt;&lt;P&gt;          ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here it is checking user segments table ,and when i exexuted this code it show empty,for this reason it is not going to  the exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just see it and help me..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 09:55:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inbound-process-for-material-master/m-p/5652212#M1286000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-08T09:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: inbound process for material master</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inbound-process-for-material-master/m-p/5652213#M1286001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I guess that userexit you mentioned above will work only for user segments or Z-Segments and not for the standard segments. BADI should work correctly. Do you receive any exception after execution of function module MATERIAL_MAINTAIN_DARK. Also, I can see that parameter NO_DATABASE_UPDATE is not passed which means that database should be updated after the call of function module. Also, try to create the material in dialog using MM01 and your material type. As per the documentation of MATERIAL_MAINTAIN_DARK if you can't make a material using MM01 then you can't do so using this function module as well. No matter whether you change material type in exit or badi the function module MATERIAL_MAINTAIN_DARK  is responsible for creation of material in SAP.&lt;/P&gt;&lt;P&gt;Please debug and check it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR Jaideep,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 May 2009 03:39:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inbound-process-for-material-master/m-p/5652213#M1286001</guid>
      <dc:creator>jaideepsharma</dc:creator>
      <dc:date>2009-05-09T03:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: inbound process for material master</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inbound-process-for-material-master/m-p/5652214#M1286002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for ur reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after executing  material_maintain_dark fm&lt;/P&gt;&lt;P&gt;the idoc _status is empty,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 May 2009 09:34:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inbound-process-for-material-master/m-p/5652214#M1286002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-09T09:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: inbound process for material master</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inbound-process-for-material-master/m-p/5652215#M1286003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Then I guess the only option is to debug the function module and check why the changes are not been saved in database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR Jaideep,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 May 2009 08:39:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inbound-process-for-material-master/m-p/5652215#M1286003</guid>
      <dc:creator>jaideepsharma</dc:creator>
      <dc:date>2009-05-10T08:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: inbound process for material master</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inbound-process-for-material-master/m-p/5652216#M1286004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for u r hint..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i got the sol..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the probelm is when we are passing values to material_maintain_dark.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there for table:&lt;/P&gt;&lt;P&gt;mara_ueb,&lt;/P&gt;&lt;P&gt;makt_ueb,&lt;/P&gt;&lt;P&gt;marc_ueb.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;for these tables in last there are some fields just see below.&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;    mara-tcode = 'MAL1'.   " Creating materials in inbound side use tcode MAL1&lt;/P&gt;&lt;P&gt;      mara-tranc = '3'.      " Transaction for data transfer&lt;/P&gt;&lt;P&gt;      mara-d_ind  = '1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;maktm control information&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      makt-tranc  = '3'.      " Transaction for data transfer&lt;/P&gt;&lt;P&gt;      makt-d_ind  = '2'.     " Data indicator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;maktm control information&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      marm-tranc  = '3'.      " Transaction for data transfer&lt;/P&gt;&lt;P&gt;      marm-d_ind  = '3'.     " Data indicator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when we pass this information to tables,of fm material_maintain_dark ,it will create material..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u r not clear just read fm documentation&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2009 09:17:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inbound-process-for-material-master/m-p/5652216#M1286004</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-11T09:17:37Z</dc:date>
    </item>
  </channel>
</rss>

