<?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 Create new notification from action box in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-notification-from-action-box/m-p/8303492#M1635821</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;We have the following scenario: In transaction IW52 (Notification modification) we have created a new follow-up function, with this new function we want to create a new notification with some data from the current notification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The activity of the new follow-up function executes a Z function module. Everythings works fine except that when the function module is finished and the new notification is created it shows the IW52 transaction with all fields blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have tried to do it with the functions mdules from IQS0 group function and with business object BUS2080, both options had the same result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the debuging we have found that when the follow-up action is called from standard code in SAPLIQS0 - LIQS0F75 - FUNKTION_ACTIONBOX_F75 the viqmel is null when follow-up action is ended:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          CALL FUNCTION l_funktion-baustein&lt;/P&gt;&lt;P&gt;            EXPORTING&lt;/P&gt;&lt;P&gt;              i_viqmel       = viqmel&lt;/P&gt;&lt;P&gt;              i_customizing  = l_funktion&lt;/P&gt;&lt;P&gt;            TABLES&lt;/P&gt;&lt;P&gt;              ti_iviqmfe     = l_iviqmfe&lt;/P&gt;&lt;P&gt;              ti_iviqmur     = l_iviqmur&lt;/P&gt;&lt;P&gt;              ti_iviqmsm     = l_iviqmsm&lt;/P&gt;&lt;P&gt;              ti_iviqmma     = l_iviqmma&lt;/P&gt;&lt;P&gt;              ti_ihpa        = l_ihpa2_tab&lt;/P&gt;&lt;P&gt;            EXCEPTIONS&lt;/P&gt;&lt;P&gt;              action_stopped = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sistemes Emaya on Oct 28, 2011 10:46 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Oct 2011 08:44:22 GMT</pubDate>
    <dc:creator>sistemes_emaya</dc:creator>
    <dc:date>2011-10-28T08:44:22Z</dc:date>
    <item>
      <title>Create new notification from action box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-notification-from-action-box/m-p/8303492#M1635821</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;We have the following scenario: In transaction IW52 (Notification modification) we have created a new follow-up function, with this new function we want to create a new notification with some data from the current notification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The activity of the new follow-up function executes a Z function module. Everythings works fine except that when the function module is finished and the new notification is created it shows the IW52 transaction with all fields blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have tried to do it with the functions mdules from IQS0 group function and with business object BUS2080, both options had the same result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the debuging we have found that when the follow-up action is called from standard code in SAPLIQS0 - LIQS0F75 - FUNKTION_ACTIONBOX_F75 the viqmel is null when follow-up action is ended:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          CALL FUNCTION l_funktion-baustein&lt;/P&gt;&lt;P&gt;            EXPORTING&lt;/P&gt;&lt;P&gt;              i_viqmel       = viqmel&lt;/P&gt;&lt;P&gt;              i_customizing  = l_funktion&lt;/P&gt;&lt;P&gt;            TABLES&lt;/P&gt;&lt;P&gt;              ti_iviqmfe     = l_iviqmfe&lt;/P&gt;&lt;P&gt;              ti_iviqmur     = l_iviqmur&lt;/P&gt;&lt;P&gt;              ti_iviqmsm     = l_iviqmsm&lt;/P&gt;&lt;P&gt;              ti_iviqmma     = l_iviqmma&lt;/P&gt;&lt;P&gt;              ti_ihpa        = l_ihpa2_tab&lt;/P&gt;&lt;P&gt;            EXCEPTIONS&lt;/P&gt;&lt;P&gt;              action_stopped = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sistemes Emaya on Oct 28, 2011 10:46 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 08:44:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-notification-from-action-box/m-p/8303492#M1635821</guid>
      <dc:creator>sistemes_emaya</dc:creator>
      <dc:date>2011-10-28T08:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Create new notification from action box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-notification-from-action-box/m-p/8303493#M1635822</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;In this case follow below steps mentioned below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Action box in IW52 trigger your Z Function module so use below steps may it will help you.&lt;/P&gt;&lt;P&gt;Inside your Z Function module- &lt;/P&gt;&lt;P&gt;1 ) Get notification number from Parameter id using command "GET PARAMETER ID XXXXXXX" .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 ) Fetch relevant records from database on behalf of notification number which you get in step 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3 ) Use records in your Z Function module to create another notification as per your requirement.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 20:41:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-notification-from-action-box/m-p/8303493#M1635822</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-28T20:41:37Z</dc:date>
    </item>
  </channel>
</rss>

