<?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: dynamic structure field change in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-structure-field-change/m-p/2213761#M474480</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;try like this&lt;/P&gt;&lt;P&gt;do l_days times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-index le 30.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PJCPDETAILS-col11 = L_BOUTIQUES.&lt;/P&gt;&lt;P&gt;append pjcpdetails.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-index le 60.&lt;/P&gt;&lt;P&gt;w_index = sy-index - 30.&lt;/P&gt;&lt;P&gt;PJCPDETAILS-col12 = L_BOUTIQUES.&lt;/P&gt;&lt;P&gt;modify table itab index w_index traspoting col12.&lt;/P&gt;&lt;P&gt;endif&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;ananth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Apr 2007 13:26:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-24T13:26:28Z</dc:date>
    <item>
      <title>dynamic structure field change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-structure-field-change/m-p/2213760#M474479</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 am having  one structure. structure having 20 columns. Each columns have 30 entries.. now i want to fill the first column of 30 entries.. after filled the first column dynamilly goes to second column.. column names like col1 col2 col3 like this ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     now  my coding like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           do l_days times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           PJCPDETAILS-col11 = L_BOUTIQUES.&lt;/P&gt;&lt;P&gt;           append pjcpdetails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          once the loop will complete  30 times after that PJCPDETAILS-col11 should be PJCPDETAILS-col12 .. how to do this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 13:20:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-structure-field-change/m-p/2213760#M474479</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-24T13:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic structure field change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-structure-field-change/m-p/2213761#M474480</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;try like this&lt;/P&gt;&lt;P&gt;do l_days times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-index le 30.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PJCPDETAILS-col11 = L_BOUTIQUES.&lt;/P&gt;&lt;P&gt;append pjcpdetails.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-index le 60.&lt;/P&gt;&lt;P&gt;w_index = sy-index - 30.&lt;/P&gt;&lt;P&gt;PJCPDETAILS-col12 = L_BOUTIQUES.&lt;/P&gt;&lt;P&gt;modify table itab index w_index traspoting col12.&lt;/P&gt;&lt;P&gt;endif&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;ananth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 13:26:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-structure-field-change/m-p/2213761#M474480</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-24T13:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic structure field change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-structure-field-change/m-p/2213762#M474481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Get the definition of the fields you have in the structure using class CL_ABAP_STRUCTDESCR.&lt;/P&gt;&lt;P&gt;Once  you have a internal table with all the field names in it, use the following syntax:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Loop at IT_FIELDS into wa_FIELDS.
Assign component wa_fields-fieldname of PJCPDETAILS to XXXXX
endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leonardo De Araujo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 13:27:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-structure-field-change/m-p/2213762#M474481</guid>
      <dc:creator>LeonardoAraujo</dc:creator>
      <dc:date>2007-04-24T13:27:33Z</dc:date>
    </item>
  </channel>
</rss>

