How to place the camma in currency

Hi All,
I have a currency field.
For country Kora, they don't  have  decimal places in currency.
52,000.00 KOR   is one exaple.  Here i have to   place camma in currency as below.
5,200,000.  
how to solve the aove problem.
I don't know where and how many camma will be in my currency field.
Thanks,
Kishan

Hi All,
as per dilip it is working.  But i want to   move the converted format currency into other field.
Because i want display it in smartform.
In program line  ... if i write  write gd_disval CURRENCY 'KOR' .
it is not working.
i followed other way as below it is working
CALL FUNCTION 'CURRENCY_AMOUNT_SAP_TO_DISPLAY'
       EXPORTING
          CURRENCY        =  p_discur
          AMOUNT_INTERNAL =   p_intval 
        IMPORTING
          AMOUNT_DISPLAY  = gd_disval  
        EXCEPTIONS
          INTERNAL_ERROR  = 1
          OTHERS          = 2.
      IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
It is giving the   exact format.    But i am getting it as below:  5,200,000.000.
But i want only  5,200,000.   The filed gd_disval    is of type   " WMTO_S-AMOUNT".
i am unale to split it at  ".". so that i can remove after dot.  but iam getting error .  it is of not type D,C,T..
Any boady can help me.
Thanks,,
Kishan

Similar Messages

  • How to place the images in Indesign xml file by Javascript?

    How to place the images in Indesign xml file by Javascript?
    We got the Indesign xml file, how to give the image placement link by Indesign javascript? Please help me its urgent.

    Hi,
    You can pass the image url as a href attribute=> file:///Users/me/Documents/my_pic.jpg directly within your xml. It just needs that you pass a local, static and valid url.
    If you want to add image later once the xml is flowed and so target specific nodes and inject images, it's a bit more complex. If the node is not part of the layout, you may try to reach the XMLElement objet and such an attribute, then layout the element.
    var x = some XMLElement
    x.xmlAttributes.add("href","file:///Users/m/Documents/my_pic.jpg" );
    If already placed, then you have to get the associated pageItem, then place your file into it.
    pagItm.place ( File ( "/Users/m/Documents/my_pic.jpg" ) );
    Hope that helps,
    Loic
    http://www.loicaigon.com

  • How to place the "go" button at left size in dashboard prompt

    how to place the "go" button at left size in dashboard prompt

    Change your code to this and it should work:
    PARAMETERS : p_date LIKE sy-datum ,
                  p_uname LIKE sy-uname.
    DATA: field1(8) TYPE c .
    AT SELECTION-SCREEN .
       IF p_uname IS INITIAL.
         field1 = 'P_UNAME'.
         SET CURSOR FIELD field1 .
         MESSAGE e001.
       ENDIF .
    I think you need to have the MESSAGE statement (or something similar).  If you don't have a message class assigned to your program, instead of
    MESSAGE e001.
    you can use
    MESSAGE 'Please fill in all required fields' TYPE 'E'.
    - April
    Message was edited by:
            April King

  • How to place the JFrame in center of the screen

    Hi.. please any one tell me how to place the jframe in the center of the screen.. i am working on windows.
    setLocationByPlotform is not working...

    //GETS SCREEN SIZE
            Dimension screen_Dimension =Toolkit.getDefaultToolkit ().getScreenSize ();
            //GETS WINDOWS SIZE
            Dimension frame_Dimension = window.getSize ();
            //PUTS FRAME IN THE "MIDDLE" OF THE SCREEN
            window.setLocation ( new Point (
                    (screen_Dimension.width / 2-frame_Dimension.width / 2),
                    (screen_Dimension.height / 2-frame_Dimension.height/ 2)));Not sure if you want the raw version of it.......

  • How to place the animation in the middle of the .html

    Hi there,
    i have got a question. How to place the whole animation in the middle of the ".html".
    Hope you know what i mean.
    Benno.

    Center the stage follow the four step process below
    Code to paste into Stage > compositionReady
    //Center the Stage
    sym.$("Stage").css({"margin-left":"auto","margin-right":"auto"});
    Darrell

  • How to do the calculations with currency fields in table control?

    Hi everybody,
    Can anyone tell me how to do the calculations (arithmetical) with the currency fields which have been assigned for a table control fields? Actually they should be fetched from the database table and need to do some calculations and after that the same should get updated at the database level.
    Here, i am getting the short dump after doing the calculations and trying to display at the table control field itself.....
    Can anyone help me in this issue........
    Thank you very much.....in advance,
    Somu.

    Hi,
    Thanks to your replies all,
    But, even though the sign check box is checked in the SAP domain WRTV7, in my program it is not showing the negative sign at all...
    I am keep trying for all the options...
    But still it is not working out...
    My requirement is after fetching the data from the database i need to do calculations and save back same to the customized table field, for which the domain i have checked the sign and have done it also...
    I'd be highly thankful to you, if you can help me out...
    Thank you,
    Somu.

  • How to  Place the Cursor at Specific Position with-in a Char Field ?

    Forms 4.5 ver.
    Sun Solaris / Citrix env.
    Char Field - Length 65434
    How Can I Place the Cursor at "Specific Location"
    with in a Field ?
    with GO_ITEM('field Name') I can place the Cursor at Specific Field.
    But, How Can I achieve to Place the Cursor at Specific
    Position within that Field ?
    I know, the starting position, length of string I want to hightlight with the Cursor.
    tried using :
    go_item('substr(field_name,position,length)') ;
    but didn't work !
    Is it possible ?
    Thanks, Peri

    The only cursor postion behavior that can be controled is the item property "Keep Position".
    The following is the text from the on-line help for item property "Keep Position"
    KEEP_POSITION Specifies whether the Keep Position property should be True or False. When Keep Position is True, the cursor returns to the same position it was in when it left the text item. When Keep Position is False, the cursor returns to the default position in the text item. Valid values are PROPERTY_TRUE and PROPERTY_FALSE.

  • How to place the xml contents into textframe?(cs2_js)

    after flow the xml into indesign document,i able to get the particular xml element and its contents in a variable.
    i want to know how to get certain range of xml element's contents and how to place that in textframe?
    //for get content
    app.activeDocument.xmlElements.item("header1").contents
    if i place the particular element's contents in xml structure extra tags added at edge
    i want to avoid that duplication also
    thanks in advance
    by
    subha

    Hi,
    Use FM WS_FILE_COPY To FIrst Copy the File to some Location
    and Next Use FM TMP_GUI_DELETE_FILE To Delete the File from Old LOcation.
    Regards
    Bala.M

  • How to place the date in photos

    How can you place the date in photos as they are taken?

    Hi,
    You can pass the image url as a href attribute=> file:///Users/me/Documents/my_pic.jpg directly within your xml. It just needs that you pass a local, static and valid url.
    If you want to add image later once the xml is flowed and so target specific nodes and inject images, it's a bit more complex. If the node is not part of the layout, you may try to reach the XMLElement objet and such an attribute, then layout the element.
    var x = some XMLElement
    x.xmlAttributes.add("href","file:///Users/m/Documents/my_pic.jpg" );
    If already placed, then you have to get the associated pageItem, then place your file into it.
    pagItm.place ( File ( "/Users/m/Documents/my_pic.jpg" ) );
    Hope that helps,
    Loic
    http://www.loicaigon.com

  • How to place the regions in required positions

    Hi
    I have a requirement like below to place the regions
    Region_Seq_10 Region_Seq_20
    Region_Seq_30
    Region_Seq_40 Region_Seq_50
    Region_Seq_60
    How Can I design exactly above mentione way of positioning the regions.
    Regards
    Kiran Akkiraju

    Region_Seq_10, 20 and 30 will need to be in "Display Point: Page Template Body (1)" with Region_Seq_10, 30 in Column 1 and Region_Seq_20 in Column 2
    Region_Seq_40, 50 and 60 will need to be in "Display Point: Page Template Body (2)" with Region_Seq_40, 60 in Column 1 and Region_Seq_50 in Column 2

  • How to set the Date and Currency Formats Based on Country

    Hi Friends,
    I am designing the one Global Form it will use for all countries.
    in that Form i want to print the date and currnecy Formats based on country.
    Like
    For US i want print the date and Currency Like This.
    Date -  MM/DD/YYYY
    Curremcy - XX,XXX,XX.XX
    For DE i want print the date and Currency Like This.
    Date -  DD.MM.YYYY
    Curremcy - XX.XXX.XX,XX
    Please suggest how i can control these things through Java Script or Formcalc....

    Hi Nitin,
    thanks For ur reply,
    i tried with this solution,
    But it is displaying the default Format like bellow formats.
    For short - mm/dd/yy
    For Medium - mmm dd , yyyy
    For Long     - thursday ,mmm dd , yyyy
    it was prinitng in above mentioned format,
    but here i want to print my own format for USA like MM/DD/YYYY.

  • How to place the PO no in VL10B

    Hi All,
    when i click on the PO number from  ALV display, thecall transation will direct to VL10B.
    my requiremnt is to place the PO number in VL10B which is there in the second tab automatically.
    please help me out to achieve this.
    thanks in advance
    sriram rapolu

    Hello Sriram
    You may try either of the the following approaches:
    *& Report  ZUS_SUBMIT_VL10B_REPORT
    REPORT  ZUS_SUBMIT_VL10B_REPORT.
    start-of-selection.
    " Submit the report instead of calling the transaction directly
      SUBMIT rvv50r10c
    *          with gt_parnr ...
    *          with st_ean11 ...
              with st_ebeln in gt_rng_ebeln  " <<< Fill your PO number in RANGE itab
              and return.
    " Use this fm in combination with
    " - SET/GET parameter ('BES') for purchase order  OR
    " - batch input data which fills the PO number on the 2nd tabstrip
      CALL FUNCTION 'ABAP4_CALL_TRANSACTION'
        EXPORTING
          tcode                         = 'VL10B'
    *     SKIP_SCREEN                   = ' '
    *     MODE_VAL                      = 'A'
    *     UPDATE_VAL                    = 'A'
    *   IMPORTING
    *     SUBRC                         =
        TABLES
          USING_TAB                     = gt_bdcdata
          SPAGPA_TAB                    = gt_set_get  " SET/GET parameter
    *     MESS_TAB                      =
        EXCEPTIONS
          CALL_TRANSACTION_DENIED       = 1
          TCODE_INVALID                 = 2
          OTHERS                        = 3.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    end-of-selection.
    Regards
       Uwe

  • How to place the modified masthead in place of default masthead in framewor

    Hi ,
    i am changing the default masthead .I have downlaoded com.sap.portal.navigation.masthead.par.bak from PCD and have done some changes. I created a new iview based on this new par file com.xy.portal.navigation.masthead.par
    I could see the changes through preview. and i have added this to framework page .
    the new iview always gets added to at the bottom of the page.i have sorted it by sorting controls(using Visible) on the page editor.even then in the page layout it always shows the new masthead at the bottom of the page. How to get the new masthead at the top of the page??
    Can somebody help me.
    Thanks in advance.
    Lakshmi

    Hi Lakshmi,
    The way to move the masthead is to drag & drop it in the page layout.
    Hope that helps,
    Yoav.

  • How to separate the value and currency

    Hi Experts,
    We have data in report like this 12545EUR
                                                       24521DM
    Now our requirement is  separate the value and currency.
    Can anybody tell me what i do in Query designer.
    Thanks in Advance

    Hi
    NODIM is used in a scenario like u want find the amount of product then the formula for the amount is price * quantity
    AMOUNT = PRICE * QUANTITY
    IN this case the unit for PRICE ,let say EUR and for quantity the unit is EA and say we have price value = 10 EUR and quantity value   = 5 EA
    if u apply the above value in the above formula , then it leads to the value as shown below,
    AMOUNT = 10 EUR * 5 EA = 50 EUR EA
    In this case the units for the amount should be EUR not "EUR EA" in this case we have to eliminate the units for PRICE . so that can be done by using the
    amount = /BIC/NI_AMT * NODIM(/BIC/NI_QTY)
                 = 10 EUR       *   5         = 50 EUR
    Hope u got it,
    Revert back in case of any query ,
    Assign points ,
    Thanx & Regads,
    raviChandra

  • How to place the amx:panelGroupLayout at the bottom of the screeen

    I want to place the amx:panelGroupLayout at the bottom of the screeen without using the spacer in between of the screen layout.

    Change your code to this and it should work:
    PARAMETERS : p_date LIKE sy-datum ,
                  p_uname LIKE sy-uname.
    DATA: field1(8) TYPE c .
    AT SELECTION-SCREEN .
       IF p_uname IS INITIAL.
         field1 = 'P_UNAME'.
         SET CURSOR FIELD field1 .
         MESSAGE e001.
       ENDIF .
    I think you need to have the MESSAGE statement (or something similar).  If you don't have a message class assigned to your program, instead of
    MESSAGE e001.
    you can use
    MESSAGE 'Please fill in all required fields' TYPE 'E'.
    - April
    Message was edited by:
            April King

Maybe you are looking for