Loading amount field of length 22,9

Hi,
My requirement is to load an amount field with length 22 and 9 decimal places.
If it is possible then how ?
Thanks in Advance

Not that I know of. Lets wait and see if some body has any tricks up thier sleeves to make this work.

Similar Messages

  • Loading a field of length( 60 and up to 2048) from flat file to BW.

    Hello,
    Can you please suggests ways by which we can load a field in flat file which is of length greater than 60 and up to 2048 digits to BW.
    Facts:
    We cannot have more than 59 length digits in an infoobject
    Observations:
    The idea of using multiple infoobject,ie for 2048 max length it will be 35 infoobjects is not acceptable by my client.
    So, can anyone suggests other ways in BW3.5 for loading a text of length up to 2048 from flat file to BW.

    Hi,
    If you have source field DD/MM/YYYY format, please try this code in the field routine.
    Data : lv_date(8) type C.
    lv_date0(4) = <Source Field Name>6(4).
    lv_date4(2) = <Source Field Name>3(2).
    lv_date6(2) = <Source Field Name>0(2).
    RESULT = LV_DATE.
    Thanks,
    Saru
    Edited by: P. Saravana Kumar on Apr 19, 2009 2:38 PM

  • Length of amount field in New GL at the document entry

    Hi,
    1) At present I am working on ECC 6, EhP 4 with New GL Activated & Old GL "Not deactivated" (i.e deactivate update of Classic General Ledger GLT0 not done).
    2) The total table (FAGLFLEXT) & Line item table (FAGLFLEXA) field in new GL has amount field length as 23 digit.
    3) When I am trying to enter any FI Document in SAP, using transaction code F-02 or FB60 etc, the length of amount field is coming as 13 digit. I am not able to enter higher value
    Question:-
    a) Is the above issue due to "non-deactivation" of "Old GL"? As per my understanding, it is not, but wanted your opinion.
    b) Is there any configuration which needs to be done to increase the length of the amount field at transaction level?
    Thanking you in advance
    Santosh Agarwal

    a) Is the above issue due to "non-deactivation" of "Old GL"? As per my understanding, it is not, but wanted your opinion.
    No, it is not.
    b) Is there any configuration which needs to be done to increase the length of the amount field at transaction level?
    No, there isn't.  The field length that is appearing during document entry is really dictated by the data type of fields such as DMBTR, WRBTR in table BSEG; which is CURR (13,2).  Although the GL view (FAGLFLEX* tables) have longer length, the limitation in entry view (BSEG, etc.) stays as 13,2.

  • Amount field with thousand separator

    Hi friends,
    i want to display amount field (5794.00)with thousand separator as (5,794.00).
    i defined amount field as character data type for my requirement.
    user want to see this value with thousan separator.
    Please help me hoe can i get thousand separator.
    Thanks
    ramesh

    Hi Ramesh,
    There is two functions for converting display currentcy
    CURRENCY_AMOUNT_SAP_TO_DISPLAY
    Convert currency value from value stored in SAP to displayed currency
    CURRENCY_AMOUNT_DISPLAY_TO_SAP
    Convert currency value from displayed currency value to value stored in SAP
    Try below,
    DATA declaration
    WMTO_S-AMOUNT =  Type DEC :: length 15 :: Deciamls 4
    parameter: p_discur like TCURC-WAERS,     "Display currency
               p_intval like WMTO_S-AMOUNT.   "Internal Amount
    data:      gd_disval  like WMTO_S-AMOUNT. "Display Amount
    *Start-of-selection.
    START-OF-SELECTION.
    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 EQ 0.
    You are now able to manipulate the returned value.
                            I.e. Convert it to GBP
    Without using this function module you would only be manipulating the
    SAP stored value, which is often missing a number of zeroes.
          I.e. 28000 JPY is stored within SAP as 280.
    ENDIF.
    *End-of-selection.
    END-OF-SELECTION.
    write:/(30)  'Value stored in SAP:', p_intval,
          /(30)  'Displayed currency:',  p_discur,
          /(30)  'Ammount is displayed Currency:', gd_disval.
    Hope it help
    Wiparat

  • Transfer amount fields to app. server using fieldsymbol

    Hi,,
    I am facing a strange problem while using fieldsymbols .Here is my requirement.
    I have a custom table records ( which also contains amount fields ) in fieldsymbol , which i need to transfer to application server . But when i am trying to transfer to file , using  Transfer <final> to p_file , amount fields are not getting converted to characted format and program is going to shortdump. After that i tried assigning this <final> to another fieldsymbol , of type c (using casting ) , records were able to transfer to file but the amount fields are not being converted to readable format (i.e unknown symbols , like #p## ) .
    I even tried SAP_CONVERT_TO_TEX_FORMAT to convert the contents to text format but i am unable to transfer with fixed length to application server file..
    As it is a dynamic program , i am using fieldsymbols instead of internal tables.
    Can anybody please help me transferring amounts also to appl .server file , with fixed length..
    Thanks in advance..

    Hi
    The <field symbols> doesn't change the format of the field, so you need to convert it in char format before transfering it to file.
    DATA: WA TYPE STRING.
    MOVE <FINAL> TO STRING.
    TRANSFER WA TO P_FILE.
    Max

  • Insert asterisk(*) for amount field (Very Urgent)

    Hi all,
    I want to insert asterisk() for amount field REGUD-SWNET(15C) in SAP script. ie suppose amount is 1000.00 rest of the length should be filled by asterisk() infrount of amount. ie ********1000.00 it has display like this.
    Your help ll be rewarded.
    Regards
    Yathish

    hi,
         We can replace leading spaces in a value with a FILL CHARACTER.
    SYNTAX:    <b> &symbol(Ff)&</b>    here f is fill character.
    example:    &REGUD-SWNET&  value is 700.00
                     &REGUD-SWNET(F*)& value printed as ******700.00.
    regards,
    sudheer.

  • Zero value in Amount field during transaction upload into BPC

    Hi Experts,
    When I run DM package to load transaction data from BW to BPC,I am getting warning error with rejected list which contains amount field as zero value.
    Is it possible to load records with amount value as Zero.My current EPM version is 10 SP14 Patch 1.
    Currently my cube is in load mode .I have understood that during transaction data upload the cube should be in load mode and during inputting data using input forms it should be in planning mode.Please correct me if I am wrong.
    Thanks,
    Raju

    Thanks for your quick turn around.
    I have multiple keyfigures which have zero values in some records hence I am getting zero values in Amount field.
    Shall I mark Real-Time  data Target can be planned; data loading not allowed always.
    Regards,
    Venkat

  • Adding -ve sign to amount field.

    Hi all,
    I have an amount field . I want to add -ve sign to it and then perform addition or substraction using that field.
    I have added -ve sign to the field by declaring another variable as character type, but i am not able to use the field for adition or substraction since its a character field.
    please help.
    Thanks,
    Bharat.

    Hi Bharat,
    In order to put the '-' in front, you must have a character field. The reason for the * is because the field is not big enough to hold the value. So make the character field a length of 12, move the type p to the type c, and use the function module which i have mentioned.
    function module
    CLOI_PUT_SIGN_IN_FRONT
    Reward If helpful.
    Regards,
    Harini.S

  • Changing SIgn for Amount field

    Hi:
    We have a requirement where we need to change +/- sign on amount field in Infocube during the data loading. How this can be done?
    Thanks

    Hi Sunil,
    In the update rules, in the key figure you want, instead of assigning a source key figure from communication structure (first option), select the formula  and press create. Name your formula, and then, in the formula editor, double click your key figure so it appears in the upper part. Then press the * button. and finally press constant button and enter -1 in the text box it appears. This should do it.
    Hope it helps.
    Regards,
    Diego Lombardini

  • User defined function to check the NULL and 0.00 value in a Amount field

    Hi Experts,
    I have one scenario in which i have amount field in Data type.
    I have to create one UDF which will do the following thing.
    1. If the amount field is Null it should throw an exception in mapping.
    2.If the amount field is 0.00 it should throw an exception in mapping.
    3. For all other cases it should pass the amount value to the target.
    Can anyone provide me the code For this UDF.
    Thanks in advance.

    Hi,
      You can add this logic to the UDF. Here var1 is the input string.
    java.math.BigDecimal b=new java.math.BigDecimal(var1);
              if(b.compareTo(new java.math.BigDecimal("0.00"))<=0)
                   //write your logic for values less equal to zero
    One small request, if you think your question has been answered, properly and correctly, could you please kindly if possible close down this thread. It helps people who look for solutions to similar problem.
    regards
    Anupam

  • DIsplaying WRBTR (AMOUNT FIELD)WITHOUT  DECIMAL PLACES

    Dear all,
    I am facing a problem in displaying amount field  in alv report. I have two currency keys (US dollar and Japan yen). if it is japan yen I should not have to show decimal places and if it is US dollar I should show decimal places.
    How can I do it in a alv report if I have only one output amount field?
    thanks
    Ranjan.

    Hi chittaramjan,
    1. use this kind of funda (just copy paste in new program)
    Important things
    a) one extra field in internal table
      declared in the same exact fashion
    waers LIKE tcurc-waers,
    b) Populate this field
    c) REST THE System will take care
       (based upon country settings)
    2.
    REPORT abc.
    TYPE-POOLS : slis.
    DATA : alvfc TYPE slis_t_fieldcat_alv.
    DATA  : BEGIN OF itab OCCURS 0,
            f1  LIKE P0008-BET01,
            waers LIKE tcurc-waers,
            END OF itab.
    START-OF-SELECTION.
      itab-f1 = '-4.15'.
      itab-waers = 'KRW'.
      APPEND itab.
      itab-f1 = '4.68'.
      itab-waers = 'GBP'.
      APPEND itab.
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
          i_program_name     = sy-repid
          i_internal_tabname = 'ITAB'
          i_inclname         = sy-repid
        CHANGING
          ct_fieldcat        = alvfc.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          i_callback_program      = sy-repid
          it_fieldcat             = alvfc
        TABLES
          t_outtab                = itab
        EXCEPTIONS
          OTHERS                  = 2.
    regards,
    amit m

  • Error in Report: Next to amount field i could see 'ERROR' word in report

    Guys,
    Problem in Report: Next to amount field i could see 'ERROR' word in report
    Eg: Invoice Amount  : "1200ERROR"  it should be like "$1200".
    Pls help where do i need to check.
    Thanks

    Ajeet wrote :
    Hi,
    It can heppens if all the records getting aggregated in the report are of different currencies and not belonging to one currency.
    Do a currency conversion for the key figures and make them all with same currency.
    See if the records in the cube for the selection which you have given in the report gives you records with different currency and if it is true then as above said.
    Thanks
    AJeet
    Are you sure ???
    The mixed unit values will be displayed as * (by default unless its changed).
    ERR comes if unit is not maintained.

  • How do I validate one field's length based on another field's selection?

    I am creating a form for our offices where I need to check one field for length of a serial number based on the answer to a previous field's selection.  Depending on the product selection, the serial number has two different lengths.  Both fields are marked as required, but I want to make sure that we receive the full serial number for our product.  Previous forms were done on paper and instructions were for the last 4 digits only which now we want the full serial number.  One product has a 12 digit number and the other is 6.
    I'm guessing that I need a validation script in the serial number field, but I am not a JavaScript coder and haven't found the right thing when searching.  Any help would be great!
    Thanks!

    Never trust your users to follow what you expect them to do... That often leads to mistakes and problems later on.
    I would reset the s/n field when a selection is made in the drop-down. To do so set the drop-down field to commit the selected value immediately and add code as its custom validation script:
    this.getField("Serial Number").value = "";
    To validate the s/n field you can use something like this as that field's custom validation script (of course, you'll need to adjust the field names and values to match the actual ones in your file):
    event.rc = true;
    if (event.value) {
         var selection = this.getField("Dropdown1").valueAsString;
         if (selection=="1" && event.value.length!=6) {
              app.alert("Error! The s/n must be 6 digits long.");
              event.rc = false;
         if (selection=="2" && event.value.length!=12) {
              app.alert("Error! The s/n must be 12 digits long.");
              event.rc = false;

  • Field name lengths

    The field name lengths in the Citadel database are approaching 80 characters when Citadel adds the total path to each field. I am saving data from a process running on computer #1 to computer #2. I am using OPC and to select the analog input values require an extremely long length to the field names.
    i.e.
    "\\Dispatchbd1\Freq_Process\FreqOPC.'OPC DAQ Items'.'Analog Input'.'PHS Narrow Freq'" is just one of my field names. When you have 75 values in a database that you want to look at this long name gets discouraging. Any help would be appreciated.

    Hi Wapa,
    You are right the names are a bit long. Citadel stores the absolute names (includes computer and process name), to make sure the names are unique. For example if process1 and process2 have both Pot1 and you are storing the data to the same database, unless you log it with a process name and computer name you would get a conflict - (if there is just Pot1 you would not know from which process).
    So, the computer and process parts are always there. The Item name has to be also included, but you have more choise there. The member ('OPC DAQ Items'.'Analog Input'.''PHS Narrow Freq') can be aliased to anything you want (and is valid). Go to the Edit database - select the item in the second window - select the datatype - type in alias (for example item1) - check the log to
    historical database and hit save (you are going to get a warning - don't worry about it, just make sure the alias (item1) you typed is is not already an existing item - because of the folder structure exposed by DAQ OPC you'll be fine).
    Now instaed of using "\\Dispatchbd1\Freq_Process\FreqOPC.'OPC DAQ Items'.'Analog Input'.'PHS Narrow Freq'" you can go with "\\Dispatchbd1\Freq_Process\FreqOPC.item1" - you can stop loggin the original member.
    If you need to go even shorter, you can create an expression object for every member you want to log and then log the expression. Then you get to something like:
    "\\Dispatchbd1\Freq_Process\Exp1"
    I hope this helps.
    Martin

  • SQL Loader Multibyte character error, LENGTH SEMANTICS CHARACTER

    Hi,
    startet SQL Loader Multibyte character error
    {thread:id=2340726}
    some mod locked the thread, why?
    the solution for others:
    add LENGTH SEMANTICS CHARACTER to the controlfile
    LOAD DATA characterset UTF8 LENGTH SEMANTICS CHARACTER
    TRUNCATE                              
    INTO TABLE utf8file_to_we8mswin1252
      ID    CHAR(1)     
    , TEXT  CHAR(40)
    )Regards
    Michael

    Hi Werner,
    on my linux desktop:
    $ file test.dat
    test.dat: UTF-8 Unicode text, with very long lines
    my colleague is working on a windows system.
    On both systems exact the same error from SQL Loader.
    Btw, try with different number of special characters (german umlaute and euro) and there is no chance to load without the error
    when to many (?) special characters or data is long as column length and special characters included.
    Regards
    Michael

Maybe you are looking for

  • Problem while creating Invoice

    Hi all,        I am trying to create an invoice in BusinessOne using DI API. While creating invoice i am facing "Exchange Rate not Update "USD" " Error.                In BusinessOne Foreign Exchange Rate was given for the docDate. Still i am getting

  • Collaboration rooms not showing up in the rooms tab after patch 34 upgrade

    Hi, We recently upgrade our EP6 SP2 Patch 5 CM Patch 5 Hotfix 4 to Patch 34. After the patch 34, we do not see our collaboration rooms in the rooms tab. We can access the rooms from the email generated when we created the room, but when we go to room

  • Text Field with javascript tags execute

    We have a form with multiple text fields on it for users to enter information. If a user puts in something like the following: <script type="text/javascript">window.location="http://www.oracle.com";</script> into a text field and submits the page, an

  • How to add new object class to a material ?

    Hi experts, I have to add new object class to a material ( classification class ) and then add new characteristics values for the material ....But i do not know which FM to do this , If you please to give me the solution for this problem PS: rewards

  • Zeroing in on the number of inventories

    How do we zero in on the number of inventories to be incorporated? Why is it that we cannot have one central inventory and designate all other storehouses as subinventories? What is the business logic? thx