<?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 Function Module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/3483417#M837484</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 am using one User Exit. That exit will call the function module 'RV_INVOICE_CREATE'. In this FM there is XVBFS table for error message. &lt;/P&gt;&lt;P&gt;In my exit I m doing one validation. So I need to catch the error message into the XVBFS table of FM.&lt;/P&gt;&lt;P&gt;But in that exit the table XVBFS or VBFS is not active.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any Function Module which will populate the error message into VBFS table.....?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pleease guide me on the same as early as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx..,&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Feb 2008 12:58:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-29T12:58:57Z</dc:date>
    <item>
      <title>Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/3483417#M837484</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 am using one User Exit. That exit will call the function module 'RV_INVOICE_CREATE'. In this FM there is XVBFS table for error message. &lt;/P&gt;&lt;P&gt;In my exit I m doing one validation. So I need to catch the error message into the XVBFS table of FM.&lt;/P&gt;&lt;P&gt;But in that exit the table XVBFS or VBFS is not active.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any Function Module which will populate the error message into VBFS table.....?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pleease guide me on the same as early as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx..,&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Feb 2008 12:58:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/3483417#M837484</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-29T12:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/3483418#M837485</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 am not sure of populating message into VBFS or XVBFS tables.&lt;/P&gt;&lt;P&gt;But if ur requirement is to display the message while doing the transaction then u can use the FM like below after doing ur validation in the user exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'AQ_INT_SHOW_MESSAGE_AS_POPUP'&lt;/P&gt;&lt;P&gt;             EXPORTING&lt;/P&gt;&lt;P&gt;                  popup_pos_x            = lc_10&lt;/P&gt;&lt;P&gt;                  popup_pos_y            = lc_10&lt;/P&gt;&lt;P&gt;                  message_class          = lc_msgclass&lt;/P&gt;&lt;P&gt;                  message_number         = lc_msgno&lt;/P&gt;&lt;P&gt;                  message_type           = lc_msgtype&lt;/P&gt;&lt;P&gt;                  message_var1           = lw_msgv1&lt;/P&gt;&lt;P&gt;                  message_var2           = lw_msgv2&lt;/P&gt;&lt;P&gt;             EXCEPTIONS&lt;/P&gt;&lt;P&gt;                  internal_error         = 1&lt;/P&gt;&lt;P&gt;                  message_does_not_exist = 2&lt;/P&gt;&lt;P&gt;                  OTHERS                 = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give message class, ID, Type as per ur requirement. &lt;/P&gt;&lt;P&gt;message_var1  and message_var2 are optional.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Mar 2008 14:14:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/3483418#M837485</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2008-03-01T14:14:02Z</dc:date>
    </item>
  </channel>
</rss>

