<?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 PRELIMINARY_POSTING_FB01 converting warning message to error message in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/preliminary-posting-fb01-converting-warning-message-to-error-message/m-p/7189566#M1519558</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Gurus,&lt;/P&gt;&lt;P&gt;I struggled hard to find the fm or bapi to do parking of FI documents and after going through multiple threads at SDN i found that the function module PRELIMINARY_POSTING_FB01 can be used for the purpose. I tested and it seems to work except for the problem the it is aborting the process when it should through warning. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This FM call another FM FI_POSTING_KEY_CHECK which throws the warning message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF NOT SY-SUBRC IS INITIAL.
     MESSAGE W832 WITH I_BSCHL I_UMSKZ I_LANGU RAISING POSTING_KEY_TEXT.
    ELSE.
      LM_TBSLT = TBSLT.
      APPEND LM_TBSLT.
    ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the processing stops ther and the FM returns the same as error (Message type E). The same function module is called in the transaction FB01 and there it shows warning which can be ignored by pressing enter. Any clue how to overcome it. &lt;/P&gt;&lt;P&gt;Any Help will be appreciated .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Kumar Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Aug 2010 16:42:30 GMT</pubDate>
    <dc:creator>Private_Member_49934</dc:creator>
    <dc:date>2010-08-23T16:42:30Z</dc:date>
    <item>
      <title>PRELIMINARY_POSTING_FB01 converting warning message to error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/preliminary-posting-fb01-converting-warning-message-to-error-message/m-p/7189566#M1519558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Gurus,&lt;/P&gt;&lt;P&gt;I struggled hard to find the fm or bapi to do parking of FI documents and after going through multiple threads at SDN i found that the function module PRELIMINARY_POSTING_FB01 can be used for the purpose. I tested and it seems to work except for the problem the it is aborting the process when it should through warning. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This FM call another FM FI_POSTING_KEY_CHECK which throws the warning message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF NOT SY-SUBRC IS INITIAL.
     MESSAGE W832 WITH I_BSCHL I_UMSKZ I_LANGU RAISING POSTING_KEY_TEXT.
    ELSE.
      LM_TBSLT = TBSLT.
      APPEND LM_TBSLT.
    ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the processing stops ther and the FM returns the same as error (Message type E). The same function module is called in the transaction FB01 and there it shows warning which can be ignored by pressing enter. Any clue how to overcome it. &lt;/P&gt;&lt;P&gt;Any Help will be appreciated .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Kumar Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Aug 2010 16:42:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/preliminary-posting-fb01-converting-warning-message-to-error-message/m-p/7189566#M1519558</guid>
      <dc:creator>Private_Member_49934</dc:creator>
      <dc:date>2010-08-23T16:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: PRELIMINARY_POSTING_FB01 converting warning message to error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/preliminary-posting-fb01-converting-warning-message-to-error-message/m-p/7189567#M1519559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;F5 is one of those message classes that can be configured to behave differently by user - do you have this configured? (FI Global Settings - Documents)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Aug 2010 17:02:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/preliminary-posting-fb01-converting-warning-message-to-error-message/m-p/7189567#M1519559</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2010-08-23T17:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: PRELIMINARY_POSTING_FB01 converting warning message to error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/preliminary-posting-fb01-converting-warning-message-to-error-message/m-p/7189568#M1519560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Catch error message by adding exception to function module call and checking sy-subrc:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* Park document&lt;/P&gt;&lt;P&gt;&amp;nbsp; CALL FUNCTION 'PRELIMINARY_POSTING_FB01'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXPORTING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i_tcode&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 'FV60'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TABLES&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t_bkpf&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = t_bkpf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t_bseg&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = t_bseg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t_bsec&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = t_bsec&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t_bset&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = t_bset&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t_bsez&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = t_bsez&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t_bkorm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = t_bkorm&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t_thead&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = t_thead&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXCEPTIONS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; error_message = 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 20:57:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/preliminary-posting-fb01-converting-warning-message-to-error-message/m-p/7189568#M1519560</guid>
      <dc:creator>anete</dc:creator>
      <dc:date>2013-09-10T20:57:46Z</dc:date>
    </item>
  </channel>
</rss>

