<?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: Why BAPI  BAPI_PR_CREATE the same items? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-bapi-bapi-pr-create-the-same-items/m-p/4251211#M1014783</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hold&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Oct 2008 07:46:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-07T07:46:20Z</dc:date>
    <item>
      <title>Why BAPI  BAPI_PR_CREATE the same items?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-bapi-bapi-pr-create-the-same-items/m-p/4251210#M1014782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;        I Used Bapi u2018BAPI_PR_CREATEu2019 to create PR,now it can work.but I found a problem.when the data are some lines,then I found the created PR in ME53N the item are the same,Why is that so ?below is my sentence.&lt;/P&gt;&lt;P&gt;  LOOP AT IT_UPLOAD.&lt;/P&gt;&lt;P&gt;      G_PRHEADER-PR_TYPE = IT_UPLOAD-BSART.&lt;/P&gt;&lt;P&gt;      G_PRHEADERX-PR_TYPE = 'X'.&lt;/P&gt;&lt;P&gt;    IT_PRITEM-MATERIAL = IT_UPLOAD-MATNR.&lt;/P&gt;&lt;P&gt;    IT_PRITEM-QUANTITY = IT_UPLOAD-MENGE.&lt;/P&gt;&lt;P&gt;    IT_PRITEM-DELIV_DATE = IT_UPLOAD-LFDAT.&lt;/P&gt;&lt;P&gt;    IT_PRITEM-PLANT    = IT_UPLOAD-WERKS.&lt;/P&gt;&lt;P&gt;    IT_PRITEM-PREQ_PRICE = IT_UPLOAD-PREIS.&lt;/P&gt;&lt;P&gt;    APPEND IT_PRITEM.&lt;/P&gt;&lt;P&gt;    IT_PRITEMX-MATERIAL = 'X'.&lt;/P&gt;&lt;P&gt;    IT_PRITEMX-QUANTITY = 'X'.&lt;/P&gt;&lt;P&gt;    IT_PRITEMX-DELIV_DATE = 'X'.&lt;/P&gt;&lt;P&gt;    IT_PRITEMX-PLANT    = 'X'.&lt;/P&gt;&lt;P&gt;    IT_PRITEMX-PREQ_PRICE = 'X'.&lt;/P&gt;&lt;P&gt;    APPEND IT_PRITEMX.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_PR_CREATE' DESTINATION Lrfcdest&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;     PRHEADER                    = G_PRHEADER&lt;/P&gt;&lt;P&gt;     PRHEADERX                   = G_PRHEADERX&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       TESTRUN                     =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     IMPORTING&lt;/P&gt;&lt;P&gt;     NUMBER                      = G_BANFN&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       PRHEADEREXP                 =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      RETURN                      = IT_RETURN&lt;/P&gt;&lt;P&gt;      PRITEM                      = IT_PRITEM&lt;/P&gt;&lt;P&gt;      PRITEMX                     = IT_PRITEMX&lt;/P&gt;&lt;P&gt;           .&lt;/P&gt;&lt;P&gt;Please Help me?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2008 08:07:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-bapi-bapi-pr-create-the-same-items/m-p/4251210#M1014782</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-07T08:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Why BAPI  BAPI_PR_CREATE the same items?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-bapi-bapi-pr-create-the-same-items/m-p/4251211#M1014783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hold&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 07:46:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-bapi-bapi-pr-create-the-same-items/m-p/4251211#M1014783</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-07T07:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Why BAPI  BAPI_PR_CREATE the same items?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-bapi-bapi-pr-create-the-same-items/m-p/4251212#M1014784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I have exactly the same problem. If you have found a solution please tell. I would appreciate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 14:04:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-bapi-bapi-pr-create-the-same-items/m-p/4251212#M1014784</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-24T14:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Why BAPI  BAPI_PR_CREATE the same items?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-bapi-bapi-pr-create-the-same-items/m-p/4251213#M1014785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did  you find the answer?  Can you post it ?  I have same problem with this BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Grace&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2009 18:17:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-bapi-bapi-pr-create-the-same-items/m-p/4251213#M1014785</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-09T18:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: Why BAPI  BAPI_PR_CREATE the same items?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-bapi-bapi-pr-create-the-same-items/m-p/4251214#M1014786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did  you find the answer?  Can you post it ?  I have same problem with this BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Grace&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2009 18:17:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-bapi-bapi-pr-create-the-same-items/m-p/4251214#M1014786</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-09T18:17:36Z</dc:date>
    </item>
  </channel>
</rss>

