<?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: IDOC Error Raise. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-error-raise/m-p/1573316#M258859</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Srikant..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked that part in RSNAST00..you are correct that in my case this FM is not getting triggered because of a different returncode value used before the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the returncode value is 999 then only the values will be updated in the NAST table else not...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my problem is that in the program RSNAST00, if there is an err in my FM it is returning the sy-subrc = 1 which is passed to the return code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to make it 999 in order to trigger the Output Log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How shall I do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Sep 2006 11:55:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-13T11:55:28Z</dc:date>
    <item>
      <title>IDOC Error Raise.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-error-raise/m-p/1573314#M258857</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 an outbound Configuration for my Delivery using the Message control technique in SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now,I am testing it manually by going in the transaction code WE15 (RSNAST00) and running it for my application object(Delivery Number).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If everything is smooth then no problem, but if there is an error at any place inside the FM (used to create an o/b IDOC) then I am raising an error with the statement "RAISING ERROR_MESSAGE_RECEIVED".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The poblem is that I want this message to be visible in the Output processing Log of my delivery document  which is not taking place now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How shall I approach this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 11:20:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-error-raise/m-p/1573314#M258857</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-13T11:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC Error Raise.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-error-raise/m-p/1573315#M258858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Subash,&lt;/P&gt;&lt;P&gt;   For you to update message in the output processing log of the delivery document, you need to use below funtion module. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'NAST_PROTOCOL_UPDATE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      msg_arbgb = sy-msgid&lt;/P&gt;&lt;P&gt;      msg_nr    = sy-msgno&lt;/P&gt;&lt;P&gt;      msg_ty    = sy-msgty&lt;/P&gt;&lt;P&gt;      msg_v1    = sy-msgv1&lt;/P&gt;&lt;P&gt;      msg_v2    = sy-msgv2&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      OTHERS    = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REGARDS&lt;/P&gt;&lt;P&gt;SRIKANTH M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 11:37:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-error-raise/m-p/1573315#M258858</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-13T11:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC Error Raise.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-error-raise/m-p/1573316#M258859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Srikant..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked that part in RSNAST00..you are correct that in my case this FM is not getting triggered because of a different returncode value used before the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the returncode value is 999 then only the values will be updated in the NAST table else not...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my problem is that in the program RSNAST00, if there is an err in my FM it is returning the sy-subrc = 1 which is passed to the return code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to make it 999 in order to trigger the Output Log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How shall I do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 11:55:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-error-raise/m-p/1573316#M258859</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-13T11:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC Error Raise.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-error-raise/m-p/1573317#M258860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Subash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     I suggest you use the Function Module 'NAST_PROTOCOL_UPDATE' in your outbound Function Module. I suggest you do not change any return code. This will work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Srikanth M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 12:02:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-error-raise/m-p/1573317#M258860</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-13T12:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC Error Raise.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-error-raise/m-p/1573318#M258861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice suggestion Srikant..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will do that and get back to you..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 12:06:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-error-raise/m-p/1573318#M258861</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-13T12:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC Error Raise.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-error-raise/m-p/1573319#M258862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice suggestion Srikant..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will do that and get back to you..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 12:14:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-error-raise/m-p/1573319#M258862</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-13T12:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC Error Raise.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-error-raise/m-p/1573320#M258863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srikant...actually I tried that ...its failing there also..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think we need to chg the return code anyhow if it is possible&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 12:45:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-error-raise/m-p/1573320#M258863</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-13T12:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC Error Raise.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-error-raise/m-p/1573321#M258864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi subash&lt;/P&gt;&lt;P&gt;   I used this code before in a similar scenario , its working. In your outboud program just use below FM and see if there are any exceptions. Pass proper message type , number etc. Let's if this works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'NAST_PROTOCOL_UPDATE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;msg_arbgb = sy-msgid&lt;/P&gt;&lt;P&gt;msg_nr = sy-msgno&lt;/P&gt;&lt;P&gt;msg_ty = sy-msgty&lt;/P&gt;&lt;P&gt;msg_v1 = sy-msgv1&lt;/P&gt;&lt;P&gt;msg_v2 = sy-msgv2&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;OTHERS = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Srikanth M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 13:11:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-error-raise/m-p/1573321#M258864</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-13T13:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC Error Raise.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-error-raise/m-p/1573322#M258865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srikant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you see inside the from NEW_DYN_PERFORM of the program  RSNASTED, then you wll clearly see that even if the return code is NE '0' , still the error values are getting updated in the Table NAST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I think it is something else that is preventing the error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however in the debug mode when the change the returncode to 999 then it shows me the message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I couldnt understand the logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 13:36:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-error-raise/m-p/1573322#M258865</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-13T13:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC Error Raise.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-error-raise/m-p/1573323#M258866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi subash,&lt;/P&gt;&lt;P&gt;   Lets not change te return code to 999. We will call the Function module in our out bound program , and update the message ourselves.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 13:50:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-error-raise/m-p/1573323#M258866</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-13T13:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC Error Raise.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-error-raise/m-p/1573324#M258867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srikant..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your precious time...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was using a message ID that was deleted from the system due to some reasons..:-)..thats why the err mrssage was not coming...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know the reason is very silly...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways thanks for your valuable assistance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 14:21:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-error-raise/m-p/1573324#M258867</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-13T14:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC Error Raise.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-error-raise/m-p/1573325#M258868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hahahah ... good that you got it . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Srikanth M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2006 07:32:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-error-raise/m-p/1573325#M258868</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-14T07:32:37Z</dc:date>
    </item>
  </channel>
</rss>

