<?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 needed for Notification &amp; Work order in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-needed-for-notification-work-order/m-p/2822297#M660199</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;u have to call the following three bapis in sequence to create the notification:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'BAPI_ALM_NOTIF_CREATE'&lt;/P&gt;&lt;P&gt;'BAPI_ALM_NOTIF_SAVE'&lt;/P&gt;&lt;P&gt;'bapi_transaction_commit'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;List of all BAPIs&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.planetsap.com/LIST_ALL_BAPIs.htm" target="test_blank"&gt;http://www.planetsap.com/LIST_ALL_BAPIs.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Reward If Helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Oct 2007 09:03:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-04T09:03:52Z</dc:date>
    <item>
      <title>BAPI needed for Notification &amp; Work order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-needed-for-notification-work-order/m-p/2822296#M660198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one suggest a BAPI  for the creation of Notification and work order .I have a requirement  in which with transaction IW21 I have to create a nottification and also a wrok order related to that notification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest some bapi if any one has worked on this scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2007 09:01:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-needed-for-notification-work-order/m-p/2822296#M660198</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2007-10-04T09:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI needed for Notification &amp; Work order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-needed-for-notification-work-order/m-p/2822297#M660199</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;u have to call the following three bapis in sequence to create the notification:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'BAPI_ALM_NOTIF_CREATE'&lt;/P&gt;&lt;P&gt;'BAPI_ALM_NOTIF_SAVE'&lt;/P&gt;&lt;P&gt;'bapi_transaction_commit'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;List of all BAPIs&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.planetsap.com/LIST_ALL_BAPIs.htm" target="test_blank"&gt;http://www.planetsap.com/LIST_ALL_BAPIs.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Reward If Helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2007 09:03:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-needed-for-notification-work-order/m-p/2822297#M660199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-04T09:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI needed for Notification &amp; Work order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-needed-for-notification-work-order/m-p/2822298#M660200</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;You might try out his for notification:&lt;/P&gt;&lt;P&gt;BAPI_SERVICENOTIFICAT_CREATE   Create service notification&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using BDC, instead of BAPI, it was much easier to make work...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For work order, above or equals to SAP version 4.7:&lt;/P&gt;&lt;P&gt;BAPI_ALM_ORDER_MAINTAIN        Process Maintenance-/Service Order&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For lower version go for BDC...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2007 09:06:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-needed-for-notification-work-order/m-p/2822298#M660200</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-04T09:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI needed for Notification &amp; Work order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-needed-for-notification-work-order/m-p/2822299#M660201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;\you can use this bapi&lt;/P&gt;&lt;P&gt;i guess it will work&lt;/P&gt;&lt;P&gt;BAPI_ALM_ORDER_MAINTAIN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpful&lt;/P&gt;&lt;P&gt;vivekanand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2007 09:08:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-needed-for-notification-work-order/m-p/2822299#M660201</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-04T09:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI needed for Notification &amp; Work order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-needed-for-notification-work-order/m-p/2822300#M660202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pls go through this code ...&lt;/P&gt;&lt;P&gt;i hope this would be helpful &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: lt_objk TYPE TABLE OF objk WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;      lt_vbad TYPE TABLE OF sadrvb WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;      lt_vbpa TYPE TABLE OF vbpavb WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;      lt_tpaer TYPE TABLE OF tpaer WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      lv_objnr             TYPE jest-objnr,&lt;/P&gt;&lt;P&gt;      lv_stsma             TYPE jsto-stsma,&lt;/P&gt;&lt;P&gt;      lv_statnum           TYPE jest-stat,&lt;/P&gt;&lt;P&gt;      lt_status            TYPE TABLE OF jstat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      ls_vbak LIKE vbak,&lt;/P&gt;&lt;P&gt;      ls_vbkd LIKE vbkd,&lt;/P&gt;&lt;P&gt;      ls_tq80 LIKE tq80,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      ls_qmei LIKE bapi2080_nothdri,&lt;/P&gt;&lt;P&gt;      ls_qmee LIKE bapi2080_nothdre,&lt;/P&gt;&lt;P&gt;      lt_ret  TYPE TABLE OF bapiret2 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONSTANTS: c_qmart LIKE qmel-qmart VALUE 'ZC'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: pa_kdanr LIKE vbak-vbeln OBLIGATORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Informationen zur Meldungsart bereitstellen&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM  tq80 INTO ls_tq80&lt;/P&gt;&lt;P&gt;       WHERE  qmart  = c_qmart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM tpaer INTO TABLE lt_tpaer&lt;/P&gt;&lt;P&gt;         WHERE pargr EQ ls_tq80-pargr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Auftragskopf&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL FUNCTION 'SD_VBAK_SINGLE_READ'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    i_vbeln                  = pa_kdanr&lt;/P&gt;&lt;P&gt;    i_bypassing_buffer       = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_REFRESH_BUFFER         =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    e_vbak                   = ls_vbak&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    record_not_found         = 1&lt;/P&gt;&lt;P&gt;    OTHERS                   = 2.&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;  MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Bestellinformationen&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL FUNCTION 'SD_VBKD_SELECT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    i_document_number       = pa_kdanr&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_ITEM_NUMBER           =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    e_vbkd                  = ls_vbkd&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   entry_not_found         = 1&lt;/P&gt;&lt;P&gt;   OTHERS                  = 2&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; message id sy-msgid type sy-msgty number sy-msgno&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Partner&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL FUNCTION 'SD_PARTNER_READ'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    f_vbeln          = pa_kdanr&lt;/P&gt;&lt;P&gt;    no_master_adress = 'X'&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    i_xvbadr         = lt_vbad&lt;/P&gt;&lt;P&gt;    i_xvbpa          = lt_vbpa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Equipment&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL FUNCTION 'IWOL_WV_GET_DDB'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    i_sdaufnr      = pa_kdanr&lt;/P&gt;&lt;P&gt;    i_aktyp        = 'A'&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    i_objk         = lt_objk&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    no_object_list = 1&lt;/P&gt;&lt;P&gt;    OTHERS         = 2.&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;  MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE lt_objk INDEX 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Vorbereitung für Status-Aktionen&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM status_handle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'STATUS_CHECK'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    objnr             = lv_objnr&lt;/P&gt;&lt;P&gt;    status            = lv_statnum&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    object_not_found  = 1&lt;/P&gt;&lt;P&gt;    status_not_active = 2&lt;/P&gt;&lt;P&gt;    OTHERS            = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc EQ 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MOVE: ls_vbkd-bstkd    TO ls_qmei-purch_no_c,&lt;/P&gt;&lt;P&gt;        lt_objk-equnr    TO ls_qmei-equipment,&lt;/P&gt;&lt;P&gt;        ls_vbak-vdatu    TO ls_qmei-desstdate,&lt;/P&gt;&lt;P&gt;        ls_vbak-vdatu    TO ls_qmei-desenddate,&lt;/P&gt;&lt;P&gt;        text-001         TO ls_qmei-short_text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_ALM_NOTIF_CREATE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  EXTERNAL_NUMBER          =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      notif_type               = c_qmart&lt;/P&gt;&lt;P&gt;      notifheader              = ls_qmei&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       = ls_qmee&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NOTIFPARTNR              =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      return                   = lt_ret.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_ALM_NOTIF_SAVE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      number            = ls_qmee-notif_no&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NOTIFHEADER       =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      return                   = lt_ret.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF lt_ret[] IS INITIAL.&lt;/P&gt;&lt;P&gt;    IF NOT lv_statnum IS INITIAL.&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'STATUS_CHANGE_EXTERN'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          objnr       = lv_objnr&lt;/P&gt;&lt;P&gt;          user_status = lv_statnum.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        wait   = 'X'&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        return = lt_ret.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        return = lt_ret.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;  WRITE: / 'Not possible --&amp;gt; STATUS'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  status_handle&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;FORM status_handle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONCATENATE 'IE' lt_objk-equnr INTO lv_objnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'STATUS_READ'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      objnr            = lv_objnr&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      stsma            = lv_stsma&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      object_not_found = 1&lt;/P&gt;&lt;P&gt;      OTHERS           = 2.&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CHECK NOT lv_stsma IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Statusnummer des neuen Status ermitteln&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'STATUS_TEXT_CONVERSION'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      language           = 'D'&lt;/P&gt;&lt;P&gt;      mode               = 'E'&lt;/P&gt;&lt;P&gt;      stsma              = lv_stsma&lt;/P&gt;&lt;P&gt;      txt04              = 'US1 '&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      status_number      = lv_statnum&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      insufficient_input = 1&lt;/P&gt;&lt;P&gt;      not_found          = 2&lt;/P&gt;&lt;P&gt;      object_not_found   = 3&lt;/P&gt;&lt;P&gt;      wrong_mode         = 4&lt;/P&gt;&lt;P&gt;      OTHERS             = 5.&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    "status_handle&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if help ful...........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2007 09:16:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-needed-for-notification-work-order/m-p/2822300#M660202</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-04T09:16:00Z</dc:date>
    </item>
  </channel>
</rss>

