<?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: cdpos in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cdpos/m-p/3009039#M711026</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the below details for calling : CHANGEDOCUMENT_READ_HEADERS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OBJECTCLASS c_lieferung&lt;/P&gt;&lt;P&gt; OBJECTID = i_data-vbeln&lt;/P&gt;&lt;P&gt;USERNAME = sy-unam&lt;/P&gt;&lt;P&gt;DATE_UNTIL  = sy-datum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call other FM also in similar way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Oct 2007 08:56:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-30T08:56:42Z</dc:date>
    <item>
      <title>cdpos</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cdpos/m-p/3009038#M711025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using these queries one after other but can anybody tell me how to use &lt;/P&gt;&lt;P&gt;FM  CHANGEDOCUMENT_READ_HEADERS and CHANGEDOCUMENT_READ_POSITIONS in place of these queries?&lt;/P&gt;&lt;P&gt;A) select objectclas&lt;/P&gt;&lt;P&gt;             objectid&lt;/P&gt;&lt;P&gt;             changenr&lt;/P&gt;&lt;P&gt;             udate&lt;/P&gt;&lt;P&gt;             into table i_cdhdr&lt;/P&gt;&lt;P&gt;             from  cdhdr&lt;/P&gt;&lt;P&gt;             client specified&lt;/P&gt;&lt;P&gt;             for all entries in i_data&lt;/P&gt;&lt;P&gt;             where objectclas  = c_lieferung&lt;/P&gt;&lt;P&gt;               and objectid    = i_data-vbeln&lt;/P&gt;&lt;P&gt;               and udate       in so_udate&lt;/P&gt;&lt;P&gt;               and    ( tcode   = c_vl02n or&lt;/P&gt;&lt;P&gt;                       tcode   = c_vl02 )&lt;/P&gt;&lt;P&gt;               and    change_ind  = c_u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B) Select objectclas&lt;/P&gt;&lt;P&gt;                objectid&lt;/P&gt;&lt;P&gt;                changenr&lt;/P&gt;&lt;P&gt;                fname&lt;/P&gt;&lt;P&gt;                into table i_cdpos&lt;/P&gt;&lt;P&gt;                from cdpos&lt;/P&gt;&lt;P&gt;                client specified&lt;/P&gt;&lt;P&gt;                for all entries in i_cdhdr&lt;/P&gt;&lt;P&gt;                where objectclas = c_lieferung&lt;/P&gt;&lt;P&gt;                  and objectid = i_cdhdr-objectid&lt;/P&gt;&lt;P&gt;                  and changenr = i_cdhdr-changenr&lt;/P&gt;&lt;P&gt;                  and tabname = c_likp&lt;/P&gt;&lt;P&gt;                  and fname in r_fname&lt;/P&gt;&lt;P&gt;                  and chngind = c_u.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2007 08:34:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cdpos/m-p/3009038#M711025</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-30T08:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: cdpos</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cdpos/m-p/3009039#M711026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the below details for calling : CHANGEDOCUMENT_READ_HEADERS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OBJECTCLASS c_lieferung&lt;/P&gt;&lt;P&gt; OBJECTID = i_data-vbeln&lt;/P&gt;&lt;P&gt;USERNAME = sy-unam&lt;/P&gt;&lt;P&gt;DATE_UNTIL  = sy-datum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call other FM also in similar way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2007 08:56:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cdpos/m-p/3009039#M711026</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-30T08:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: cdpos</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cdpos/m-p/3009040#M711027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the first query and then the FM with following entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   CHANGENUMBER                  =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;   HEADER                        =&lt;/P&gt;&lt;P&gt;   EDITPOS                       = icdshw&lt;/P&gt;&lt;P&gt;But I am not getting the records while using the query I was getting records.&lt;/P&gt;&lt;P&gt;Pls suggect me..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2007 09:47:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cdpos/m-p/3009040#M711027</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-30T09:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: cdpos</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cdpos/m-p/3009041#M711028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using FM CHANGEDOCUMENT_READ instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  call function 'CHANGEDOCUMENT_READ'
    exporting
      objectclass             = c_lieferung
      objectid                = i_data-vbeln
    tables
      editpos                 = change_doc_int
    exceptions
      no_position_found       = 01
      wrong_access_to_archive = 02.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2007 13:12:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cdpos/m-p/3009041#M711028</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-30T13:12:20Z</dc:date>
    </item>
  </channel>
</rss>

