<?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_PR_CHANGE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change/m-p/8237004#M1629678</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;Im new in SAP ABAP Development.&lt;/P&gt;&lt;P&gt;Recently I've been assigned to enhance some BAPIs for customer&lt;/P&gt;&lt;P&gt;Im working for BAPI_PR_CREATE and BAPI_PR_CHANGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im using ECC6 with latest updates. Which means both BAPIs that I mentioned above already enhanced with service line items, service limits and service line account assignments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below are the sample of BAPI_PR_CHANGE pattern.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'BAPI_PR_CHANGE'
  EXPORTING
    number                       =
*   PRHEADER                     =
*   PRHEADERX                    =
*   TESTRUN                      =
* IMPORTING
*   PRHEADEREXP                  =
* TABLES
*   RETURN                       =
*   PRITEM                       =
*   PRITEMX                      =
*   PRITEMEXP                    =
*   PRITEMSOURCE                 =
*   PRACCOUNT                    =
*   PRACCOUNTPROITSEGMENT        =
*   PRACCOUNTX                   =
*   PRADDRDELIVERY               =
*   PRITEMTEXT                   =
*   PRHEADERTEXT                 =
*   EXTENSIONIN                  =
*   EXTENSIONOUT                 =
*   PRVERSION                    =
*   PRVERSIONX                   =
*   ALLVERSIONS                  =
*   PRCOMPONENTS                 =
*   PRCOMPONENTSX                =
*   SERVICEOUTLINE               =
*   SERVICEOUTLINEX              =
*   SERVICELINES                 =
*   SERVICELINESX                =
*   SERVICELIMIT                 =
*   SERVICELIMITX                =
*   SERVICECONTRACTLIMITS        =
*   SERVICECONTRACTLIMITSX       =
*   SERVICEACCOUNT               =
*   SERVICEACCOUNTX              =
*   SERVICELONGTEXTS             =
*   SERIALNUMBER                 =
*   SERIALNUMBERX                =
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im testing the BAPI_PR_CREATE by running the bapi test sequence via T-CODE SE37 and used the BAPI_TRANSACTION_COMMIT as well. &lt;/P&gt;&lt;P&gt;I managed to change the value of PRITEM in the EBAN table.&lt;/P&gt;&lt;P&gt;But I encountered some problems when I want to change the service line table which is 'SERVICELINES' in the above BAPI. After testing the BAPI, I checked the PR via TCODE ME53N, the service line havent affected at all but the BAPI's successfully run without any error. &lt;/P&gt;&lt;P&gt;I have no problem to change the SERVICELIMIT tables. I've tried to debug but still doesnt find any solution.&lt;/P&gt;&lt;P&gt;Has anyone encounter this problem before?&lt;/P&gt;&lt;P&gt;Appreciate any info and helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Sep 2011 10:10:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-09-30T10:10:51Z</dc:date>
    <item>
      <title>BAPI_PR_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change/m-p/8237004#M1629678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;Im new in SAP ABAP Development.&lt;/P&gt;&lt;P&gt;Recently I've been assigned to enhance some BAPIs for customer&lt;/P&gt;&lt;P&gt;Im working for BAPI_PR_CREATE and BAPI_PR_CHANGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im using ECC6 with latest updates. Which means both BAPIs that I mentioned above already enhanced with service line items, service limits and service line account assignments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below are the sample of BAPI_PR_CHANGE pattern.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'BAPI_PR_CHANGE'
  EXPORTING
    number                       =
*   PRHEADER                     =
*   PRHEADERX                    =
*   TESTRUN                      =
* IMPORTING
*   PRHEADEREXP                  =
* TABLES
*   RETURN                       =
*   PRITEM                       =
*   PRITEMX                      =
*   PRITEMEXP                    =
*   PRITEMSOURCE                 =
*   PRACCOUNT                    =
*   PRACCOUNTPROITSEGMENT        =
*   PRACCOUNTX                   =
*   PRADDRDELIVERY               =
*   PRITEMTEXT                   =
*   PRHEADERTEXT                 =
*   EXTENSIONIN                  =
*   EXTENSIONOUT                 =
*   PRVERSION                    =
*   PRVERSIONX                   =
*   ALLVERSIONS                  =
*   PRCOMPONENTS                 =
*   PRCOMPONENTSX                =
*   SERVICEOUTLINE               =
*   SERVICEOUTLINEX              =
*   SERVICELINES                 =
*   SERVICELINESX                =
*   SERVICELIMIT                 =
*   SERVICELIMITX                =
*   SERVICECONTRACTLIMITS        =
*   SERVICECONTRACTLIMITSX       =
*   SERVICEACCOUNT               =
*   SERVICEACCOUNTX              =
*   SERVICELONGTEXTS             =
*   SERIALNUMBER                 =
*   SERIALNUMBERX                =
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im testing the BAPI_PR_CREATE by running the bapi test sequence via T-CODE SE37 and used the BAPI_TRANSACTION_COMMIT as well. &lt;/P&gt;&lt;P&gt;I managed to change the value of PRITEM in the EBAN table.&lt;/P&gt;&lt;P&gt;But I encountered some problems when I want to change the service line table which is 'SERVICELINES' in the above BAPI. After testing the BAPI, I checked the PR via TCODE ME53N, the service line havent affected at all but the BAPI's successfully run without any error. &lt;/P&gt;&lt;P&gt;I have no problem to change the SERVICELIMIT tables. I've tried to debug but still doesnt find any solution.&lt;/P&gt;&lt;P&gt;Has anyone encounter this problem before?&lt;/P&gt;&lt;P&gt;Appreciate any info and helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2011 10:10:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change/m-p/8237004#M1629678</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-30T10:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PR_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change/m-p/8237005#M1629679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Songo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Welcome to scn.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;But I encountered some problems when I want to change the service line table which is 'SERVICELINES' in the above BAPI&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Did you check with indicators like I,U.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2011 10:43:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change/m-p/8237005#M1629679</guid>
      <dc:creator>madhu_vadlamani</dc:creator>
      <dc:date>2011-09-30T10:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PR_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change/m-p/8237006#M1629680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi madhurao&lt;/P&gt;&lt;P&gt;thanks for your reply.&lt;/P&gt;&lt;P&gt;If you dont mind, can you please elaborate what is the I,U indicator? Im sorry for such question, Im totally fresh in ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Songo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2011 10:48:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change/m-p/8237006#M1629680</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-30T10:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PR_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change/m-p/8237007#M1629681</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;These are the indicators will affect like create ,delete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following entries are available:&lt;/P&gt;&lt;P&gt;' ':   Create a new document item&lt;/P&gt;&lt;P&gt;I:     Create a new  document item&lt;/P&gt;&lt;P&gt;U:     Change an existing document item&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt;     Delete an existing document item&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you passing data in both tables .  SERVICELINES , SERVICELINESX .&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: madhurao123 on Sep 30, 2011 4:27 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2011 10:56:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change/m-p/8237007#M1629681</guid>
      <dc:creator>madhu_vadlamani</dc:creator>
      <dc:date>2011-09-30T10:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PR_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change/m-p/8237008#M1629682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi madhurao&lt;/P&gt;&lt;P&gt;Currently im using TCODE SE37 to test the BAPI_PR_CREATE&lt;/P&gt;&lt;P&gt;Im not sure where can I find those indicator.&lt;/P&gt;&lt;P&gt;and Yes, im passing data in both tables . SERVICELINES , SERVICELINESX.&lt;/P&gt;&lt;P&gt;I have done the same thing for SERVICELIMIT  and SERVICELIMITX. It was successfully update when i check in the ME53N.&lt;/P&gt;&lt;P&gt;The only problem is the SERVICELINES. It cannot change any value in the service tab in ME53N.&lt;/P&gt;&lt;P&gt;Have u encountered this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Songo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2011 11:04:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change/m-p/8237008#M1629682</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-30T11:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PR_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change/m-p/8237009#M1629683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Songo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using ecc  and in my system there is no SERVICELINES in table parameter. You just check the long message in SERVICELINESX.Here you can use that indicators what ever you want to change in that table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2011 11:15:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change/m-p/8237009#M1629683</guid>
      <dc:creator>madhu_vadlamani</dc:creator>
      <dc:date>2011-09-30T11:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PR_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change/m-p/8237010#M1629684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Below are the long text for the SERVICELINESX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; Description&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Change parameter for Enjoy purchase order change - item data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    You can use this change parameter (for example, PrItemX) in the&lt;/P&gt;&lt;P&gt;     following ways:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     1.  Initialization of fields&lt;/P&gt;&lt;P&gt;        This can be achieved by leaving the field in the data structure&lt;/P&gt;&lt;P&gt;        initial and populating the corresponding field of the change&lt;/P&gt;&lt;P&gt;         parameter with an X.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     2.  Insertion of values via the interface&lt;/P&gt;&lt;P&gt;         This can be achieved if the fields in both the data structure and&lt;/P&gt;&lt;P&gt;         the corresponding change parameter are not initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     3.   Adoption of default values (for example, from Customizing or the&lt;/P&gt;&lt;P&gt;         master data)&lt;/P&gt;&lt;P&gt;         This can be achieved if both the fields from both the data structure&lt;/P&gt;&lt;P&gt;         and the change structure are initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Value range&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     This is only an import parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only 'X' parameter are accepted in the SERVICELINEX and its indicate the item that we want to change right?&lt;/P&gt;&lt;P&gt;I have double checked the entries and its tele with the SERVICELINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;im not sure whats the problem with this SERVICELINE table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2011 11:26:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change/m-p/8237010#M1629684</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-30T11:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PR_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change/m-p/8237011#M1629685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Songo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check these notes :499627,1312947 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2011 11:32:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change/m-p/8237011#M1629685</guid>
      <dc:creator>madhu_vadlamani</dc:creator>
      <dc:date>2011-09-30T11:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PR_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change/m-p/8237012#M1629686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Songo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Oct 2011 01:55:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change/m-p/8237012#M1629686</guid>
      <dc:creator>madhu_vadlamani</dc:creator>
      <dc:date>2011-10-01T01:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PR_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change/m-p/8237013#M1629687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've found a thread discussing this matter&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1777900"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Im still searching on how to solve this matter.&lt;/P&gt;&lt;P&gt;but thanks alot for your info and help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently your BAPI_PR_CHANGE doesn't have the SERVICELINES table right?&lt;/P&gt;&lt;P&gt;Do you have any customize solution on how can I create and change the PR with the servicelines?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: songoten86 on Oct 3, 2011 6:06 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2011 03:54:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change/m-p/8237013#M1629687</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-03T03:54:11Z</dc:date>
    </item>
  </channel>
</rss>

