<?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: I have problem BAPI_SERVNOT_CREATE  test is in  background in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/i-have-problem-bapi-servnot-create-test-is-in-background/m-p/2623875#M602760</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;Can you paste your code.&lt;/P&gt;&lt;P&gt;If you are using COMMIT WORK then just increase the waiting time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jul 2007 23:28:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-26T23:28:27Z</dc:date>
    <item>
      <title>I have problem BAPI_SERVNOT_CREATE  test is in  background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/i-have-problem-bapi-servnot-create-test-is-in-background/m-p/2623874#M602759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Friends , I have problem :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I `m using the BAPI_SERVNOT_CREATE , the issue is that  when I run a test on-line it works fine, creating a service notification with all the fields , but when the  test is in  background the function create the service notification incomplete , the values for short text, description and some others dissapears&lt;/P&gt;&lt;P&gt;Someone can help me in order to find a solution for this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 23:19:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/i-have-problem-bapi-servnot-create-test-is-in-background/m-p/2623874#M602759</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-26T23:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: I have problem BAPI_SERVNOT_CREATE  test is in  background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/i-have-problem-bapi-servnot-create-test-is-in-background/m-p/2623875#M602760</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;Can you paste your code.&lt;/P&gt;&lt;P&gt;If you are using COMMIT WORK then just increase the waiting time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 23:28:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/i-have-problem-bapi-servnot-create-test-is-in-background/m-p/2623875#M602760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-26T23:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: I have problem BAPI_SERVNOT_CREATE  test is in  background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/i-have-problem-bapi-servnot-create-test-is-in-background/m-p/2623876#M602761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Atish:   this is my code   thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ztest5  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;      wa_eger                  LIKE v_eger,&lt;/P&gt;&lt;P&gt;      wa_notifpartnr          LIKE bapi2080_notpartnri,&lt;/P&gt;&lt;P&gt;      wa_return                LIKE bapiret2,&lt;/P&gt;&lt;P&gt;      ls_number               LIKE bapi2080_nothdre-notif_no,&lt;/P&gt;&lt;P&gt;      ls_notifheader2        LIKE bapi2080_nothdre,&lt;/P&gt;&lt;P&gt;      ls_notif_type            LIKE bapi2080-notif_type VALUE 'SC',&lt;/P&gt;&lt;P&gt;      ls_notifheader_export  LIKE bapi2080_nothdre,&lt;/P&gt;&lt;P&gt;      v_gpart                      LIKE fkkvkp-gpart VALUE '6000023039'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: lt_notifpartnr        LIKE STANDARD TABLE OF bapi2080_notpartnri,&lt;/P&gt;&lt;P&gt;      lt_notitem                LIKE STANDARD TABLE OF bapi2080_notitemi,&lt;/P&gt;&lt;P&gt;      lt_notifcaus              LIKE STANDARD TABLE OF bapi2080_notcausi,&lt;/P&gt;&lt;P&gt;      lt_notifactv               LIKE STANDARD TABLE OF bapi2080_notactvi,&lt;/P&gt;&lt;P&gt;      lt_key_relationships  LIKE STANDARD TABLE OF bapi2080_notkeye,&lt;/P&gt;&lt;P&gt;      lt_return                   LIKE STANDARD TABLE OF bapiret2,&lt;/P&gt;&lt;P&gt;      lt_return2                 LIKE STANDARD TABLE OF bapiret2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA BEGIN OF lt_notifheader OCCURS 0.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE bapi2080_nothdri.&lt;/P&gt;&lt;P&gt;DATA END OF lt_notifheader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA BEGIN OF lt_notiftask OCCURS 0.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE bapi2080_nottaski.&lt;/P&gt;&lt;P&gt;DATA END OF lt_notiftask.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA BEGIN OF lt_longtexts OCCURS 0.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE bapi2080_notfulltxti.&lt;/P&gt;&lt;P&gt;DATA END OF lt_longtexts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA BEGIN OF lt_return3 OCCURS 0.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE bapiret2.&lt;/P&gt;&lt;P&gt;DATA END OF lt_return3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONSTANTS: c_codegroup LIKE lt_notifheader-code_group VALUE 'COBROS',&lt;/P&gt;&lt;P&gt;           c_coding    LIKE lt_notifheader-coding     VALUE '0001'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_eger-equnr = '000000009000020050'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lt_notifheader-refobjecttype = 'BUS2080'.&lt;/P&gt;&lt;P&gt;lt_notifheader-equipment     =  wa_eger-equnr.&lt;/P&gt;&lt;P&gt;lt_notifheader-short_text    =  'TEST'.&lt;/P&gt;&lt;P&gt;lt_notifheader-priority      =  '2'.&lt;/P&gt;&lt;P&gt;lt_notifheader-code_group    =  c_codegroup.&lt;/P&gt;&lt;P&gt;lt_notifheader-coding        =  c_coding.&lt;/P&gt;&lt;P&gt;APPEND lt_notifheader.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;wa_notifpartnr-partn_role    =  'AG'.&lt;/P&gt;&lt;P&gt;wa_notifpartnr-partner       =  v_gpart.&lt;/P&gt;&lt;P&gt;APPEND wa_notifpartnr TO lt_notifpartnr.&lt;/P&gt;&lt;P&gt;CLEAR wa_notifpartnr.&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;P&gt;    notif_type         = ls_notif_type&lt;/P&gt;&lt;P&gt;    notifheader        = lt_notifheader&lt;/P&gt;&lt;P&gt;    task_determination = ' '&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    notifheader_export = ls_notifheader_export&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    notitem            = lt_notitem&lt;/P&gt;&lt;P&gt;    notifcaus          = lt_notifcaus&lt;/P&gt;&lt;P&gt;    notifactv          = lt_notifactv&lt;/P&gt;&lt;P&gt;    notiftask          = lt_notiftask&lt;/P&gt;&lt;P&gt;    notifpartnr        = lt_notifpartnr&lt;/P&gt;&lt;P&gt;    longtexts          = lt_longtexts&lt;/P&gt;&lt;P&gt;    key_relationships  = lt_key_relationships&lt;/P&gt;&lt;P&gt;    return             = lt_return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT lt_return IS INITIAL.&lt;/P&gt;&lt;P&gt;  READ TABLE lt_return INTO wa_return INDEX 1.&lt;/P&gt;&lt;P&gt;  MESSAGE e899(mm) WITH text-004 wa_return-message.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&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      = ls_number&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    notifheader = ls_notifheader2&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    return      = lt_return2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT lt_return2 IS INITIAL.&lt;/P&gt;&lt;P&gt;  READ TABLE lt_return2 INTO wa_return INDEX 1.&lt;/P&gt;&lt;P&gt;  MESSAGE e899(mm) WITH text-004 wa_return-message.&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_return3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE : ls_notifheader_export-notif_no.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2007 14:17:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/i-have-problem-bapi-servnot-create-test-is-in-background/m-p/2623876#M602761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-27T14:17:29Z</dc:date>
    </item>
  </channel>
</rss>

