<?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: Chnage pointers for a report in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/chnage-pointers-for-a-report/m-p/6676999#M1448966</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 reading Change pointers from the functional module CHANGE_POINTERS_READ, how can I generate IDOC and read that IDOC for further processing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Mar 2010 11:05:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-12T11:05:12Z</dc:date>
    <item>
      <title>Chnage pointers for a report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/chnage-pointers-for-a-report/m-p/6676996#M1448963</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 have a requirement where in I have to  modify all the  articles (MARC-MATNR)  which are specified in the selection screen of a report. This report would be running in back ground for every one hour. user would not be entering input in the selection screen, since report would be running as a bactch job. whenver the article is changed and new article is created my report has to get triggerred.But it does not mean that the program should be run at the very moment a new article is created or changed. It just means that program should  run for only those records which have undergone any of the below 4 changes  in the last 1 hour&lt;/P&gt;&lt;P&gt;( 1.Supply source field MARC-BWSCL is changed for a article&lt;/P&gt;&lt;P&gt;2.vendorEORD-LIFNR is changed for a article &lt;/P&gt;&lt;P&gt;3. new purchasing source list is added (EORD Records)  for a article.&lt;/P&gt;&lt;P&gt;4. new article is created).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please tell me how to proceed with this requirement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Ram Devi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Mar 2010 11:09:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/chnage-pointers-for-a-report/m-p/6676996#M1448963</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-05T11:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Chnage pointers for a report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/chnage-pointers-for-a-report/m-p/6676997#M1448964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You report may analyze tables CDHDR/CDPOS(1) for material, since the last run (stored somewhere)&lt;/P&gt;&lt;P&gt;In this table you will get the key of the record, and for updates the values before and after (not for insertion)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look for objects(2) MATERIAL "Change documents for material" (contains MARC) and ORDERBUCH "Change documents for source list entries" (contains EORG) in CDHDR, then look for your field/table names in CDPOS for updates or inserts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;NB: A more elegant, and much more harder to develop way would be to use BADI/Exit to trigger V3 updates and then collecting them for your requirement, but that doesnt seem to be necessary.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(1) Read some documentation at [Change Documents|http://help.sap.com/SAPHELP_NWPI71/helpdata/EN/2a/fa0175493111d182b70000e829fbfe/frameset.htm]&lt;/P&gt;&lt;P&gt;(2) Search objects by table by browsing TCDOB "Objects for change document creation"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Mar 2010 11:57:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/chnage-pointers-for-a-report/m-p/6676997#M1448964</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2010-03-05T11:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: Chnage pointers for a report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/chnage-pointers-for-a-report/m-p/6676998#M1448965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another way is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enable the change pointers for the 4 fields you mentioned for article master using transaction code SCDO.This will be create change pointer entreis in BDCPV tables &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
   CALL FUNCTION 'CHANGE_POINTERS_READ'
          EXPORTING
            message_type                = gc_message_type
            read_not_processed_pointers = 'X'
          TABLES
            change_pointers             = lt_chgptrs_tab.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;if any values found you can run your report , then after that. then call the following fm to update the processed entreis in change pointer table to be marked as processed, so next time theses entries will not consider&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
          CALL FUNCTION 'CHANGE_POINTERS_STATUS_WRITE'
            EXPORTING
              message_type           = gc_message_type
            TABLES
              change_pointers_idents = gt_pointer_id.
 &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Mar 2010 12:06:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/chnage-pointers-for-a-report/m-p/6676998#M1448965</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2010-03-05T12:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Chnage pointers for a report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/chnage-pointers-for-a-report/m-p/6676999#M1448966</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 reading Change pointers from the functional module CHANGE_POINTERS_READ, how can I generate IDOC and read that IDOC for further processing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Mar 2010 11:05:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/chnage-pointers-for-a-report/m-p/6676999#M1448966</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-12T11:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: Chnage pointers for a report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/chnage-pointers-for-a-report/m-p/6677000#M1448967</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;follow the steps to trigger Idoc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) go to transaction BD61 to acivate change pointers.&lt;/P&gt;&lt;P&gt;2) go to transaction BD50 to activate message type "MATMAS".&lt;/P&gt;&lt;P&gt;3) go to transaction BD52 and find the entries corresponding to message type "matmas". delete all the entries except the four fields you need.&lt;/P&gt;&lt;P&gt;5) maintain the partner profile.&lt;/P&gt;&lt;P&gt;4) set the transaction BD21 in back ground job so that when ever create/changes happened in the four fields then change pointers will track those changes and trigger idoc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lokeswari.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Mar 2010 12:18:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/chnage-pointers-for-a-report/m-p/6677000#M1448967</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-12T12:18:43Z</dc:date>
    </item>
  </channel>
</rss>

