<?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: Create Service Notification. Help, please!!! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-service-notification-help-please/m-p/1549758#M249481</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works, how stupid of me!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Aug 2006 14:36:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-10T14:36:08Z</dc:date>
    <item>
      <title>Create Service Notification. Help, please!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-service-notification-help-please/m-p/1549753#M249476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having problem when trying to call the BAPI : BAPI_SERV_NOT_SAVE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First called function 'BAPI_SERVNOT_CREATE' which returned notification number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after that I know to call BAPI:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_SERVNOT_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            = external_number&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       notif_type                 = notif_type&lt;/P&gt;&lt;P&gt;       notifheader                = notifheader&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   TASK_DETERMINATION           = TASK_DETERMINATION&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      sender                    = sender&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      orderid                   = orderid&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     IMPORTING&lt;/P&gt;&lt;P&gt;       notifheader_export         = notifheader_export&lt;/P&gt;&lt;P&gt;     TABLES&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   NOTITEM                      = NOTITEM&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   NOTIFCAUS                    = NOTIFCAUS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   NOTIFACTV                    = NOTIFACTV&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   NOTIFTASK                    = NOTIFTASK&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     notifpartnr                  = notifpartnr&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   LONGTEXTS                    = LONGTEXTS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   KEY_RELATIONSHIPS            = KEY_RELATIONSHIPS&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       return                     = return.&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    IF notifheader_export-notif_no NOT IS INITIAL.&lt;/P&gt;&lt;P&gt;      MOVE notifheader_export-notif_no TO number.&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'BAPI_SERVNOT_SAVE'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          number      = number&lt;/P&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;          notifheader = notifheader&lt;/P&gt;&lt;P&gt;        TABLES&lt;/P&gt;&lt;P&gt;          return      = return.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the returned notifheader doesn't contain any number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also after called BAPI_TRANACTION_COMMIT, the notification isn't saved at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would anyone please help.&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;Alexander&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2006 13:42:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-service-notification-help-please/m-p/1549753#M249476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-10T13:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Create Service Notification. Help, please!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-service-notification-help-please/m-p/1549754#M249477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have external number range for service notification.check out with your Functional consultant.&lt;/P&gt;&lt;P&gt;If that is the case specify the value with the external number parameter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2006 13:59:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-service-notification-help-please/m-p/1549754#M249477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-10T13:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: Create Service Notification. Help, please!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-service-notification-help-please/m-p/1549755#M249478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the call to function 'BAPI_SERVNOT_CREATE' read the contents of the table RETURN. If it does not have a entry with key = E then call the subsequent BAPI's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the code below after the call to function 'BAPI_SERVNOT_CREATE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE return WITH KEY type = 'E'.&lt;/P&gt;&lt;P&gt;IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;*Write the error &lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_SERVNOT_SAVE'&lt;/P&gt;&lt;P&gt;READ TABLE return WITH KEY type = 'E'.&lt;/P&gt;&lt;P&gt;IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;*Write the error &lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;CALL 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Kiran&lt;/P&gt;&lt;P&gt;*Please mark useful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2006 13:59:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-service-notification-help-please/m-p/1549755#M249478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-10T13:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Create Service Notification. Help, please!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-service-notification-help-please/m-p/1549756#M249479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after the call BAPI_SERVNOT_CREATE the return table is empty, so first function doens't contain any errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tries in SE37 BAPI_SERVNOT_SAVE with notification number returned from BAPI_SERVNOT_CREATE. Returntable is empty, but result gives table with message 000 in it. and notifheader doesn't contain any number...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I getting frustrated..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2006 14:24:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-service-notification-help-please/m-p/1549756#M249479</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-10T14:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Create Service Notification. Help, please!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-service-notification-help-please/m-p/1549757#M249480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to check the export paramter NOTIFHEADER_EXPORT and not the import parameter NOTIFHEADER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2006 14:30:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-service-notification-help-please/m-p/1549757#M249480</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-10T14:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Create Service Notification. Help, please!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-service-notification-help-please/m-p/1549758#M249481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works, how stupid of me!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2006 14:36:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-service-notification-help-please/m-p/1549758#M249481</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-10T14:36:08Z</dc:date>
    </item>
  </channel>
</rss>

