Total in words

Hii
i gt an requirement to display Total amt in words in the vendor debit note
i know the function module my question is call this function module
should i write any subroutine r should create zdriver prog
points will be rewarded
regards
Jaipal

SPLIT AMOUNT AT '.' INTO TOT_NUM TOT_DEC.
     CONDENSE : TOT_NUM , TOT_DEC.
     TOT_NUM_P = TOT_NUM.
     TOT_DEC_P = TOT_DEC.
  CALL FUNCTION 'SPELL_AMOUNT'
   EXPORTING
     AMOUNT          = TOT_NUM_P
     LANGUAGE        = SY-LANGU
   IMPORTING
     IN_WORDS        = T_SPELL_NUM
   EXCEPTIONS
     NOT_FOUND       = 1
     TOO_LARGE       = 2
     OTHERS          = 3
  CALL FUNCTION 'SPELL_AMOUNT'
  EXPORTING
     AMOUNT = TOT_DEC_P
  LANGUAGE = SY-LANGU
  IMPORTING
     IN_WORDS = T_SPELL_DEC
  EXCEPTIONS
    NOT_FOUND = 1
    TOO_LARGE = 2
    OTHERS = 3
  Hi Buddy
  To get total amt in word we can do it wid subroutine also but i hav done same without using subroutine and followin are the code for the same
  code in z report
  *data Declaration==============================================
DATA: TOT_NUM_P TYPE CHAR20,
       AMOUNT TYPE CHAR20,
       TOT_DEC_P TYPE CHAR20,
       T_SPELL_NUM TYPE SPELL,
       T_SPELL_DEC TYPE SPELL,
       TOT_NUM(25) TYPE c,
       TOT_DEC(25) TYPE c,
       ONE(80) TYPE C,
       TWO(80) TYPE C,
       STR(120) TYPE C,
       RUPE(7) TYPE C,
       DECM(11) TYPE C,
       PAISE(15) TYPE C.
DATA: TOT_NUM_P1 TYPE CHAR20,
       TOT TYPE CHAR20,
       TOT_DEC_P1 TYPE CHAR20,
       T_SPELL_NUM1 TYPE SPELL,
       T_SPELL_DEC1 TYPE SPELL,
       TOT_NUM1(25) TYPE c,
       TOT_DEC1(25) TYPE c,
       ONE1(80) TYPE C,
       TWO1(80) TYPE C,
       STR1(120) TYPE C.
SPLIT AMOUNT AT '.' INTO TOT_NUM TOT_DEC.
     CONDENSE : TOT_NUM , TOT_DEC.
     TOT_NUM_P = TOT_NUM.
     TOT_DEC_P = TOT_DEC.
  CALL FUNCTION 'SPELL_AMOUNT'
   EXPORTING
     AMOUNT          = TOT_NUM_P
     LANGUAGE        = SY-LANGU
   IMPORTING
     IN_WORDS        = T_SPELL_NUM
   EXCEPTIONS
     NOT_FOUND       = 1
     TOO_LARGE       = 2
     OTHERS          = 3
  CALL FUNCTION 'SPELL_AMOUNT'
  EXPORTING
     AMOUNT = TOT_DEC_P
  LANGUAGE = SY-LANGU
  IMPORTING
     IN_WORDS = T_SPELL_DEC
  EXCEPTIONS
    NOT_FOUND = 1
    TOO_LARGE = 2
    OTHERS = 3
  ONE = T_SPELL_NUM-WORD.
  TWO = T_SPELL_DEC-WORD.
  DECM = 'AND'.
  RUPE = IT_HEADER-WAERK.
  PAISE = 'PAISE ONLY'.
  CONCATENATE ONE DECM TWO PAISE INTO STR SEPARATED BY SPACE.
SPLIT TOT AT '.' INTO TOT_NUM1 TOT_DEC1.
     CONDENSE : TOT_NUM1 , TOT_DEC1.
     TOT_NUM_P1 = TOT_NUM1.
     TOT_DEC_P1 = TOT_DEC1.
  CALL FUNCTION 'SPELL_AMOUNT'
   EXPORTING
     AMOUNT          = TOT_NUM_P1
     LANGUAGE        = SY-LANGU
   IMPORTING
     IN_WORDS        = T_SPELL_NUM1
   EXCEPTIONS
     NOT_FOUND       = 1
     TOO_LARGE       = 2
     OTHERS          = 3
  CALL FUNCTION 'SPELL_AMOUNT'
  EXPORTING
     AMOUNT = TOT_DEC_P1
  LANGUAGE = SY-LANGU
  IMPORTING
     IN_WORDS = T_SPELL_DEC1
  EXCEPTIONS
    NOT_FOUND = 1
    TOO_LARGE = 2
    OTHERS = 3
  ONE1 = T_SPELL_NUM1-WORD.
  TWO1 = T_SPELL_DEC1-WORD.
  DECM = 'AND'.
  RUPE = IT_HEADER-WAERK.
  PAISE = 'PAISE ONLY'.
  CONCATENATE ONE1 DECM TWO1 PAISE INTO STR1 SEPARATED BY SPACE.
  code in Sapscript text edotor
  ,,&STR&
,,&STR1&
  hope this will solve ur query...
Regards
Santosh L

Similar Messages

  • Indesign CS6 Total Document Word Count... No?

    I left the following comment on a Youtube tutorial explaining how to execute a word count query for an Indesign document ASSUMING your article layout uses a single box of text:
    What if an article uses a creative layout with multiple text-boxes? Are you supposed to get out your pocket calculator and add them up one-by-one?
    I work for a magazine that publishes short, submission-style testimonials bridged together with staff-generated narrative copy; some of our articles use six or more discreet text-boxes. You REALLY MEAN TO TELL ME that there is NO WAY to yield a TOTAL DOCUMENT WORD COUNT using what is SUPPOSED TO BE the MOST ADVANCED page layout application ON EARTH??
    Pardon my exasperation in the above comment, but....Seriously?  
    I need someone knowledgeable to please look me in the eyes and tell me, "This is true", before I am going to be able to let myself believe it.
    Thank you.
    - Exasperated Journalist Slag

    Yes, there are ways, just not what you expected.
    One approach to counting words in multiple text frames in InDesign is to thread them together. To maintain the pieces of text in their assigned threaded text frames, you can create a paragraph style that starts in the next frame, and assign it to the first paragraph in each text frame. Or, you can break the threads when the count is stable.
    If the text frames need to adjust their size to the amount of their content, search Google for terms like "indesign auto resize text frame" without quotes for details.
    There was a recent discussion about auto-resizing text frames that mentioned the free AutoFit InDesign plug-in, from typefi.com. Search Google for terms like "indesign typefi autofit" for details.
    Search Google for terms like "threading and unthreading InDesign text frames" without quotes, for details.
    Search Google for terms like "indesign start paragraph in next frame" without quotes, for details.
    You can file a formal feature improvement request here: Wishform.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices
    evanexempt wrote:
    I left the following comment on a Youtube tutorial explaining how to execute a word count query for an Indesign document ASSUMING your article layout uses a single box of text:
    What if an article uses a creative layout with multiple text-boxes? Are you supposed to get out your pocket calculator and add them up one-by-one?
    I work for a magazine that publishes short, submission-style testimonials bridged together with staff-generated narrative copy; some of our articles use six or more discreet text-boxes. You REALLY MEAN TO TELL ME that there is NO WAY to yield a TOTAL DOCUMENT WORD COUNT using what is SUPPOSED TO BE the MOST ADVANCED page layout application ON EARTH??
    Pardon my exasperation in the above comment, but....Seriously?  
    I need someone knowledgeable to please look me in the eyes and tell me, "This is true", before I am going to be able to let myself believe it.
    Thank you.
    - Exasperated Journalist Slag

  • I want to display totals in words

    Hi Friends,
    I want to display sub-totals/totals in words also. If the total is 1,20,500, I want to display it one lakh twenty thousands five hundred.
    If I created a report, I want to display the total no.of pages at in the end-of-page event.
    ---End of page, page No: 1 of 15. like this.
    Plz help me, I need this very soon.

    Assuming that you want to display pages in the format '<current Page> of <total pages>' I would suggest you construct your code something this:
    1) In your TOP-OF-PAGE, display the current page normally during every new page using the variable SY-PAGNO.
      Eg.  WRITE AT: 120(003) SY-PAGNO,
                     125(2)   'of'.
    2) Then finally capture SY-PAGNO to a variable, say TOTPAGE = SY-PAGNO. (Or have a counter that increment everytime a TOP-OF-PAGE is encountered).
    3) After all the pages are populated, the variable mentioned in the above step will have the total pages.
    4) In your END-OF-SELECTION, use the following code after all the report generating stmts like 'WRITE', 'SKIP' are used:
    DO TOTPAG TIMES.
    <X> denotes the line in which your '<SY-PAGNO> of <TOTPAGE>' appear
       READ LINE <X> OF PAGE SY-INDEX LINE VALUE INTO G_LINE.
    Now move the total pages into the appropriate columns of the line (in our case it may be 128(5) - assuming 5 digit value for max pages) 
        G_LINE+128(5) = TOTPAG.
        MODIFY LINE <X> OF PAGE SY-INDEX LINE VALUE FROM G_LINE.
      ENDDO.
    This modifies the total page value in all the pages displayed.
    Regards,
    Vijay

  • Printing totals in words in footer window

    Hi all,
    I am trying to modify the standard form : RVINVOICE01.
    In main window i am getting the total Amount in Numbers. My requirement is to print that total Amount in Words in a Footer Window.
    Example:
    In Main Window if i get                       Total        : 1160 (KOMK-FKWRT)
    Then in Footer Window i have to display like this
    Total in  words :One Thousand One hundred sixty.
    how to do this ?
    Thanks in advance
    KR

    Hi Bujji,
    In Text elements of Footer window i have witen like this :
    /:     PERFORM ZK_WORD IN PROGRAM ZADIN01
    /:     USING &KOMK-FKWRT(I13)&
    /:     CHANGING &WORD1&
    /:     ENDPERFORM.
    AS  Total in Words: &word1&
    After  that i have created a Subroutine pool program called ZADIN01 , And in this i have written the folowing code.
    FORM ZK_WORD  TABLES INPUT STRUCTURE ITCSY
                                              OUTPUT STRUCTURE ITCSY.
    DATA: V_WORD1(100) TYPE C,
               V_FKWRT LIKE KOMK-FKWRT.
    READ TABLE INPUT INDEX 1.
    IF SY-SUBRC EQ 0.
    MOVE INPUT-VALUE TO V_FKWRT.
    ENDIF.
    CALL FUNCTION 'SPELL_AMOUNT'
      EXPORTING
       AMOUNT = V_FKWRT
    IMPORTING
       IN_WORDS = V_WORD1.
    ENDFORM.
    But the above code is giving the Error like : THE DATA OBJECT ''INPUT 'DOESNOT HAVE A COMPONENT CALLED 'VALUE'.
    How to slove this ? My code was  correct ?
    Thanks in advance

  • Character check total as word

    Hi all,
    1. Anyone know how to expand character Check total as word (i.e. Ten Thousand Eight Hundred Dollar only) generating by system in Checks for payment program? If there have any setting or coding need to adjust?
    2. How about maximum character is allow? I'm using SAP B1 2005 SP01 PL 45 and database Ms. SQL Server 2005. If there need to amend in database, how to adjust it?
    Thanks in advance.
    uddin
    Edited by: Muhd Mahyuddin Zakaria on Feb 3, 2009 12:55 PM

    Hi,
    I don't know if any standard method is available for that, but you can use following code:
        Public Function AmtToWords(ByVal Amount As Single) As String
            Dim Paise, Rupees As Integer
            Dim Words As String
            Dim N1, N2 As Integer
            Rupees = Amount
            Select Case Rupees
                Case Is <= 9
                    Words = Digit(Rupees)
                Case Is < 20
                    Words = EleToNin(Rupees)
                Case Is < 100
                    N2 = Rupees Mod 10
                    N1 = (Rupees - N2) / 10
                    Words = Ten(N1) & " " & IIf(N2 = 0, "", Digit(N2))
                Case Is < 1000
                    N2 = Rupees Mod 100
                    N1 = (Rupees - N2) / 100
                    Words = Digit(N1) & " Hundred " & AmtToWords(N2)
                Case Is < 100000
                    N2 = Rupees Mod 1000
                    N1 = (Rupees - N2) / 1000
                    Words = AmtToWords(N1) & " Thousand " & AmtToWords(N2)
                Case Is < 10000000
                    N2 = Rupees Mod 100000
                    N1 = (Rupees - N2) / 100000
                    Words = AmtToWords(N1) & " Lakhs " & AmtToWords(N2)
            End Select
            Return Words
        End Function
        Public Function Digit(ByVal Number As Integer) As String
            Select Case Number
                Case 0
                    Return ""
                Case 1
                    Return "One"
                Case 2
                    Return "Two"
                Case 3
                    Return "Three"
                Case 4
                    Return "Four"
                Case 5
                    Return "Five"
                Case 6
                    Return "Six"
                Case 7
                    Return "Seven"
                Case 8
                    Return "Eight"
                Case 9
                    Return "Nine"
            End Select
        End Function
        Public Function Ten(ByVal Number As Integer) As String
            Select Case Number
                Case 1
                    Return "Ten"
                Case 2
                    Return "Twenty"
                Case 3
                    Return "Thirty"
                Case 4
                    Return "Fourty"
                Case 5
                    Return "Fifty"
                Case 6
                    Return "Sixty"
                Case 7
                    Return "Seventy"
                Case 8
                    Return "Eighty"
                Case 9
                    Return "Ninety"
            End Select
        End Function
        Public Function EleToNin(ByVal Number As Integer) As String
            Select Case Number
                Case 10
                    Return "Ten"
                Case 11
                    Return "Eleven"
                Case 12
                    Return "Twelve"
                Case 13
                    Return "Thirteen"
                Case 14
                    Return "Fourteen"
                Case 15
                    Return "Fifteen"
                Case 16
                    Return "Sixteen"
                Case 17
                    Return "Seventeen"
                Case 18
                    Return "Eighteen"
                Case 19
                    Return "Nineteen"
            End Select
        End Function

  • Amount total(In Words) in Indian Format.

    Hi All,
    I want to have the amount total of marketing documents in words in Indian format.
    Problem description :
    If the the amount total is 565136.
    Right Now in Print Layout Design its showing : Five hundred and sixty five thousand one hundred and thirty six.
    I want the same in Indian format, that is :
    It should print as : Five lakhs sixty five thousand one hundred and thirty six.
    Please help me.
    Thanks & Regards,
    Saikat Roy

    Hi!
    CREATE    Function dbo.fConvertDigit(@decNumber decimal)
    returns varchar(6)
    as
    Begin
    declare
    @strWords varchar(6)
    Select @strWords = Case @decNumber
         When '1' then 'One'
         When '2' then 'Two'
         When '3' then 'Three'
         When '4' then 'Four'
         When '5' then 'Five'
         When '6' then 'Six'
         When '7' then 'Seven'
         When '8' then 'Eight'
         When '9' then 'Nine'
         Else ''
    end
    return @strWords
    end
    CREATE    Function dbo.fConvertTens(@decNumber varchar(2))
    returns varchar(30)
    as
    Begin
    declare @strWords varchar(30)
    --Is value between 10 and 19?
    If Left(@decNumber, 1) = 1
    begin
    Select @strWords = Case @decNumber
         When '10' then 'Ten'
         When '11' then 'Eleven'
         When '12' then 'Twelve'
         When '13' then 'Thirteen'
         When '14' then 'Fourteen'
         When '15' then 'Fifteen'
         When '16' then 'Sixteen'
         When '17' then 'Seventeen'
         When '18' then 'Eighteen'
         When '19' then 'Nineteen'
    end
    end
    else  -- otherwise it's between 20 and 99.
    begin
    Select @strWords = Case Left(@decNumber, 1)
         When '0' then '' 
         When '2' then 'Twenty '
         When '3' then 'Thirty '
         When '4' then 'Forty '
         When '5' then 'Fifty '
         When '6' then 'Sixty '
         When '7' then 'Seventy '
         When '8' then 'Eighty '
         When '9' then 'Ninety '
    end
    Select @strWords = @strWords + dbo.fConvertDigit(Right(@decNumber, 1))
    end
    --Convert ones place digit.
    return @strWords
    end
    CREATE function dbo.fNumToWords (@decNumber decimal(12, 2))
    returns varchar(300)
    As
    Begin
    Declare
    @strNumber varchar(100),
    @strRupees varchar(200),
    @strPaise varchar(100),
    @strWords varchar(300),
    @intIndex integer,
    @intAndFlag integer
    Select @strNumber = Cast(@decNumber as varchar(100))
    Select @intIndex = CharIndex('.', @strNumber)
    if(@decNumber>99999999.99)
    BEGIN
    RETURN ''
    END
    If @intIndex > 0
    begin
    Select @strPaise = dbo.fConvertTens(Right(@strNumber, Len(@strNumber) - @intIndex))
    Select @strNumber = SubString(@strNumber, 1, Len(@strNumber) - 3)
    If Len(@strPaise) > 0 Select @strPaise = @strPaise + ' paise'
    end
    Select @strRupees = ''
    Select @intIndex=len(@strNumber)
    Select @intAndFlag=2
    while(@intIndex>0)
    begin
    if(@intIndex=8)
    begin
      Select @[email protected](left(@decNumber,1))' Crore '
      Select @strNumber=substring(@strNumber,2,len(@strNumber))
      Select @intIndex=@intIndex-1
    end
    else if(@intIndex=7)
    begin
      if(substring(@strNumber,1,1)='0')
      begin
       if substring(@strNumber,2,1)<>'0'
       begin
        if (@strRupees<>NULL and substring(@strNumber,3,1)='0' and substring(@strNumber,4,1)='0' and substring(@strNumber,5,1)='0' and substring(@strNumber,6,1)='0' and substring(@strNumber,7,1)='0' and @intAndFlag=2 and @strPaise=NULL)
        begin
         Select @strRupees=@strRupees+' and ' dbo.fConvertDigit(substring(@strNumber,2,1))' Lakh '
         Select @intAndFlag=1
        end
        else
        begin
         Select @[email protected](substring(@strNumber,2,1))' Lakh '
        end
        Select @strNumber=substring(@strNumber,3,len(@strNumber))
        Select @intIndex=@intIndex-2
       end
       else
       begin
        Select @strNumber=substring(@strNumber,3,len(@strNumber))
        Select @intIndex=@intIndex-2
       end
      end
      else
      begin
       if(substring(@strNumber,3,1)='0' and substring(@strNumber,4,1)='0' and substring(@strNumber,5,1)='0' and substring(@strNumber,6,1)='0' and substring(@strNumber,7,1)='0'  and @intAndFlag=2 and @strPaise='')
       begin  
        Select @strRupees=@strRupees+' and ' + dbo.fConvertTens(substring(@strNumber,1,2))+' Lakhs '
        Select @intAndFlag=1
       end
       else
       begin
        Select @[email protected](substring(@strNumber,1,2))' Lakhs '
       end
       Select @strNumber=substring(@strNumber,3,len(@strNumber))
       Select @intIndex=@intIndex-2
      end
    end
    else if(@intIndex=6)
      begin
       if(substring(@strNumber,2,1)<>'0' or substring(@strNumber,3,1)<>'0' and substring(@strNumber,4,1)='0' and substring(@strNumber,5,1)='0' and substring(@strNumber,6,1)='0' and @intAndFlag=2 and @strPaise='')
       begin
        if len(@strRupees) <= 0
        begin
         if convert(int,substring(@strNumber,1,1)) = 1
         begin
          Select @strRupees=@strRupees+'' + dbo.fConvertDigit(substring(@strNumber,1,1))+' Lakh '
          Select @intAndFlag=2
         end
         else
         begin
          Select @strRupees=@strRupees+'' + dbo.fConvertDigit(substring(@strNumber,1,1))+' Lakhs '
          Select @intAndFlag=2
         end
        end
        else
        begin
         if convert(int,substring(@strNumber,1,1)) = 1
         begin
          Select @strRupees=@strRupees+' and' + dbo.fConvertDigit(substring(@strNumber,1,1))+' Lakh '
          Select @intAndFlag=1
         end
         else
         begin
          Select @strRupees=@strRupees+' and' + dbo.fConvertDigit(substring(@strNumber,1,1))+' Lakhs '
          Select @intAndFlag=1
         end
        end
       end
       else
       begin
        if convert(int,substring(@strNumber,1,1)) = 1
        begin
         Select @[email protected](substring(@strNumber,1,1))' Lakh '
        end
        else
        begin
         Select @[email protected](substring(@strNumber,1,1))' Lakhs '
        end
       end
       Select @strNumber=substring(@strNumber,2,len(@strNumber))
       Select @intIndex=@intIndex-1
      end
    else if(@intIndex=5)
      begin
       if(substring(@strNumber,1,1)='0')
       begin
        if substring(@strNumber,2,1)<>'0'
        begin
         if(substring(@strNumber,3,1)='0' and substring(@strNumber,4,1)='0' and substring(@strNumber,5,1)='0' and @intAndFlag=2 and @strPaise='')
         begin
          Select @strRupees=@strRupees+' and ' dbo.fConvertDigit(substring(@strNumber,2,1))' Thousand '
          Select @intAndFlag=1
         end
         else
         begin
          Select @[email protected](substring(@strNumber,2,1))' Thousand '
         end
         Select @strNumber=substring(@strNumber,3,len(@strNumber))
         Select @intIndex=@intIndex-2
        end
        else
        begin
         Select @strNumber=substring(@strNumber,3,len(@strNumber))
         Select @intIndex=@intIndex-2
        end
       end
       else
       begin
        if(substring(@strNumber,3,1)='0' and substring(@strNumber,4,1)='0' and substring(@strNumber,5,1)='0' and @intAndFlag=2 and @strPaise='')
        begin
         Select @strRupees=@strRupees' and 'dbo.fConvertTens(substring(@strNumber,1,2))+' Thousand '
         Select @intAndFlag=1
        end
        else
        begin
         Select @[email protected](substring(@strNumber,1,2))' Thousand '
        end
        Select @strNumber=substring(@strNumber,3,len(@strNumber))
        Select @intIndex=@intIndex-2
       end
      end
    else if(@intIndex=4)
      begin
       if ( (substring(@strNumber,3,1)<>'0' or substring(@strNumber,4,1)<>'0') and substring(@strNumber,2,1)='0' and  @intAndFlag=2 and @strPaise='')
       begin
        Select @strRupees=@strRupees+' and' + dbo.fConvertDigit(substring(@strNumber,1,1))+' Thousand '
        Select @intAndFlag=1
       end
       else
       begin
       Select @[email protected](substring(@strNumber,1,1))' Thousand '
       end
       Select @strNumber=substring(@strNumber,2,len(@strNumber))
       Select @intIndex=@intIndex-1
      end
    else if(@intIndex=3)
      begin
       if  substring(@strNumber,1,1)<>'0'
       begin
        Select @[email protected](substring(@strNumber,1,1))' Hundred '
        Select @strNumber=substring(@strNumber,2,len(@strNumber))
        if( (substring(@strNumber,1,1)<>'0' or  substring(@strNumber,2,1)<>'0') and @intAndFlag=2 )
        begin
         Select @strRupees=@strRupees+' and '
         Select @intAndFlag=1
        end
        Select @intIndex=@intIndex-1
       end
       else
       begin
        Select @strNumber=substring(@strNumber,2,len(@strNumber))
        Select @intIndex=@intIndex-1
       end
      end
    else if(@intIndex=2)
      begin
       if substring(@strNumber,1,1)<>'0'
       begin
        Select @strRupees=@strRupees+dbo.fConvertTens(substring(@strNumber,1,2))
        Select @intIndex=@intIndex-2
       end
       else
       begin
        Select @intIndex=@intIndex-1
       end
      end
    else if(@intIndex=1)
      begin
       if(@strNumber<>'0')
       begin
        Select @strRupees=@strRupees+dbo.fConvertDigit(@strNumber)
       end
       Select @intIndex=@intIndex-1
      end
    continue
    end
    if len(@strRupees)>0 Select @strRupees=@strRupees+ ' rupees '
    IF(len(@strPaise)<>0)
    BEGIN
    if len(@strRupees)>0 Select @strRupees=@strRupees + ' and '
    END
    Select @strWords = IsNull(@strRupees, '') + IsNull(@strPaise, '')
    select @strWords = @strWords + ' only'
    Return @strWords
    End
    ==============================
    Declare @str varchar(500)
    Declare @no numeric(19,6)
    Set @no=12453456.45
    Set @str =dbo.fNumToWords (@no)
    Select @str
    ===============================

  • Hi All Experts , In PLD's Doc total amt in USD shud be  convert in words

    All Experts,
    As per  Client requirement in document printing they required Document total amount in words.
    I am able to convert in total amount in words but main issue is its shown  proper if  document in US Dollar amount.
    Can i make amounts in words in Upper case.
    Pl give me solution for these issue.
    Thanks
    Milind

    Hi  milindpv,
    yes, correct.
    It is possible on SAPB1.
    IF you need to print the Doc. Total in words.
    Try this,
    ->> Open the require PLD.
    ->> Create 1 Database Field in Page Footer.
    for example,
    Convert of A/R Invoice Doc.Total in Words.
    Table -> OINV - A/R Invoice.
    Cloumn -> DocTotal
    =>> Goto Properties Window and Select the Font( Showcard Gothic ) at Format Tab.
    =>> put the Tick mark in Sum in Words at Format Tab on Properties Window.
    Save and Run the Print Preview.
    OR
    ->> Create 1 Formula Field in Page Footer and
    ->> Copy Doc.Total FieldID in PLD and Paste in Formula Field.
    =>> Goto Properties Window and Select the Font( Showcard Gothic ) at Format Tab.
    =>> put the Tick mark in Sum in Words at Format Tab on Properties Window.
    Save and Run the Print Preview.
    Regards,
    Madhan.

  • PDF indexing of Word.doc Keywords: kind of disappointing

    If we could embed document properties like Keywords in Word, and then convert Word.docs to PDFs , and then index the PDFs using Acrobat Pro, theoretically it would allow for lightning-fast keyword search and review, through a zillion PDFs.
    Except, there are unexpected glitches that are either undocumented... or, if the documentation exists, it's either hard to find or too scantily worded.
    Here's a few things I've observed, using Windows XP, Office 2007 and Acrobat 8 Pro:
    1. Word document properties only transfer over to PDF if you use the Acrobat tab in Word's ribbon to generate the PDF via PDFMaker, which apparently invokes some 'more robust' implementation of Distiller, than occurs if you simply use the print dialog to print to PDF.  THIS IS PROBABLY A BIG SOURCE OF USER CONFUSION THAT DISCOURAGES MANY USERS FROM GOING ANY FURTHER WITH EXPERIMENTING WITH PDF INDEXING OF WORD DOCUMENT PROPERTIES.  IT CAN LEAD YOU TO CONCLUDE THAT NONE OF THE WORD DOCUMENT PROPERTIES EXCEPT FOR TITLE, CAN SURVIVE A PDF CONVERSION.
    2. When you invoke PDFMaker, when the "Save Adobe PDF File As" dialog appears, you must click on the button at the bottom that is labeled "Adobe PDF conversion Options' and verify that the "Convert document information" check box is checked. (This may be able to be set as a permanent user preference somewhere, but I'm not quite sure where.)
    3. The Properties fields in Word that will come over, include Title, Author, Subject, and Keywords.  (The Comments field is ignored, as far as I can tell.)
    4. You can now index the PDFs, and these Properties fields will also be indexed.....well, Sort Of.
    5. "Sort Of", because if you then search for any of the text in your Properties fields, (like for example you search for a word or phrase that you've embedded in their Keywords fields), the advanced search result won't be displayed quite the way 'found hits' normally display in a PDF index search results screen.   You may expect to see the contents of those Keywords fields, show up in the search results in a long list of 'found' file icons with ALL (or a generous selection) of their surrounding Keywords also displayed, and with the specified found keyword highlighted in BOLD.
    But, that's not what happens. What you really get is an icon showing the contents of the Title field (which you didn't search for.) It basically means that Acrobat has found a document with something you searched for, in it....but Acrobat is not going to show it to you as easily as you are accustomed to seeing it. You only have two choices: (1) either hover your mouse over each found file's Title icon, one by one, until its screentip-type popup window appears, showing you all the contents of all four of that document's Properties fields; or (2) click on the icon, display the PDF, go to File Properties, and observe that file's properties dialog box.
    This is disappointing: the fast, easy, contextual lookup advantages you've enjoyed with regular PDF index searches appear to be unavailable when it comes to viewing search results on indexed document properties. I can understand the logic; (why show other keywords surrounding the searched-for keyword? If they're not in a sentence, there's really no contextual relationship, and therefore no reason to show them.)
    However, what if users wanted to store logically related keywords in a deliberate organized pattern..ie,
    Texas, Car, 1999, Ford, Mustang, Green
    Texas, Car, 2000, Ford, Mustang, White
    Texas, Car, 2000, Ford, Mustang, Yellow
    Texas, Car, 2000, Chevrolet, Corvette, Blue
    Ohio, Car, 2006, Honda, Civic, Silver
    ...etc.
    In this context, all keywords are logically related; it could be a big advantage to be able to use PDF Index search to instantly find and view a list of all 5,328 White 2000 Ford Mustangs located in Texas....then pop up their insurance.doc PDFs for further details.
    Allowing the user to set a preference to 'show all stored propery values in the search results' instead of an arbitrary length string of surrounding values, could also be very helpful, so that the full information depicted in the above example could actually be fully displayed, not arbitrarily truncated.
    I guess the only workaround is to forget Word's Document Properties, and just embed keywords within the document itself, such as maybe at the end of the document, maybe colored white (so they can't be easily seen).  Formatting them as hidden text doesn't work; Acrobat ignores hidden text when you convert from Word to PDF.

    I seem to get hard returns in all cases. That is why I had the short answer. I do not remember if saving as a DOC got rid of the hard returns. Of course the simplest way to find out is to try it. I went to another machine and the Save As to a DOC file did not put in the hard returns (cut and paste did). I should note that the PDF was produced from a totally different word processor and was not a WORD native document. That would suggest it is not dependent on the tags that can be included by WORD and PDF Maker.

  • PDF "save as" Word doc

    I'm using Acrobat 8 Pro.
    I need to get text out of a couple of PDFs (the text will ultimately go into an InDesign document, but at this point I'm just trying to get any kind of usable text file out of the PDF).
    I've tried several "save as" options, and I either get a text file (.doc, .rtf, or .txt) with a hard return at the end of every line, or a text file with each paragraph in a separate text box.
    Is there any way to get a usable text file out of a PDF? Maybe a plug-in? It would be nice to preserve italics, bolds, etc., but at this point I'd settle for a file that wouldn't require manually deleting all the extra hard returns or getting text out of dozens of text boxes.
    TIA,
    Marlene

    I seem to get hard returns in all cases. That is why I had the short answer. I do not remember if saving as a DOC got rid of the hard returns. Of course the simplest way to find out is to try it. I went to another machine and the Save As to a DOC file did not put in the hard returns (cut and paste did). I should note that the PDF was produced from a totally different word processor and was not a WORD native document. That would suggest it is not dependent on the tags that can be included by WORD and PDF Maker.

  • Smartform with multiple Headers & Respective Item Details and Totals?

    Dear All,
    Appreciate if anyone clarify my doubt.
    My requirement is to develop a smartform for billing with multiple headers & respective items and totals. For more clarity I'm explaining below.
                        Header Section1
    variable1          variable2          variable3          variable4          variable5
         variable6          variable7          variable8
    variable9          variable10          variable11
    Item Details1
    s no     vebeln     verpr     col4     col5     col6
    total                    123.21
    total in words -
                   value     321.21
                   value     982.98
                   value     some value
    footer details
                        Header Section2
    variable1          variable2          variable3          variable4          variable5
         variable6          variable7          variable8
    variable9          variable10          variable11
    Item Details2
    s no     vebeln     verpr     col4     col5     col6
    total                    123.21
    total in words -
                   value     321.21
                   value     982.98
                   value     some value
    footer details
                        Header Section3
    variable1          variable2          variable3          variable4          variable5
         variable6          variable7          variable8
    variable9          variable10          variable11
    Item Details3
    s no     vebeln     verpr     col4     col5     col6
    total                    123.21
    total in words -
                   value     321.21
                   value     982.98
                   value     some value
    footer details
    Is this possible using smartforms?
    Now they are using a classical report and takes printout in preprinted stationery.
    requirement is to develop a smartform for this. there is a selection screen for the print program which accepts billing docs.
    Thanks,

    Rajiv,
    Actually for your case you don't need a table inside the Main Window. 
    1.) First Populate all the data(header + item) in an internal table in the print program itself.
    2.) Pass this internal table to the smartform.
    3.) In the smartform give exact dimensions to the main window.
    4.) In the Main Window Use a Loop on this internal table.
    5.) Create a template for the header data giving the exact dimensions.
    6.) Create another template for the item data giving exact dimensions to the template.
    7.) If there is pre-printed text between these templates, insert a text element between these templates. This text element will have nothing just give a paragraph format to it. Go to smartstyle, create a style in which create a paragraph format setting line spacing parameter of this paragraph format of the same size as that of pre-printed text.
    8.) Only 1 page is required since Loop statement will print the second record on the second page if the dimension of templates are exact.
    9.) Dimensions you can easily measure from the pre-printed form.
    <removed by moderator>
    Edited by: Thomas Zloch on Mar 6, 2012

  • Sum in words in marketing documents

    Hi,
    I'm using SAP Business one 2005A, I'm facing this problem when i print the Document Total in words.
    The system will print out "One Thousand Two Hundred and Fifty Hundredths" instead of "One Thousand Two Hundred and Fifty Cents".
    I define my hundredth in english as Cents in the currency table.
    Any work around?
    Thank you.
    Regards,
    Foong Yee

    Hi Virasak,
    2005A don't have thai language so I don't think is able to print out the thai language.  The language is according to system language.
    Administration>System Initialiazation>General Setting>Display at the language to determine the language.
    Hope this will help.
    Regards,
    Foong Yee

  • Doc currency in words in PLD

    Hi Experts,
                     I want Document currency in words by clicking on sum in words USD and INR in PLD of Purchae order .when i set document total in words it gives doc total in INR only not in USD (Even BP currency is USD).so tell me solution ??
    Rgds
    Sudhir

    Hi,
    Step 1:Create one UDF for Convert amount to words ex: U_AmountInwords
    Step 2:Create Funtion below link i given funtion just Create in u r SQL DB.
    Step 3: Ceate Trigger in wich document you want ex:Invoice add trigger in OINV below i mention trigger just execute the trigger here we will call the funtion i.e.,Step 2 funtion.
    see this link below:
    [Re: Amount in words|Re: Amount in words]
    Regds,
    Sampath.

  • RMBP (Late 2013) Creaking

    I have one of the Late 2013 Retina MacBook Pro's that makes the creaking, squeaky clicky noise if I pick up my laptop or squeeze it near the bottom right of the trackpad.
    I have finally managed to get a reservation at the Genius Bar next week.
    So, I was just wondering what the general outcome is. Have any of you been to the Genius Bar with your creaky laptop? What did they do it?
    Should I expect some tightened/loosened screws and have it handed back? I read that some Apple Stores have been looking for creaking laptops to examine, and issuing brand new MBPs!
    How did you get on? Did the problem go away after visiting the Store?

    HI .... So I too have that ******** sound - mine though is not like creaking - like shutting something w a hinge or like a door - it's like a very high pitched (totally wrong word to use but I can't describe it lol) tinging pinging clicking dinging sound... but like a bell but a teenie tiny bell hahahaha this is ridiculous lol ok ok I think I got one.... Ok so our computers are made of aluminum .... There's tiny screws which are also metal ..... Metal tapping another metal or something metal inside of a thin hollow metal casing jiggling around bc it's loose or whatever makes a very distinctive tiny tinging sound ... When I first noticed it it was  if I press down on the bottom directly  in the middle below the serial # & spec stamp between all the top half of surrounding screws ... There's 4 screws along the top where it hinges or closes & mirroring screws at the bottom where you would open it to use it... And 3 on the right and left sides... Imagine a line horizontally connecting the middle screws on the sides then one vertical between the sets of 4 ... I know this is dumb as **** lol I'm sorry ....Annoying sound location is on the top half and smack dab on the line splitting the top 4 set screws exactly half way between the 2 side screws
    I Go to apple thinking tighten the screws please it sounds like there's a gap bc they're loose and something's tinging inside ...... I can make it make the sound every time and of course no one can hear it - 30 mins later and 15 techs later he heard it....Guys go in the back completely take the whole thing apart to see what's wrong.... Hour and a half later - nothing's wrong nothings loose and they pick up the other ones in the store and they all effing do it. after they did all that obviously I was so relieved and felt so much better - UNTIL the next day after I installed some updates and had to restart ...... My screen with the apple would change to pink and that multicolor weird screen when something's jacked up ... Flicker a little brighten up change to another color then go normal as my login screen would appear....... it continued on until a month ago then went back to normal ...... Don't try and get the noise fixed ... It's not worth what they can screw up on accident trying to see what's making the sound ... I got lucky reaaaaal lucky whatever happened wasn't serious bc I'm sure id have to pay to repair it....
    and notice my elaboration on the word LAP Alirt  
    PS I have the 15.4 MBP Retina mid 2012

  • Trying to understand the basic concept of object oriented programming.

    I am trying to understand the basic concept of object oriented programming.
    Object - a region of storage that define is defined by both state/behavior.
    ( An object is the actual thing that behavior affects.)
    State - Represented by a set of variables and the values they contain.
    (Is the location or movement or action that is the goal that the behavior is trying to accomplish.)
    Variables- (What does this mean?)
    Value - (What does this mean?)
    Behavior - Represented by a set of methods and the logic they implement.
    ( A set of methods that is built up to tell's the how object to change it's state. )
    Methods - A procedure that is executed when an object receives a message.
    ( A very basic comand.For example the method tells the object to move up, another method tells the method to go left. Thus making the object move up/left that combination is the behavior.)
    Class - A template from which the objects are created.
    ( I am very confused on what classes are.)
    - The definitions of the words I obtained from the "Osborne Teach Yourself Java". The () statements are how I interperate the Mechanisms (I do not know if Thats what you call them.) interact with each other. I understand my interpretation may be horribly wrong. I will incredibly appreciate all the support I may get from you.
    Thank you

    Object oriented programming is a replacement for the older idea of procedural programming (you can research procedural programming in google). As I understand it, in procedural programming, you have a step by step set of function calls to accomplish some task. Each function receives a data structure, manipulates it, and passes it to the next function. The problem with this is that each function preforms some action for the overall task and can't easily be reused by some other task. Its also harder to read the flow of what is happening with raw data structures flying all over the place.
    In object oriented programming, an object calls a function of another object and receives back, not a data structure, but another object. Objects contain a data structure that can only be accessed by its functions. An object is not so much a sub component of a bigger task, as it is a service that any other task can use for any purpose. Also, when you pass an object to the caller, the caller can ask questions about the data structure via its functions. The developer doesnt have to know what the previous function did to the data by reading up on any documentation, or having to reverse engineer the code.
    I suggest the best way of learning this is to code something like a library object.
    A library object contains a collection of book objects
    A book object contains a collection of chapter objects
    A chapter object contains a collection of paragraph objects
    A paragraph object contains a collection of sentence objects
    A sentence object contains a collection of word objects.
    Add functions to each object to provide a service
    Example: A library object should have a:
    public void addBook(Book book)
    public Book getBook(String title)
    public boolean isBookInLibrary(String title)
    The key is to add functions to provide a service to anyone who uses your object(s)
    For example, what functions (service) should a paragraph object provide?
    It shouldn't provide a function that tells how many words there are in a sentence. That function belongs to a sentence object.
    Lets say you want to add a new chapter to a book. The task is easy to read
    if you write your objects well:
    Sentence sentence1=new Sentence("It was a dark and stormy night");
    Sentence sentence2=new Sentence("Suddenly, a shot ran out");
    Paragraph paragraph=new Paragraph();
    paragraph.addSentence(sentence1);
    paragraph.addSentence(sentence2);
    Paragraphs paragraphs=new Paragraphs();
    paragraphs.addParagraph(paragraph);
    Library library= new Library();
    library.getBook("My Novel").addChapter("Chapter 1",paragraphs).
    Now, lets say you want to have a word count for the entire book.
    The book should ask each chapter how many words it contains.
    Each chapter should ask its paragraphs, each paragraph should ask
    its sentences. The total of words should ripple up and be tallied at each
    stage until it reaches the book. The book can then report the total.
    Only the sentence object actually counts words. The other objects just tallies the counts.
    Now, where would you assign a librarian? What object(s) and functions would you provide?
    If written well, the project is easily extensible.

  • Ovi App Reviews-Non English

    Hi all,
    Ovi App store is improving day by day...I would like to draw your attention to a small bug there. When I go to review page for any App, it shows reviews in all languages instead of English (When I browse it from UK). And some even write their names or totally rubbish words in their reviews. Is there any way to display reviews based on location? i.e Amazon UK only has reviews in English. Or possible to restrict it to English? as reviews in other languages are not useful to UK users and vice versa.
    Thanks,
    Anand

    How is the required encoding/decoding supposed to be done?
    When I didn't worry about non-English characters, I did the following, which WORKED.
    // SENDER side
    Socket socket ;
    PrintWriter     out = new PrintWriter(socket.getOutputStream(),true);
    String outMessage = "my message";
    out.println(outMessage);//RECEIVER
    Socket socket ;
    BufferedReader in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
    String inMessage =  in.readLine();When non-English characters are involved, I did the following, which DID NOT WORK. Please someone correct me.
    // SENDER side
    Socket socket ;
    PrintWriter     out = new PrintWriter(socket.getOutputStream(),true);
    String outMessage = "my message";
    String utfString = new String(outMessage.getBytes(),"UTF-8");
    out.println(utfString);//RECEIVER
    Socket socket ;
    InputStreamReader ins = new InputStreamReader(clientSocket.getInputStream(),"UTF-8");
    BufferedReader in = new BufferedReader(ins);
    String inMessage =  in.readLine();The received message is still garbled.

Maybe you are looking for

  • Returning an array type from a local method in Web Dynpro Java application

    Hi, In my project, we have a requirement to display 18 rolling months along with the year, starting from current month. How I am going to approach is that I will get the system date and get the current month and send the month and year value to a loc

  • Can't convert  NEF to RAW

    I am trying to convert my NEF files using the DNG converter. When I open the converter and select the folder an error box comes up with: 'The sorce folder does not contain any supported camera raw files' The files are indeed there, I have used the co

  • Help with video display!!

    Hello all, After installing the 41.09 drivers for my MSI GF4200 64mb card, I noticed that upon DVD or any video file playback, I only see about one quarter of the video, which is the upper right hand corner.  I do not know if the problem started with

  • Can we write case statement

    Hi, Can we write CASE statement in Where clause of select statement... I searched on net, i found that case statement can be written in the having clause.. But how about in the where clause....

  • Bapi?

    How to Develope an interface program to upload the Purchase Requisition from legacy system to SAP using BAPI for Transaction ME51N.?