Currency field in customized table

Hi Frnds,
     I have created a customized Table with a currency type field and generated a table maintenance view.While creating a entry for 'JPY' currency key (which has no decimals) the enterd value in currency field gets multiplied by 100. Eg: if the amount value is 1111, instead of 1,111 its displaying as 111,100.
     But this happens only on creating the entries through New Entries Tab. If I changed the enterded value in amount field to 1111 again its displaying correctly as 1,111.
    How can I correct the entries in New Entries Tab too??.
   Please help me.
Thanks in Advance

Hi
I am facing the same kind of problem, but in my case if the PO value is 12345, in table it is stored as 123.45 instaed of 12345
that means system is putting in decimal point before 2 digits.
and this is applicable only in case of JPY Currency.
kindly sugguest the solution
Thanks and Regards
Dnyanesh

Similar Messages

  • Problem while saving date field in custom table

    Hi,
    Iam facing the following problem while saving a date field in custome table
    i have a date field zdate in which the value is 02082010.
    now when i try to insert this value in the custom table it is getting updated as 20/10/0208 , but it should be 08/02/2010
    How can i correct it..
    Regards
    Kumar

    just before saving u might have to use a string reverse FM and then save it..
    CALL FUNCTION 'STRING_REVERSE'
      EXPORTING
        STRING          = p_string
        LANG            = sy-langu
    IMPORTING
       RSTRING          = r_string
    EXCEPTIONS
       TOO_SMALL        = 1
       OTHERS           = 2

  • Create search helps for fields of custom tables

    Hi,
    Could any one please provide me the step by step process to create search helps for fields in custom tables?
    Thanks in advance,
    Nobin.

    Hello Nobin
    There is basically no difference between a search help for standard vs. customer tables.
    An important choise is the selection method for your search help:
    Either you use your custom table, a view or a search help user-exit if you need to implement very specific requirements.
    Assuming that you can use your DB table as selection method the further implementation of the search help is quite straightforward:
    (1) Define the parameters you would like to have a selection criteria (SPos = SPos) and which should appear on the result list (= LPos).
    (2) Define the parameters that can be used as input for the selection (flag IMP) and are returned by the search help (flag EXP)
    Regards
      Uwe

  • How to do a Search help on SAP structure field listing custom table data?

    i have a SAP screen (Trans KE52) that they want to have a drop down (search help on).
    The drop down should list values from a custom table.
    How do you do this?
    The values to be displayed are NOT from a structure table but from a transparent table.  i believe I will need a search FM to do this but not sure how it is to be done.
    Any one have ideas?
    Thanks!
    Scott

    Hi Scott,
    You need to go to SE11 and look for a searh help that match your requirment or build one.
    In case you are going to develop one, in the definition tab of the search help look for the selection method and put in the input field the name of your transparent table.
    After that you must specify the fields that you need to appear at the list and the one that is going to be selected for your field. This step you have to do it on the search help parameter grid.
    Regards,
    Eric
    PD. Reward points if this was helpful

  • Add a new field in custom table but not show on SM30

    I add a new field in a custom table, did Table Maintenance generator and SE93.  But that field did not show on SM30 screen.  How to make it show on the SM30?
    Thanks
    Helen

    Hi,
    I think its the Problem with TMG.
    Go to TMG screen delete the old TMG and regenerate the new TMG
    Hope it helps
    regards
    Prasanth

  • Search help for fields in custom table..

    hi,
    in my custom table i have two fields - table name and field name. when user selects table name as VBAP , for field names i need all the fields in VBAP to be displayed and for that I set the check table as DD03L and I am able to see all the fields. But i am not able to see the description of the fields rather seeing field name , other key fields of DD03L.
    How do i get to display something like
    field name - description - length (length of the field as defined in DDIC)
    If search help will help then can u pl tell me how to create one ? or any standard can be used ?
    thanks

    Yes, you need to create search help and assign it to the field 'field name'
    Please search SDN for how to create search help. There are 100's of threads with this
    By the way the texts can be found in table DD03T  for tables as well as for fields

  • Adding new field in customized table ZPM_QMEL_EXT

    Hi all,
    My requirement is  to add a new field in ZPM_QMEL_EXT table numeric field no of  months due (ZZ_CO_MON_DUE) .
    Its value will be calculated as the # of invoices that were paid vs. what has not been paid and then from there, value of this field will be fetched.It has to be populated during the time of notifcation screen entry (iw51). The logic will be similar to this
      SELECT FAEDN FROM DFKKOP INTO TABLE IT_DU_DT
                                  WHERE GPART EQ WA_QMEL-KUNUM AND
                                        VKONT EQ WA_QMEL-ZZ_VKONT.
        SORT IT_DU_DT BY FAEDN ASCENDING.
        READ TABLE IT_DU_DT INTO WA_DU_DT INDEX 1.
        MOVE WA_DU_DT-FAEDN TO DUE_DT.
        CALL FUNCTION 'HR_MONTHS_BETWEEN_TWO_DATES'
          EXPORTING
            I_DATUM_BIS = SY-DATUM
            I_DATUM_VON = DUE_DT
          IMPORTING
            E_MONATE    = NO_MT.
        IF NO_MT IN P_DU_MT.
          WA_QMEL-DUE_MONTHS = NO_MT.
    Awaiting your kind help .
    Thanks
    hariom.

    Hi,
    There is only one option to include extra field for standard tables that is Append Structure other than we don't have any option.
    For Customizing tables we can use Append structure as well as Include Structure.
    Rules: Append Structure should be in last in Field column but include structure you can insert in any where it means between the fields.
    Delivery class option  and data class will take care automatically while upgrading the sap system one version to Another version.(upgrading).
    For that you should maintain the those properties when data base table creation.
    i hope the above information may helpful to you.
    Best Regards
    Sreenivas Pachva

  • Value Help for a field from custom table in BSP

    Please let me know, the procedure to create value help for a field from a custom table in BSP using HTMLB.
    Thanks

    hi prodigy,
    check this code using drop down list.
    <b>layout for first page</b> 
    <htmlb:dropdownListBox id                = "ddlist"
                                  table             = "<%=t_mara%>"
                                  nameOfKeyColumn   = "matnr"
                                  nameOfValueColumn = "matnr"></htmlb:dropdownListBox>
    <b>event Oninitialization event of first page</b>
    SELECT MATNR UP TO 10 ROWS
      INTO TABLE T_MARA
      FROM MARA.
    <b> event Oninputprocessing event</b>
    **Load the manager class
    CLASS CL_HTMLB_MANAGER DEFINITION LOAD.
    DATA: V_EVENT TYPE REF TO CL_HTMLB_EVENT.
    DATA: DATA TYPE REF TO OBJECT.
    DATA: V_DATA TYPE REF TO CL_HTMLB_DROPDOWNLISTBOX.
    CALL METHOD CL_HTMLB_MANAGER=>GET_EVENT
      EXPORTING
        REQUEST               = RUNTIME->SERVER->REQUEST
      RECEIVING
        EVENT                 = V_EVENT
    IF V_EVENT->NAME = 'button' AND
       V_EVENT->EVENT_TYPE = 'click'.
    DATA ?= CL_HTMLB_MANAGER=>GET_DATA( REQUEST =
                                          RUNTIME->SERVER->REQUEST
                                          NAME     = 'inputField'
                                          ID       = 'matnr'
        V_DATA ?= DATA.
    IF V_DATA IS NOT INITIAL.
         V_MATNR = V_DATA->SELECTION.
    ENDIF.
    NAVIGATION->SET_PARAMETER( NAME = 'v_matnr' VALUE = V_MATNR ).
    NAVIGATION->GOTO_PAGE( 'detail.htm' ).
    ENDIF.
    <b>in the onInitialization event for detail page</b>SELECT MATNR
           ERSDA
           ERNAM
           LAEDA
           AENAM
           VPSTA
           PSTAT
           LVORM
           MTART
      FROM MARA
      INTO TABLE T_MARA
    WHERE MATNR = V_MATNR.

  • More than one check table for a field in custom table

    I created a custom table , with some fields in that , and for a field i given a check table , in that same field i want another check table because for  some data i need to refer another table . whether it is possible.....

    Hi,
    If you need to perform the checks while using a maintenance view, you can do this with modification events. e.g. just implement a form that triggers your custom checks in a "before save" event... (SE55->Environment->Event)
    Kr,
    Manu.

  • Update PA0105 subtype-fields, PA0006 fields to Custom table

    Hi Experts,
    Please tell how can we UPDATE subtype-fields from PA0105 infotype to Custom tables. Is any functoin module is there. PA0105-USRTY(Subtype Fields:Primary Work Phone,Secondary Work Phone,Work Fax,Voice Mail,Pager,Email Address.) and UPDATE fields from PA0006 infotype (Fields:Mailcode,Building,Floor,Address1,City,State,Zip) to Custom table.
    Thanks,
    Spreddy

    Hi Srinivas,
    use like this
    call function 'HR_READ_INFOTYPE'
           exporting
                pernr           = pernr
                infty           =  '0267' "INfotype no
                begda           = datum
                endda           = datum
          importing
               subrc           = retcd
           tables
                infty_tab       = i0267 " table type table of p0267
           exceptions
                infty_not_found = 1
                others          = 2.
      read table i0267 into p0267 index 1.
    Change the fields here u want to change
    Fill infotype record
      p0267-infty = '0267'.
      p0267-subty = lgart.
      p0267-pernr = pernr.
      p0267-begda = datum.
      p0267-endda = datum.
      p0267-opken = ' '.
      p0267-lgart = lgart.
      p0267-betrg = betrg.
      p0267-waers = 'USD'.
      p0267-ocrsn = '0001'.
    ENDIF.
    Enqueue personnel number
    lock that particular personal no which u r updating
      CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
        EXPORTING
          number = pernr
        IMPORTING
          return = return.
      IF NOT return IS INITIAL.
        MESSAGE ID return-id TYPE return-type NUMBER return-number
                 WITH return-message_v1 return-message_v2
                      return-message_v3 return-message_v4.
        RAISE action_stopped.
      ENDIF.
    Perform PA30 via infotype_operation
    Function that update the record
      CALL FUNCTION 'HR_INFOTYPE_OPERATION'
        EXPORTING
          infty         = '0267'
          number        = pernr
          validityend   = datum
          validitybegin = datum
          record        = p0267
          operation     = 'INS'
          dialog_mode   = '2'
        IMPORTING
          return        = return.
      IF NOT return IS INITIAL.
        MESSAGE ID return-id TYPE return-type NUMBER return-number
                 WITH return-message_v1 return-message_v2
                      return-message_v3 return-message_v4.
        RAISE action_stopped.
      ENDIF.
    Thanks & Regards,
    Ruchi Tiwari

  • Auto-numbering of item field in custom table for EEW enhancements for BUPA

    Hi Experts,
    We have a requirement to generat 3 custom tables in EEWB,for BUPA and assigned it to BP_HEAD. I have done all the generations and it works fine, the problem  is that the tables that are generated is not allowing us to have a data(material) of 0...n cardinality. 
    The table that we are aiming is to allow multiple records, so my solution is to have an extra item number field so that it will allow multiple records for a material. But users are requesting to have the item number field of the tables to be auto-numbering.
    I would like to know if this autonumbering is possible or not? what methods in BP_EEW should i use to implement this logic. I 'm very new to CRM2007, so I'm still not very familiar on how to use the objects generated by the component workbench.
    p.s.
    I've already search the forum but can find any relevant topic related to my request. If you have any known related topic, It would be highly appreciated.
    Thanks and regards,
    JP
    Edited by: John Paul Auditor on Sep 1, 2009 3:36 AM

    Dear Syed,
       You can do many things in table maintenance screen like validation of some field, making some field required or displayed etc.
       For auto increment you have to use Number-Ranges. FM NUMBER_GET_NEXT is helpful in this case.
       Where to write the code??? The Function-Group you have made. There will be includes. You can easily locate the place to write these codes.
       Caution point is that if you re-generate the table maintenance then all code will be gone.
    Regards,
    Deva.

  • Issue with adding Long charater field in custom table

    I have added a URL ( Internet address ) field ZZSSOURIADDR with data element AD_URI whose domain is long character and length 2048.On activation table gives an message in a log
       Field ZZSSOURIADDR does not have a preceding length field of type INT4.
    What needs to be done to remove this error?

    As specified in SAP documentation, this must be the last field, and the previous one must be the actual length field type INT2. (suggestion: use data element AD_URILNG)
    LCHR: Character string of any length, but has to be declared with a minimum of 256 characters. Fields of this type must be located at the end of transparent tables (in each table there can be only one such field) and must be preceded by a length field of type INT2. If there is an INSERT or UPDATE in ABAP programs, this length field must be filled with the length actually required. If the length field is not filled correctly, this may lead to a data loss in the LCHR field! A fields of this type cannot be used in the WHERE condition of a SELECT statement.
    If error message wasn't clear enough, then try a where-used in transparent table of the data element AD_URI.
    NB: You could also use in your development the central address, actual URL would be stored in ADR12 and only ADRNR is in your custom database table, more development (look for BAPI BUPA) but smaller database.
    Regards,
    Raymond

  • Problem with the currency fields in the table cdpos

    Hi Gurus,
           I have observed one thing with the cdpos table like whenever we made changes to the currecy( and numeric fields also ,i am not sure ) fields ,then in the cdpos table it is showing a new entry for that change but not showing that old value, why? .But when we made any changes to date fields ,then it is storing that old date.
    So Is there any specific feature in this table.
    Thanks & Regards,
    Rakesh.

    Hello
    In ABAP-programm try this:
    DATA:       NEW LIKE CDPOS-VALUE_NEW,
          OLD LIKE CDPOS-VALUE_OLD,
          NEW1 TYPE MENGE_D,
          OLD1 TYPE MENGE_D.
    FIELD-SYMBOLS: <f> TYPE ANY.
    * make select from CDHDR and CDPOS
    IF CDPOS-FNAME = 'MENGE'.
      MOVE CDPOS-VALUE_NEW TO NEW.
      MOVE CDPOS-VALUE_OLD TO OLD.
      ASSIGN NEW TO <f>.
      CATCH SYSTEM-EXCEPTIONS CONVT_NO_NUMBER = 2
           OTHERS = 4.
           NEW1 = <f>.
      ENDCATCH.
      ASSIGN OLD TO <f>.
      CATCH SYSTEM-EXCEPTIONS CONVT_NO_NUMBER = 2
           OTHERS = 4.
           OLD1 = <f>.
      ENDCATCH.
    ENDIF.
    After this in NEW1 and OLD1 you will see values.

  • Need a FM for Updating an Currency field into database table

    Hi Friends,
      i have a problem, i have a field of type currency .
    the value is 14,150.00 ; while updating or inserting  these value to database i am geting an error of " unable to interpret 14,150.00";,,,
        the problem is with the " , " ( Comma) so is there any functional module so that which delete there comma and i can update it to database...
    The same problem arises with date field also ,,,
    Please help me out
    Thanks and Regards
    Kumar M

    Hi you can use this BAPI for converison to internal format.
    1. BAPI_CURRENCY_CONV_TO_INTERNAL
    For this bapi you need to pass the currrency into which you want to convert like USD, JPY and the amount.   
    2. To convert data to internal you can use this FM CONVERT_DATE_TO_INTERNAL

  • Problem in adding custom table's field in MM46

    Hi,
    I have a complex requirement of adding fields of custom table in MM46 for mass maintance.
    I did most of the part but dont know what is missed.
    Steps that i followed
    1. used tcode MASSOBJ- I Added Ztable name to application table for Object type - BUS1001001.Here i dont know what to provide in other attributes of entry example Number, DB table etc. [SCREENSHOT OF MASSOBJ|https://plus.google.com/photos/114088763388693559922/albums/5704943614516268609]
    2. Used tcode OMSR- I added entry of Ztable'field  here i gave selection group as 211, maint status as KDEVALBQPSZXCFG
    alv group- blank. [screen shot of OMSR |https://plus.google.com/photos/114088763388693559922/albums/5704943614516268609]
    After doing these steps Table name and field of table is visible in mm46. But problem is  Field is not editable that is in display mode only. 
    Pleae see this snapshot - [error image|https://plus.google.com/photos/114088763388693559922/albums/5704938582830478801]
    Please help me by telling what i missed and am i adding right attributes for entries in MASSOBJ AND OMSR?
    Thanks.
    Waiting for expert's comments.
    Reagards
    Rahul
    Please do not use words like 'urgent'
    Edited by: Rob Burbank on Feb 3, 2012 11:31 AM

    Hi Rahul,
    Wellcome to SDN. Perhaps you know it, and although it's for older releases, perhaps it could help you. Please, see SAP Note 381942 - Mass changes for logistics data in the article master.
    I hope this helps you
    Regards
    Eduardo

Maybe you are looking for

  • Convert long to varchar2

    Hi there, I am looking for a convertion, long to varchar2, in a sql statement. If I run the following query : select data_default from user_tab_columns It works fine in sql developper but when I execute it in my PHP code it returns: Notice: Undefined

  • Problem to open Office documents from Sharepoint

    Hello All, We have published SharePoint 2013 (NTLM authentication) via TMG 2010. However, we are having the following issue: When users try to open (https connection) any Office Documents to Office 2013 they get prompted for credentials, then after t

  • Sound on slides does not play after first slide.

    I created a presentation with 5 slides.  I put the same sound file on each of the 5 slides.  The slides are setup to play automatically. If I play the presentation in Keynote, it works perfectly. I exported to html and put on my web site.  If I view

  • Creating links within an image

    Teaching myself Dreamweaver, and I cant find something in help. I think Dreamweaver just has a specific name for it. Could someone illustrate how I take an image that is imported into a table, and divide it into links. Kinda turn it into a map of lin

  • Screenshots from external swfs

    How can i draw a movieclip that contains an external swf onto a BitmapData variable? I'm loading the movieclip with: moviecontainer=_root.createEmptyMovieClip("moviecontainer",10); moviecontainer.loadMovie("pacman.swf",0); Then i initialise the Bitma