<?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: Perform statement doubt in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement-doubt/m-p/4935402#M1151200</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data g_hotspot.&lt;/P&gt;&lt;P&gt;data  g_lines type i.&lt;/P&gt;&lt;P&gt;clear g_hotspot.&lt;/P&gt;&lt;P&gt;describe table itab lines g_lines.&lt;/P&gt;&lt;P&gt;if not g_lines is inital.&lt;/P&gt;&lt;P&gt;g_hotspot = 'X'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform fcat using '1' 'kunnr' 'customernumber'  g_hotspot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM FCAT USING FP_COL_POS&lt;/P&gt;&lt;P&gt;FP_FIELDNAME&lt;/P&gt;&lt;P&gt;FP_SELTEXT_M&lt;/P&gt;&lt;P&gt;fp_hotspot.&lt;/P&gt;&lt;P&gt;wa_fcat-col_pos = fp_col_pos.&lt;/P&gt;&lt;P&gt;wa_fcat-fieldname = fp_fieldname.&lt;/P&gt;&lt;P&gt;wa_fcat-seletxt_m = fp_seltext_m.&lt;/P&gt;&lt;P&gt;wa_fcat-hotspot = fp_hotspot.&lt;/P&gt;&lt;P&gt;append wa_fcat to it_fcat.&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Dec 2008 11:38:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-17T11:38:34Z</dc:date>
    <item>
      <title>Perform statement doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement-doubt/m-p/4935399#M1151197</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;              I am using describe statement to find the number of records between my selection screen parameters and displaying in alv grid format, and in alv report i am using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform fcat using '1' 'kunnr' 'customernumber' 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM FCAT  USING      FP_COL_POS&lt;/P&gt;&lt;P&gt;                                   FP_FIELDNAME&lt;/P&gt;&lt;P&gt;                                   FP_SELTEXT_M&lt;/P&gt;&lt;P&gt;                                   fp_hotspot..&lt;/P&gt;&lt;P&gt;wa_fcat-col_pos = fp_col_pos.&lt;/P&gt;&lt;P&gt;wa_fcat-fieldname = fp_fieldname.&lt;/P&gt;&lt;P&gt;wa_fcat-seletxt_m = fp_seltext_m.&lt;/P&gt;&lt;P&gt;wa_fcat-hotspot = fp_hotspot.&lt;/P&gt;&lt;P&gt;append wa_fcat to it_fcat.&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my requirement is when there is no data in the describe statement that is 0  the hotspt has to be disabled how to perform this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Thirukumaran. R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2008 11:16:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement-doubt/m-p/4935399#M1151197</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-17T11:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: Perform statement doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement-doubt/m-p/4935400#M1151198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;describe table itab lines lv_lines.

if lv_lines gt 0.
perform fcat using '1' 'kunnr' 'customernumber' 'X'.
else.
perform fcat using '1' 'kunnr' 'customernumber' ' '.
endif.


FORM FCAT USING FP_COL_POS
FP_FIELDNAME
FP_SELTEXT_M
fp_hotspot..
wa_fcat-col_pos = fp_col_pos.
wa_fcat-fieldname = fp_fieldname.
wa_fcat-seletxt_m = fp_seltext_m.
wa_fcat-hotspot = fp_hotspot.
append wa_fcat to it_fcat.
endform.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2008 11:30:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement-doubt/m-p/4935400#M1151198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-17T11:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Perform statement doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement-doubt/m-p/4935401#M1151199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi as u r passin hard coded value sto perform stmt, before callin the perform stmt check teh line count, no. of records, in the internal table used for passing the data contains to alv grid, if tht line count is less than 1 pass the hotspot flag as balnk else pass it as X&lt;/P&gt;&lt;P&gt;sumthin liek this,&lt;/P&gt;&lt;P&gt;data: l_count type i.&lt;/P&gt;&lt;P&gt;describe it_data lines l_count.&lt;/P&gt;&lt;P&gt;if l_count lt 1.&lt;/P&gt;&lt;P&gt; call the perform with hotspot flag as space&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt; call the perform with hotspot flag as 'X'&lt;/P&gt;&lt;P&gt;endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ashwinee on Dec 17, 2008 5:04 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2008 11:33:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement-doubt/m-p/4935401#M1151199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-17T11:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Perform statement doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement-doubt/m-p/4935402#M1151200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data g_hotspot.&lt;/P&gt;&lt;P&gt;data  g_lines type i.&lt;/P&gt;&lt;P&gt;clear g_hotspot.&lt;/P&gt;&lt;P&gt;describe table itab lines g_lines.&lt;/P&gt;&lt;P&gt;if not g_lines is inital.&lt;/P&gt;&lt;P&gt;g_hotspot = 'X'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform fcat using '1' 'kunnr' 'customernumber'  g_hotspot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM FCAT USING FP_COL_POS&lt;/P&gt;&lt;P&gt;FP_FIELDNAME&lt;/P&gt;&lt;P&gt;FP_SELTEXT_M&lt;/P&gt;&lt;P&gt;fp_hotspot.&lt;/P&gt;&lt;P&gt;wa_fcat-col_pos = fp_col_pos.&lt;/P&gt;&lt;P&gt;wa_fcat-fieldname = fp_fieldname.&lt;/P&gt;&lt;P&gt;wa_fcat-seletxt_m = fp_seltext_m.&lt;/P&gt;&lt;P&gt;wa_fcat-hotspot = fp_hotspot.&lt;/P&gt;&lt;P&gt;append wa_fcat to it_fcat.&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2008 11:38:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement-doubt/m-p/4935402#M1151200</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-17T11:38:34Z</dc:date>
    </item>
  </channel>
</rss>

