Display of calculated field value in same field using form personalization.

Hi All,
What could be the solution, if i want to have the formula on same display field.
say..your entering value in grams and convert into ml in the same field of (:Q_RES.DISPLAY5)
Conversion formula:
(TO_CHAR(TO_NUMBER(:Q_RES_DISPLAY5)-(0.35))/((1.025)*(0.9986))/3)
When I move out of THIS field, it should convert using above formula and store it in same field.
Appreciate your efforts.
Thanks a lot...

What could be the solution, if i want to have the formula on same display field.
say..your entering value in grams and convert into ml in the same field of (:Q_RES.DISPLAY5)
Conversion formula:
(TO_CHAR(TO_NUMBER(:Q_RES_DISPLAY5)-(0.35))/((1.025)*(0.9986))/3)
When I move out of THIS field, it should convert using above formula and store it in same field.
Appreciate your efforts.

Similar Messages

  • Sum of the fields in SO form using Forms personalization

    In sales order form, Once we enter the item and qty in a line . The qty entered should be multiplied by volume of an item avaiable in mtl_system_items_b and should be displayed in the line level DFF(attribute14). Thus we get the line level Volume
    Once n number of lines are entered in SO form . The sum of line level volume should be displayed in the header level DFF(attribute14.
    I am able to get the Line level volume using global variable.
    Could any one please let me know is it possible to get the sum of line level volume in the header DFF using forms personalization.

    My requirment is to get the "Line level volume" information in line level DFF and "order level volume" information in header level DFF of a Sales Order form.
    line level volume = unit_volume*quantity
    Order level Volume = sum of n number of line level volumes = line level volume of line 1.1 + line level volume of line 1.2 + line level volume of line 1.3 ......
    For Example consider an item 2E00001010 item. The volume of this item is mentioned in the physical attributes of an item. we can get the volume of this item from unit_volume in mtl_system_items_b . say for example the unit_volume of this item is 20 litres.consider another item 2X000X101 and unit_volume is 15 litres.
    Now in sales order in line 1.1 i have entered an item 2E00001010 and quantity as 10. In line 1.2 i have entered an item 2X000X101 and quantity as 10 and saved the sales order.
    1.1 line level volume = 20*10 = 200
    1.2 line level volume = 15*10 = 150
    Order level volume = 200 + 150 = 350
    So as according to the requirement in
    1.1 line level DFF(LINE.ATTRIBUTE14) 200 should be displayed .
    1.2 line level DFF(LINE.ATTRIBUTE14) 150 should be displayed.
    In header level DFF(order.attribute14) 350 should be displayed.
    By using below forms personalization i am able to get the Line level Volume information displayed in Line level DFF(Line.attribute14)
    seq 10
    description : Line Level Volume
    Trigger event : when-New-Item-Instance
    Trigger Object : Line.Ordered_quantity
    Level : Site
    Action Seq: 10
    Type: Property
    Object Type: Global Variable
    Target Object: XX_VOL
    Property Name : Value
    Value = =SELECT to_char(nvl(Unit_volume,0)) from mtl_system_items_b where segment1 =:line.ordered_item_dsp and organization_id = 89
    Action Seq: 20
    Type: Property
    Object Type:Item
    Target Object: LINE.ATTRIBUTE14
    Property Name: Value
    Value = =to_number(:global.XX_VOL)*:line.ordered_quantity
    I would be glad if any one could let me know how to get the Order level volume and get displayed in the Header level DFF(order.attribute14) using forms personalization.

  • How to give two values of same field in read Statment

    Hi,
    Please Tell me how to give the two values of same field in read statements Condition.
    i.e
      Read table it_tab with key matnr = '1' or matnr = '2'.
    With Regards
    Kesavaperumal

    Hi Kesavaperumal,
    <li>You can not use OR operator with READ TABLE statement.
    <li>You have to use different fields of the internal table in where condition.
    <li>If you want to compare with two values, you need to use LOOP statement.
    LOOP AT it_mara WHERE matnr = '1' or matnr = '2'.
    "Write code
    ENDLOOP.
    Thanks
    Venkat.O

  • Fill DDL based on other field values in offline interactive adobe form

    Hi,
    I have a requirement where in i need to fill the values for a dropdown list  based on 3 other field values in offline adobe interactive forms which uses web service to interact with SAP.
    Note: I read many blogs and posts in SDN , but couldn get much info ab the same, so posting a new thread.
    Thank you.
    Regards,
    Soumya

    Hi Soumya,
    It is possible but a little bit tough and will make your form heavier.
    The solution is advisable only when there is not very much data required for the drop down(May be not more than 500 values as it will create performance issue).
    You can create a hidden table on the form contaning data for all the combinations. Depending on the selection of another 3 fields you can write the code to select only those values from this hidden table which are applicable to that selection. These values you can add to the drop down list removing the previous values.
    Only you have to do is on calculate or vlaidate event of target DDL you have to write your code.
    Pseudocode:
    1. Clear your DDL using deleteItem() method.
    2. Loop at your hidden table.
    3. Inside the loop check for applicable entries depending on selection in other 3 fields.
    4. Select the appropriate vlaues
    5. Add using additem method().
    Refer formCalc or JavaScript help for the appropriate code.
    Hope this will be helpfull.
    Regards,
    Vaibhav

  • Pass javascript field value to  ABAP field value

    Hi all,
          how can i Pass javascript field value to  ABAP field value  and utilise that value within layout.

    since you are new here, may i suggest you to search the forum, before posting a question. This has been discussed many times here.
    to set a js variable value to a ABAP variable value, you cannot do it on the client side, your page has to go for a server rountrip so that the value can be set into a ABAP variable.
    for this we generally follow the approach of setting the js variable value to a hidden html element (input type=hidden) and submit the form, and then in oninputprcessing retrieve the value from the form field and set it to a ABAP variable.
    Regards
    Raja

  • Can JVM security policy be modified to access field values of private field

    Can JVM security policy be modified to access field values of "private" field in a Class?

    See http://developer.java.sun.com/developer/onlineTraining/Programming/JDCBook/appA.html#ReflectPermission.
    Note that you will have to use reflection to access the fields once the security policy allows you to supress the access controls.
    Chuck

  • Creating a new field in a standard form using Forms Personalization

    Gurus,
    Has anyone done this? If so, could you please provide steps involved or point me to a good tutorial
    I need to add user name to a standard transaction-based form. I want to make sure this can be done through personalization.
    Thanks,
    Scott
    P.S. I give points for helpful or correct answers
    Edited by: sreese on Oct 17, 2011 1:24 PM

    Pl post details of OS, database and EBS versions.
    I do not believe you can add new fields to seeded forms using forms personalization.
    MOS Doc 420518.1 - Limitations of Forms Personalization
    BTW, points are meaningless :-)
    HTH
    Srini

  • Adding fields using forms personalization

    Hi All,
    Is it possible to add the fields to a form using forms personalization.
    Thanks and Regards,
    Zaheer.

    No. But if you have fields that are not being used, you can change the prompt and repurpose them (provided the data type does not have to change) and validations can be manipulated.
    Have you looked into creating descriptive flex fields?
    Sandeep Gandhi
    Edited by: Sandeep Gandhi, Independent Consultant on Jul 13, 2010 11:52 AM

  • How to assign NULL value to an ITEM in Forms Personalization?

    Hi,
    how to assign NULL value to an ITEM in Forms Personalization?
    please suggest me.
    Thanks

    I don't know what your form personalization does and maybe I misunderstand you ...
    Try
    :item_name := null;

  • Accessing the field values in different fields for calculation

    Hi,
    I am creating a report in which I have used breaks for grouping the  customers by their category. I have used summary on the amount field to calculate the sum in the individual category and also for total amount.
    Now, I also want to add an column which could display the percentages of individual contributions.
    So, its like I have to write a query accessing the total percentage, categorized percentage and individual amount.
    My question: How can I access the various fields values in the query of some other field specifically sum and total sum( because it shows the sum([Amount]) for category sum and total sum both)
    -BOBJuser

    Hmmm, I assume you are talking about WebIntelligence here...
    Ok, so let's go: you can access every "object" in the report simply by it's name. Every cell contains either a constant value (e.g. some text) or a formula, the simplest one can be just the value of an "object" from the query.
    There is a formula bar on top which you can activate, where you can easily see the content of a specific cell and also copy/paste the formula from the cell, as well as access all the built-in functions.
    WebI has a built-in calculator which works very similar to a "micro" olap engine, so you can access every sort of aggregate (of a measure) via a correspondig formula, irrelevant in which cell you are using it.
    Nevertheless, there is a "computation context" which depends on the place where you put the formula, e.g. summary row, detail row, etc.
    for more info: see the manual )
    hth, Walter

  • Query for listing several values in same field

    Hi,
    is there a function for listing more than one value in the same field, only with comma seperation?
    For example, I want to group by cardcode from ORDR and list all docnum's like this:
    Cardcode    Docnum's
    21355          98765, 95498, 95164
    21564          95484, 54684, 95654, 98465
    21865          95484, 12486
    Kind regards
    Kjetil Sandvik

    HI,
    Thank for your replies.
    We need to update all old orders for sure, but my idea was to use this query:
    Select CardCode, COUNT(Address2) From ORDR Where Docstatus <> 'C' GROUP BY address2, cardcode order by cardcode, address2
    The results will give me two lines for each customer and count the addresses, so then I know that the count of one of the lines must me changed. Let's say there is 20 orders with new address and 20 orders with old address, my intention was to manually change the 20 orders that is old. Instead of checking all 40, It would help alot to list all order numbers in a column beside in the query.
    BR
    Kjetil

  • How to copy fields values between same class objects with filtering ?

    Hi I'm facing a problem.
    It started when thinking to the clone method for cloning objects.
    And developed into a problem when trying to making something more complicate that just cloning.
    Suppose you have two JPanels and one is a copy of the other suppose that u feed the copy to some methods for processing.
    These methods modify simple data (ints,Strings, CustomClasses) and swing components too.
    Now when I get the object back I want to copy all of the fields values to the original JPanel except for those who represent swing components or the like.
    I want to do this automatically by writing some few rows of code.
    How can I do this using reflection ?
    How can I filter the Fields objects that I get from jpanelInstance.getClass().getDeclaredFields(); ? Which metod should I use then to check if is a subclass of java.awt.Component ?
    I've read about many things on using reflection to invoke methods, constructors and so on.
    But how do I get the fields values as I get the fields objects ?
    Thanks for the attention, hope what is written is clear enough,
    Estades.

    Are you targeting a "worst design award"? What kind of "processing" would take place on a UI component?
    I am sure from what you write that you missed to seperate your model from your view. Read about MVC and retry designing your application.
    Edited by: stefan.schulz on Sep 15, 2007 7:30 PM

  • Power view display more than 500 values in a field

    From my research, it looks like the limit of values in a Power View filter is 500.  does anyone if this is configurable to increase (which
    I am doubting based on Microsoft’s website as I’ve copied below).  If it is not configurable and we cannot display more than 500 values when filtering, then what should be done
    https://technet.microsoft.com/en-us/library/hh231514%28v=sql.110%29.aspx

    You could always do the concatenation on the client. ie: "select action1, action2 from tableX" and then create a boilerplate object with text that references both of these columns. (eg: "&<action1> &<action2>"). This should give you the concatenation you're after.
    Another alternative is to return a "long" column instead. The 4000 is probably down to the varchar datatype restriction.

  • Printing field values to a PDF using a template

    Hi
    I have a set of field values stored in variables, I need to print these fields into a
    PDF file. There is a template for this PDF , and each field value should go to a
    specific location wrt the template on the new PDF. Could you any one
    recommend a 3rd party API that can be used to do this purpose.

    I used iText (http://www.lowagie.com/iText/) to do
    this.
    I created the template as a PDF and used AcroForms to
    create named fields within specific formatting within
    the PDF.
    // Create a BAOS into which to write the
    PDF.
    ByteArrayOutputStream baos = new
    ByteArrayOutputStream();
    // Load the PDF template and open the form fields.
    InputStream inputStream = new FileInputStream(
    "template.pdf" );
    PdfReader reader = new PdfReader(  inputStream
    PdfStamper stamp = new PdfStamper(reader,
    baos);
    AcroFields form = stamp.getAcroFields();
    o set the text in a field:
         form.setField("field_name", "field value");
         // close the PDF and return the bytestream
         stamp.close();
         return baos;
    It looks like that you are loading a PDF template from a file, and straight
    away attempting to fill the form by using the name of the field. To do this shouldn�t the
    template PDF be formatted in a specific way to access the specific
    location of the template where the field is.
    Can you tell me if the template PDF file should be formatted in a specific way
    to do this using iText. I was thinking of calculating the offsets of each field
    and just print the data at that location.
    And I very much appreciate your help so far.

  • Pull more than one field into the same field in a report.

    I am attempting to put together a report in Visual Studio 2008. It seemed a simple report at first, but as I am creating the SQL, I am having a little trouble conceptualizing how to get it to work exactly as needed. Here is the issue...
    In this case, the report should show two rows for each department. One is the count of who within an audience (that will be set up as a parameter) completed a certain course (the course may also be a parameter). The next row should be
    a count, within that same department, of all users within the audience. Both counts should be within the same field on the report, but on different rows.
    My thought was to create two CTE's. One would contain the counts, by department, of everybody in the audience. The other would contain the counts, by department, of those within the audience who completed the given course.
    The problem is, though, I need to then have these two counts by department on two separate lines, and they should be within the same field. Basically, the idea is they are the numerator and denominator. There would also be a field before the count that would
    need to identify which one it is. For the sake of the example, call it "Measure_ID" and it would say "CourseCert" for the count of who completed the course and "CourseAvail" for the count of those who are part of the audience.
    Let me know if that makes sense, or if I can provide any further clarification to help you better understand what I am trying to achieve. Does anybody have thoughts on how to do this?

    Unfortunately, the counts need to be in separate rows. If they could be in the same row, it would have probably been a lot easier. I think I could have just done a couple "Case When" type formulas within the list of things under "Select."
    As it is, I need the two counts to show up under the same heading in separate rows. Unfortunately, the table structure of this database is very complicated. I think it would likely just further confuse things if I tried to share all of that detail here.
    That is why I was trying to be generic.
    Unless there is another easier way I am missing, I was thinking the easiest way to achieve what I needed was to use two CTE's. One would list all users by department who belong to a specific audience (the audiences are what we use to then assign them
    to certain courses, so the audience would be the people who are required to complete a certain course). The other would list all user by department who are in that audience and have completed a particular course. I think I am fine to complete that part.
    It is just getting them to then display as in my example that I am not sure how to do.
    The desired result, as you see in my example, has two lines per department, the first being a count of those who completed the course ("Certified"). The second line being a count of those who are required to complete it ("Available").
    Does that help? I was basically hoping somebody had an example they could use, just with fake table names so I could adapt it to my data. If it helps, though, let's pretend the two CTE's are like this:
    Table Name: Certified
    Table's purpose: This table would list all people who had completed the course.
    Fields:
    CourseName
    CourseCode
    AudienceName
    AudienceCode
    CompletionResult
    EmpCode
    DepartmentCode
    Table Name: Available
    Table's purpose: This table would list all people who are assigned to the audience.
    Fields:
    AudienceName
    AudienceCode
    EmpCode
    DepartmentCode
    The desired result would then count the EmpCodes, by department, from each table in that Measure_Amount field so it could display as I showed above. Does that make sense? I apologize if that does not help to clarify. I was trying to be as simple
    as possible so you could just use it as a generic example.

Maybe you are looking for

  • An error occurred in the source system when running infopackage

    Hello, I am using 0CO_PC_PCP_03 (Product Cost Planning: Itemizations Costing) and cube 0COPC_C10 (Exploded Itemization) in BI. RSA3 extractor checker shows that there is data if you put in a period.But as soon as I run the infopackage I get error   

  • DTP Short dump issue

    Hi Expert, I face a DTP shortdump issue on loading data from PSA to DSO The DSO is write optimize. DTP is using symantic loading and support 3 processor, pack size is default Situation is as below: 1. This issue occurs every two days. In some situati

  • Monitor is flashing off and on

    I just started up my computer this morning and my monitor (30"cinema) was flashing off and on. I have my Cinema preference setting to "turn the display on and off". I managed to keep it on long enough to change to "does nothing" so it stays on, but I

  • Pdf version of the NI-DAQ Function Reference?

    I'm looking for a pdf version of the NI-DAQ 6.9.1 Function Reference, is there one available? All I can find so far is the online help. thanks!

  • N73 Installer starts after reboot

    N73 Installer always starts after rebooting the machine. and during this time i can't use my mobile. please help me to disable Nokia installer at bootup. it takes around 3-4 minutes to exit from its operation. thanks sudhakar