<?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: RUNTIME ERROR IN GENERATED PROGRAM. Overflow converting '' in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-in-generated-program-overflow-converting/m-p/5061372#M1176186</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harsha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you see the short dump, it will point you the location of error.&lt;/P&gt;&lt;P&gt;You can either execute your program to see short dump or you can go to ST22.&lt;/P&gt;&lt;P&gt;Look for these symbols &amp;gt;&amp;gt;&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can send ST22 screen shot of your program then probably I can tell you what went wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mubeen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Jan 2009 20:34:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-20T20:34:21Z</dc:date>
    <item>
      <title>RUNTIME ERROR IN GENERATED PROGRAM. Overflow converting ''</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-in-generated-program-overflow-converting/m-p/5061371#M1176185</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;While executing the below code i am getting the error &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;" RUNTIME ERROR IN GENERATED PROGRAM. Overflow converting ' ' am new to ABAP , can anyone kindly help me where i have went wrong ? .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF ( V_DO_CDS_NAME_MAIN &amp;lt;&amp;gt; '' ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        DATA: ref_it_tab TYPE REF TO data,&lt;/P&gt;&lt;P&gt;              ref_wa TYPE REF TO data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        FIELD-SYMBOLS: &amp;lt;fs_itab&amp;gt; TYPE ANY TABLE.&lt;/P&gt;&lt;P&gt;        FIELD-SYMBOLS: &amp;lt;fs_wa&amp;gt; TYPE ANY.&lt;/P&gt;&lt;P&gt;        FIELD-SYMBOLS: &amp;lt;fs_field&amp;gt; TYPE ANY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        CREATE DATA ref_it_tab TYPE STANDARD TABLE OF (V_DO_CDS_NAME_MAIN) WITH NON-UNIQUE DEFAULT KEY.&lt;/P&gt;&lt;P&gt;        ASSIGN ref_it_tab-&amp;gt;* TO &amp;lt;fs_itab&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        SELECT * FROM (V_DO_CDS_NAME_MAIN) INTO TABLE &amp;lt;fs_itab&amp;gt; where C1 = V_WORK_ITEM_ID_MAIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        CREATE DATA ref_wa LIKE LINE OF &amp;lt;fs_itab&amp;gt;.&lt;/P&gt;&lt;P&gt;        ASSIGN ref_wa-&amp;gt;* TO &amp;lt;fs_wa&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        loop at &amp;lt;fs_itab&amp;gt; assigning &amp;lt;fs_wa&amp;gt;.&lt;/P&gt;&lt;P&gt;            assign component 'CLIENT' of structure &amp;lt;fs_wa&amp;gt; to &amp;lt;fs_field&amp;gt;.&lt;/P&gt;&lt;P&gt;            V_CLIENT = &amp;lt;fs_field&amp;gt;.&lt;/P&gt;&lt;P&gt;            assign component 'C0' of structure &amp;lt;fs_wa&amp;gt; to &amp;lt;fs_field&amp;gt;.&lt;/P&gt;&lt;P&gt;            V_C0 = &amp;lt;fs_field&amp;gt;.&lt;/P&gt;&lt;P&gt;            assign component 'C1' of structure &amp;lt;fs_wa&amp;gt; to &amp;lt;fs_field&amp;gt;.&lt;/P&gt;&lt;P&gt;            V_C1 = &amp;lt;fs_field&amp;gt;.&lt;/P&gt;&lt;P&gt;            assign component 'C2' of structure &amp;lt;fs_wa&amp;gt; to &amp;lt;fs_field&amp;gt;.&lt;/P&gt;&lt;P&gt;            V_C2 = &amp;lt;fs_field&amp;gt;.&lt;/P&gt;&lt;P&gt;            assign component 'C3' of structure &amp;lt;fs_wa&amp;gt; to &amp;lt;fs_field&amp;gt;.&lt;/P&gt;&lt;P&gt;            V_C3 = &amp;lt;fs_field&amp;gt;.&lt;/P&gt;&lt;P&gt;            assign component 'C4' of structure &amp;lt;fs_wa&amp;gt; to &amp;lt;fs_field&amp;gt;.&lt;/P&gt;&lt;P&gt;            V_C4 = &amp;lt;fs_field&amp;gt;.&lt;/P&gt;&lt;P&gt;            assign component 'C5' of structure &amp;lt;fs_wa&amp;gt; to &amp;lt;fs_field&amp;gt;.&lt;/P&gt;&lt;P&gt;            V_C5 = &amp;lt;fs_field&amp;gt;.&lt;/P&gt;&lt;P&gt;            assign component 'C6' of structure &amp;lt;fs_wa&amp;gt; to &amp;lt;fs_field&amp;gt;.&lt;/P&gt;&lt;P&gt;            V_C6 = &amp;lt;fs_field&amp;gt;.&lt;/P&gt;&lt;P&gt;            assign component 'C7' of structure &amp;lt;fs_wa&amp;gt; to &amp;lt;fs_field&amp;gt;.&lt;/P&gt;&lt;P&gt;            V_C7 = &amp;lt;fs_field&amp;gt;.&lt;/P&gt;&lt;P&gt;            assign component 'C8' of structure &amp;lt;fs_wa&amp;gt; to &amp;lt;fs_field&amp;gt;.&lt;/P&gt;&lt;P&gt;            V_C8 = &amp;lt;fs_field&amp;gt;.&lt;/P&gt;&lt;P&gt;            assign component 'MESSAGE_ID' of structure &amp;lt;fs_wa&amp;gt; to &amp;lt;fs_field&amp;gt;.&lt;/P&gt;&lt;P&gt;            V_MESSAGE_ID = &amp;lt;fs_field&amp;gt;.&lt;/P&gt;&lt;P&gt;            assign component 'TIMESTAMP' of structure &amp;lt;fs_wa&amp;gt; to &amp;lt;fs_field&amp;gt;.&lt;/P&gt;&lt;P&gt;            V_TIMESTAMP = &amp;lt;fs_field&amp;gt;.&lt;/P&gt;&lt;P&gt;            assign component 'EXTRACTKEY' of structure &amp;lt;fs_wa&amp;gt; to &amp;lt;fs_field&amp;gt;.&lt;/P&gt;&lt;P&gt;            V_EXTRACTKEY = &amp;lt;fs_field&amp;gt;.&lt;/P&gt;&lt;P&gt;            assign component 'STATEID' of structure &amp;lt;fs_wa&amp;gt; to &amp;lt;fs_field&amp;gt;.&lt;/P&gt;&lt;P&gt;            V_STATEID = &amp;lt;fs_field&amp;gt;.&lt;/P&gt;&lt;P&gt;            assign component 'DEVICE_ID' of structure &amp;lt;fs_wa&amp;gt; to &amp;lt;fs_field&amp;gt;.&lt;/P&gt;&lt;P&gt;            V_DEVICE_ID = &amp;lt;fs_field&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDABAP.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2009 15:27:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-in-generated-program-overflow-converting/m-p/5061371#M1176185</guid>
      <dc:creator>harsha_s</dc:creator>
      <dc:date>2009-01-20T15:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: RUNTIME ERROR IN GENERATED PROGRAM. Overflow converting ''</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-in-generated-program-overflow-converting/m-p/5061372#M1176186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harsha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you see the short dump, it will point you the location of error.&lt;/P&gt;&lt;P&gt;You can either execute your program to see short dump or you can go to ST22.&lt;/P&gt;&lt;P&gt;Look for these symbols &amp;gt;&amp;gt;&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can send ST22 screen shot of your program then probably I can tell you what went wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mubeen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2009 20:34:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-in-generated-program-overflow-converting/m-p/5061372#M1176186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-20T20:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: RUNTIME ERROR IN GENERATED PROGRAM. Overflow converting ''</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-in-generated-program-overflow-converting/m-p/5061373#M1176187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Harsha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like problem is in the IF statement.&lt;/P&gt;&lt;P&gt;You didn't write the conditional statement correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF ( V_DO_CDS_NAME_MAIN '' ).&lt;/P&gt;&lt;P&gt;it does not make sense, that is why you got short dump.&lt;/P&gt;&lt;P&gt;There is no conditional operator ( my apologies if the term is wrong) like AND, OR, GT, GE, LT, LE...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please correct it and let me know if it does not help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mubeen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2009 20:39:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-in-generated-program-overflow-converting/m-p/5061373#M1176187</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-20T20:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: RUNTIME ERROR IN GENERATED PROGRAM. Overflow converting ''</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-in-generated-program-overflow-converting/m-p/5061374#M1176188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mubeen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While Copying the cotes have come closer otherwise its working fine , i was able to find the error .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are ten predefined ABAP data types. There are 100 possible type combinations between these elementary data types. ABAP supports automatic type conversion and length adjustment for all of them except type D (date) and type T (time) fields which cannot be converted into each other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I commented the TimeStamp part where i had given the ABAP Type as D and it started working .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now i want to display the content of  "TimeStamp"  field but i am not able to do so .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the format in which it has to be displayed 2009.011.915.3353.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which ABAPTYPE i need to use ?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am able to display in this format 20090119153353 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Harsha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2009 13:48:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-in-generated-program-overflow-converting/m-p/5061374#M1176188</guid>
      <dc:creator>harsha_s</dc:creator>
      <dc:date>2009-01-21T13:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: RUNTIME ERROR IN GENERATED PROGRAM. Overflow converting ''</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-in-generated-program-overflow-converting/m-p/5061375#M1176189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harsha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You said, you were able to display date and time in this format 20090119153353.&lt;/P&gt;&lt;P&gt;What data type did you use?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways, if you have this value I guess you can change the format using WRITE and FORMAT statement.&lt;/P&gt;&lt;P&gt;I don't remember exactly but if you do F1 on WRITE you can find out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mubeen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2009 16:05:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-in-generated-program-overflow-converting/m-p/5061375#M1176189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-21T16:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: RUNTIME ERROR IN GENERATED PROGRAM. Overflow converting ''</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-in-generated-program-overflow-converting/m-p/5061376#M1176190</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;As i am using eCATT ( testing tool ) and i am using ABAP code inside eCATT editor .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me try with WRITE Command .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But eCATT does not provide the command called WRITE and Format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Harsha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2009 16:37:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-in-generated-program-overflow-converting/m-p/5061376#M1176190</guid>
      <dc:creator>harsha_s</dc:creator>
      <dc:date>2009-01-21T16:37:30Z</dc:date>
    </item>
  </channel>
</rss>

