<?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: Code help for a cube to cube routine in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-help-for-a-cube-to-cube-routine/m-p/3768801#M906903</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you going to do this in a start routine? I only have limited experience with BW programming, hence my question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say you have a DATA_PACKAGE over which you are going to loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;line_of_package&amp;gt; type DATA_PACKAGE (or structure of data_package).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT DATA_PACKAGE ASSIGNING &amp;lt;line_of_package&amp;gt;-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF &amp;lt;line_of_package&amp;gt;-fielda BETWEEN 5000 AND 5200.&lt;/P&gt;&lt;P&gt;    &amp;lt;line_of_package&amp;gt;--fieldb = 'SERVICE'.&lt;/P&gt;&lt;P&gt;ELSEIF &amp;lt;line_of_package&amp;gt;-fieldb BETWEEN 6000 AND 6500.&lt;/P&gt;&lt;P&gt;    &amp;lt;line_of_package&amp;gt;--fieldb = 'RENT'.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is what you are looking for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 May 2008 19:58:09 GMT</pubDate>
    <dc:creator>Sm1tje</dc:creator>
    <dc:date>2008-05-06T19:58:09Z</dc:date>
    <item>
      <title>Code help for a cube to cube routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-help-for-a-cube-to-cube-routine/m-p/3768800#M906902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am a BW person and needed some help with writing a small code on the BI side.&lt;/P&gt;&lt;P&gt;This is what i have&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to write a code when the data is going from the Cube to another cube which says if type is in range of 5000 - 5200 its 'Service' if its in range of 6000 - 6500 then its 'Rent'.&lt;/P&gt;&lt;P&gt;Do i need to define each number or can i give a blanket range of 5000 to 5200 'Service' and 6000 60 6500 is 'Rent'.please assist with the routine and show me if i want to write the range then how is it possible.&lt;/P&gt;&lt;P&gt;Points shall be assigned.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 18:30:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-help-for-a-cube-to-cube-routine/m-p/3768800#M906902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T18:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Code help for a cube to cube routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-help-for-a-cube-to-cube-routine/m-p/3768801#M906903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you going to do this in a start routine? I only have limited experience with BW programming, hence my question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say you have a DATA_PACKAGE over which you are going to loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;line_of_package&amp;gt; type DATA_PACKAGE (or structure of data_package).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT DATA_PACKAGE ASSIGNING &amp;lt;line_of_package&amp;gt;-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF &amp;lt;line_of_package&amp;gt;-fielda BETWEEN 5000 AND 5200.&lt;/P&gt;&lt;P&gt;    &amp;lt;line_of_package&amp;gt;--fieldb = 'SERVICE'.&lt;/P&gt;&lt;P&gt;ELSEIF &amp;lt;line_of_package&amp;gt;-fieldb BETWEEN 6000 AND 6500.&lt;/P&gt;&lt;P&gt;    &amp;lt;line_of_package&amp;gt;--fieldb = 'RENT'.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is what you are looking for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 19:58:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-help-for-a-cube-to-cube-routine/m-p/3768801#M906903</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-05-06T19:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Code help for a cube to cube routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-help-for-a-cube-to-cube-routine/m-p/3768802#M906904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Micky, &lt;/P&gt;&lt;P&gt;Full points assigned to you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2008 20:20:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-help-for-a-cube-to-cube-routine/m-p/3768802#M906904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-14T20:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Code help for a cube to cube routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-help-for-a-cube-to-cube-routine/m-p/3768803#M906905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Micky,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have anothr question for you, can you take a look at my post in the BI forum 'RSDRI_INFOPROV_READ doesnt read data from&lt;/P&gt;&lt;P&gt; source at all' Link: [&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5449459"&gt;&lt;/A&gt;|&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5449459"&gt;&lt;/A&gt;], its written in the Start Routine but its not getting any data for me may be the logic,but if you can please check it for me.&lt;/P&gt;&lt;P&gt; Points shall be assigned&lt;/P&gt;&lt;P&gt;Your help will be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 May 2008 05:09:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-help-for-a-cube-to-cube-routine/m-p/3768803#M906905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-25T05:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Code help for a cube to cube routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-help-for-a-cube-to-cube-routine/m-p/3768804#M906906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Never mind, its resolved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2008 12:36:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-help-for-a-cube-to-cube-routine/m-p/3768804#M906906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-29T12:36:49Z</dc:date>
    </item>
  </channel>
</rss>

