<?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: Change Pointers in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147021#M991573</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;JMC,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sorry. I was bit confused. Those tables I gave you are for change documents not change pointers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The change pointer tables are BDCP, BDCPV etc...let me check...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the confusion. For change pointers you dont use CDHDR and CDPOS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jul 2008 21:19:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-16T21:19:53Z</dc:date>
    <item>
      <title>Change Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147015#M991567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a requirement to read all newly created/changed data from tables MARA and MARC. I was asked to get this data extracted thru change pointers so that that will not effect performenance. Can someone please help me how can I achive this thru change pointers ? Not thru reading from tables CDHDR or CDPOS as they grow big. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JMC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2008 20:54:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147015#M991567</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-16T20:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: Change Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147016#M991568</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;If you just need to fetch newly created/changed material data then fetch data from MARA based on ERSDA (Creation date) and LAEDA (Date of Last Change) by giving proper date range. Then fetch data from other relevant tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srilatha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2008 21:01:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147016#M991568</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-16T21:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Change Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147017#M991569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Srilatha. Thats what I did initially but rejected in review as its going to impact performenance. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JMC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2008 21:03:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147017#M991569</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-16T21:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Change Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147018#M991570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;JMC,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to use change pointers then you HAVE to read CDHDR and CDPOS tables as they are the change pointer tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are function modules available to read those tables based on start date, start time, end date and end time which probably retrieves less number of records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2008 21:09:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147018#M991570</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-16T21:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Change Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147019#M991571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Naren. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for asking a dummy question, but I was asked to look for unprocessed status. What does that mean ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JMC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2008 21:12:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147019#M991571</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-16T21:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Change Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147020#M991572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Every time you process change pointers, their status will be set as processed. may be there should be a field in CDPOS table which tells that. let me check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Meanwhile here are the function modules&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHANGEDOCUMENT_READ_HEADERS&lt;/P&gt;&lt;P&gt;CHANGEDOCUMENT_READ_POSITIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Naren K Someneni on Jul 16, 2008 4:17 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2008 21:16:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147020#M991572</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-16T21:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: Change Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147021#M991573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;JMC,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sorry. I was bit confused. Those tables I gave you are for change documents not change pointers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The change pointer tables are BDCP, BDCPV etc...let me check...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the confusion. For change pointers you dont use CDHDR and CDPOS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2008 21:19:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147021#M991573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-16T21:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Change Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147022#M991574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;JMC,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tables you use are BDCP and BDCPS. The table BDCPS has a field called Process indicator which tells you whether they are already processed or not. if your requriement is to collect and transmit unprocessed changes then this field should be blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps. let me know if you need more info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2008 21:23:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147022#M991574</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-16T21:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Change Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147023#M991575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Naren. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please let me know programaically what should be my approach ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need to read BDCP first and then read BDCPS based on CPIDENT for unprocessed ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I get rest of the information from MARA and MARC tables ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What kind of configuration do I need ? I was asked to put * in all fields which ever I need to track from table MARA and MARC. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JMC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2008 21:40:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147023#M991575</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-16T21:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Change Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147024#M991576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;JMC,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have to generate a MATMAS idoc for those material changes or you just want to read MARA and MARC changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is only to pull MARA and MARC changes then from the BDCP table you have to search for change pointer with field TABNAME containing MARA or MARC only. if you want to know which field has been changed in these table tables then you can get that field name too from the field FLDNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes. You have to read all unprocessed entries based on CPIDENT field. (PROCESS field should be blank).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the FM CHANGE_POINTERS_READ to read change pointers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Naren K Someneni on Jul 16, 2008 5:00 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2008 21:53:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147024#M991576</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-16T21:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Change Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147025#M991577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Naren. My requirement is to read data from MARA and MARC. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i guess, i need to read BDCP for table MARA, get the CPIDENT and read BDCPS. From BDCPS i get the MARA key information and feild changed. Once I have MARA key, do I still need to do a select from MARA to get rest of the feild information or how does this work ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for asking several questions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JMC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2008 22:12:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147025#M991577</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-16T22:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: Change Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147026#M991578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Naren, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How does the status get change to process in BDCPS ? Do I need to change it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JMC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2008 22:16:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147026#M991578</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-16T22:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Change Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147027#M991579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;-- All notes below in SQL, if you have another DB, you have to convert the "talk" to your specific DB --&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why not use a DB trigger + trigger table.  Here are the details:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.  Have ABAP create a trigger table, one for each MARA and MARC.  The table names (here's what we use inhouse), are ZD+Table name.  For in this example, we'll create tables ZDMARA and ZDMARC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These tables should contain only the following fields:&lt;/P&gt;&lt;P&gt;- All fields in the primary unique key.&lt;/P&gt;&lt;P&gt;- Additional fields:  Change_DateTime, ChangeKey, ChangeGUI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*(DO NOT put any application level fields in this, you will put unncessary load on the DB server.)*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.  Wrap the trigger tables created above w/ a transport for administration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.  Create triggers on the MARA and MARC tables, triggers are divided into "C" (change), "D" (delete), "I" (Insert).  An example trigger for Delete on MARA would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-- deletion trigger&lt;/P&gt;&lt;P&gt;--creation command for MARA_DEL_DATE                                                               &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE Trigger MARA_DEL_DATE&lt;/P&gt;&lt;P&gt;   on MARA&lt;/P&gt;&lt;P&gt;   FOR Delete&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;P&gt;   -- Return if Row count is 0&lt;/P&gt;&lt;P&gt;   If @@rowcount = 0&lt;/P&gt;&lt;P&gt;      return&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   -- Calculate today's date/time&lt;/P&gt;&lt;P&gt;   INSERT ZDMARA (Change_DateTime, ChangeKey, ChangeGUI, &amp;lt;PrimaryKeyFields&amp;gt;)  &lt;/P&gt;&lt;P&gt;       SELECT CLIENT, &lt;/P&gt;&lt;P&gt;              -- calculate current date and time stamp &lt;/P&gt;&lt;P&gt;              CONVERT(NVARCHAR(8), Getdate(), 112) + CONVERT(NVARCHAR(12), GETDATE(), 114), &lt;/P&gt;&lt;P&gt;              -- create a unique GUID value&lt;/P&gt;&lt;P&gt;              CONVERT(nvarchar(40),NEWID()),&lt;/P&gt;&lt;P&gt;              'D',&lt;/P&gt;&lt;P&gt;              &amp;lt;PrimaryKeyFields&amp;gt;&lt;/P&gt;&lt;P&gt; 	From deleted&lt;/P&gt;&lt;P&gt;go&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.  What's going to happen is that, whenever there's a change in table MARA and MARC, the change is recorded into ZDMARA and ZDMARC.  You can read from ZDMARA and ZDMARC first, to get the primary key fields required to query MARA and MARC.  Bing bang, quick access.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Overhead?  Nah, very little.  We have this in our 6TB database, no problems at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure you remember to archive the ZDMARA and ZDMARC tables! &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2008 22:23:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147027#M991579</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-16T22:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Change Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147028#M991580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Kevin. Excellent alternative to achieve this but here client is very pirticular about using change pointers to read MARA changes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for sample code or approach to read from BDCP BDCPS tables. Appreciate if some one please guide me on this. Thank you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JMC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 13:28:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147028#M991580</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-17T13:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Change Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147029#M991581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;JMC,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the late response. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read change pointers using the FM CHANGE_POINTERS_READ. The selection is made using two time frames, event generation and event activation. You can also specify whether only processed or only unprocessed change pointers should be read. The default is unprocessed change pointers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once after reading those change pointers you can update the status of those change pointers in your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am pasting here the sample code to give you an idea .....but better use the standard FM's...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT   cpident
           FROM bdcp
           INTO CORRESPONDING FIELDS OF TABLE lt_bdcp
           WHERE cdobjid LIKE lv_car
           AND   cretime =&amp;lt; lv_date.
  IF NOT lt_bdcp[] IS INITIAL.
 
    SELECT cpident
           mestype
           INTO   CORRESPONDING FIELDS OF TABLE lt_bdcps
           FROM   bdcps
           FOR ALL ENTRIES IN lt_bdcp
           WHERE  cpident = lt_bdcp-cpident
           AND    mestype = i_mestyp
           AND    process NE 'X'.
 
    LOOP AT lt_bdcps INTO wa_bdcps.
 
      UPDATE bdcps SET    process = 'X'
                   WHERE  cpident = wa_bdcps-cpident
                   AND    mestype = i_mestyp.
 
    ENDLOOP.
 
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 15:24:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147029#M991581</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-17T15:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Change Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147030#M991582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for your response Naren. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I am getting close. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, from here do you suggest me to get the key and read mara directly again thru a select statement  ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or is there an alternative way to get other fields from MARA after getting CPIDENT? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do we need to define a message type in this case ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JMC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 15:33:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147030#M991582</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-17T15:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: Change Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147031#M991583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;JMC,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to create Idocs then u can use this FM &lt;STRONG&gt;MASTERIDOC_CREATE_SMD_MATMAS&lt;/STRONG&gt; to create idocs for the changed materials.&lt;/P&gt;&lt;P&gt;You can go thru the FM to get the process of changed materials..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps..&lt;/P&gt;&lt;P&gt;Chandra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 15:36:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147031#M991583</guid>
      <dc:creator>former_member187255</dc:creator>
      <dc:date>2008-07-17T15:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Change Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147032#M991584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will only get the material and the field that has changed from the change pointers table. If you need other fields for that material then you have to do a select on mara and marc in your program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 17:09:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147032#M991584</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-17T17:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: Change Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147033#M991585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;JMC,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message type is required for IDOCS but not in your case. it is optional....If you had used idocs then you have to configure partner profiles with message type MATMAS. So just leave that and dont use that in your select statement....just check for table names MARA and MARC in the change pointers table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you need more help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI...the material number which is changed/created will be found in the object value fields of BDCP. CPIDENT is just a unique change pointer ID for joining BDCP and BDCPS. It is NOT the material number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Naren K Someneni on Jul 17, 2008 12:14 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 17:13:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147033#M991585</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-17T17:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Change Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147034#M991586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for all the help Naren. That helps. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will go ahead with the simple select after reading from tables BDCP and BDCPS. Will get rest of the information from MARA and MARC based on the key what i get from BDCP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One last question, do i need to set up any configuration for change pointers ? Is it by default I am going to get change pointers created for ANY changes to mara and marc regardless of fields ? Please let me know if i need to do any set up in the system to get change pointers. I need it to be created for any updates/creates to materail master. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you once again and sorry for asking several questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JMC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 17:23:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers/m-p/4147034#M991586</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-17T17:23:38Z</dc:date>
    </item>
  </channel>
</rss>

