<?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 write: g UNDER h. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-g-under-h/m-p/1417243#M200614</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I m trying to write data under columns using UNDER . But it is not working as my case is somewht different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my program it is not fixed that under which column data has to be set. Hence when cursor enters the loop it identifies the data concatenates that cost centre and 'Power' into a string variable and writes UNDER that variable value which is already printed as heading. But it is not working. PLZ help. The code is as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;********************&lt;/P&gt;&lt;P&gt;loop at t_smry&lt;/P&gt;&lt;P&gt;if t_smry-kostl ne 'INTER'.&lt;/P&gt;&lt;P&gt;w_tempkostl =  t_smry-kostl+4(6).&lt;/P&gt;&lt;P&gt;concatenate w_tempkostl ' - Power      ' into w_power_heading.&lt;/P&gt;&lt;P&gt;concatenate w_tempkostl ' - Labour     ' into w_Labour_heading.&lt;/P&gt;&lt;P&gt;concatenate w_tempkostl ' - Over Head  ' into w_OH_heading.&lt;/P&gt;&lt;P&gt;concatenate w_tempkostl ' - Deprction  ' into w_Dep_heading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:   t_smry-w_Power under w_power_heading,&lt;/P&gt;&lt;P&gt;         t_smry-w_Labour under w_Labour_heading,&lt;/P&gt;&lt;P&gt;         t_smry-w_OH under w_OH_heading,&lt;/P&gt;&lt;P&gt;         t_smry-w_Dep under w_Dep_heading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;The values for w_power_heading,w_Labour_heading,w_OH_heading,w_Dep_heading will differ .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz provide some other solution if UNDEr wont work in this scenario.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="56" type="ul"&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Jul 2006 05:53:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-11T05:53:56Z</dc:date>
    <item>
      <title>write: g UNDER h.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-g-under-h/m-p/1417243#M200614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I m trying to write data under columns using UNDER . But it is not working as my case is somewht different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my program it is not fixed that under which column data has to be set. Hence when cursor enters the loop it identifies the data concatenates that cost centre and 'Power' into a string variable and writes UNDER that variable value which is already printed as heading. But it is not working. PLZ help. The code is as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;********************&lt;/P&gt;&lt;P&gt;loop at t_smry&lt;/P&gt;&lt;P&gt;if t_smry-kostl ne 'INTER'.&lt;/P&gt;&lt;P&gt;w_tempkostl =  t_smry-kostl+4(6).&lt;/P&gt;&lt;P&gt;concatenate w_tempkostl ' - Power      ' into w_power_heading.&lt;/P&gt;&lt;P&gt;concatenate w_tempkostl ' - Labour     ' into w_Labour_heading.&lt;/P&gt;&lt;P&gt;concatenate w_tempkostl ' - Over Head  ' into w_OH_heading.&lt;/P&gt;&lt;P&gt;concatenate w_tempkostl ' - Deprction  ' into w_Dep_heading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:   t_smry-w_Power under w_power_heading,&lt;/P&gt;&lt;P&gt;         t_smry-w_Labour under w_Labour_heading,&lt;/P&gt;&lt;P&gt;         t_smry-w_OH under w_OH_heading,&lt;/P&gt;&lt;P&gt;         t_smry-w_Dep under w_Dep_heading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;The values for w_power_heading,w_Labour_heading,w_OH_heading,w_Dep_heading will differ .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz provide some other solution if UNDEr wont work in this scenario.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="56" type="ul"&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2006 05:53:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-g-under-h/m-p/1417243#M200614</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-11T05:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: write: g UNDER h.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-g-under-h/m-p/1417244#M200615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have not written any of the variables on to the screen that you are using AFTER UNDER. So, the system would not know those are written.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should do this first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write: w_power_heading,  w_Labour_heading, w_OH under w_OH_heading, w_Dep under w_Dep_heading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And now use the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write: t_smry-w_Power under w_power_heading,&lt;/P&gt;&lt;P&gt;t_smry-w_Labour under w_Labour_heading,&lt;/P&gt;&lt;P&gt;t_smry-w_OH under w_OH_heading,&lt;/P&gt;&lt;P&gt;t_smry-w_Dep under w_Dep_heading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note : Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2006 05:59:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-g-under-h/m-p/1417244#M200615</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-11T05:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: write: g UNDER h.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-g-under-h/m-p/1417245#M200616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u need to use the same variable names ( w_power_heading,w_Labour_heading,w_OH_heading,w_Dep_heading ) for the header too under which u want to display other data..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2006 06:03:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-g-under-h/m-p/1417245#M200616</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-11T06:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: write: g UNDER h.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-g-under-h/m-p/1417246#M200617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you have forgotten to write the heading...&lt;/P&gt;&lt;P&gt;You must write &amp;lt;b&amp;gt;w_power_heading&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;w_labour_heading&amp;lt;/b&amp;gt;,&amp;lt;b&amp;gt;w_OH_heading&amp;lt;/b&amp;gt;,&amp;lt;b&amp;gt;w_dep_heading&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can use the UNDER addition of write statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can refer this doc also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba15335c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba15335c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Close the thread once the problem is resolved.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2006 06:09:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-g-under-h/m-p/1417246#M200617</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-11T06:09:53Z</dc:date>
    </item>
  </channel>
</rss>

