<?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: Urgent Help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help/m-p/1130180#M111492</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest u also include changenr field in the resultant table this will help u while u are looping against cdhdr table...&lt;/P&gt;&lt;P&gt;loop cdhdr.&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;loop at tcdpos1 where changenr = cdhdr-changenr.&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will read through only for the realted change nr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Feb 2006 06:52:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-02-24T06:52:06Z</dc:date>
    <item>
      <title>Urgent Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help/m-p/1130175#M111487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   1. I want to display all content of CDHDR &amp;amp; CDPOS table.But i am getting all data from CDHDR table &amp;amp; only one record from CDPOS.here i want all data from CDPOS also.&lt;/P&gt;&lt;P&gt;    while debugging i dont have any values in Tcdpos.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   2. I want to display the output format like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; cdhdr(header)&lt;SUP&gt;objectclas&lt;/SUP&gt;objectid^ ...version&lt;/P&gt;&lt;P&gt; cdpos(Item)&lt;SUP&gt;Tabname&lt;/SUP&gt;Tabkey^...Ext_keylen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   cdhdr&lt;SUP&gt;KOSTL&lt;/SUP&gt;10000000001000^3261...&lt;/P&gt;&lt;P&gt;   cdpos&lt;SUP&gt;CSKSB&lt;/SUP&gt;090100000000010009999123119940101^....&lt;/P&gt;&lt;P&gt;   cdhdr&lt;SUP&gt;KOSTL&lt;/SUP&gt;100000000010222^2788....&lt;/P&gt;&lt;P&gt;   cdpos&lt;SUP&gt;CSKSB&lt;/SUP&gt;090100000000010009922222222222^....&lt;/P&gt;&lt;P&gt;   ...&lt;/P&gt;&lt;P&gt;   ..&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   3. Anyone help me to get this format.Please modify the following coding to get the exact result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Local interface:&lt;/P&gt;&lt;P&gt;*"  IMPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(TRANSCATIONCODE) LIKE  ZBAPI_STRUCT-TCODE OPTIONAL&lt;/P&gt;&lt;P&gt;*"     VALUE(DATASIZE) LIKE  ZBAPI_STRUCT-OBJECTID OPTIONAL&lt;/P&gt;&lt;P&gt;*"     VALUE(NO_OF_DAYS) LIKE  ZBAPI_STRUCT-DAYS&lt;/P&gt;&lt;P&gt;*"     VALUE(DELIMITOR) LIKE  ZBAPI_STRUCT-DELIMI OPTIONAL&lt;/P&gt;&lt;P&gt;*"  TABLES&lt;/P&gt;&lt;P&gt;*"      OUTPUT STRUCTURE  ZBAPI_OUTPUT&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;  Data:  CDHDR  like table of CDHDR WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;         TCDPOS  like table of CDSHW WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Data : tcdred LIKE TABLE OF cdred WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data: date_from TYPE sy-datum.&lt;/P&gt;&lt;P&gt;  date_from = sy-datum - no_of_days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;   DATE_OF_CHANGE                   = date_from&lt;/P&gt;&lt;P&gt;   OBJECTCLASS                      = 'KOSTL'&lt;/P&gt;&lt;P&gt;   username                         = ''&lt;/P&gt;&lt;P&gt;   DATE_UNTIL                       = sy-datum&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    I_CDHDR                          = cdhdr&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   NO_POSITION_FOUND                = 1&lt;/P&gt;&lt;P&gt;   OTHERS                           = 2&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT cdhdr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;    changenumber = cdhdr-changenr&lt;/P&gt;&lt;P&gt;   TABLES&lt;/P&gt;&lt;P&gt;     editpos                       = Tcdpos&lt;/P&gt;&lt;P&gt;     editpos_with_header           = tcdred&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;    no_position_found = 4&lt;/P&gt;&lt;P&gt;    OTHERS = 8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: Len type i,&lt;/P&gt;&lt;P&gt;      pos type i,&lt;/P&gt;&lt;P&gt;      w_kvalue(15) type c,&lt;/P&gt;&lt;P&gt;      objid like cdhdr-OBJECTID,&lt;/P&gt;&lt;P&gt;      strlen type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Len = strlen( cdhdr-objectid ).&lt;/P&gt;&lt;P&gt;pos = Len - datasize.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_kvalue = cdhdr-objectid+pos(datasize).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at cdhdr.&lt;/P&gt;&lt;P&gt;   output-OBJECTCLAS = cdhdr-OBJECTCLAS.&lt;/P&gt;&lt;P&gt;   output-OBJECTID   = cdhdr-OBJECTID.&lt;/P&gt;&lt;P&gt;   output-KEYVALUE   = w_kvalue.&lt;/P&gt;&lt;P&gt;   output-CHANGENR   = cdhdr-CHANGENR.&lt;/P&gt;&lt;P&gt;   output-USERNAME   = cdhdr-USERNAME.&lt;/P&gt;&lt;P&gt;   output-UDATE      = cdhdr-UDATE.&lt;/P&gt;&lt;P&gt;   output-UTIME      = cdhdr-UTIME.&lt;/P&gt;&lt;P&gt;   output-TCODE      = cdhdr-TCODE.&lt;/P&gt;&lt;P&gt;   output-PLANCHNGNR = cdhdr-PLANCHNGNR.&lt;/P&gt;&lt;P&gt;   output-ACT_CHNGNO = cdhdr-ACT_CHNGNO.&lt;/P&gt;&lt;P&gt;   output-WAS_PLANND = cdhdr-WAS_PLANND.&lt;/P&gt;&lt;P&gt;   output-CHANGE_IND = cdhdr-CHANGE_IND.&lt;/P&gt;&lt;P&gt;   output-LANGU      = cdhdr-LANGU.&lt;/P&gt;&lt;P&gt;   output-VERSION    = cdhdr-VERSION.&lt;/P&gt;&lt;P&gt;   output-TABNAME    = Tcdpos-TABNAME.&lt;/P&gt;&lt;P&gt;   output-TABKEY     = Tcdpos-TABKEY.&lt;/P&gt;&lt;P&gt;   output-FNAME      = Tcdpos-FNAME.&lt;/P&gt;&lt;P&gt;   output-CHNGIND    = Tcdpos-CHNGIND.&lt;/P&gt;&lt;P&gt;   output-TEXT_CASE  = Tcdpos-TEXT_CASE.&lt;/P&gt;&lt;P&gt;   output-OUTLEN     = Tcdpos-OUTLEN.&lt;/P&gt;&lt;P&gt;   output-F_OLD     = Tcdpos-F_OLD.&lt;/P&gt;&lt;P&gt;   output-F_NEW   = Tcdpos-F_NEW.&lt;/P&gt;&lt;P&gt;   output-KEYGUID   = Tcdpos-KEYGUID.&lt;/P&gt;&lt;P&gt;   output-TABKEY254  = Tcdpos-TABKEY254.&lt;/P&gt;&lt;P&gt;   output-EXT_KEYLEN  = Tcdpos-EXT_KEYLEN.&lt;/P&gt;&lt;P&gt;   append output.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 03:27:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help/m-p/1130175#M111487</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-24T03:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help/m-p/1130176#M111488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are looping at CDHDR table and for each record you are getting items. But Items are getting replaced every loop pass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT cdhdr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;changenumber = cdhdr-changenr&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;editpos = Tcdpos&lt;/P&gt;&lt;P&gt;editpos_with_header = tcdred&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;no_position_found = 4&lt;/P&gt;&lt;P&gt;OTHERS = 8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{append lines of tcdpos to another internal table which will contain all items details.}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To populate final details -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at items table.&lt;/P&gt;&lt;P&gt;read header table.&lt;/P&gt;&lt;P&gt;Get all output fields populated.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Ashish Gundawar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 03:31:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help/m-p/1130176#M111488</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-24T03:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help/m-p/1130177#M111489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have another post open with the same question. Can you please close this one as you have more responses in the other one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 05:00:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help/m-p/1130177#M111489</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-24T05:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help/m-p/1130178#M111490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Silviya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can try using FM CHANGEDOCUMENT_READ which read from CDHDR and POS table and give u result in internal table which u can format as per ur req. &lt;/P&gt;&lt;P&gt;If not, in ur current code u are calling FM 'CHANGEDOCUMENT_READ_POSITIONS' within the loop for CDHDR and it is replacing the the contents in tcdred. So what u will c in this effectively is the last record.&lt;/P&gt;&lt;P&gt;what u need to do is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data : tsave LIKE TABLE OF cdred WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear tsave.&lt;/P&gt;&lt;P&gt;refresh t_save.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT cdhdr.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;changenumber = cdhdr-changenr&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;editpos = Tcdpos&lt;/P&gt;&lt;P&gt;editpos_with_header = tcdred&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;no_position_found = 4&lt;/P&gt;&lt;P&gt;OTHERS = 8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;append lines of tcdred to tsave. &lt;/P&gt;&lt;P&gt;clear tsave.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;later when u are looping through cdhdr u can use tsave to display the rest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 05:49:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help/m-p/1130178#M111490</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-24T05:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help/m-p/1130179#M111491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    The program is hanging.No result. I have coded like the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at cdhdr.&lt;/P&gt;&lt;P&gt;   CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;    changenumber = cdhdr-changenr&lt;/P&gt;&lt;P&gt;   TABLES&lt;/P&gt;&lt;P&gt;     editpos                       = Tcdpos&lt;/P&gt;&lt;P&gt;     editpos_with_header           = tcdred&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;    no_position_found = 4&lt;/P&gt;&lt;P&gt;    OTHERS = 8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  append lines of tcdpos to tcdpos1.&lt;/P&gt;&lt;P&gt;  refresh tcdpos.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; loop at cdhdr.&lt;/P&gt;&lt;P&gt;    struct1-OBJECTCLAS = cdhdr-OBJECTCLAS.&lt;/P&gt;&lt;P&gt;   struct1-OBJECTID   = cdhdr-OBJECTID.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  struct1-KEYVALUE   = w_kvalue.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   struct1-CHANGENR   = cdhdr-CHANGENR.&lt;/P&gt;&lt;P&gt;   struct1-USERNAME   = cdhdr-USERNAME.&lt;/P&gt;&lt;P&gt;   struct1-UDATE      = cdhdr-UDATE.&lt;/P&gt;&lt;P&gt;   struct1-UTIME      = cdhdr-UTIME.&lt;/P&gt;&lt;P&gt;   struct1-TCODE      = cdhdr-TCODE.&lt;/P&gt;&lt;P&gt;   struct1-PLANCHNGNR = cdhdr-PLANCHNGNR.&lt;/P&gt;&lt;P&gt;   struct1-ACT_CHNGNO = cdhdr-ACT_CHNGNO.&lt;/P&gt;&lt;P&gt;   struct1-WAS_PLANND = cdhdr-WAS_PLANND.&lt;/P&gt;&lt;P&gt;   struct1-CHANGE_IND = cdhdr-CHANGE_IND.&lt;/P&gt;&lt;P&gt;   struct1-LANGU      = cdhdr-LANGU.&lt;/P&gt;&lt;P&gt;   struct1-VERSION    = cdhdr-VERSION.&lt;/P&gt;&lt;P&gt;   append struct1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at tcdpos1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    struct2-TABNAME    = Tcdpos1-TABNAME.&lt;/P&gt;&lt;P&gt;   struct2-TABKEY     = Tcdpos1-TABKEY.&lt;/P&gt;&lt;P&gt;   struct2-FNAME      = Tcdpos1-FNAME.&lt;/P&gt;&lt;P&gt;   struct2-CHNGIND    = Tcdpos1-CHNGIND.&lt;/P&gt;&lt;P&gt;   struct2-TEXT_CASE  = Tcdpos1-TEXT_CASE.&lt;/P&gt;&lt;P&gt;   struct2-OUTLEN     = Tcdpos1-OUTLEN.&lt;/P&gt;&lt;P&gt;   struct2-F_OLD      = Tcdpos1-F_OLD.&lt;/P&gt;&lt;P&gt;   struct2-F_NEW      = Tcdpos1-F_NEW.&lt;/P&gt;&lt;P&gt;   struct2-KEYGUID    = Tcdpos1-KEYGUID.&lt;/P&gt;&lt;P&gt;   struct2-TABKEY254  = Tcdpos1-TABKEY254.&lt;/P&gt;&lt;P&gt;   struct2-EXT_KEYLEN = Tcdpos1-EXT_KEYLEN.&lt;/P&gt;&lt;P&gt;   append struct2.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 06:01:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help/m-p/1130179#M111491</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-24T06:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help/m-p/1130180#M111492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest u also include changenr field in the resultant table this will help u while u are looping against cdhdr table...&lt;/P&gt;&lt;P&gt;loop cdhdr.&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;loop at tcdpos1 where changenr = cdhdr-changenr.&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will read through only for the realted change nr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 06:52:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help/m-p/1130180#M111492</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-24T06:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help/m-p/1130181#M111493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Silviya Thomas  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code is to read change docs for PO.&lt;/P&gt;&lt;P&gt;in OBjectclass you need to fill the relavant OBJECTCLASS acc. to your reqirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var_objid = PONUMBER in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*******************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: EDITPOS TYPE TABLE OF CDRED WITH HEADER LINE.



CALL FUNCTION 'CHANGEDOCUMENT_READ'
        EXPORTING
          DATE_OF_CHANGE             = '24.01.2006'
          OBJECTCLASS                = 'EINKBELEG'
          OBJECTID                   = VAR_OBJID
          TABLENAME                  = 'EKPO'
        TABLES
          EDITPOS                    = EDITPOS
        EXCEPTIONS
          NO_POSITION_FOUND          = 1
          WRONG_ACCESS_TO_ARCHIVE    = 2
          TIME_ZONE_CONVERSION_ERROR = 3
          OTHERS                     = 4.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOW EDITPOS WILL CONTAIN THE MERGED DATA FROM COMBINATION OF&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;CDHDR&amp;lt;/b&amp;gt; AND &amp;lt;b&amp;gt;CDPOS&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHEERS,&lt;/P&gt;&lt;P&gt;VIJAY RAHEJA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 06:56:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help/m-p/1130181#M111493</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-24T06:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help/m-p/1130182#M111494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Silviya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at standard reports &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RC1CD100&lt;/P&gt;&lt;P&gt;RCS00120&lt;/P&gt;&lt;P&gt;RFTBST10&lt;/P&gt;&lt;P&gt;RFVWCD20&lt;/P&gt;&lt;P&gt;RSSCD100&lt;/P&gt;&lt;P&gt;RSSCD110&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Lakshman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 07:10:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help/m-p/1130182#M111494</guid>
      <dc:creator>Lakshmant1</dc:creator>
      <dc:date>2006-02-24T07:10:23Z</dc:date>
    </item>
  </channel>
</rss>

