<?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 Help me in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-me/m-p/1149340#M117047</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;  While looping the following code I am getting only all details (header &amp;amp; item)for first record. I am not getting item data for remaining records.I want to get all details (both header &amp;amp; item) for all records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please anyone help me.its urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at cdhdr.&lt;/P&gt;&lt;P&gt; Len = strlen( cdhdr-objectid ).&lt;/P&gt;&lt;P&gt; pos = Len -  r_datasize-low.&lt;/P&gt;&lt;P&gt; w_kvalue = cdhdr-objectid+pos(r_datasize-low).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   struct1-OBJECTCLAS = cdhdr-OBJECTCLAS.&lt;/P&gt;&lt;P&gt;   struct1-OBJECTID   = cdhdr-OBJECTID.&lt;/P&gt;&lt;P&gt;   struct1-KEYVALUE   = w_kvalue.&lt;/P&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;   if tcdpos1-tabkey+3(14) eq cdhdr-OBJECTID.&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;     else.&lt;/P&gt;&lt;P&gt;     exit.&lt;/P&gt;&lt;P&gt;      continue.&lt;/P&gt;&lt;P&gt;     endif.&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;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Output of this code&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Header&lt;STRONG&gt;KOSTL&lt;/STRONG&gt;10000000001000&lt;STRONG&gt;1000&lt;/STRONG&gt;428758&lt;STRONG&gt;03022005&lt;/STRONG&gt;112454&lt;STRONG&gt;KS02&lt;/STRONG&gt;**&lt;STRONG&gt;U&lt;/STRONG&gt;E&lt;/P&gt;&lt;P&gt;~&lt;STRONG&gt;item&lt;/STRONG&gt;CSKSB&lt;STRONG&gt;800100000000010009999123119940101&lt;/STRONG&gt;STRAS&lt;STRONG&gt;U&lt;/STRONG&gt;&lt;STRONG&gt;0035&lt;/STRONG&gt;&lt;STRONG&gt;asdad&lt;/STRONG&gt;*&lt;STRONG&gt;0033&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;~&lt;STRONG&gt;item&lt;/STRONG&gt;CSKSB&lt;STRONG&gt;800100000000010009999123119940101&lt;/STRONG&gt;NAME4&lt;STRONG&gt;U&lt;/STRONG&gt;&lt;STRONG&gt;0035&lt;/STRONG&gt;&lt;STRONG&gt;asdad&lt;/STRONG&gt;*&lt;STRONG&gt;0033&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;~&lt;STRONG&gt;item&lt;/STRONG&gt;CSKSB&lt;STRONG&gt;800100000000010009999123119940101&lt;/STRONG&gt;NAME3&lt;STRONG&gt;U&lt;/STRONG&gt;&lt;STRONG&gt;0035&lt;/STRONG&gt;&lt;STRONG&gt;asdasd&lt;/STRONG&gt;*&lt;STRONG&gt;0033&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;~&lt;STRONG&gt;item&lt;/STRONG&gt;CSKSB&lt;STRONG&gt;800100000000010009999123119940101&lt;/STRONG&gt;NAME2&lt;STRONG&gt;U&lt;/STRONG&gt;&lt;STRONG&gt;0035&lt;/STRONG&gt;&lt;STRONG&gt;dada&lt;/STRONG&gt;*&lt;STRONG&gt;0033&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;~ Header &lt;STRONG&gt;KOSTL&lt;/STRONG&gt;10000000002100&lt;STRONG&gt;2100&lt;/STRONG&gt;428761&lt;STRONG&gt;03022005&lt;/STRONG&gt;114629&lt;STRONG&gt;KS02&lt;/STRONG&gt;**&lt;STRONG&gt;U&lt;/STRONG&gt;E&lt;/P&gt;&lt;P&gt;~ Header &lt;STRONG&gt;KOSTL&lt;/STRONG&gt;10000000002100&lt;STRONG&gt;2100&lt;/STRONG&gt;428760&lt;STRONG&gt;03022005&lt;/STRONG&gt;114433&lt;STRONG&gt;KS02&lt;/STRONG&gt;**&lt;STRONG&gt;U&lt;/STRONG&gt;E&lt;/P&gt;&lt;P&gt;~ Header &lt;STRONG&gt;KOSTL&lt;/STRONG&gt;10000000002100&lt;STRONG&gt;2100&lt;/STRONG&gt;428759&lt;STRONG&gt;03022005&lt;/STRONG&gt;112507&lt;STRONG&gt;KS02&lt;/STRONG&gt;**&lt;STRONG&gt;U&lt;/STRONG&gt;E&lt;/P&gt;&lt;P&gt;~ Header &lt;STRONG&gt;KOSTL&lt;/STRONG&gt;20000000009590&lt;STRONG&gt;9590&lt;/STRONG&gt;430409&lt;STRONG&gt;20022006&lt;/STRONG&gt;111733&lt;STRONG&gt;KS02&lt;/STRONG&gt;**&lt;STRONG&gt;U&lt;/STRONG&gt;E&lt;/P&gt;&lt;P&gt;~ Header &lt;STRONG&gt;KOSTL&lt;/STRONG&gt;20000000009590&lt;STRONG&gt;9590&lt;/STRONG&gt;430408&lt;STRONG&gt;20022006&lt;/STRONG&gt;111712&lt;STRONG&gt;KS02&lt;/STRONG&gt;**&lt;STRONG&gt;U&lt;/STRONG&gt;E&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 25 Feb 2006 10:40:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-02-25T10:40:10Z</dc:date>
    <item>
      <title>Help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-me/m-p/1149340#M117047</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;  While looping the following code I am getting only all details (header &amp;amp; item)for first record. I am not getting item data for remaining records.I want to get all details (both header &amp;amp; item) for all records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please anyone help me.its urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at cdhdr.&lt;/P&gt;&lt;P&gt; Len = strlen( cdhdr-objectid ).&lt;/P&gt;&lt;P&gt; pos = Len -  r_datasize-low.&lt;/P&gt;&lt;P&gt; w_kvalue = cdhdr-objectid+pos(r_datasize-low).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   struct1-OBJECTCLAS = cdhdr-OBJECTCLAS.&lt;/P&gt;&lt;P&gt;   struct1-OBJECTID   = cdhdr-OBJECTID.&lt;/P&gt;&lt;P&gt;   struct1-KEYVALUE   = w_kvalue.&lt;/P&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;   if tcdpos1-tabkey+3(14) eq cdhdr-OBJECTID.&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;     else.&lt;/P&gt;&lt;P&gt;     exit.&lt;/P&gt;&lt;P&gt;      continue.&lt;/P&gt;&lt;P&gt;     endif.&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;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Output of this code&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Header&lt;STRONG&gt;KOSTL&lt;/STRONG&gt;10000000001000&lt;STRONG&gt;1000&lt;/STRONG&gt;428758&lt;STRONG&gt;03022005&lt;/STRONG&gt;112454&lt;STRONG&gt;KS02&lt;/STRONG&gt;**&lt;STRONG&gt;U&lt;/STRONG&gt;E&lt;/P&gt;&lt;P&gt;~&lt;STRONG&gt;item&lt;/STRONG&gt;CSKSB&lt;STRONG&gt;800100000000010009999123119940101&lt;/STRONG&gt;STRAS&lt;STRONG&gt;U&lt;/STRONG&gt;&lt;STRONG&gt;0035&lt;/STRONG&gt;&lt;STRONG&gt;asdad&lt;/STRONG&gt;*&lt;STRONG&gt;0033&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;~&lt;STRONG&gt;item&lt;/STRONG&gt;CSKSB&lt;STRONG&gt;800100000000010009999123119940101&lt;/STRONG&gt;NAME4&lt;STRONG&gt;U&lt;/STRONG&gt;&lt;STRONG&gt;0035&lt;/STRONG&gt;&lt;STRONG&gt;asdad&lt;/STRONG&gt;*&lt;STRONG&gt;0033&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;~&lt;STRONG&gt;item&lt;/STRONG&gt;CSKSB&lt;STRONG&gt;800100000000010009999123119940101&lt;/STRONG&gt;NAME3&lt;STRONG&gt;U&lt;/STRONG&gt;&lt;STRONG&gt;0035&lt;/STRONG&gt;&lt;STRONG&gt;asdasd&lt;/STRONG&gt;*&lt;STRONG&gt;0033&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;~&lt;STRONG&gt;item&lt;/STRONG&gt;CSKSB&lt;STRONG&gt;800100000000010009999123119940101&lt;/STRONG&gt;NAME2&lt;STRONG&gt;U&lt;/STRONG&gt;&lt;STRONG&gt;0035&lt;/STRONG&gt;&lt;STRONG&gt;dada&lt;/STRONG&gt;*&lt;STRONG&gt;0033&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;~ Header &lt;STRONG&gt;KOSTL&lt;/STRONG&gt;10000000002100&lt;STRONG&gt;2100&lt;/STRONG&gt;428761&lt;STRONG&gt;03022005&lt;/STRONG&gt;114629&lt;STRONG&gt;KS02&lt;/STRONG&gt;**&lt;STRONG&gt;U&lt;/STRONG&gt;E&lt;/P&gt;&lt;P&gt;~ Header &lt;STRONG&gt;KOSTL&lt;/STRONG&gt;10000000002100&lt;STRONG&gt;2100&lt;/STRONG&gt;428760&lt;STRONG&gt;03022005&lt;/STRONG&gt;114433&lt;STRONG&gt;KS02&lt;/STRONG&gt;**&lt;STRONG&gt;U&lt;/STRONG&gt;E&lt;/P&gt;&lt;P&gt;~ Header &lt;STRONG&gt;KOSTL&lt;/STRONG&gt;10000000002100&lt;STRONG&gt;2100&lt;/STRONG&gt;428759&lt;STRONG&gt;03022005&lt;/STRONG&gt;112507&lt;STRONG&gt;KS02&lt;/STRONG&gt;**&lt;STRONG&gt;U&lt;/STRONG&gt;E&lt;/P&gt;&lt;P&gt;~ Header &lt;STRONG&gt;KOSTL&lt;/STRONG&gt;20000000009590&lt;STRONG&gt;9590&lt;/STRONG&gt;430409&lt;STRONG&gt;20022006&lt;/STRONG&gt;111733&lt;STRONG&gt;KS02&lt;/STRONG&gt;**&lt;STRONG&gt;U&lt;/STRONG&gt;E&lt;/P&gt;&lt;P&gt;~ Header &lt;STRONG&gt;KOSTL&lt;/STRONG&gt;20000000009590&lt;STRONG&gt;9590&lt;/STRONG&gt;430408&lt;STRONG&gt;20022006&lt;/STRONG&gt;111712&lt;STRONG&gt;KS02&lt;/STRONG&gt;**&lt;STRONG&gt;U&lt;/STRONG&gt;E&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Feb 2006 10:40:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-me/m-p/1149340#M117047</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-25T10:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-me/m-p/1149341#M117048</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;Remove the below statements in your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;continue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Documentation&lt;/P&gt;&lt;P&gt;EXIT in LOOP: Contril will comeout from loop and will continue execution from endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONTINUE in LOOP: Skips all the code till ENDLOOP and goes again to LOOP AT... and continues&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ramakrishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Feb 2006 10:49:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-me/m-p/1149341#M117048</guid>
      <dc:creator>venkata_ramisetti</dc:creator>
      <dc:date>2006-02-25T10:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-me/m-p/1149342#M117049</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;&lt;/P&gt;&lt;P&gt;Remove these three lines :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;continue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Laxman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Feb 2006 10:49:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-me/m-p/1149342#M117049</guid>
      <dc:creator>Laxmana_Appana_</dc:creator>
      <dc:date>2006-02-25T10:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-me/m-p/1149343#M117050</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 removed that lines.But the output is not coming exactly.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Feb 2006 10:53:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-me/m-p/1149343#M117050</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-25T10:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-me/m-p/1149344#M117051</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;Put a break point after below statement and check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;if tcdpos1-tabkey+3(14) eq cdhdr-OBJECTID.&lt;/P&gt;&lt;P&gt;break &amp;lt;your user-id&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you will know , this condition is satisfied or not&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Laxman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Feb 2006 10:56:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-me/m-p/1149344#M117051</guid>
      <dc:creator>Laxmana_Appana_</dc:creator>
      <dc:date>2006-02-25T10:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: Help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-me/m-p/1149345#M117052</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;using of if was only satisfying for first hit as if condition is true only for once .&lt;/P&gt;&lt;P&gt;this was ur problem i suppose .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;struc1 is ur header from  ur code ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;struc2 is ur items table .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now u r using the condition &lt;/P&gt;&lt;P&gt;if tcdpos1-tabkey+3(14) eq cdhdr-OBJECTID&lt;/P&gt;&lt;P&gt;based on which u r trying to append the header as well as item content into table struc 2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can proceed as &lt;/P&gt;&lt;P&gt;loop at cdhdr .&lt;/P&gt;&lt;P&gt;  loop at tcdpos1 where tcdpos1-tabkey+3(14) eq cdhdr-OBJECTID.&lt;/P&gt;&lt;P&gt;here u &lt;/P&gt;&lt;P&gt;  assign the fields where the condition is true.&lt;/P&gt;&lt;P&gt;  and using read statement also &lt;/P&gt;&lt;P&gt;  append struc2.&lt;/P&gt;&lt;P&gt;i think this will giv u a correct solution.&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;&lt;/P&gt;&lt;P&gt;when u r using nested loops if the records are more in number say above 50k then the runtime will be affected .&lt;/P&gt;&lt;P&gt;so better check it .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in debugging mode check the struc content and proceed okay .&lt;/P&gt;&lt;P&gt;use read statement like &lt;/P&gt;&lt;P&gt;loop at cdhdr.&lt;/P&gt;&lt;P&gt;loop at tdpos.&lt;/P&gt;&lt;P&gt;read table chhdr with key objectid = tcdpos1-tabkey+3(14) .&lt;/P&gt;&lt;P&gt;upon hit get the value appended to the struc2.&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;regards,&lt;/P&gt;&lt;P&gt;vijay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Feb 2006 10:56:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-me/m-p/1149345#M117052</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-25T10:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: Help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-me/m-p/1149346#M117053</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;May be there are no maching Item records available for item table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the if condition once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;ramakrishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Feb 2006 10:57:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-me/m-p/1149346#M117053</guid>
      <dc:creator>venkata_ramisetti</dc:creator>
      <dc:date>2006-02-25T10:57:27Z</dc:date>
    </item>
  </channel>
</rss>

