<?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 for customizing table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers-for-customizing-table/m-p/3474744#M835207</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Suman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess there is an automatically generated maintenance screen (from SE11) to this ztable. SAP generates a function group and function modules for the maintenance. There are places where you can modify this FM to add your own logic, just have a look...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Mar 2008 10:15:06 GMT</pubDate>
    <dc:creator>JozsefSzikszai</dc:creator>
    <dc:date>2008-03-06T10:15:06Z</dc:date>
    <item>
      <title>Change pointers for customizing table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers-for-customizing-table/m-p/3474742#M835205</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;Requirement is when ever a new entry is created/updated/deleted from the customized table 'ztable' an  IDOC need to be generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any one can help me out the proper steps to solve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Full points will be rewarded to the correct answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Urgent please !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 10:03:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers-for-customizing-table/m-p/3474742#M835205</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-06T10:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: Change pointers for customizing table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers-for-customizing-table/m-p/3474743#M835206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. In T-Code add all the table and its fields to a message type.&lt;/P&gt;&lt;P&gt;2. Create a program for triggering a Idoc.&lt;/P&gt;&lt;P&gt;3. In the program call the functional module 'CHANGE_POINTERS_READ' with the above message type, This FM will return those table fields that are changed to a specific date.&lt;/P&gt;&lt;P&gt;4. Pass read_not_processed_pointers parameter of the 'CHANGE_POINTERS_READ'   as 'X' to get the latest changes. Ex: &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
            creation_date_high          = s_erdat-high
            creation_date_low           = s_erdat-low
            creation_time_high          = gc_time_high
            creation_time_low           = gc_time_low
            read_not_processed_pointers = 'X'
          TABLES
            change_pointers             = lt_chgptrs_tab.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; lt_chgptrs_tab will have all the table fields that are changed .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Trigger a Idoc with those values.&lt;/P&gt;&lt;P&gt;6. In the triggering is successful call FM 'CHANGE_POINTERS_STATUS_WRITE '  and pass those table fields that are sent through Idoc to write in database that the changes are already sent through Idocs. Ex: &lt;/P&gt;&lt;P&gt;&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.

          COMMIT WORK.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gt_pointer_id will have all the change pointer if from lt_chgptrs_tab table that are send through Idocs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 10:14:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers-for-customizing-table/m-p/3474743#M835206</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-06T10:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Change pointers for customizing table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers-for-customizing-table/m-p/3474744#M835207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Suman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess there is an automatically generated maintenance screen (from SE11) to this ztable. SAP generates a function group and function modules for the maintenance. There are places where you can modify this FM to add your own logic, just have a look...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 10:15:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-pointers-for-customizing-table/m-p/3474744#M835207</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-03-06T10:15:06Z</dc:date>
    </item>
  </channel>
</rss>

