Oper Enah Key - Usr06 field - Decimal shift in saving the value AFVU table?

Hi All,
       I have customized a Field key and defined USR06 (currency field) as user field. When I enter a value in this field it is getting saved as divide 10 in AFVU table. viz- when I enter value 500 it is saved as 50.
      Kindly suggest me remedy.
      I am currentyl on version 4.7 and not getting any SAP note for this release.
      I found a note for same issue in PS which is valid for ECC5 and above.(Note - 1179002).
With best regards,
Narendra

Pete,
Already raised the OSS message but waiting for their reply.
With best regards,
Narendra

Similar Messages

  • How to populate a filter field in one page with the value from other page

    Take the classic report with form application.
    on page 1 (report) I have a filter (dbname) for the records that will appear in the report. Say that, I enter "ap02" in the filter and all records where dbname starts with "ap02" will display. It works ok.
    Then I click on "create" button and page 2 appears. I enter all fields except the dbname. This field is generated, at "pre-insert trigger on the table".
    What I want is when I press the button "create" on page 2 to pass the value of the generated dbname field into the filter in page 1 so when that page refreshes I will have only one record on the report page (1). I understand that the dbname at the page 2 level still empty because it is generated by the trigger. How do I have access to that info to populate the filter.
    Thanks for your assistance

    Joe - Work backwards from the value generated during the execution of the trigger. You have the value there so you could save it into a package variable right then (create a package with a variable and assign the value to the variable). Then create a process on the page (after the DML process) to assign the value of your package variable to a page item. Then in the branch back to page 1, pass the item. (Or without messing with the branch, the process could simply assign the package variable directly the the page 1 item -- :P1_ITEM := my_package.my_var; ).
    An alternative would be to use the "returning into" feature of DML to capture the PK of the created record into an item. Then the next page process could use the PK to fetch the new row and get the dbname value for passing to page 1.
    Another option would be to update session state directly in the trigger.
    Scott

  • Getting Drop Down list for a field in portal based on the values in R/3

    Hi,
    Presently we were customizing the ESS>>Family Members/Dependants iview in Portal. Because of the design requirement, in R/3 we have added some custom field for infotype 21 (Family Member details Infotype). We have to display these field on portal in Family Member Iview.
    However for these custom fields i am not able to get the drop down list with all the possible values description(F4 help ) in portal unlike the standard SAP fields.
    I am able to display the codes but the description is not coming up for the fields. However for standard SAP field, only description comes.
    For this I tried to attach the search help to the data element and also assigned a check table to the data element in R/3. But still I am not getting the description in the drop down.
    So how can I get the description and only the description in the drop down.
    Thanks
    Namit

    Hi,
    When you run the Search hep is it giving the description or not
    You have to create the serarch help with both the fieldname and its description field then we cna the values. Or
    Try to mantain the text table for this field and get the data.
    Get the valeusinto drop drown with this table Or create the SearchHelp for this text table
    Regards
    Lekha

  • Double value truncated to two decimal places without rounding the value.

    I want to truncate double value to two decimal places without doing the rounding of the value.
    Is there any method which can directly do the truncation.

    There's many ways to achieve this such as using
    BigDecimal's setScale method or type-casting. This is
    the way I like to do it:double d = -5.239;
    d = d > 0 ? Math.floor(d * 100) / 100.0 : Math.ceil(d
    * 100) / 100.0;
    Your division by 100 may cause an rounding error, because there are numbers which no finite binary representation. That's splitting hairs! I know ;-)

  • Formatting amount to 2 decimal places without rounding the value

    Hi 
    My requirement is to format the amount field, when I am using the simple type and setting the format as ###,##0.00 then it is rounding off the value.  Foe example say the amount is 3,567.236 in this case it rounds it off to 3,567.24 which I do not want we want the value to display as 3,567.23.  Does anyone have any idea how this can be achieved.
    Thank you
    Regards,
    Preet

    Use the following :
    BigDecimal bigDecimalh = new  BigDecimal("22.335642");
              bigDecimalh = bigDecimalh.setScale(2, BigDecimal.ROUND_DOWN);
    Regards,
    Himanshu

  • Filling a text field in Safari and saving the page as 'save as'

    My telephone system creates a call log and I like to automate downloading it weekly.
    In order to get in it needs to enter a password (there is also a user name field but that is left blank by me).
    Once in is should safe a ‘Save as” copy to my desktop.
    I have written a script and it does not work (probably because I am not good at scripting.
    Can anyone help?
    This script gets me as far as the dialog box that asks for Password to open.
    tell application "Safari"
    activate
    tell (make new document) to set URL to "http://192.168.1.90"
    Thanks

    Thank you for all your help above.
    Just to confirm your advice, am I right with the following conclusions? :
    1. The script (function) to fill the text field with the modification date of a different PDF file needs to be stored in a folder level .js file.
    2. The document containing the text field needs to call the .js function either within the document script or within the custom script property of the text field itself.
    Further to that can you just advise on the syntax for accessing the modification date of the other document.
    Do I need to assign a variable to the address of the file to be used, and then use this variable in the text form filling script (as below) or can I use a direct file reference at the .modDate command.
    var LastSync = "C:\sync\bin\lastsync.pdf";
    var strMsg = util.printd("h:MM tt",LastSync.modDate) + " on ";
    strMsg += util.printd("dddd, d mmmm, yyyy",LastSync.modDate);
    this.getField("LastSyncDate").value = strMsg;
    If the syntax is totally different to the above I would be very grateful for some guidance in the right direction.
    I much appreciate your time to help me ... I'm almost there.
    Kind Regards,
    Nifty

  • Dynamic selection screen fetching the value from table fields

    hi gurus,
    i have one table say ztable...and i should create a dynamic selection screen which should populate the selection screen by the table field names.
    example..if i have 3 fields im my table..my selection screen should have three selection option fields..and in future if i add one more field in my table it should automatically create another slection-option in selection screen..
    thanks
    Sudheer

    Do you mean like SE16 works. If so, you should notice that if you  amend the selection fields, the screen program is actually re-generated.
    That is what is happening. A program is being created and re-generated.
    To create a dynamic selection screen in a single program is not possible ( I may be wrong ). If it is possible, then you would have problems in defining selection screen field names and using them.

  • Reference Key 3 Field in Accounting Document Question

    Hi Experts,
    I have a problem regarding the Reference Key 3 Field (BSEG-XREF3) to be maintained for Vehicle Number Values in Accounting Documents.
    My Requirement is when creating Journal Vouchers (tcode FB50): this Reference Key 3 will be filled according to the vehicle number. Example, they have JVs for Tyres (non-stock), they will put in the G/L Account and the Item Description like 'Tyre Treatment (replenishment) the quantity 2(pc), amount 40dollars and the vehicle number in the Reference Key 3 field. Then SAVE.
    But I want this requirement also in the MIGO transaction during Goods Receipt. But when Goods Receipt has been made, the value of the Reference Key 3 of the accounting document is set to the YearMaterial Document CreatedLine Item.
    Is it safe to change the value of Reference Key 3 during the creation of GR/GI? What is the impact to other transactions? Because I know there is a clearing tcode F.12/F.13 where it uses XREF3 for Clearing Documents.
    Please Help me clarify. Thanks!

    Hi SDNFI,
    How is the Reference Key 3 Field being configured as making the value to the Accounting Document from posting GR in MIGO? Please indicate the configuration. Else, if there are no configuration or no way to stop the system to fill the XREF3, can I just do substitution exit for MIGO to change the Reference Key 3 Field (XREF3)?
    Thanks a lot!

  • Decimal space problem in Condition value of Import PO

    Dear All,
    In PO the condition value found to be 0.00.
    When the problem explored,we find only 2 decimal places appears for the value.
    If the value is 0.0021,it appears as 0.00 only due to decimal space given in KOMV(structure) against KWERT field is 2 decimal space only.
    Can we increase the decimal space?If we increase to 4,what will be the effect or NO effect?
    Please advice.
    Regards

    You can do this in OY04 - Set Decimal Places for Currency Code
    But this is not preferred when you execute this transaction the system gives teh following messages
    Information: Caution: The table is cross-client
    Warning: In a productive system, you 
    must not delete the            
    currencies in use or change the
    decimal places.                
    This could make amounts in     
    documents already posted       
    incorrect or invalid.          
    Warning:
       Before you continue, please read the foll
       text carefully.                         
       If you do not heed this note, you can cau
       irreparable damage to the system with thi
       transacton.                             
       In the R/3 System tables currency fields
       stored as decimal figures with a variable
       of decimal places. The decimal point is n
       stored in the field in the database. Inst
       each currency field refers to a currency
       field. In this transaction you assign the
       of decimal places to this currency key un
       Example: If you have set currency USD to
       two decimal places and you post an amount
    USD, an amount of 10000 USD is stored
    currency field in the database. Not un
    amount is processed further or is outp
    the system use the currency key from t
    reference field to determine the numbe
    decimal places via this table. In this
    table content can be interpreted corre
    further processing or formatted for ou
    the correct punctuation.             
    If after posting you changed the numbe
    decimal places for USD, for example, t
    existing field content of 10000 would
    interpreted for futher processing or o
    10 USD (10.000). This would mean that
    contents of tables across the system w
    all currency fields containing an amount
    be interpreted incorrectly by 10 per cen
    change the number of decimal places for
    currency already in use, you must conver
    the tables in the R/3 System that contai
    currency fields, so that the data integr
    remains. This cannot, however, for both
    organizational reasons and under the run
    aspect be carried out in a productive sy
    The following changes to the TCURX table
    thus lead to the loss of data integrity
    make the changes in a productive system
    transport them into a productive system:
    o Change to the number of decimal places
      existing currency                    
    Do you want to change the decimal places
    all recommendations?                    
    If you Click Yes Button then the system takes you to "Decimal Places for Currency Code" Screen
    there you can change the decimal place of your currency

  • Change the value of a field in a form when the form is displayed

    Hello
    I have a report which has a link to a form for updating the records. I have used a link to the form from report which displays the the record to be updated i.e it gets default values from the report. I need to change one of these values at the time of displaying the form. The set_value in the 'before displaying the page' section doesn't change the vaue displayed in the form. I tried in other 'Advanced pl/sql' sections provided but didn't succeed.
    Thank you
    Jayasree

    hi,
    let's call the new value u want to set "NewValue"
    insert this code in the before displayin' the page
    htp.p('<script language="Javascript1.1">
    function defaultValue(fieldname)
    var thefield;
    for( var v=0; v < document.forms[0].elements.length; v++)
    // get the right field
    if (document.forms[0].elements[v].name.indexOf(fieldname) >= 0 )
    thefield = document.forms[0].elements[v];
                        thefield.value='''||NewValue||''';
    break;
    </script>');
    in the after displaying the page section call the function above with the appropriate field:
    htp.p('<script language=javascript1.1>
    defaultValue(''Field_Name'');
    </script>');
    where Field_name is the name of the field u want to change the value!
    Mohamed

  • How to get the value entered in input enabled field of a list output?

    Hi all,
    I am developing a program to display  list with two input enabled fields . After users enetered the values into these fields I need to do some calculations based on these values and modify the value of another field in the list.
    But i couldn't have an idea how to read the values after users enter into these fields.
    Please help me on solving this problem?  If possible please provide the sample code.
    Thanks,
    Aravind.

    You can enable disable screen fields in at selection screen output event.
    And by using loop at screen.
    And for changing the values you can do in initialization event.
    I Hope you are doing these in Reports.

  • How to know where the value of a field in an IDoc is saved?

    Hello SAPients!
    I'm working in ECC 6.0. I have an Inbound Idoc of type WPUBON01. In the segment E1WPB01it has a field named BONNUMMER. My question is: How can I know what TABLE-FIELD is being populated with the value of that field? I mean, is there a way to know the mapping of the fields of an IDoc?
    Thank you in advance for your kind help.

    Hi,
    The table name is WPLST
    I did the following..
    Go to the segement structure in SE12..
    Double click on the data element for that corresponding field..
    Then put a where used-list for that data element...To search in tables..
    I got the table WPLST.
    Thanks,
    Naren

  • Declaring field from the internally declared table into dynamic table

    Hi Gurus,
    I need your help on one of my requirements.
    Due to dynamic nature of ALV report, I have used a dynamic internal table to pass it to function module.
    In dynamic tables, I am trying to have one column form the internal table which is being calculated by substracting 2 fields( i,e. diff = wa_stk-labst - wa_stk-omeng). Is it possible to include that field (diff) which is coming from the internally declared table(i_out) into the dynamic table decleration. Please assist.
    Thanks in Advance

    Hi,
    Suppose your dynamic table is of type table.
    When you pass the data from internal table I_OUT to your dynamic table it will get the same structure as of your internally declared table IT_OUT which is calculated by subtracting 2 fields.
    What you can do is create one more field in I_OUT which holds the value of the subtracted amount then pass the table IT_OUT to your dynamic table.
    Thanks
    Bhanu

  • Decimal shift in USR06 and USR07 field in PRPS table

    Hi friends,
    We have an issue where the values in user field USR06 and USR07 in PRPS table are divided by 10. We have applied OSS notes 1179002 and 1156448, and we still see discrepancy between the values in PRPS table and tranaction CJ20N. Do you have any suggestion to overcome this issue? Do you think that other OSS note like 1010789 might solve this issue?
    Aman

    Does anybody have any suggestion on this issue?
    Aman

  • What will happen if a maitain both standard available capacity and grouping key ( shift definition and shift sequence) in the capacity header of a work center?

    Hi all,
    Im little confused with the capacity header in work center. In the capacity header there is one place to give start time, end time, length of break and number of individual capacity. And in grouping key i can define the shift and shift sequence. So if im maintaining both of these ( standard avilable capacity and grouping key), which will be considered to calaculate avilable capacity?

    Hi
    If you are running three shifts ,please maintain the data as given belwo
    start :00:00:00
    End:23:59:59
    Break :03:00:00 ( 1 Hour per shift so 3 hrs for 3 shifts)
    No.of individual capacity :1
    System will understand that it is round the clock operation with total three hour brak and you will get 21 hour per capacity
    Hope this helps
    regards
    Prakash

Maybe you are looking for