<?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 need help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help/m-p/3078096#M729942</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I am executing the below code I am gettgin the error like  &lt;/P&gt;&lt;P&gt;"W_TOTAL_RECORDS" must be a character-type data object (data type C, N,&lt;/P&gt;&lt;P&gt;D, T or STRING). field string).		&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to resolve .		&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA :LW_SUCCESS_RECORDS LIKE SY-TFILL,&lt;/P&gt;&lt;P&gt;        LW_ERROR_RECORDS LIKE SY-TFILL,&lt;/P&gt;&lt;P&gt;        LW_TOTAL_REC(100),&lt;/P&gt;&lt;P&gt;        LW_SUCCESS_TEXT(100),&lt;/P&gt;&lt;P&gt;        LW_ERROR_TEXT(100).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LW_SUCCESS_RECORDS = W_COUNT.&lt;/P&gt;&lt;P&gt;  LW_ERROR_RECORDS = W_TOTAL_RECORDS - LW_SUCCESS_RECORDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONCATENATE 'The Total Number of records:' W_TOTAL_RECORDS INTO&lt;/P&gt;&lt;P&gt;  LW_TOTAL_REC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONCATENATE 'The Number of Success records:' LW_SUCCESS_RECORDS INTO&lt;/P&gt;&lt;P&gt;  LW_SUCCESS_TEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONCATENATE 'The Number of Error records:' LW_ERROR_RECORDS INTO&lt;/P&gt;&lt;P&gt;  LW_ERROR_TEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT_LO'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      TITEL        = 'Update statistics '&lt;/P&gt;&lt;P&gt;      TEXTLINE1    = LW_TOTAL_REC&lt;/P&gt;&lt;P&gt;      TEXTLINE2    = LW_SUCCESS_TEXT&lt;/P&gt;&lt;P&gt;      TEXTLINE3    = LW_ERROR_TEXT&lt;/P&gt;&lt;P&gt;      START_COLUMN = 15&lt;/P&gt;&lt;P&gt;      START_ROW    = 6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Aj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Nov 2007 13:47:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-27T13:47:19Z</dc:date>
    <item>
      <title>need help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help/m-p/3078096#M729942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I am executing the below code I am gettgin the error like  &lt;/P&gt;&lt;P&gt;"W_TOTAL_RECORDS" must be a character-type data object (data type C, N,&lt;/P&gt;&lt;P&gt;D, T or STRING). field string).		&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to resolve .		&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA :LW_SUCCESS_RECORDS LIKE SY-TFILL,&lt;/P&gt;&lt;P&gt;        LW_ERROR_RECORDS LIKE SY-TFILL,&lt;/P&gt;&lt;P&gt;        LW_TOTAL_REC(100),&lt;/P&gt;&lt;P&gt;        LW_SUCCESS_TEXT(100),&lt;/P&gt;&lt;P&gt;        LW_ERROR_TEXT(100).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LW_SUCCESS_RECORDS = W_COUNT.&lt;/P&gt;&lt;P&gt;  LW_ERROR_RECORDS = W_TOTAL_RECORDS - LW_SUCCESS_RECORDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONCATENATE 'The Total Number of records:' W_TOTAL_RECORDS INTO&lt;/P&gt;&lt;P&gt;  LW_TOTAL_REC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONCATENATE 'The Number of Success records:' LW_SUCCESS_RECORDS INTO&lt;/P&gt;&lt;P&gt;  LW_SUCCESS_TEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONCATENATE 'The Number of Error records:' LW_ERROR_RECORDS INTO&lt;/P&gt;&lt;P&gt;  LW_ERROR_TEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT_LO'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      TITEL        = 'Update statistics '&lt;/P&gt;&lt;P&gt;      TEXTLINE1    = LW_TOTAL_REC&lt;/P&gt;&lt;P&gt;      TEXTLINE2    = LW_SUCCESS_TEXT&lt;/P&gt;&lt;P&gt;      TEXTLINE3    = LW_ERROR_TEXT&lt;/P&gt;&lt;P&gt;      START_COLUMN = 15&lt;/P&gt;&lt;P&gt;      START_ROW    = 6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Aj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 13:47:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help/m-p/3078096#M729942</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-27T13:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: need help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help/m-p/3078097#M729943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;move w_total_records to charecter type data field and use that in concatenate and other places....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as u can use only charecter type objects in concatenate statement....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : var type string.&lt;/P&gt;&lt;P&gt;var = w_total_records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now use this var instead of w_total_records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vasu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 13:49:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help/m-p/3078097#M729943</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-27T13:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: need help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help/m-p/3078098#M729944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ajay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: LW_SUCCESS_RECORDS type i,&lt;/P&gt;&lt;P&gt;LW_ERROR_RECORDS type i.&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>Tue, 27 Nov 2007 13:51:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help/m-p/3078098#M729944</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-27T13:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: need help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help/m-p/3078099#M729945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
"you may get same error for other fields also.
"so try to define 3 character fields like
DATA : w_records TYPE char5,
       s_records TYPE char5,
       e_records TYPE char5.


lw_success_records = w_count.
lw_error_records = w_total_records - lw_success_records.

"assign values to correpsonding fields
w_records = w_total_records.
s_records = lw_success_records.
e_records = lw_error_records.
"Then cahnge your statements like this.

CONCATENATE 'The Total Number of records:' w_records INTO
lw_total_rec SEPARATED BY space.

CONCATENATE 'The Number of Success records:' s_records INTO
lw_success_text SEPARATED BY space.

CONCATENATE 'The Number of Error records:' e_records INTO
lw_error_text SEPARATED BY space.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 14:05:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help/m-p/3078099#M729945</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-27T14:05:41Z</dc:date>
    </item>
  </channel>
</rss>

