<?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 Automatic Work Order Creation during Notification create and change in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-work-order-creation-during-notification-create-and-change/m-p/312930#M4424</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;We have a requirement to create work order automatically during notification create and change on save action of notification based on few checks.&lt;/P&gt;&lt;P&gt;Using BAPI 'BAPI_ALM_ORDER_MAINTAIN' in the BADI NOTIF_EVENT_POST is causing errors as 'Notification &amp;amp; not found' and 'Notification &amp;amp; is locked' when called directly or in update task and not creating the workorder. &lt;/P&gt;&lt;P&gt;1. It is working fine if the BAPI is called in a wrapper FM in back ground task.&lt;/P&gt;&lt;P&gt;2. The other option is to use workflow WS20000317 that has BUS2038 and event CREATED, but this works only for creation of notification and not change mode.&lt;/P&gt;&lt;P&gt;However the challenge with workflow option is that we are not able to issue messages back to the screen like 'Work order &amp;amp; created successfully'. - Any way to handle this ?&lt;/P&gt;&lt;P&gt;For our custom requirement the below standard options do not behave as expected &lt;/P&gt;&lt;P&gt;1. Create button on IW21 T-CODE screen next to the 'Order' field (Third field from top).&lt;/P&gt;&lt;P&gt;2. Menu option Maintenance Notification--&amp;gt; Order --&amp;gt;Create--&amp;gt;In background&lt;/P&gt;&lt;P&gt;Please share your ideas on the same.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Feb 2017 23:17:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2017-02-15T23:17:17Z</dc:date>
    <item>
      <title>Automatic Work Order Creation during Notification create and change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-work-order-creation-during-notification-create-and-change/m-p/312930#M4424</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;We have a requirement to create work order automatically during notification create and change on save action of notification based on few checks.&lt;/P&gt;&lt;P&gt;Using BAPI 'BAPI_ALM_ORDER_MAINTAIN' in the BADI NOTIF_EVENT_POST is causing errors as 'Notification &amp;amp; not found' and 'Notification &amp;amp; is locked' when called directly or in update task and not creating the workorder. &lt;/P&gt;&lt;P&gt;1. It is working fine if the BAPI is called in a wrapper FM in back ground task.&lt;/P&gt;&lt;P&gt;2. The other option is to use workflow WS20000317 that has BUS2038 and event CREATED, but this works only for creation of notification and not change mode.&lt;/P&gt;&lt;P&gt;However the challenge with workflow option is that we are not able to issue messages back to the screen like 'Work order &amp;amp; created successfully'. - Any way to handle this ?&lt;/P&gt;&lt;P&gt;For our custom requirement the below standard options do not behave as expected &lt;/P&gt;&lt;P&gt;1. Create button on IW21 T-CODE screen next to the 'Order' field (Third field from top).&lt;/P&gt;&lt;P&gt;2. Menu option Maintenance Notification--&amp;gt; Order --&amp;gt;Create--&amp;gt;In background&lt;/P&gt;&lt;P&gt;Please share your ideas on the same.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2017 23:17:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-work-order-creation-during-notification-create-and-change/m-p/312930#M4424</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-02-15T23:17:17Z</dc:date>
    </item>
  </channel>
</rss>

