<?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: purchase order print program error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/purchase-order-print-program-error/m-p/3892945#M934707</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prasad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the FM's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPELL_AMOUNT --&amp;gt; for display in millions&lt;/P&gt;&lt;P&gt;HR_IN_CHG_INR_WRDS --&amp;gt; for display in lakhs and crores&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 08 Jun 2008 19:55:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-08T19:55:17Z</dc:date>
    <item>
      <title>purchase order print program error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/purchase-order-print-program-error/m-p/3892943#M934705</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;am facing a problem in my purchase order print program. the problem is that when i am trying to see the print preview the following dump error is throughing, which am not able to understand.&lt;/P&gt;&lt;P&gt;the P.O total amount should be change into words( like one million then thousand thirty three kuwait dinars)&lt;/P&gt;&lt;P&gt;but the total amount is not converting into as mentioned, instead the dump is encountered. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please give me solution,&lt;/P&gt;&lt;P&gt;thnaks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;DUMP&lt;/STRONG&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime Errors         CONVT_NO_NUMBER                                                              &lt;/P&gt;&lt;P&gt;Exception                CX_SY_CONVERSION_NO_NUMBER                                                   &lt;/P&gt;&lt;P&gt;Date and Time          05.05.2008 19:04:43                                                          &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Short text                                                                                &lt;/P&gt;&lt;P&gt;Unable to interpret "1760,778.71 " as a number.                                                &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;What happened?                                                                                &lt;/P&gt;&lt;P&gt;Error in the ABAP Application Program                                                                                &lt;/P&gt;&lt;P&gt;The current ABAP program "ZMM_SUBROUTINES" had to be terminated because it has                 &lt;/P&gt;&lt;P&gt;    come across a statement that unfortunately cannot be executed.                                 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;What can you do?                                                                                &lt;/P&gt;&lt;P&gt;Note down which actions and inputs caused the error.                                                                                &lt;/P&gt;&lt;P&gt;To process the problem further, contact you SAP system                                         &lt;/P&gt;&lt;P&gt;    administrator.                                                                                &lt;/P&gt;&lt;P&gt;Using Transaction ST22 for ABAP Dump Analysis, you can look                                    &lt;/P&gt;&lt;P&gt;    at and manage termination messages, and you can also                                           &lt;/P&gt;&lt;P&gt;    keep them for a long time.                                                                     &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Error analysis                                                                                &lt;/P&gt;&lt;P&gt;An exception occurred that is explained in detail below.                                       &lt;/P&gt;&lt;P&gt;    The exception, which is assigned to class 'CX_SY_CONVERSION_NO_NUMBER', was not                &lt;/P&gt;&lt;P&gt;     caught in                                                                                &lt;/P&gt;&lt;P&gt;procedure "GET_AMT_IN_WORDS" "(FORM)", nor was it propagated by a RAISING                      &lt;/P&gt;&lt;P&gt;     clause.                                                                                &lt;/P&gt;&lt;P&gt;Since the caller of the procedure could not have anticipated that the                          &lt;/P&gt;&lt;P&gt;    exception would occur, the current program is terminated.                                      &lt;/P&gt;&lt;P&gt;    The reason for the exception is:                                                               &lt;/P&gt;&lt;P&gt;    The program attempted to interpret the value "1760,778.71 " as a number, but                   &lt;/P&gt;&lt;P&gt;    since the value contravenes the rules for correct number formats,                              &lt;/P&gt;&lt;P&gt;    this was not possible.                                                                         &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;How to correct the error                                                                                &lt;/P&gt;&lt;P&gt;Whole numbers are represented in ABAP as a sequence of numbers, possibly                       &lt;/P&gt;&lt;P&gt;     with an algebraic sign.                                                                       &lt;/P&gt;&lt;P&gt;    The following are the possibilities for the representation of floating                         &lt;/P&gt;&lt;P&gt;    point numbers:                                                                                &lt;/P&gt;&lt;P&gt;[algebraic sign][mantissa]E[algebraic sign][exponent]                                        &lt;/P&gt;&lt;P&gt;      [algebraic sign][whole number part].[fraction part]                                          &lt;/P&gt;&lt;P&gt;    For example, -12E+34, +12E-34, 12E34, 12.34                                                    &lt;/P&gt;&lt;P&gt;    If the error occurred in your own ABAP program or in an SAP                                    &lt;/P&gt;&lt;P&gt;    program you modified, try to remove the error.                                                                                &lt;/P&gt;&lt;P&gt;If the error occures in a non-modified SAP program, you may be able to                         &lt;/P&gt;&lt;P&gt;    find an interim solution in an SAP Note.                                                       &lt;/P&gt;&lt;P&gt;    If you have access to SAP Notes, carry out a search with the following                         &lt;/P&gt;&lt;P&gt;    keywords:                                                                                &lt;/P&gt;&lt;P&gt;"CONVT_NO_NUMBER" "CX_SY_CONVERSION_NO_NUMBER"                                                 &lt;/P&gt;&lt;P&gt;    "ZMM_SUBROUTINES" or "ZMM_SUBROUTINES"                                                         &lt;/P&gt;&lt;P&gt;    "GET_AMT_IN_WORDS"                                                                                &lt;/P&gt;&lt;P&gt;If you cannot solve the problem yourself and want to send an error                             &lt;/P&gt;&lt;P&gt;    notification to SAP, include the following information:                                                                                &lt;/P&gt;&lt;P&gt;1. The description of the current problem (short dump)                                                                                &lt;/P&gt;&lt;P&gt;To save the description, choose "System-&amp;gt;List-&amp;gt;Save-&amp;gt;Local File                             &lt;/P&gt;&lt;P&gt;    (Unconverted)".                                                                                &lt;/P&gt;&lt;P&gt;2. Corresponding system log                                                                                &lt;/P&gt;&lt;P&gt;Display the system log by calling transaction SM21.                                         &lt;/P&gt;&lt;P&gt;       Restrict the time interval to 10 minutes before and five minutes                            &lt;/P&gt;&lt;P&gt;    after the short dump. Then choose "System-&amp;gt;List-&amp;gt;Save-&amp;gt;Local File                              &lt;/P&gt;&lt;P&gt;    (Unconverted)".                                                                                &lt;/P&gt;&lt;P&gt;3. If the problem occurs in a problem of your own or a modified SAP                            &lt;/P&gt;&lt;P&gt;    program: The source code of the program                                                        &lt;/P&gt;&lt;P&gt;       In the editor, choose "Utilities-&amp;gt;More                                                      &lt;/P&gt;&lt;P&gt;    Utilities-&amp;gt;Upload/Download-&amp;gt;Download".                                                                                &lt;/P&gt;&lt;P&gt;4. Details about the conditions under which the error occurred or which                        &lt;/P&gt;&lt;P&gt;    actions and input led to the error.                                                                                &lt;/P&gt;&lt;P&gt;The exception must either be prevented, caught within proedure                                 &lt;/P&gt;&lt;P&gt;    "GET_AMT_IN_WORDS" "(FORM)", or its possible occurrence must be declared in the                &lt;/P&gt;&lt;P&gt;    RAISING clause of the procedure.                                                               &lt;/P&gt;&lt;P&gt;    To prevent the exception, note the following:                                                  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;System environment                                                                                &lt;/P&gt;&lt;P&gt;SAP-Release 700                                                                                &lt;/P&gt;&lt;P&gt;Application server... "EHPAP1"                                                                 &lt;/P&gt;&lt;P&gt;    Network address...... "10.100.150.103"                                                         &lt;/P&gt;&lt;P&gt;    Operating system..... "AIX"                                                                    &lt;/P&gt;&lt;P&gt;    Release.............. "5.3"                                                                    &lt;/P&gt;&lt;P&gt;    Hardware type........ "00C3B3F04C00"                                                           &lt;/P&gt;&lt;P&gt;    Character length.... 16 Bits                                                                   &lt;/P&gt;&lt;P&gt;    Pointer length....... 64 Bits                                                                  &lt;/P&gt;&lt;P&gt;    Work process number.. 1                                                                        &lt;/P&gt;&lt;P&gt;    Shortdump setting.... "full"                                                                                &lt;/P&gt;&lt;P&gt;Database server... "EHPDB"                                                                     &lt;/P&gt;&lt;P&gt;    Database type..... "DB6"                                                                       &lt;/P&gt;&lt;P&gt;    Database name..... "EHP"                                                                       &lt;/P&gt;&lt;P&gt;    Database user ID.. "SAPEHP"                                                                                &lt;/P&gt;&lt;P&gt;Char.set.... "C"                                                                                &lt;/P&gt;&lt;P&gt;SAP kernel....... 700                                                                          &lt;/P&gt;&lt;P&gt;    created (date)... "Mar 19 2007 20:40:49"                                                       &lt;/P&gt;&lt;P&gt;    create on........ "AIX 2 5 005DD9CD4C00"                                                       &lt;/P&gt;&lt;P&gt;    Database version. "DB6_81 "                                                                                &lt;/P&gt;&lt;P&gt;Patch level. 102                                                                                &lt;/P&gt;&lt;P&gt;Patch text.. " "                                                                                &lt;/P&gt;&lt;P&gt;Database............. "DB6 08.02.&lt;STRONG&gt;, DB6 09.&lt;/STRONG&gt;"                                                  &lt;/P&gt;&lt;P&gt;    SAP database version. 700                                                                      &lt;/P&gt;&lt;P&gt;    Operating system..... "AIX 1 5, AIX 2 5, AIX 3 5"                                                                                &lt;/P&gt;&lt;P&gt;Memory consumption                                                                                &lt;/P&gt;&lt;P&gt;Roll.... 16192                                                                                &lt;/P&gt;&lt;P&gt;EM...... 29328936                                                                                &lt;/P&gt;&lt;P&gt;Heap.... 0                                                                                &lt;/P&gt;&lt;P&gt;Page.... 1359872                                                                                &lt;/P&gt;&lt;P&gt;MM Used. 19180992                                                                                &lt;/P&gt;&lt;P&gt;MM Free. 1764848                                                                                &lt;/P&gt;&lt;P&gt;User and Transaction                                                                                &lt;/P&gt;&lt;P&gt;Client.............. 400                                                                       &lt;/P&gt;&lt;P&gt;    User................ "FADISULAIMAN"                                                            &lt;/P&gt;&lt;P&gt;    Language key........ "E"                                                                       &lt;/P&gt;&lt;P&gt;    Transaction......... "ME22N "                                                                  &lt;/P&gt;&lt;P&gt;    Program............. "ZMM_SUBROUTINES"                                                         &lt;/P&gt;&lt;P&gt;    Screen.............. "SAPLMEGUI 0014"                                                          &lt;/P&gt;&lt;P&gt;    Screen line......... 22                                                                        &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Information on where terminated                                                                    &lt;/P&gt;&lt;P&gt;    Termination occurred in the ABAP program "ZMM_SUBROUTINES" - in                                &lt;/P&gt;&lt;P&gt;     "GET_AMT_IN_WORDS".                                                                                &lt;/P&gt;&lt;P&gt;The main program was "RM_MEPO_GUI ".                                                                                &lt;/P&gt;&lt;P&gt;In the source code you have the termination point in line 398                                  &lt;/P&gt;&lt;P&gt;    of the (Include) program "ZMM_SUBROUTINES".                                                    &lt;/P&gt;&lt;P&gt;    The termination is caused because exception "CX_SY_CONVERSION_NO_NUMBER"                       &lt;/P&gt;&lt;P&gt;     occurred in                                                                                &lt;/P&gt;&lt;P&gt;procedure "GET_AMT_IN_WORDS" "(FORM)", but it was neither handled locally nor                  &lt;/P&gt;&lt;P&gt;     declared                                                                                &lt;/P&gt;&lt;P&gt;in the RAISING clause of its signature.                                                                                &lt;/P&gt;&lt;P&gt;The procedure is in program "ZMM_SUBROUTINES "; its source code begins in line                 &lt;/P&gt;&lt;P&gt;    358 of the (Include program "ZMM_SUBROUTINES ".                                                &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Source Code Extract                                                                                &lt;/P&gt;&lt;P&gt;Line  SourceCde                                                                                &lt;/P&gt;&lt;P&gt;368   DATA: lt_spell LIKE spell.                                                                 &lt;/P&gt;&lt;P&gt;  369                                                                                &lt;/P&gt;&lt;P&gt;370   READ TABLE in_tab WITH KEY 'CURR'.                                                         &lt;/P&gt;&lt;P&gt;  371   IF sy-subrc = 0.                                                                           &lt;/P&gt;&lt;P&gt;  372     lf_curr = in_tab-value.                                                                  &lt;/P&gt;&lt;P&gt;  373   ENDIF.                                                                                &lt;/P&gt;&lt;P&gt;374                                                                                &lt;/P&gt;&lt;P&gt;375   READ TABLE in_tab WITH KEY 'NETWR'.                                                        &lt;/P&gt;&lt;P&gt;  376   IF sy-subrc = 0.                                                                           &lt;/P&gt;&lt;P&gt;  377     lf_netpr_01 = in_tab-value.                                                              &lt;/P&gt;&lt;P&gt;  378     REPLACE ',' IN lf_netpr_01 WITH ' '.                                                     &lt;/P&gt;&lt;P&gt;  379     CONDENSE lf_netpr_01 NO-GAPS.                                                            &lt;/P&gt;&lt;P&gt;  380                                                                                &lt;/P&gt;&lt;P&gt;381     IF lf_curr = 'KWD'.                                                                      &lt;/P&gt;&lt;P&gt;  382       lf_netpr_kwd = lf_netpr_01.                                                            &lt;/P&gt;&lt;P&gt;  383                                                                                &lt;/P&gt;&lt;P&gt;384       CALL FUNCTION 'SPELL_AMOUNT'                                                           &lt;/P&gt;&lt;P&gt;  385         EXPORTING                                                                            &lt;/P&gt;&lt;P&gt;  386           amount    = lf_netpr_kwd                                                           &lt;/P&gt;&lt;P&gt;  387           currency  = lf_curr                                                                &lt;/P&gt;&lt;P&gt;  388           filler    = ''                                                                     &lt;/P&gt;&lt;P&gt;  389           language  = sy-langu                                                               &lt;/P&gt;&lt;P&gt;  390         IMPORTING                                                                            &lt;/P&gt;&lt;P&gt;  391           in_words  = lt_spell                                                               &lt;/P&gt;&lt;P&gt;  392         EXCEPTIONS                                                                           &lt;/P&gt;&lt;P&gt;  393           not_found = 1                                                                      &lt;/P&gt;&lt;P&gt;  394           too_large = 2                                                                      &lt;/P&gt;&lt;P&gt;  395           OTHERS    = 3.                                                                     &lt;/P&gt;&lt;P&gt;  396                                                                                &lt;/P&gt;&lt;P&gt;397     ELSE.                                                                                &lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;       lf_netpr = lf_netpr_01.                                                                &lt;/P&gt;&lt;P&gt;  399       CALL FUNCTION 'SPELL_AMOUNT'                                                           &lt;/P&gt;&lt;P&gt;  400         EXPORTING                                                                            &lt;/P&gt;&lt;P&gt;  401           amount    = lf_netpr                                                               &lt;/P&gt;&lt;P&gt;  402           currency  = lf_curr                                                                &lt;/P&gt;&lt;P&gt;  403           filler    = ''                                                                     &lt;/P&gt;&lt;P&gt;  404           language  = sy-langu                                                               &lt;/P&gt;&lt;P&gt;  405         IMPORTING                                                                            &lt;/P&gt;&lt;P&gt;  406           in_words  = lt_spell                                                               &lt;/P&gt;&lt;P&gt;  407         EXCEPTIONS                                                                           &lt;/P&gt;&lt;P&gt;  408           not_found = 1                                                                      &lt;/P&gt;&lt;P&gt;  409           too_large = 2                                                                      &lt;/P&gt;&lt;P&gt;  410           OTHERS    = 3.                                                                     &lt;/P&gt;&lt;P&gt;  411     ENDIF.                                                                                &lt;/P&gt;&lt;P&gt;412     IF sy-subrc &amp;lt;&amp;gt; 0.                                                                        &lt;/P&gt;&lt;P&gt;  413 *          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO                                 &lt;/P&gt;&lt;P&gt;  414 *          WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.                                         &lt;/P&gt;&lt;P&gt;  415                                                                                &lt;/P&gt;&lt;P&gt;416     ELSE.                                                                                &lt;/P&gt;&lt;P&gt;417                                                                                &lt;/P&gt;&lt;P&gt;Contents of system fields                                                                          &lt;/P&gt;&lt;P&gt;Name     Val.                                                                                &lt;/P&gt;&lt;P&gt;SY-SUBRC 0                                                                                &lt;/P&gt;&lt;P&gt;SY-INDEX 17                                                                                &lt;/P&gt;&lt;P&gt;SY-TABIX 1                                                                                &lt;/P&gt;&lt;P&gt;SY-DBCNT 18                                                                                &lt;/P&gt;&lt;P&gt;SY-FDPOS 1                                                                                &lt;/P&gt;&lt;P&gt;SY-LSIND 0                                                                                &lt;/P&gt;&lt;P&gt;SY-PAGNO 0                                                                                &lt;/P&gt;&lt;P&gt;SY-LINNO 1                                                                                &lt;/P&gt;&lt;P&gt;SY-COLNO 1                                                                                &lt;/P&gt;&lt;P&gt;SY-PFKEY NORMAL                                                                                &lt;/P&gt;&lt;P&gt;SY-UCOMM PREVOUTPUT                                                                                &lt;/P&gt;&lt;P&gt;SY-TITLE Held Imp. Pur. O r - ESG 5000000021 Created by Fadi Sulaiman                              &lt;/P&gt;&lt;P&gt;SY-MSGTY A                                                                                &lt;/P&gt;&lt;P&gt;SY-MSGID TD                                                                                &lt;/P&gt;&lt;P&gt;SY-MSGNO 426                                                                                &lt;/P&gt;&lt;P&gt;SY-MSGV1 NEXTPAGE                                                                                &lt;/P&gt;&lt;P&gt;SY-MSGV2 ZMEDRUCK_PO                                                                                &lt;/P&gt;&lt;P&gt;SY-MSGV3                                                                                &lt;/P&gt;&lt;P&gt;SY-MSGV4                                                                                &lt;/P&gt;&lt;P&gt;SY-MODNO 0                                                                                &lt;/P&gt;&lt;P&gt;SY-DATUM 20080505                                                                                &lt;/P&gt;&lt;P&gt;SY-UZEIT 190441                                                                                &lt;/P&gt;&lt;P&gt;SY-XPROG SAPCNVE                                                                                &lt;/P&gt;&lt;P&gt;SY-XFORM CONVERSION_EXIT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jun 2008 15:11:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/purchase-order-print-program-error/m-p/3892943#M934705</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-08T15:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: purchase order print program error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/purchase-order-print-program-error/m-p/3892944#M934706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello not sure with the answer but i think you have to use another function to over come from this error unable to rememeber the function once i get the FM i will be back to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jun 2008 15:23:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/purchase-order-print-program-error/m-p/3892944#M934706</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-08T15:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: purchase order print program error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/purchase-order-print-program-error/m-p/3892945#M934707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prasad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the FM's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPELL_AMOUNT --&amp;gt; for display in millions&lt;/P&gt;&lt;P&gt;HR_IN_CHG_INR_WRDS --&amp;gt; for display in lakhs and crores&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jun 2008 19:55:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/purchase-order-print-program-error/m-p/3892945#M934707</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-08T19:55:17Z</dc:date>
    </item>
  </channel>
</rss>

