<?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: how to trigger idoc second time in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-idoc-second-time/m-p/1010371#M78748</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Urmila,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sending IDOC to an external system. &lt;/P&gt;&lt;P&gt;Is it same Function module for all idoc matmas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;shashikanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Sep 2005 14:39:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-09-08T14:39:58Z</dc:date>
    <item>
      <title>how to trigger idoc second time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-idoc-second-time/m-p/1010365#M78742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am new to SAP. My task is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In IDOC MATMAS I want to send MAKTX first and then I have to trigger IDOC again 2nd time to pass value MATNR in MAKTX. I know it is confusing... We have MATNR which is defines as 25 length. So, we have added new  field with length 25. Task is I want to send this field in place of MAKTX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;very urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks;&lt;/P&gt;&lt;P&gt;shashikanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 11:32:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-idoc-second-time/m-p/1010365#M78742</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-08T11:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to trigger idoc second time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-idoc-second-time/m-p/1010366#M78743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shashikanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think your requirement is to send both Material number and Material Description.&lt;/P&gt;&lt;P&gt;If that is the case, then why don't you send Material Description in MAKTX and send the material number in some other unused field like WRKST_NEW (length=40) of segment E2MARAM004.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this would be a better solution that re-triggering the idoc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Urmila&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 12:37:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-idoc-second-time/m-p/1010366#M78743</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-08T12:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to trigger idoc second time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-idoc-second-time/m-p/1010367#M78744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Urmila,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am very confused.... I am new to SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where can I find triggering program for IDOC MATMAS which is already written in my system. I am searching for that.&lt;/P&gt;&lt;P&gt;One told ne to go to partners system so that i can find fprogram but i couldnt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls let me know;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks;&lt;/P&gt;&lt;P&gt;shashikanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 12:53:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-idoc-second-time/m-p/1010367#M78744</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-08T12:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to trigger idoc second time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-idoc-second-time/m-p/1010368#M78745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shashikant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to transaction BD60 and look for Message type MATMAS. Look at the deatils. The corresponding FM is MASTERIDOC_CREATE_SMD_MATMAS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Urmila&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 13:33:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-idoc-second-time/m-p/1010368#M78745</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-08T13:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to trigger idoc second time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-idoc-second-time/m-p/1010369#M78746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi shashikanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use WE19 transaction. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Lakshman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 13:43:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-idoc-second-time/m-p/1010369#M78746</guid>
      <dc:creator>Lakshmant1</dc:creator>
      <dc:date>2005-09-08T13:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to trigger idoc second time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-idoc-second-time/m-p/1010370#M78747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shashikant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FM that you use for processing the IDOC depends on whether you are sending the IDOC to an external system (Outbound Processing) or posting the IDOC in your system (Internal processing).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Outbound Processing: FM MASTERIDOC_CREATE_SMD_MATMAS&lt;/P&gt;&lt;P&gt;Inbound Processing:IDOC_INPUT_MATMAS01&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Urmila&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 14:16:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-idoc-second-time/m-p/1010370#M78747</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-08T14:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to trigger idoc second time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-idoc-second-time/m-p/1010371#M78748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Urmila,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sending IDOC to an external system. &lt;/P&gt;&lt;P&gt;Is it same Function module for all idoc matmas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;shashikanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 14:39:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-idoc-second-time/m-p/1010371#M78748</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-08T14:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to trigger idoc second time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-idoc-second-time/m-p/1010372#M78749</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;To resnd a failed IDOC use BD87 and specify idoc number.&lt;/P&gt;&lt;P&gt;If you want to send new IDOC out of a material use transaction BD10 , specify the material and receiving system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 15:38:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-idoc-second-time/m-p/1010372#M78749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-08T15:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to trigger idoc second time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-idoc-second-time/m-p/1010373#M78750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Transaction BD10 for sending MATMAS. However your requirement is a very confusing, because MATMAS is fully capable of sending material number as well as material description at the same time. I suggest you clarify that first, it will only save your time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sanjeev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 17:30:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-idoc-second-time/m-p/1010373#M78750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-08T17:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to trigger idoc second time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-idoc-second-time/m-p/1010374#M78751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello urmila,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The idea u gave me is really working(using wrkst_new).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is code i have developed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE IDOC_DATA WHERE SEGNAM = E1MARAM.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;     IF SEGMENT_NAME = E1MARAM.&lt;/P&gt;&lt;P&gt;           E1MARAM-WRKST_NEW = F_MARA-YYMATNR.&lt;/P&gt;&lt;P&gt;           MODIFY IDOC_DATA INDEX TABIX.&lt;/P&gt;&lt;P&gt;     ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i dont know where to add above code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where should i add this in below program?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Reference to interface for local BAdI ...&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  DATA: local TYPE REF TO /SIE/SSG_MGV00001_L_IF,&lt;/P&gt;&lt;P&gt;        l_actimp type C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create object instance for local BAdI ...&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL METHOD cl_exithandler=&amp;gt;get_instance&lt;/P&gt;&lt;P&gt;         IMPORTING&lt;/P&gt;&lt;P&gt;           ACT_IMP_EXISTING = l_actimp&lt;/P&gt;&lt;P&gt;         CHANGING&lt;/P&gt;&lt;P&gt;           instance = local.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if l_actimp = 'X'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;call method for local implementation&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL METHOD local-&amp;gt;EXIT_SAPLMV01_002_B000&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      MESSAGE_TYPE = MESSAGE_TYPE&lt;/P&gt;&lt;P&gt;      SEGMENT_NAME = SEGMENT_NAME&lt;/P&gt;&lt;P&gt;      F_MARA       = F_MARA&lt;/P&gt;&lt;P&gt;      F_MAKT       = F_MAKT&lt;/P&gt;&lt;P&gt;      F_MARC       = F_MARC&lt;/P&gt;&lt;P&gt;      F_MARD       = F_MARD&lt;/P&gt;&lt;P&gt;      F_MFHM       = F_MFHM&lt;/P&gt;&lt;P&gt;      F_MPGD       = F_MPGD&lt;/P&gt;&lt;P&gt;      F_MPOP       = F_MPOP&lt;/P&gt;&lt;P&gt;      F_MPRW       = F_MPRW&lt;/P&gt;&lt;P&gt;      F_MVEG       = F_MVEG&lt;/P&gt;&lt;P&gt;      F_MVEU       = F_MVEU&lt;/P&gt;&lt;P&gt;      F_MKAL       = F_MKAL&lt;/P&gt;&lt;P&gt;      F_MARM       = F_MARM&lt;/P&gt;&lt;P&gt;      F_MEAN       = F_MEAN&lt;/P&gt;&lt;P&gt;      F_MBEW       = F_MBEW&lt;/P&gt;&lt;P&gt;      F_MLGN       = F_MLGN&lt;/P&gt;&lt;P&gt;      F_MVKE       = F_MVKE&lt;/P&gt;&lt;P&gt;      F_MLAN       = F_MLAN&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      IDOC_CIMTYPE = IDOC_CIMTYPE&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;*{   REPLACE        GMMK901260                                        1&lt;/P&gt;&lt;P&gt;*\      IDOC_DATA    = IDOC_DATA&lt;/P&gt;&lt;P&gt;      IDOC_DATA    = IDOC_DATA[]&lt;/P&gt;&lt;P&gt;*}   REPLACE&lt;/P&gt;&lt;P&gt;      .&lt;/P&gt;&lt;P&gt;   endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if l_actimp = 'X'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;call method for local implementation&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL METHOD local-&amp;gt;EXIT_SAPLMV01_002_E999&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      MESSAGE_TYPE = MESSAGE_TYPE&lt;/P&gt;&lt;P&gt;      SEGMENT_NAME = SEGMENT_NAME&lt;/P&gt;&lt;P&gt;      F_MARA       = F_MARA&lt;/P&gt;&lt;P&gt;      F_MAKT       = F_MAKT&lt;/P&gt;&lt;P&gt;      F_MARC       = F_MARC&lt;/P&gt;&lt;P&gt;      F_MARD       = F_MARD&lt;/P&gt;&lt;P&gt;      F_MFHM       = F_MFHM&lt;/P&gt;&lt;P&gt;      F_MPGD       = F_MPGD&lt;/P&gt;&lt;P&gt;      F_MPOP       = F_MPOP&lt;/P&gt;&lt;P&gt;      F_MPRW       = F_MPRW&lt;/P&gt;&lt;P&gt;      F_MVEG       = F_MVEG&lt;/P&gt;&lt;P&gt;      F_MVEU       = F_MVEU&lt;/P&gt;&lt;P&gt;      F_MKAL       = F_MKAL&lt;/P&gt;&lt;P&gt;      F_MARM       = F_MARM&lt;/P&gt;&lt;P&gt;      F_MEAN       = F_MEAN&lt;/P&gt;&lt;P&gt;      F_MBEW       = F_MBEW&lt;/P&gt;&lt;P&gt;      F_MLGN       = F_MLGN&lt;/P&gt;&lt;P&gt;      F_MVKE       = F_MVKE&lt;/P&gt;&lt;P&gt;      F_MLAN       = F_MLAN&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      IDOC_CIMTYPE = IDOC_CIMTYPE&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;*{   REPLACE        GMMK901260                                        2&lt;/P&gt;&lt;P&gt;*\      IDOC_DATA    = IDOC_DATA&lt;/P&gt;&lt;P&gt;      IDOC_DATA    = IDOC_DATA[]&lt;/P&gt;&lt;P&gt;*}   REPLACE&lt;/P&gt;&lt;P&gt;      .&lt;/P&gt;&lt;P&gt;   endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;shashikanth.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2005 10:19:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-idoc-second-time/m-p/1010374#M78751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-09T10:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to trigger idoc second time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-idoc-second-time/m-p/1010375#M78752</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;You hv to put your code in user exit of BADI which will be called by FM to send IDOC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try Badi BADI_MATMAS_ALE_CR or user exit &lt;/P&gt;&lt;P&gt;EXIT_SAPLMV01_002 ( ZXMGVU03 ) . If you give more deatils on your ALE outbound setup that will help.&lt;/P&gt;&lt;P&gt;Also from which FM are you pasting the code in the message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2005 10:45:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-idoc-second-time/m-p/1010375#M78752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-09T10:45:30Z</dc:date>
    </item>
  </channel>
</rss>

