<?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: ALV Toolbar Runtime error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-toolbar-runtime-error/m-p/8229721#M1629068</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi PranavJeeth,&lt;/P&gt;&lt;P&gt;                         this is my field catalog.i'm just showing one field.&lt;/P&gt;&lt;P&gt;               PERFORM set_field USING:&lt;/P&gt;&lt;P&gt;                      FIELD   SHORT TEXT   LONG TEXT             OUTLEN  TYP FMT SUM HID&lt;/P&gt;&lt;P&gt;                      'STPRS' 'STD.PRICE ' 'STANDARD PRICE      ' '00011'    'P'   ' '        ' '     ' ',&lt;/P&gt;&lt;P&gt;FORM set_field USING pv_fieldname TYPE c&lt;/P&gt;&lt;P&gt;                     pv_descr_s   TYPE c&lt;/P&gt;&lt;P&gt;                     pv_descr_m   TYPE c&lt;/P&gt;&lt;P&gt;                     pv_length    TYPE c&lt;/P&gt;&lt;P&gt;                     pv_inttype   TYPE c&lt;/P&gt;&lt;P&gt;                     pv_format    TYPE c&lt;/P&gt;&lt;P&gt;                     pv_sum       TYPE c&lt;/P&gt;&lt;P&gt;                     pv_hide      TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR gw_fieldcat.&lt;/P&gt;&lt;P&gt;  gw_fieldcat-fieldname = pv_fieldname.&lt;/P&gt;&lt;P&gt;  gw_fieldcat-seltext_s = pv_descr_s.&lt;/P&gt;&lt;P&gt;  gw_fieldcat-seltext_m = pv_descr_m.&lt;/P&gt;&lt;P&gt;  gw_fieldcat-outputlen = pv_length.&lt;/P&gt;&lt;P&gt;  gw_fieldcat-inttype   = pv_inttype.&lt;/P&gt;&lt;P&gt;  gw_fieldcat-no_out    = pv_hide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE pv_format.&lt;/P&gt;&lt;P&gt;*-- Prices must have corresponding currency for format purposes&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  If no currency field is needed (fixed currency), use&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  GW_FIELDCAT-CURRENCY instead of GW_FIELDCAT-CFIELDNAME&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    WHEN 'P'.                           " prices&lt;/P&gt;&lt;P&gt;      gw_fieldcat-currency   = 'MYR'.&lt;/P&gt;&lt;P&gt;      gw_fieldcat-do_sum     = pv_sum.&lt;/P&gt;&lt;P&gt;                                           when i excute report is ok.but when we clcik on alv toolbar runtime error occuring.when i run debugger,the code like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if gs_fc-tech_form ne 99.&lt;/P&gt;&lt;P&gt;gs_out-hlplen = strlen( &amp;lt;field&amp;gt; ).&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;   when i click on field the values like this&lt;/P&gt;&lt;P&gt;     &amp;lt;field&amp;gt; = 100&lt;/P&gt;&lt;P&gt;     gs_fc-tech_form  = 90.&lt;/P&gt;&lt;P&gt;             please suggest on this issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Oct 2011 01:44:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-10-21T01:44:20Z</dc:date>
    <item>
      <title>ALV Toolbar Runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-toolbar-runtime-error/m-p/8229719#M1629066</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 enhancing one report.i just added some fields like standard price,special procurement,safety stock.i'm displaying the &lt;/P&gt;&lt;P&gt;report in ALV.my problem is report displaying is fine.but when i click any ALV toolbar buttons like export to local file,print preview.before enhancement,ALV tool bar is working fine.it is showing the runtime error like "The statement strlen(obj) the argument 'obj' can only take a character type data obj.in this case,the operand 'ob' has the non character type".i am unabale to find where exactly error is occuring.. when i start debugger in runtime error 'the cursor going to 'gs_out-hlplen = strlen( &amp;lt;field&amp;gt; ).when i click this one is is showing my standard price value of the first material in ALV like '3367.44'.can anyone suggest on this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Arjun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2011 08:41:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-toolbar-runtime-error/m-p/8229719#M1629066</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-20T08:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Toolbar Runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-toolbar-runtime-error/m-p/8229720#M1629067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please share the field catalog that is being populated for that field and the method that is being called for displaying ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If posiible please also share the standard report and form which is throwing error (from runtime debugger).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2011 10:05:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-toolbar-runtime-error/m-p/8229720#M1629067</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-20T10:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Toolbar Runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-toolbar-runtime-error/m-p/8229721#M1629068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi PranavJeeth,&lt;/P&gt;&lt;P&gt;                         this is my field catalog.i'm just showing one field.&lt;/P&gt;&lt;P&gt;               PERFORM set_field USING:&lt;/P&gt;&lt;P&gt;                      FIELD   SHORT TEXT   LONG TEXT             OUTLEN  TYP FMT SUM HID&lt;/P&gt;&lt;P&gt;                      'STPRS' 'STD.PRICE ' 'STANDARD PRICE      ' '00011'    'P'   ' '        ' '     ' ',&lt;/P&gt;&lt;P&gt;FORM set_field USING pv_fieldname TYPE c&lt;/P&gt;&lt;P&gt;                     pv_descr_s   TYPE c&lt;/P&gt;&lt;P&gt;                     pv_descr_m   TYPE c&lt;/P&gt;&lt;P&gt;                     pv_length    TYPE c&lt;/P&gt;&lt;P&gt;                     pv_inttype   TYPE c&lt;/P&gt;&lt;P&gt;                     pv_format    TYPE c&lt;/P&gt;&lt;P&gt;                     pv_sum       TYPE c&lt;/P&gt;&lt;P&gt;                     pv_hide      TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR gw_fieldcat.&lt;/P&gt;&lt;P&gt;  gw_fieldcat-fieldname = pv_fieldname.&lt;/P&gt;&lt;P&gt;  gw_fieldcat-seltext_s = pv_descr_s.&lt;/P&gt;&lt;P&gt;  gw_fieldcat-seltext_m = pv_descr_m.&lt;/P&gt;&lt;P&gt;  gw_fieldcat-outputlen = pv_length.&lt;/P&gt;&lt;P&gt;  gw_fieldcat-inttype   = pv_inttype.&lt;/P&gt;&lt;P&gt;  gw_fieldcat-no_out    = pv_hide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE pv_format.&lt;/P&gt;&lt;P&gt;*-- Prices must have corresponding currency for format purposes&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  If no currency field is needed (fixed currency), use&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  GW_FIELDCAT-CURRENCY instead of GW_FIELDCAT-CFIELDNAME&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    WHEN 'P'.                           " prices&lt;/P&gt;&lt;P&gt;      gw_fieldcat-currency   = 'MYR'.&lt;/P&gt;&lt;P&gt;      gw_fieldcat-do_sum     = pv_sum.&lt;/P&gt;&lt;P&gt;                                           when i excute report is ok.but when we clcik on alv toolbar runtime error occuring.when i run debugger,the code like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if gs_fc-tech_form ne 99.&lt;/P&gt;&lt;P&gt;gs_out-hlplen = strlen( &amp;lt;field&amp;gt; ).&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;   when i click on field the values like this&lt;/P&gt;&lt;P&gt;     &amp;lt;field&amp;gt; = 100&lt;/P&gt;&lt;P&gt;     gs_fc-tech_form  = 90.&lt;/P&gt;&lt;P&gt;             please suggest on this issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2011 01:44:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-toolbar-runtime-error/m-p/8229721#M1629068</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-21T01:44:20Z</dc:date>
    </item>
  </channel>
</rss>

