<?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: Alert - Container in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alert-container/m-p/5488238#M1256092</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can I Know what the solution you have got for this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Apr 2009 06:40:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-30T06:40:59Z</dc:date>
    <item>
      <title>Alert - Container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alert-container/m-p/5488237#M1256091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have defined an alert categoty ZALERT, with 2 elements in the container: VAR1, VAR2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Long text am using these two elements like: &lt;STRONG&gt;Document VAR1 is created by VAR2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is: am getting the alert message as "Document   is created by   ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am executing the alert using FM: SALRT_CREATE_API, am filling the container table with the two elements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
l_tab_container-element     = 'VAR1'.
l_tab_container-tab_index = 1.
l_tab_container-type = 'C'.
l_tab_container-value       = l_doc_type.
APPEND l_tab_container.

l_tab_container-element     = 'VAR2'.
  l_tab_container-tab_index = sy-tabix.
  l_tab_container-type = 'C'.
  l_tab_container-value       = sy-uname.
  APPEND l_tab_container.

CALL FUNCTION 'SALRT_CREATE_API'
 EXPORTING
   ip_category                  = 'ZALERT'   
*   IP_ALIAS                     =
*   IP_EXPIRATION_TIME           =
*   IP_EXPIRATION_DATE           =
   ip_wait_on_commit            = ' '
*   IP_APPLICATION_GUID          =
*   IP_GET_SYNC_EXCEPTIONS       = ' '
*   II_CONTAINER                 =
 IMPORTING
   ep_alert_id                  = l_ep_alert_id
 TABLES
   it_recipients                = l_tab_recipients
*   IT_ACTIVITIES                =
   it_container                 = l_tab_container
   it_ext_recipients            = l_tab_ext_recipients
*   IT_EXT_ADDR                  =
*   IT_ROLES                     =
* EXCEPTIONS
*   ALERT_CATEGORY_UNKNOWN       = 1
*   ALERT_NO_RECIPIENTS          = 2
*   ALERT_ERROR_UNKNOWN          = 3
*   DESTINATION_UNDEFINED        = 4
*   COMMUNICATION_FAILURE        = 5
*   SYSTEM_FAILURE               = 6
*   OTHERS                       = 7
          .
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some one plz help me to get the proper data.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 05:42:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alert-container/m-p/5488237#M1256091</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T05:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Alert - Container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alert-container/m-p/5488238#M1256092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can I Know what the solution you have got for this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 06:40:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alert-container/m-p/5488238#M1256092</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-30T06:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Alert - Container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alert-container/m-p/5488239#M1256093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used below code to fill the container. It solved my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
INCLUDE &amp;lt;cntn01&amp;gt;.

* declaration of the alert-container 
swc_container lt_alert_container.

* fill element in the container
swc_set_element lt_alert_container &amp;lt;element name&amp;gt; &amp;lt;value&amp;gt;.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 11:05:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alert-container/m-p/5488239#M1256093</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-30T11:05:16Z</dc:date>
    </item>
  </channel>
</rss>

