<?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: printing block in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/printing-block/m-p/2822822#M660318</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here you are not updating value in final table it_code_det.&lt;/P&gt;&lt;P&gt;so when you are going for output it is not printing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create the two filed for&lt;/P&gt;&lt;P&gt;6) p0 color col_key,sy-vline,&lt;/P&gt;&lt;P&gt;(7) cp color col_key,sy-vline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;update in final table  it_code_det.&lt;/P&gt;&lt;P&gt;then print in output from  it_code_det.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rewards if useful............&lt;/P&gt;&lt;P&gt;Minal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Oct 2007 04:07:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-03T04:07:47Z</dc:date>
    <item>
      <title>printing block</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/printing-block/m-p/2822820#M660316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;loop at it_code_det.&lt;/P&gt;&lt;P&gt;    read table it_qpct with key codegrp = it_code_det-fegrp&lt;/P&gt;&lt;P&gt;    code = it_code_det-fecod.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    select single * from qpct where codegruppe = it_code_det-urgrp and&lt;/P&gt;&lt;P&gt;    code = it_code_det-urcod.&lt;/P&gt;&lt;P&gt;    p0 =  ( it_code_det-count / total ) * 100.&lt;/P&gt;&lt;P&gt;    cp = cp + p0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    write:/2 sy-vline,(8) it_code_det-fegrp color col_key,sy-vline, (5)&lt;/P&gt;&lt;P&gt;  it_code_det-fecod color col_key ,sy-vline,(40) it_qpct-kurztext color&lt;/P&gt;&lt;P&gt;   col_key,sy-vline,&lt;/P&gt;&lt;P&gt;   (8) it_code_det-urgrp color col_key,sy-vline,&lt;/P&gt;&lt;P&gt;   (5) it_code_det-urcod color col_key,sy-vline,&lt;/P&gt;&lt;P&gt;   (40) qpct-kurztext color col_key,sy-vline,&lt;/P&gt;&lt;P&gt;     (2) it_code_det-st color col_heading,sy-vline,&lt;/P&gt;&lt;P&gt;     (4) it_code_det-oteil color col_key,sy-vline,&lt;/P&gt;&lt;P&gt;     (6) it_code_det-count color col_key,sy-vline,&lt;/P&gt;&lt;P&gt;   (6) p0 color col_key,sy-vline,&lt;/P&gt;&lt;P&gt;   (7) cp color col_key,sy-vline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    total1 = total1 + p0.&lt;/P&gt;&lt;P&gt;    clear qpct.&lt;/P&gt;&lt;P&gt;    clear p0.&lt;/P&gt;&lt;P&gt;    clear it_qpct.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;This is the code.Some fields might have no values.That is not a problem. It will be printed with empty space.But empty line appears in b/w records.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2007 04:02:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/printing-block/m-p/2822820#M660316</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-03T04:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: printing block</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/printing-block/m-p/2822821#M660317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the line size declared in the program? If line size is less than the record length, record will be pushed to next line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also it is a good practice do SY-SUBRC checks after READ as wel las SELECTs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2007 04:07:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/printing-block/m-p/2822821#M660317</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-03T04:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: printing block</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/printing-block/m-p/2822822#M660318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here you are not updating value in final table it_code_det.&lt;/P&gt;&lt;P&gt;so when you are going for output it is not printing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create the two filed for&lt;/P&gt;&lt;P&gt;6) p0 color col_key,sy-vline,&lt;/P&gt;&lt;P&gt;(7) cp color col_key,sy-vline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;update in final table  it_code_det.&lt;/P&gt;&lt;P&gt;then print in output from  it_code_det.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rewards if useful............&lt;/P&gt;&lt;P&gt;Minal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2007 04:07:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/printing-block/m-p/2822822#M660318</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-03T04:07:47Z</dc:date>
    </item>
  </channel>
</rss>

