Problem in currency in fieldcatalog

hi experts,
i am creating the filed catalog to display the currency field, my requirement is display the currency field and do the sum on it .
but problem is the currency field is make it as editable because user can edit this one . after edit this find the difference with these currency fields . while saving the data is not displaying correctly example if i enter 1000 it takes as 10.00 so i use filed catlog field inital = 'CURR' . then it is working but sum is not working even i set do_sum = 'X' .
iam writing this code for field catalog .
gs_fcat-row_pos   = '1'.
  gs_fcat-col_pos   = '8'.
  gs_fcat-fieldname = 'CWR01'.
  gs_fcat-tabname   = 'GT_CUSTOM'.
gs_fcat-INTTYPE   = 'CURR"
  gs_fcat-do_sum    = 'X'.
  gs_fcat-inttype   = 'CURR'. " M "
  gs_fcat-no_convext = 'X'.

Hi
gs_fcat-INTTYPE = 'CURR" <----- INTTYPE is long one CHAR only, probably you should set GS_FCAT-DATATYPE = 'CURR' and (but I'm not sure) GS_FCAT-INTTYPE = 'P'.
If you use a currency field, you need to indicate the reference field (GS_FCAT-CFIELDNAME = ??????) where the currency is placed
Max

Similar Messages

  • Problem with currency fields in alv while editing

    hi guys,
    while creating the editable fields and saving the data in database i have problem with currency(price fields),
    when iam entering 10000 it is storing as 100.00 in database but
    i want to store it as 10,000.00
    can any one help me ....
    it is urgent
    thanks..

    When populating the fieldcatalog for ur currency amount field then
    populate these additional fields with currency key and table name where this key field belongs.
             cfieldname     type slis_fieldname, " field with currency unit
             ctabname       type slis_tabname,   " and table
    May be then it will solve ur prob.
    Regards,
    Joy.

  • Problem with currency  field in smart form

    hi
    friends ..
    i had problem with currency field in smartform iam printing 5 currecny
    fields after the main window .But not getting printed on right way gets printed down from the given mesaurement and i get lot of gap betwen the
    each fields for ex.
    33,260.00
    120.00
    0.00
    0.00
    0.00
    i thought the the problem is with space .so iwanted to condense it but cannot as it is currency field so move into character fields .but the user want out put in currency format like 22,60.20 if i  get the value in char variable i get 2260.20 which i dont want .
    so pls help me how to condense or shift left and print the currency field on right place.
    regards
    answers will be rewarded points.

    hi,
    this is a normal problem u can avoid this by moveing these currencu value to a character field then print the char field us ing condece... &var(C)&..
    eve if not solve the problem use the TEMPLATE node..
    Please Close this thread.. when u r problem is solved. Reward all Helpful answers
    Regards
    Naresh Reddy K

  • Problem of currency field in ALV grid

    Hi,
       Actually I am working on ALV gird editables. I have passed the CURR 17,2 type to the i_fcat table. But when I am trying to edit a new value to this field with a new value. i.e. '12345' it takes its value as '123.45'. and whenever I am entering a value '123.45' it gives error message that decimals 0 place. I am not able to make out this problem.
         Even while I am doing get_cell_value, I am getting its returning 0.00 as e_value.
          Any help in this regard will be helpful to me...
    regards,
    Brijesh Patel

    Hi Brijesh,
    Are you using the FM "REUSE_ALV_GRID_DISPLAY" to populate field catalogue? if so, define this in your field catalogue for that particular field.
    g_t_fieldcat-CFIELDNAME = 'X'
    where <b>g_t_fieldcat</b> is your custom defined field catalogue. CFIELDNAME here refers to that column in the field catalogue as currency field and SAP automatically adjusts the decimal places.
    Hope this helps and let me know if you need more details.
    Regards,
    Vicky
    PS: Award points if helpful

  • Problem in Currency field in Abap Query

    hi.
         I have created an additional field for storing the currency type.
         Based on some calculations i want to store the currency type into this additonal field.But the problem is that the currency field is not getting displayed in the report though i am getting the currency type in the additional field when i check it while debugging. Can anyone help me out...

    Vimal,
      Is it ABAP Query problem(SQ01).If yes, then
      In tcode SQ02(Infotype)>press extras button(F5)>In right side you will find 4 tabstrip buttons.Press on Extras--> create variable with same type of currency.
    goto Field group button--> add this field to field groups.
    In record processing event after your calculations assign your value of cuurncy to this new variable.
    In tcode SQ01-->enter query name >F6>F6>F6>select your new varaible
    >Press on basic list button(shift+F4)>left side you will find additional fields Node From there select your new field-->Save come back and execute the query.Now  you will find your variable.
    Don't forget ot reward if useful....

  • Problem with Currency Symbol in IR export to CVS

    I have a number of queries that have been successfully generating csv files for years and have been adapted to provide the basis for the same information to be available as an interactive report with the option to download as csv. The old scripts set the NLS settings at the outset. The Apex app sets the NLS environment in the vpd function. The apex report query is a "select * from some_view" style one that ultimately queries a remote view with several columns like this:
    select TRIM (LEADING ' ' FROM TO_CHAR(ROUND(100,2),'L9999G999G990D00')) x from dual;
    just as the were in the prior manual SQL.
    The "new" apex export to csv files contain an extra character preceding the currency symbol that is upsetting Excel on import.
    old-style hexdumps look like this:
    2c 22 a3 31 30 30 2e 30 30 22 2c
    ,"£100.00",
    new ones like this:
    2c 22 c2 a3 31 30 30 2e 30 30 22 2c
    ,"£100.00",
    Where on earth is Apex getting it into its head to add this (the on-screen report is fine!) and how can I stop it?
    Thanks in anticipation.

    hi,
    this is a normal problem u can avoid this by moveing these currencu value to a character field then print the char field us ing condece... &var(C)&..
    eve if not solve the problem use the TEMPLATE node..
    Please Close this thread.. when u r problem is solved. Reward all Helpful answers
    Regards
    Naresh Reddy K

  • Very urgent : Problem in currency field while downloading file from excel.

    I downloaded a excel file to my ABAP program.It contains a currency field which has comma in it. When i do operations on the currency field it says unable to interpret the number.Can anybody help me on this.
    Message was edited by:
            Bharath Srinivas
    Message was edited by:
            Bharath Srinivas

    Hi,
    Try this. In ur excel right click on that column wher u have the currency, go to format cells and there uncheck the box which shows 'Show tousands (,) seperator).That shud solve the problem.
    Thanks
    Vasudha

  • Problem on currency fields

    Hello all,
    I want to display currency fields in a report based on opportunities on analytics (fields revenue and expected revenue).
    At level society, currency is euro.
    I have english and french peoples working on OCOD: so currency for french people is euro and currency for english people is GBP.
    When I launch the report for french people, fields revenue and expected revenue are ok, but they are empty for english people when revenue is not empty on OCOD!
    With my admistrator user I could see value of currency fields revenue but in euro (because my user is french).
    Is anyone have the same problem and is there a solution ?
    Thanks for help!
    Marc

    Hi Marc,
    maybe this could help you...
    http://dl.dropbox.com/u/7022318/How%20to%20create%20a%20report%20with%20multi%20currencies.docx
    Thanks,
    Royston

  • Problem With Currency key

    I have created a ZTABLE- having amount field and currency/qunatity field as WAERS and tcurc as reference table.
    Created a structure where i created zwaers as field and currency and quantity fields as ZWAERS and my structure name as reference table--it worked
    Now the problem is
    When I loading into DSO- I have mapped amount to 0amount  and Zwaers to 0currency- i also had the transforations for DSO and CUbe
    When I tirgger DTP, I am unable to load the  data
    When I checked in the error stact " keyfigure <> 0 not allowd for unit" and my currency field is blank in the Cube.
    I also tried in making the currency key as constant USD which didnt worked
    Please help me out with this

    hi,
    Check the unit associated with the amount field, either it is bringing incorrect value or no value. If amount field is filled and no unit value is coming in the unit field it would give an error like yours. Assign constant to the unit field and then load.
    regards,
    Arvind,

  • Problem with currency display

    Hi everybody!
    I have problem with DW8 and ASP.
    The code : <%=
    FormatCurrency((rsProducts.Fields.Item("price").Value), -1, -2, -2,
    -2) %>
    And on the page it is looks like: 867,00?.
    And it should look like $867.00
    The field in Access set to number. I am testing it localy
    (local host)
    I also tested it on different computer and it worked just
    fine. So, I am guessing that somthing wrong with settings on my
    computer.
    Does anyboby have an idea what could it be?
    Thanks!

    Hi Sachin,
    I reviewed RPA0 transaction and both users are the same properties.
    I just created a new user ZZZ with copy of YYY, executed the report painter and it shows the amounts in correct currency, this is strange.
    Thanks for your help.
    José Luis

  • Problem with currency and quantity field

    Hi,
    I have done a couple of BDC and watched that if some currency or quantity field is there and i want to run the BDC the particular currency/quantity field will not populate the value inspite of i have declared the same table field that it refers to in the screen in the internal table.
        But, if i declare a character string in the internal field having same length as the screen field it will populate at run time. Why so?
    Regards
    Sandeep

    Hi,
    Even i have experienced the same problem many a times and use a character string as a work around to solve it.
    I guess one reason for it is for the currency and quantity fields, the actual defined length and the output length are different with output length being 3 or 4 bytes greater than that of actual lenght and also the fact that these fields are always right justified. hence some bytes of the field is getting truncated which the system does not allow and discards the whole value.
    regards,
    Mahesh

  • Problem with currency fields

    Hi,
    My international settings are set to Turkish locale. I created a spreadsheet and defined a column as currency. Turkish currency symbol is YTL. When I want to make calculations using cells on that column, I get "+The operator "*" expects a number but the cell contains string+" error. Numbers doesn't understand that YTL is the currency symbol and prohibits any calculation. If I change the locale to U.S.A, and define the same column as currency, i can make calculations on this column. Does anyone has the same problem with different locale?
    Thanks
    Bilgehan

    Hello
    Glad to give you the ability to work flawlessly.
    I will report to Apple because the behaviour is really foolish.
    If I enter System Prefs to select Turkish as used language, the currency is displayed as
    If with this setting I enter Numbers, type 123 and apply the currency format, the cell displays
    TRY is the official ISO 4217 symbol but it's not the system setting and it is not treated as a currency symbol so the cell is treated as a string.
    If I enter the Inspector and select "livre turque (TL)"
    the cell is treated as a number.
    Funny isn't it.
    Yvan KOENIG (from FRANCE vendredi 8 février 2008 14:33:53)

  • Problem with currency translation and variable time ref. with 0FISCPER

    Hello,
    We have a problem with a currency conversion with a variable time reference (as iobject we use 0fiscper)
    We created a currency conversion for several key fig:
    Our settings:
    Exchange rate Type: EURX
    dynamic ex rate determination
    Source cur from datarecord
    Fixed Target Curr (EUR)
    Variable time ref.: End of Period
    Special Infoobject: 0fiscper
    When we run the DTP we get the following error:
    <i>Enter rate GBP / EUR rate type EURX for 00.00.0000 in the system settings.</i>
    ending the DTP in a message type X.
    In table TCURR and T009/T009B all necessary information is available.
    After debugging the function module, it looks like the created date (created from the FISCPER) is set to 00.00.0000. This results in the error above.
    Does anybody have experience with this error and more important know how to solve it?
    We also have a 0FISCYEAR available but in the TCURR table al rates are defined per end of the month. When trying to use 0FISCYEAR as InfoObject in the variable time reference, a diffrent error occurs:  Enter rate GBP / EUR rate type EURX for 01.01.1001 in the system settings. While  the 0FISCPER is 2001001.
    Is there a bug in the function module? (couldn't find a SAP note)
    We are working with BI 7.0 and SP12
    Best regards
    Steven

    Please can you give more detail on how you were able to resolve this issue?  How did you add 0fiscper to the transformation?  I am on BW 3.5, how do I fix this same issue on it?  Please help, this is urgent.

  • Problem Loading Currency Field

    Hi All,
    I am not able to populate the currency field from Source using DTP when loading ODS 0CRM_OPPH. All the fields are populating except the Currency field and its a direct mapping in the transformation from source. Can someone let me know what is the issue with this?
    Thanks,
    Raj

    Hi Raj,
        In case you did the mapping correct and there are no routines that might clear the currency field in your update or transfer rules you can additionally transfer the currencies from the source system. Goto rsa1->source systems. Right click on your source system and choose transfer global settings. This will allow you to transfer currencies, exchange rates ... from source to BW. Try this and let us know the restult.
        Additionally use transaction listcube and display the records from there, check if there is a currency assigned to the keyfigure for each record.
      SUre this link helps to solve your problem.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/462fe790-0201-0010-3ca4-adfd89e4f9f2
    Thanks
    Varun

  • Problem in currency decimal format

    Hi all,
    we want to display currency format 1,234,567.89
    but we are getting current format as 1.234.567,89
    we already maintained the required format in the USER PROFILE's DEFAULT
    still we are getting this format 1.234.567,89
    so is there any thing we have to set at SPRO level?
    and also we have to maitain any thing more than these?
    please let me know urgently
    thanks in advance

    Hi,
    For which country are your working?
    because I faced these type of problem with countries Like Japan and for some european countries etc. SO it depends on country settings also.
    Make sure and do the settings in User settings.
    Regards,
    Anji

Maybe you are looking for

  • Using iPhoto 08 editor causes image to be blurry.

    When using iPhoto 08 to edit images, the photo and thumbnail become blurry but when the images is dragged onto the desktop and is viewed with Preview the image is clear but with out the modifications made during the edit in iPhoto. Any suggestions?

  • Angry and Frustrated, can anyone help? (Zen Vision

    Hi. I am really upset right now, so please bear with me if I don't sound calm, cool, and collected during this post. I was getting tired of the slowing response time with my player. I came online this morning, and found the documentation for my playe

  • Creative vision M: not charging, not even through wall socket.

    I had my vision M for some time now, but it as not been used for around a year now. The other day, i wanted to use it, i plug it in the wall, came back a few hours later it had not charged at all. I could scroll through my music, but the battery was

  • Brtool getting failed after kernel upgrade

    Dear Guru's After doing kernel upgrade i tried to schedule check database from db13 and am getting this error Please can any one guide me in resolving this issue Job started Step 001 started (program RSDBAJOB, variant &0000000000079, user ID BASIS) E

  • Error when attempting to connect

    hello there. whenever i try to connect to our new airport extreme 802.11n i get a strange error that consists of an 8 digit number that's different every time, and "PIN for "`¬Ä†å"" it fails to connect but keeps trying and completely freezes the airp