<?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 Create a program, based on a report painter query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-a-program-based-on-a-report-painter-query/m-p/4335725#M1032907</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;I would like to create a program, which contains the same data, what I can get from a report, which is made by report painter in transaction GRR2. The given report is for checking the service orders.&lt;/P&gt;&lt;P&gt;This report has a key (order number) and additional columns, like material cost, personal cost, external service cost, money income, etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know, how can I identify the tables, columns and table entries, where these values come from?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I retrieve from the SAP, for example the material cost of the service orders?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And of course with the less hard-coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Aug 2008 08:42:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-14T08:42:37Z</dc:date>
    <item>
      <title>Create a program, based on a report painter query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-a-program-based-on-a-report-painter-query/m-p/4335725#M1032907</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;I would like to create a program, which contains the same data, what I can get from a report, which is made by report painter in transaction GRR2. The given report is for checking the service orders.&lt;/P&gt;&lt;P&gt;This report has a key (order number) and additional columns, like material cost, personal cost, external service cost, money income, etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know, how can I identify the tables, columns and table entries, where these values come from?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I retrieve from the SAP, for example the material cost of the service orders?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And of course with the less hard-coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2008 08:42:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-a-program-based-on-a-report-painter-query/m-p/4335725#M1032907</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-14T08:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Create a program, based on a report painter query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-a-program-based-on-a-report-painter-query/m-p/4335726#M1032908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could try to launch the generated report under SE30, then analyze the result which give you the database table read from and the function modules used.&lt;/P&gt;&lt;P&gt;You could also use trace ST05, but this will give you only the tables?&lt;/P&gt;&lt;P&gt;Or you could duplicate the program, but it will not be easily maintained.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the costs look at table PMCO. (or at the CO tables COSS and COSP)&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, 14 Aug 2008 08:47:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-a-program-based-on-a-report-painter-query/m-p/4335726#M1032908</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2008-08-14T08:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: Create a program, based on a report painter query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-a-program-based-on-a-report-painter-query/m-p/4335727#M1032909</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;&lt;/P&gt;&lt;P&gt;the standard library for service orders in GRR1 is 6CR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto GRR2, click on 6CR ,right click and give create report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there give ur zname for report,double click on any row it will show u available fields in the library for service orders ,select them and create ur own report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mostly all the tables used in report painter r related to controlling only.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2008 08:55:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-a-program-based-on-a-report-painter-query/m-p/4335727#M1032909</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2008-08-14T08:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Create a program, based on a report painter query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-a-program-based-on-a-report-painter-query/m-p/4335728#M1032910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, for the info.&lt;/P&gt;&lt;P&gt;I used ST05, but it gave me only the COSP table, which can be useful, but not enough. It contains only the costart (KSTAR) and I don't know, which costarts can be attached to the material costs, which costart to the services, etc...&lt;/P&gt;&lt;P&gt;PMCO seems good also, there's a field, called ACPOS, but of course I don't know, where can I find a table, which contains the description of it's values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2008 08:57:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-a-program-based-on-a-report-painter-query/m-p/4335728#M1032910</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-14T08:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: Create a program, based on a report painter query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-a-program-based-on-a-report-painter-query/m-p/4335729#M1032911</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;After you have copied your program from GRR2 , execute it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then go to the System --&amp;gt;Status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you can find SAP Data block and there you can see the Program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Copy that program name and goto SE38 and display that program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can find all your tables used in the program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bhupal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2008 08:58:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-a-program-based-on-a-report-painter-query/m-p/4335729#M1032911</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-14T08:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Create a program, based on a report painter query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-a-program-based-on-a-report-painter-query/m-p/4335730#M1032912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;COSP table contains only the costart (KSTAR) and I don't know, which costarts can be attached to the material costs, which costarts to the services, which costarts belong to the money income, etc...&lt;/P&gt;&lt;P&gt;PMCO is - unfortunately - not enough.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2008 09:12:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-a-program-based-on-a-report-painter-query/m-p/4335730#M1032912</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-14T09:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: Create a program, based on a report painter query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-a-program-based-on-a-report-painter-query/m-p/4335731#M1032913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to find the cost element to filter&lt;/P&gt;&lt;P&gt;- Ask your FI-CO team.&lt;/P&gt;&lt;P&gt;- Analyze the Customizing (IMG): "Materials Management", "Valuation and Account Assignment", "Account Determination" to find the cost element/account used for MM. go to "Account Determination Without Wizard", "Configure Automatic Postings" &lt;/P&gt;&lt;P&gt;- Look at table T030 which links Operation/Transaction key and Account, and filter KTOSL on Operation Group T030A-GRUP = 'RMK' for MM.&lt;/P&gt;&lt;P&gt;Ask also the CO team if they maintain a hierarchy of cost element that you could use in your report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also use SE30, when analysing the result you could find the way used by the generated program to spread the cost elements in column.&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, 14 Aug 2008 09:34:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-a-program-based-on-a-report-painter-query/m-p/4335731#M1032913</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2008-08-14T09:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: Create a program, based on a report painter query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-a-program-based-on-a-report-painter-query/m-p/4335732#M1032914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Field ACPOS is in table TPIR2 "Value Categories", text table TPIR2T "Texts for Value Categories"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This table is maintained in IMG : &lt;EM&gt;Plant Maintenance and Customer Service, Maintenance and Service Processing, Basic Settings, Settings for Display of Costs, Maintain Value Categories&lt;/EM&gt;(V_TPIR2_PM).and &lt;EM&gt;Assign Cost Elements to Value Categories&lt;/EM&gt; (V_TPIK3) so you can even use it with COSP/COSS.&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, 14 Aug 2008 09:50:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-a-program-based-on-a-report-painter-query/m-p/4335732#M1032914</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2008-08-14T09:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: Create a program, based on a report painter query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-a-program-based-on-a-report-painter-query/m-p/4335733#M1032915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;They are called sets and they can be found in the following tables: SETHEADER, SETNODE, SETLEAF.&lt;/P&gt;&lt;P&gt;They can be maintained in KAH3 transaction&lt;/P&gt;&lt;P&gt;And of course there is a good FM to retrieve them: K_HIERARCHY_TABLES_READ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you Tamás, you helped me a lot &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2008 12:42:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-a-program-based-on-a-report-painter-query/m-p/4335733#M1032915</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-14T12:42:11Z</dc:date>
    </item>
  </channel>
</rss>

