<?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 issues in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-issues/m-p/3069933#M727597</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;How did you declared obj?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Nov 2007 21:05:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-28T21:05:30Z</dc:date>
    <item>
      <title>ALV issues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-issues/m-p/3069928#M727592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I' ve created a report using ALV. When i click on 'View' Button in ALV toolbar, its' giving me a short dump.  This is the details of short dump....Anybody knows the reason....&lt;/P&gt;&lt;P&gt;Runtime Errors         OBJECTS_NOT_CHARLIKE&lt;/P&gt;&lt;P&gt;Date and Time          11/28/2007 12:57:54&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ShrtText&lt;/P&gt;&lt;P&gt;     The current statement only supports character-type data objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; What happened?&lt;/P&gt;&lt;P&gt;     Error in ABAP application program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     The current ABAP program "SAPLKKBL" had to be terminated because one of the&lt;/P&gt;&lt;P&gt;     statements could not be executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     This is probably due to an error in the ABAP program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Error analysis&lt;/P&gt;&lt;P&gt;     In statement&lt;/P&gt;&lt;P&gt;        "STRLEN( obj )..."&lt;/P&gt;&lt;P&gt;     the argument "obj" can only take a character-type data object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     In this case, the operand "obj" has the non-character type "P".&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------" /&gt;&lt;P&gt;2---&lt;/P&gt;&lt;P&gt;delete it_outtab where not projn1 in s_pspid.&lt;/P&gt;&lt;P&gt;in this statment in opertator is not working properly, i mean it's not deleting the projn1 which are in s_pspid(select option)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Sal Khan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Sal Khan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2007 18:01:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-issues/m-p/3069928#M727592</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-28T18:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: ALV issues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-issues/m-p/3069929#M727593</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;Not sure what the problem is..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My guess would be ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Check whether the interface is activated or not.&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;delete it_outtab where not projn1 in s_pspid.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I think this statment is wrong..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please post the code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;chaithanya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2007 19:48:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-issues/m-p/3069929#M727593</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-28T19:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: ALV issues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-issues/m-p/3069930#M727594</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;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Data: r_projn type range of proj-pspid.
r_projn1-sign = 'E'.
r_projn1-option = 'BT'. " Just try with 'NB' also
r_projn1-low = s_projn1-low.
r_projn1-high = s_projn1-high.
append r_projn1.
clear r_projn1.

*Now delete
delete it_outtab where projn1 in r_projn1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2007 19:51:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-issues/m-p/3069930#M727594</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-28T19:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: ALV issues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-issues/m-p/3069931#M727595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anybody tell me the reason of this short dump. I have checked all the objects of my program is active. I have pasted the short dump also..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls help..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2007 20:59:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-issues/m-p/3069931#M727595</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-28T20:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: ALV issues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-issues/m-p/3069932#M727596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, check out your fieldcatalog. I think you are passing a variable with type p but in fieldcatalog you are not defining it properly. This is due to quantity or currency field. If you are building your own field catalog, use like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ls_fieldcat-fieldname = 'COST'.&lt;/P&gt;&lt;P&gt;  ls_fieldcat-inttype = 'P'.&lt;/P&gt;&lt;P&gt;  ls_fieldcat-intlen = 15.&lt;/P&gt;&lt;P&gt;  ls_fieldcat-decimals_out = 2.&lt;/P&gt;&lt;P&gt;  ls_fieldcat-reptext_ddic = 'CUSTOMER NET COST'.&lt;/P&gt;&lt;P&gt;  ls_fieldcat-do_sum = 'X'.&lt;/P&gt;&lt;P&gt;  APPEND ls_fieldcat TO rt_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean, you have to specify the inttype and intlen and decimals_out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2007 21:04:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-issues/m-p/3069932#M727596</guid>
      <dc:creator>former_member191735</dc:creator>
      <dc:date>2007-11-28T21:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: ALV issues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-issues/m-p/3069933#M727597</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;How did you declared obj?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2007 21:05:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-issues/m-p/3069933#M727597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-28T21:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: ALV issues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-issues/m-p/3069934#M727598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
PERFORM fillcat USING :

   1 'X' 'EBELN'           ' ' 'CHAR' 'C' '000010' ' ' 'PO Number'      ,
   2 'X' 'EBELP'           ' ' 'NUMC' 'N' '000005' ' ' 'Line '          ,
   3 ' ' 'TXZ01'           ' ' 'CHAR' 'C' '000040' ' ' 'Line item description ' ,
   4 ' ' 'ZEKKN'           ' ' 'NUMC' 'N' '000006' ' ' 'Seq no'                 ,
   5 ' ' 'KNTTP'           ' ' 'CHAR' 'C' '000002' ' ' 'C'                              
   6 ' ' 'ACC_ASMT'        ' ' 'CHAR' 'C' '000024' ' ' 'Acc assignment'       ,          
   7 ' ' 'INI_PO_AMT'      ' ' 'CURR' 'P' '000013' ' ' 'PO amount'         ,         
   8 ' ' 'REL_PO_REV'      ' ' 'CURR' 'P' '000013' ' ' 'PO rev'             ,        
   9' ' 'CUR_PO_AMT'      ' ' 'CURR' 'P' '000013' ' ' 'PO amount1'           ,      
  10 ' ' 'UNREL_PO_REV'    ' ' 'CURR' 'P' '000013' ' ' 'PO1 rev'            .     


ENDFORM.                    " field_catalog

*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  fillcat
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
*      --&amp;gt;P_ENDFORM  text
*----------------------------------------------------------------------*
FORM fillcat  USING           x_1    TYPE lvc_colpos
                              x_key  TYPE lvc_key
                              x_0172 TYPE lvc_fname
                              x_0173 TYPE lvc_noout
                              x_0174 TYPE datatype_d
                              x_0175 TYPE inttype
                              x_0176 TYPE intlen
                              x_0177 TYPE lowercase
                              x_0178 TYPE reptext
                              x_0179 TYPE scrtext_m
                              x_0180 TYPE c.

* change fieldcatalog
  DATA: ls_fieldcatalog TYPE lvc_s_fcat.
  ls_fieldcatalog-col_pos   = x_1.
  ls_fieldcatalog-key       = x_key.
  ls_fieldcatalog-fieldname = x_0172.
  ls_fieldcatalog-no_out    = x_0173.
  ls_fieldcatalog-datatype  = x_0174.
  ls_fieldcatalog-inttype   = x_0175.
  ls_fieldcatalog-intlen    = x_0176.
  ls_fieldcatalog-lowercase = x_0177.
  ls_fieldcatalog-reptext   = x_0178.
  ls_fieldcatalog-scrtext_m = x_0178.
  ls_fieldcatalog-scrtext_l = x_0179.
  ls_fieldcatalog-scrtext_s = x_0178.
  ls_fieldcatalog-no_sum    = ' '.
*  ls_fieldcatalog-total    = ' '.
  IF x_1 &amp;lt;&amp;gt; 10.
  ls_fieldcatalog-no_zero   = 'X'.
*  ls_fieldcatalog-NO_TOTLINE   = 'X'.

  ENDIF.
  ls_fieldcatalog-do_sum    = x_0180.
  APPEND ls_fieldcatalog TO gt_fieldcatalog.


ENDFORM.                    " fillcat

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thas how i'm defining my field catalog....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls suggest...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2007 21:27:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-issues/m-p/3069934#M727598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-28T21:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: ALV issues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-issues/m-p/3069935#M727599</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;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PERFORM fillcat USING :
 
   1 'X' 'EBELN'           ' ' 'CHAR' 'C' '000010' ' ' 'PO Number'      ,
   2 'X' 'EBELP'           ' ' 'NUMC' 'N' '000005' ' ' 'Line '          ,
   3 ' ' 'TXZ01'           ' ' 'CHAR' 'C' '000040' ' ' 'Line item description ' ,
   4 ' ' 'ZEKKN'           ' ' 'NUMC' 'N' '000006' ' ' 'Seq no'                 ,
   5 ' ' 'KNTTP'           ' ' 'CHAR' 'C' '000002' ' ' 'C'                              
   6 ' ' 'ACC_ASMT'        ' ' 'CHAR' 'C' '000024' ' ' 'Acc assignment'       ,          
   7 ' ' 'INI_PO_AMT'      ' ' 'CHAR' 'P' '000013' ' ' 'PO amount'         ,         
   8 ' ' 'REL_PO_REV'      ' ' 'CHAR' 'P' '000013' ' ' 'PO rev'             ,        
   9' ' 'CUR_PO_AMT'      ' ' 'CHAR' 'P' '000013' ' ' 'PO amount1'           ,      
  10 ' ' 'UNREL_PO_REV'    ' ' 'CHAR' 'P' '000013' ' ' 'PO1 rev'            .     
 
 
ENDFORM.                    " field_catalog&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2007 21:32:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-issues/m-p/3069935#M727599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-28T21:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: ALV issues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-issues/m-p/3069936#M727600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Satish,&lt;/P&gt;&lt;P&gt;It did't work...i have changed. But in another it has the same data type as CURR and catalog creation is same. In that report this 'view' button in toolbar is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2007 21:52:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-issues/m-p/3069936#M727600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-28T21:52:04Z</dc:date>
    </item>
  </channel>
</rss>

