<?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: BAPI_PBSRVAPS_GETDETAIL2  Usage in ECC ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pbsrvaps-getdetail2-usage-in-ecc/m-p/9348174#M1731019</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-top: 6.0pt; margin-bottom: 6.0pt; text-align: justify;"&gt;&lt;STRONG&gt;&lt;EM style="font-family: Arial;"&gt;BAPI_PBSRVAPS_GETDETAIL2:&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: Arial;"&gt; Used to read key figure values from one data view for a planning book. The parameters key figure, key figure value and characteristic combination serve as return parameters.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 6.0pt; margin-bottom: 6.0pt; text-align: justify;"&gt;&lt;SPAN style="font-family: Arial;"&gt;The key figure details are contained in Key figure. These entries use the field CharComId to refer to the characteristics combinations in parameter Characteristics Combination for which they are valid. The key figure values for the individual periods of time are contained in parameter Key Figure Value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 6.0pt; margin-bottom: 6.0pt; text-align: justify;"&gt;&lt;SPAN style="font-family: Arial;"&gt;By default, no macros are executed for DP planning books. If, however, to execute macros for the planning book or the data view, the field Macro Execution Flag must be set in parameter read options. In the case of SNP planning books on the other hand, macros are always executed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="l1s521"&gt;CALL&lt;/SPAN&gt; &lt;SPAN class="l1s521"&gt;FUNCTION&lt;/SPAN&gt; &lt;SPAN class="l1s331"&gt;'BAPI_PBSRVAPS_GETDETAIL2'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l1s521"&gt;EXPORTING&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; planningbook&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = planningbook Name&lt;BR /&gt; data_view&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = data view name&lt;BR /&gt; planning_version = planning version&lt;BR /&gt; read_options&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = gs_read_options&lt;BR /&gt; period_type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = ’A’&lt;BR /&gt; date_from&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = date_from&lt;BR /&gt; date_to&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = date_to&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l1s521"&gt;TABLES&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; selection&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = gt_selection&lt;BR /&gt; group_by&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = gt_group_by&lt;BR /&gt; key_figure&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = gt_key_figure&lt;BR /&gt; key_figure_value = gt_key_figure_value&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="l1s521"&gt;return&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = gt_return1.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;There is a new book on Programming in SAP APO. You might want to check that out.&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;A class="jive-link-external-small" href="http://www.flipkart.com/programming-sap-apo-1st/p/itmdgt9hbdh6auzu?pid=9781259028441&amp;amp;ref=bc49ea80-1a9b-403b-b9b7-9cf00d7f05db&amp;amp;srno=s_1&amp;amp;otracker=from-search&amp;amp;query=ankush%20agrawal" style="font-style: inherit; font-family: inherit; color: #3778c7;"&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: Calibri; color: #0062e1; text-decoration: underline;"&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="http://www.flipkart.com/programming-sap-apo-1st/p/itmdgt9hbdh6auzu?pid=9781259028441&amp;amp;ref=bc49ea80-1a9b-403b-b9b7-9cf00d7f05db&amp;amp;srno=s_1&amp;amp;otracker=from-search&amp;amp;query=ankush%20agrawal" target="test_blank"&gt;http://www.flipkart.com/programming-sap-apo-1st/p/itmdgt9hbdh6auzu?pid=9781259028441&amp;amp;ref=bc49ea80-1a9b-403b-b9b7-9cf00d7f05db&amp;amp;srno=s_1&amp;amp;otracker=from-search&amp;amp;query=ankush%20agrawal&lt;/A&gt;&lt;SPAN style="font-style: inherit; font-size: 12pt; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 6.0pt; margin-bottom: 6.0pt; text-align: justify;"&gt;&lt;SPAN style="font-family: Arial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 21 Apr 2013 11:45:57 GMT</pubDate>
    <dc:creator>former_member206523</dc:creator>
    <dc:date>2013-04-21T11:45:57Z</dc:date>
    <item>
      <title>BAPI_PBSRVAPS_GETDETAIL2  Usage in ECC ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pbsrvaps-getdetail2-usage-in-ecc/m-p/9348172#M1731017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement in ABAP to read the planning book data from APO System.and for which i am using BAPI&amp;nbsp; - &lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;BAPI_PBSRVAPS_GETDETAIL2 .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;Can you please provide me some sample code to use BAPI - &lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;BAPI_PBSRVAPS_GETDETAIL2&amp;nbsp; &lt;/SPAN&gt; in ECC System &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;And what all parameters i need to pass as import parameters?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;Or is there any other way i can achieve this functionality ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;Thanks in Advance !!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;Rahul&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 18:18:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pbsrvaps-getdetail2-usage-in-ecc/m-p/9348172#M1731017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-03-22T18:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PBSRVAPS_GETDETAIL2  Usage in ECC ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pbsrvaps-getdetail2-usage-in-ecc/m-p/9348173#M1731018</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 found this post with the parameters of the FM, very clear to understand it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.e-abap.net/?document_srl=23059" title="http://www.e-abap.net/?document_srl=23059"&gt;http://www.e-abap.net/?document_srl=23059&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 18:33:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pbsrvaps-getdetail2-usage-in-ecc/m-p/9348173#M1731018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-03-22T18:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PBSRVAPS_GETDETAIL2  Usage in ECC ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pbsrvaps-getdetail2-usage-in-ecc/m-p/9348174#M1731019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-top: 6.0pt; margin-bottom: 6.0pt; text-align: justify;"&gt;&lt;STRONG&gt;&lt;EM style="font-family: Arial;"&gt;BAPI_PBSRVAPS_GETDETAIL2:&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: Arial;"&gt; Used to read key figure values from one data view for a planning book. The parameters key figure, key figure value and characteristic combination serve as return parameters.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 6.0pt; margin-bottom: 6.0pt; text-align: justify;"&gt;&lt;SPAN style="font-family: Arial;"&gt;The key figure details are contained in Key figure. These entries use the field CharComId to refer to the characteristics combinations in parameter Characteristics Combination for which they are valid. The key figure values for the individual periods of time are contained in parameter Key Figure Value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 6.0pt; margin-bottom: 6.0pt; text-align: justify;"&gt;&lt;SPAN style="font-family: Arial;"&gt;By default, no macros are executed for DP planning books. If, however, to execute macros for the planning book or the data view, the field Macro Execution Flag must be set in parameter read options. In the case of SNP planning books on the other hand, macros are always executed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="l1s521"&gt;CALL&lt;/SPAN&gt; &lt;SPAN class="l1s521"&gt;FUNCTION&lt;/SPAN&gt; &lt;SPAN class="l1s331"&gt;'BAPI_PBSRVAPS_GETDETAIL2'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l1s521"&gt;EXPORTING&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; planningbook&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = planningbook Name&lt;BR /&gt; data_view&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = data view name&lt;BR /&gt; planning_version = planning version&lt;BR /&gt; read_options&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = gs_read_options&lt;BR /&gt; period_type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = ’A’&lt;BR /&gt; date_from&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = date_from&lt;BR /&gt; date_to&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = date_to&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l1s521"&gt;TABLES&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; selection&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = gt_selection&lt;BR /&gt; group_by&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = gt_group_by&lt;BR /&gt; key_figure&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = gt_key_figure&lt;BR /&gt; key_figure_value = gt_key_figure_value&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="l1s521"&gt;return&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = gt_return1.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;There is a new book on Programming in SAP APO. You might want to check that out.&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;A class="jive-link-external-small" href="http://www.flipkart.com/programming-sap-apo-1st/p/itmdgt9hbdh6auzu?pid=9781259028441&amp;amp;ref=bc49ea80-1a9b-403b-b9b7-9cf00d7f05db&amp;amp;srno=s_1&amp;amp;otracker=from-search&amp;amp;query=ankush%20agrawal" style="font-style: inherit; font-family: inherit; color: #3778c7;"&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: Calibri; color: #0062e1; text-decoration: underline;"&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="http://www.flipkart.com/programming-sap-apo-1st/p/itmdgt9hbdh6auzu?pid=9781259028441&amp;amp;ref=bc49ea80-1a9b-403b-b9b7-9cf00d7f05db&amp;amp;srno=s_1&amp;amp;otracker=from-search&amp;amp;query=ankush%20agrawal" target="test_blank"&gt;http://www.flipkart.com/programming-sap-apo-1st/p/itmdgt9hbdh6auzu?pid=9781259028441&amp;amp;ref=bc49ea80-1a9b-403b-b9b7-9cf00d7f05db&amp;amp;srno=s_1&amp;amp;otracker=from-search&amp;amp;query=ankush%20agrawal&lt;/A&gt;&lt;SPAN style="font-style: inherit; font-size: 12pt; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 6.0pt; margin-bottom: 6.0pt; text-align: justify;"&gt;&lt;SPAN style="font-family: Arial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Apr 2013 11:45:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pbsrvaps-getdetail2-usage-in-ecc/m-p/9348174#M1731019</guid>
      <dc:creator>former_member206523</dc:creator>
      <dc:date>2013-04-21T11:45:57Z</dc:date>
    </item>
  </channel>
</rss>

