<?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 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/3738481#M899776</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using BAPI_ALM_NOTIF_CREATE for notification; I filled the NOTIFPARTNER with following values &lt;/P&gt;&lt;P&gt;notifpartnr-partn_role = 'AG'.&lt;/P&gt;&lt;P&gt;Notifpartnr-partner    = 60805723.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on the configuration the system first calculates its own value for partner for type AG based on functional location. I want to be overwritten by the partner number passed from BAPI, but the following message appears&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E    IX   011 Partner function SP can only be used once  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While doing the same from standard transaction it overwrites . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I could not find any BADI or exit to play with partner functions, please let me know if there are any&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;chetanya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Apr 2008 09:56:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-24T09:56:59Z</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/3738481#M899776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using BAPI_ALM_NOTIF_CREATE for notification; I filled the NOTIFPARTNER with following values &lt;/P&gt;&lt;P&gt;notifpartnr-partn_role = 'AG'.&lt;/P&gt;&lt;P&gt;Notifpartnr-partner    = 60805723.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on the configuration the system first calculates its own value for partner for type AG based on functional location. I want to be overwritten by the partner number passed from BAPI, but the following message appears&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E    IX   011 Partner function SP can only be used once  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While doing the same from standard transaction it overwrites . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I could not find any BADI or exit to play with partner functions, please let me know if there are any&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;chetanya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 09:56:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-notif-create/m-p/3738481#M899776</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T09:56:59Z</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/3738482#M899777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey there!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had faced the same problem and then I used the BAPI &lt;/P&gt;&lt;P&gt;BAPI_SERVNOT_CREATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here pass the same data that you have with you. Also, before passing the BP, use Alpha Conversion_Exit to get the BP in proper format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do let me know if this helped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pranjal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 10:04:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-notif-create/m-p/3738482#M899777</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T10:04:48Z</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/3738483#M899778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;no it did not worked, i used the following code&lt;/P&gt;&lt;P&gt; notifpartnr-partn_role = 'BP'.&lt;/P&gt;&lt;P&gt;  notifpartnr-partner = partner.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL UNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      input  = notifpartnr-partner&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      output = notifpartnr-partner.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  APPEND notifpartnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also i am not sure what you are asking to pass BP as a value for partner role, i want it to be sold to party so the value will be AG i think&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 10:26:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-notif-create/m-p/3738483#M899778</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T10:26:53Z</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/3738484#M899779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here chk my code : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data :       t_bapi2080_notpartnri  TYPE STANDARD TABLE OF bapi2080_notpartnri WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    t_bapi2080_notpartnri-partn_role = 'AG'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        input  = wa_final1-partner&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        output = t_bapi2080_notpartnri-partner.&lt;/P&gt;&lt;P&gt;    APPEND t_bapi2080_notpartnri TO t_bapi2080_notpartnri.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      wa_bapi2080_nothdri-code_group = 'NEW/CONN'.&lt;/P&gt;&lt;P&gt;      wa_bapi2080_nothdri-coding     = wa_iflot-zz_vendor. "WA_IFLOT-ZZVAPLZ.&lt;/P&gt;&lt;P&gt;    wa_bapi2080_nothdri-funct_loc  = wa_final1-zz_haus.&lt;/P&gt;&lt;P&gt;    wa_bapi2080_nothdri-desenddate =  l_date.&lt;/P&gt;&lt;P&gt;    wa_bapi2080_nothdri-short_text = 'New Connection'.&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;P&gt;        notif_type         = 'S1'&lt;/P&gt;&lt;P&gt;        notifheader        = wa_bapi2080_nothdri&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        notifheader_export = wa_bapi2080_nothdre&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        notiftask          = t_notiftask&lt;/P&gt;&lt;P&gt;        notifpartnr        = t_bapi2080_notpartnri&lt;/P&gt;&lt;P&gt;        return             = t_bapiret2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 11:01:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-notif-create/m-p/3738484#M899779</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T11:01:38Z</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/3738485#M899780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Many thanks for code, I am exactly doing the same, but I think there are two differences worth mentioning&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Difference one: I am passing the partner number as well in notifpartnr-partner = partner externally but that is not much difference as partner is required&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Difference two: There is already existing configuration in our system &amp;#150; based on functional location value it proposes the &amp;#147;sold to party&amp;#148;, I think this is the concern, so what is happening via bapi is that - first the existing configuration gets triggered and it proposes a SOLD to Party&amp;#148; for it based on functional location, then it checks the BAPI structure and sees there is a value of type Sold to party coming again so it gives a message that two SOLD to party&amp;#148; cannot be maintained, ideally it should modify the partner number coming from the BAPI to the one calculated from config, which it does not via BAPI but it does via IW51&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If for functional location for which there is no configuration to get sold to party, BAPI works fine, as in such cases it only finds one partner of type &amp;#147;AG&amp;#148;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This concept works fine from standard transaction, suppose u put functional location press enter, because of config the value gets filled in SOLD to PARTY field, but when u change this value to a another the program modifies it rather than saying two &amp;#147;sold to party&amp;#148;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there are any exits or BADI for BAPI_ALM_NOTIF_CREATE or BAPI_SERVNOT_CREATE that could help me where I can delete manually the sold to party proposed by configuration, then there will be only one partner AG coming from BAPI &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fill values- Notification Header&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  notifheader-funct_loc    = func_loc.&lt;/P&gt;&lt;P&gt;  notifheader-code_group   = cod_grp.&lt;/P&gt;&lt;P&gt;  notifheader-coding       = coding.&lt;/P&gt;&lt;P&gt;  notifheader-short_text   = shrt_txt.&lt;/P&gt;&lt;P&gt;  notifheader-priority     = priority.&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;Fill values- Partner&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  notifpartnr-partn_role = 'AG'.&lt;/P&gt;&lt;P&gt;  notifpartnr-partner = partner.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      input  = notifpartnr-partner&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      output = notifpartnr-partner.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  APPEND 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         = notif_type&lt;/P&gt;&lt;P&gt;      notifheader        = notifheader&lt;/P&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;P&gt;      notifpartnr        = notifpartnr&lt;/P&gt;&lt;P&gt;      return             = gt_return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 11:30:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-notif-create/m-p/3738485#M899780</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T11:30:08Z</dc:date>
    </item>
  </channel>
</rss>

