<?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: BAPI_ALM_NOTIF_CREATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-notif-create/m-p/4515243#M1067725</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;Consider creating the notification with the order -see this wiki link:&lt;/P&gt;&lt;P&gt;&lt;A href="https://wiki.sdn.sap.com/wiki/display/ERPLO/Using" target="test_blank"&gt;https://wiki.sdn.sap.com/wiki/display/ERPLO/Using&lt;/A&gt;&lt;EM&gt;BAPI_ALM_ORDER_MAINTAIN&lt;/EM&gt;method+CREATETONOTIF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Paul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please use [Enterprise Asset Management (EAM)|&lt;A class="jive_macro jive_macro_community" href="https://community.sap.com/" __jive_macro_name="community" modifiedtitle="true" __default_attr="2039"&gt;&lt;/A&gt;; forum for PM/CS specific topics&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Oct 2008 18:55:45 GMT</pubDate>
    <dc:creator>paul_meehan</dc:creator>
    <dc:date>2008-10-01T18:55:45Z</dc:date>
    <item>
      <title>BAPI_ALM_NOTIF_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-notif-create/m-p/4515241#M1067723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Guru's,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any solutions for this. ???? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to assign the service order ( iw32 ) while creating a service notification ( iw52 ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ahave tried with BAPI_ALM_NOTIF_CREATE ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By passing ORDERID = service order &lt;/P&gt;&lt;P&gt;Notification type : 'Z1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Filled up notification header data , Partner data and longtext data .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to to a notification number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then i am using BAPI_SERVNOT_SAVE BY PASSING notification header_exp - notif no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this function module ( BAPI_SERVNOT_SAVE ) , notification number. is getting cleared.&lt;/P&gt;&lt;P&gt;, &lt;/P&gt;&lt;P&gt;Have also tried with BAPI_TRANSACTION_COMMIT. .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no error message also appering. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not getting stored in DB. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any body will tell the paraneters to be filled for the BAPI's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amitav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 09:26:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-notif-create/m-p/4515241#M1067723</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T09:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ALM_NOTIF_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-notif-create/m-p/4515242#M1067724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's the code I used.  Unfortunately - I don't have the code for the Z_BAPI, I think it was close to BAPI_ALM_NOTIF_CREATE.  I can't remember what I changed.  If you have questions, I can look at it in more detail.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also created the order.  I can add that code if you like.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michelle&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear: i_userinfo, i_methods, i_return, i_header, i_operations, i_numbers.&lt;/P&gt;&lt;P&gt;refresh: i_userinfo, i_methods, i_return, i_header, i_operations, i_numbers.&lt;/P&gt;&lt;P&gt;data: error(1),&lt;/P&gt;&lt;P&gt;       w_tplnr type iloa-tplnr.&lt;/P&gt;&lt;P&gt;error = 'N'.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;set up tracking table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;st_output-assettag = assettag.&lt;/P&gt;&lt;P&gt;st_output-personname = personname.&lt;/P&gt;&lt;P&gt;st_output-pmtype = pmtype.&lt;/P&gt;&lt;P&gt;st_output-priority = priority.&lt;/P&gt;&lt;P&gt;st_output-shortdescription = shortdescription.&lt;/P&gt;&lt;P&gt;st_output-datum = sy-datum.&lt;/P&gt;&lt;P&gt;st_output-UZEIT = sy-UZEIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;insert the new data into the tracking table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;insert ztrackinput from st_output.&lt;/P&gt;&lt;P&gt; w_number = assettag.&lt;/P&gt;&lt;P&gt;im_assettag = w_number.&lt;/P&gt;&lt;P&gt;im_personname = personname.&lt;/P&gt;&lt;P&gt;im_pmtype = pmtype.&lt;/P&gt;&lt;P&gt;im_description = shortdescription.&lt;/P&gt;&lt;P&gt;im_priority = priority.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Check Asset Tag&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;select single anln1 into anlh-anln1&lt;/P&gt;&lt;P&gt;       from anlh&lt;/P&gt;&lt;P&gt;          where anln1 = im_assettag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;concatenate '1 - Asset'  im_assettag 'Not Found' into&lt;/P&gt;&lt;P&gt;E_ERRNUMBER separated by space.&lt;/P&gt;&lt;P&gt;error = 'Y'.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if error &amp;lt;&amp;gt; 'Y'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Check maintenance type&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;select maintype into zpmtype-maintype&lt;/P&gt;&lt;P&gt;      from zpmtype&lt;/P&gt;&lt;P&gt;        where maintype = im_pmtype.&lt;/P&gt;&lt;P&gt;  endselect.&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;im_pmtype = 'MECHANICAL'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;TRANSLATE im_priority TO UPPER CASE.&lt;/P&gt;&lt;P&gt;case im_priority.&lt;/P&gt;&lt;P&gt;  when 'HIGH'.&lt;/P&gt;&lt;P&gt;    scmgattr_priot-PRIORITY = '2'.&lt;/P&gt;&lt;P&gt;    when 'LOW'.&lt;/P&gt;&lt;P&gt;      scmgattr_priot-PRIORITY = '4'.&lt;/P&gt;&lt;P&gt;      when 'MEDUIM'.&lt;/P&gt;&lt;P&gt;        scmgattr_priot-PRIORITY = '3'.&lt;/P&gt;&lt;P&gt;        when 'VERY HIGH'.&lt;/P&gt;&lt;P&gt;          scmgattr_priot-PRIORITY = '1'.&lt;/P&gt;&lt;P&gt;          when others.&lt;/P&gt;&lt;P&gt;            scmgattr_priot-PRIORITY = '3'.&lt;/P&gt;&lt;P&gt;            endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Check priority&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*select PRIORITY description  into (scmgattr_priot-PRIORITY, scmgattr_priot-description)&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     from scmgattr_priot&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       where description = im_priority and&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;              langu = 'EN'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; endselect.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;*scmgattr_priot-PRIORITY = '2'.&lt;/P&gt;&lt;P&gt;*endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;Get the functional location&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;select tplnr into iloa-tplnr from iloa&lt;/P&gt;&lt;P&gt;      where ANLNR = im_assettag.&lt;/P&gt;&lt;P&gt;  if not iloa-tplnr is initial .&lt;/P&gt;&lt;P&gt;w_tplnr = iloa-tplnr.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;iloa-tplnr = w_tplnr.&lt;/P&gt;&lt;P&gt;  if not iloa-tplnr is initial .&lt;/P&gt;&lt;P&gt;notifhead-funct_loc = iloa-tplnr.&lt;/P&gt;&lt;P&gt;notifhead-short_text = im_description.&lt;/P&gt;&lt;P&gt; notiftype = 'M1'.&lt;/P&gt;&lt;P&gt; notifhead-funct_loc = iloa-tplnr.&lt;/P&gt;&lt;P&gt;notifhead-short_text = im_description.&lt;/P&gt;&lt;P&gt; notiftype = 'M1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'Z_BAPI_NOTIF_CREATE'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    NOTIF_TYPE               =  notiftype&lt;/P&gt;&lt;P&gt;    NOTIFHEADER              = notifhead&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TASK_DETERMINATION       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SENDER                   =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ORDERID                  =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   NOTIFHEADER_EXPORT       = ex_notifheader&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NOTITEM                  =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NOTIFCAUS                =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NOTIFACTV                =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NOTIFTASK                =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NOTIFPARTNR              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  LONGTEXTS                =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  KEY_RELATIONSHIPS        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  RETURN                   =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;E_ERRNUMBER = '200 - Notification not created'.&lt;/P&gt;&lt;P&gt; else.&lt;/P&gt;&lt;P&gt;E_NOTIFNO = ex_notifheader-NOTIF_NO.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 10:48:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-notif-create/m-p/4515242#M1067724</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T10:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ALM_NOTIF_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-notif-create/m-p/4515243#M1067725</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;Consider creating the notification with the order -see this wiki link:&lt;/P&gt;&lt;P&gt;&lt;A href="https://wiki.sdn.sap.com/wiki/display/ERPLO/Using" target="test_blank"&gt;https://wiki.sdn.sap.com/wiki/display/ERPLO/Using&lt;/A&gt;&lt;EM&gt;BAPI_ALM_ORDER_MAINTAIN&lt;/EM&gt;method+CREATETONOTIF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Paul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please use [Enterprise Asset Management (EAM)|&lt;A class="jive_macro jive_macro_community" href="https://community.sap.com/" __jive_macro_name="community" modifiedtitle="true" __default_attr="2039"&gt;&lt;/A&gt;; forum for PM/CS specific topics&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 18:55:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-notif-create/m-p/4515243#M1067725</guid>
      <dc:creator>paul_meehan</dc:creator>
      <dc:date>2008-10-01T18:55:45Z</dc:date>
    </item>
  </channel>
</rss>

