Addin value of one into othar field n display it

Hai Experts,
ihave problem try help me plz,
my problem is:
i have some fields like A,B,C,D,E.in my ddic table and i designrd a screen with same fields
so here i want have values on asex:
think
E = order value
C = gallons and when each i enter a value in order value id should go sum with gallons and should on screen ,it sholud not save table,when i open scrren next time it should not any values

I know it has been a while since this was first posted, but I had a similar requirement to update a field based on the name of the new Territory that I selected. I eventually got to the bottom of it, so thought it might be useful to post in case anyone else was still looking for the solution.
In my example the value I entered is;
JoinFieldValue('<Territory>',[<TerritoryId>],'<TerritoryName>')
If you wanted to see the new Account Name then substitute Account into the function above, ie;
JoinFieldValue('<Account>',[<AccountId>],'<AccountName>')

Similar Messages

  • To replace values of one of the field in the database table

    How to replace values of one of the field in the database table with a new values? Pls help to solve

    Hi
    You can use the UPDATE command to update one of the field value in a table
    see the UPDATE syntax and use it
    but in real time you should not do like this
    Regards
    Anji

  • Value in data type p field not displayed properly when download to UNIX

    Hi,
    One of my programs downloads a file to UNIX server,
    here the data which i am downloading, one of the fields is of type P (it is of domain type DEC).
    The field displays very strangecharactershen i view it in UNIX server.
    I am using OPEN DATASET in binary mode statement.
    my system is unicode enabled ECC6.0 version
    Please help

    That is normal, type "P" packed fields with two decimal digits packed into each byte Use another type of field, if you want the field to be readable..
    Look at [Predefined ABAP Types|http://help.sap.com/erp2005_ehp_03/helpdata/EN/fc/eb2fd9358411d1829f0000e829fbfe/frameset.htm]
    Regards

  • 3 field to 2fields but missing value to one of the field

    Hi,
    i have table called dbconfig with 3 fields, key value name
    1 20 sd
    3 30 tr
    4 40 re
    5 60 hg
    6 80 sd
    so on...
    i have make table like this which i did
    key sd tr re hg. . .
    and her comes twist which i'm struggling to do how can i assign particular value to particular key and name
    key sd tr re hg. . .
    1--- 20
    2--------30
    6 ---80
    5 ------------------50
    How can i do this in java? please give a solution i'm stuck little bit urgent.. and Thank you in andvance.
    Edited by: user13489572 on Mar 15, 2012 11:46 AM
    Edited by: user13489572 on Mar 15, 2012 11:47 AM
    Edited by: user13489572 on Mar 15, 2012 11:48 AM
    Edited by: user13489572 on Mar 15, 2012 11:49 AM
    Edited by: user13489572 on Mar 15, 2012 11:49 AM
    Edited by: user13489572 on Mar 15, 2012 11:50 AM

    It's hard to tell what "logic" you are asking about. You have a cryptic diagram with some cryptic codes and no explanation of what it all means. So first you need to explain it, with a better diagram. Hint: using the tags will make your diagrams better because they put things into a fixed-width font.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Changing the dropdown values for one of the fields in CHECK STATUS query

    Hi,
    We are on SRM 7.1.
    In the CHECK STATUS transaction,in the selection screen(QUERY),there is a field called "ROLE" which has teh dropdown values of "APPROVE BY ME","REJECTED BY ME" and "GOODS/SERVICES DELIVERED TO ME".Is there any way some of these drowpdown values can be removed?
    Please advise.

    hi nmsrm1234
    i have a document for this issue.
    but i don´t find this document in internet. it is called : CUSTOMER-SPECIFIC UI ADJUSTMENTS IN SRM 7.0 WEBDYNRPO ENVIROMENT / META DATA HANDLING CONCEPT.
    if you can find it, you will get an idea to resolve this issue, if you will no have luck, please get me your mail, and i will send you the document.
    regards.

  • Splitting up a date field into two fields on display

    I have a form that is based on a table which contains two date fields. To populate these date fields I have one date picker using a format of DD-MON-YYYY and two "time" fields that are just based on static LOV select lists. I build the date by piecing together these fields to get my two different dates and save it to the database just fine (using a process on submit, before validation).
    My problem comes when I want to edit the existing records. I am unable to figure out how to populate those fields from the dates. I thought I could do it during the page reduring process but everything I try gives me a format error. I can assign the date to the date picker field no problem but cannot get it to display without the date format, regardless of setting the format or not on the item. I can't get the time off into my time fields at all.
    An example of setting my start time field (select list of times only)
    BEGIN
    :P10_START_TIME := TO_CHAR(:P10_DTE_START,'HH24:MI');
    END;
    Error I get is ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    I've tried a few different formats and I think I am just missing something really easy. My static pick list in this case is just the display would be say 1:00 PM but the other value is 13:00.
    The other one I am trying is for the actual date picker itself.
    BEGIN
    :P10_COURSE_DATE := TO_DATE(:P10_DTE_START, 'DD-MON-YYYY');
    END;
    Gives me ORA-01830: date format picture ends before converting entire input string.
    The format of :P10_DTE_START is DD-MON-YYYY HH24:MI (it is a hidden field) and :P10_COURSE_DATE is DD-MON-YYYY.
    Colour me confused...

    Thanks for the reply...I got this error for the last name piece "A subscript must be between 1 and the size of the array.
    ". I was able to put in
    split({Usr.Nam}, " ")[-1]
    and that seemed to pull  the last name piece of the field.
    Thanks Again,
    Reid

  • Matrix report - row field text extends into cell field's display space

    The horizontal elasticity of the row field in the matrix is set to VARIABLE. This row field's horizontal elasticity needs to be VARIABLE (not FIXED).
    However, this causes problems because if the row field's text length is long, the matrix does not change accordingly, i.e. the cell field does not move to the right to make room for the row field. So the row field extends into the display space of the cell field, and the text of the row and cell field overlap, and so the text is almost impossible to read (as well as ugly).
    I have tried to put a frame around the row and cell field so that they are together and move accordingly, but this hasn't helped. I have also tried anchors but they cause the fields to appear NULL when they are not.
    Any help is appreciated.
    -nelson
    [email protected]

    I think you'll need to revert to a fixed sized field and increase the height of the field to cope with the number of rows that you could have.
    You might be able to create a repeating frame above the matrix that tracks the matrix and pushes the whole matrix down as it expands, but I don't see how you could do this within the matrix structure itself.

  • Field Update workflow action - Updating today's date into a field

    Hello there.
    I was hoping someone might be able to help with an error currently being experienced with regards to this workflow action.
    The requirement is for a workflow rule to action the printing of today's date into a custom field on an Activity record. The workflow rule condition is (PRE('<Status>') <> 'Completed') AND ([<Status>] = 'Completed'). This appears to be working and triggering the action correctly.
    The custom field to be updated is of type 'Date'. The value being updated into this field is 'Today()'. Overwrite existing values is checked.
    The default value for the field is also 'Today()'. Thus the workflow action involves overwriting the default value (i.e. the date the record was created) to the current date when the Status is switched to completed.
    When the workflow is triggered the following error message occurs:
    "Unable to evaluate workflow rule for the following reason:
    Update [Custom field name] : The value '01/18/2008' cannot be converted to a date time value. (SBL-DAT-00359) (SBL-ODS-00500)"
    One odd observation is that this error only occurs when trying to update activities that were created on previous days - (it will not overwrite the default value of 15/01/2008 with 18/01/2008). The workflow does not return an error message when asked to overwrite a value which is equal to itself (i.e. if the default value was 18/01/2008, the workflow runs without error, although the value stays the same as you would expect.)
    Can anyone shed any light on this? One potential thought is that our CRM is set up so that all dates appear in a different format - i.e. dates appear as dd/mm/yyy, rather than mm/dd/yyyy. Could this be contributing to this issue?
    Any help very much appreciated indeed.
    Thanks,
    Kieran
    ps. The reason for doing all this is that 'Completed date' for an activity does not appear in reporting. This has been raised with Oracle and apparently an 'enhancement request' has been registered.

    Guys,
    using the following statement, it does display the current system time
    Mid(Timestamp(),4,2)+'-'+Mid(Timestamp(),1,2)+'-'+Mid(Timestamp(),7,4)+' '+Mid(Timestamp(),12,8)
    Now When i do this , it displays me a time which is 3 hours ahead
    Mid(Timestamp(),4,2)+'-'+Mid(Timestamp(),1,2)+'-'+Mid(Timestamp(),7,4)+' '+Mid(Timestamp() + (3.0/24.0),12,8)
    My problem is to now display the difference of the current time stamp and the the time which shows 3 hours ahead in one field
    Thats is substracting the first timestamp syntax fro mthe second timestamp syntax
    and ofcourse if I copy paste both the syntaxes and put a minus sign in between, it doesnt work
    Timestamdiff is not allowed in workflows or field validations :(
    Anyone has any ideas?
    Nick

  • Is there an easy way to filter a 2-d array based on the values of two of the fields?

    Is there an easy way to filter a 2-d array based on the values of one of the fields. In my attached VI the output array has the following format:
    TimeStamp        Ident                Frame Type          Bytes    Data
    10:57:07.621   3AD00016   CAN Data Frame   8          0000000000000000
    10:57:07.622   3AD00017   CAN Data Frame   8          000005E000000000
    10:57:07.624   3AD00018   CAN Data Frame   8          0000000003300000
    10:57:07.625   2DC00000   CAN Data Frame   8          0000000000000000
    10:57:07.626   3AD00019   CAN Data Frame    4         0000030000000000
    I would like to delete any rows that do not have an "Ident" between the values of 3AD00000 and 3AD0001E. So for the above data the fourth row would be deleted. The only way I can see to do it is to form a 1-d array. Is there a better approach?
    Thank you.
    Solved!
    Go to Solution.
    Attachments:
    CMM_SN_MULTI.vi ‏20 KB

    Hi chuck72352,
    after you have sorted your data, you can use the InRange Function. Combined with a "search 1D Array" you'll get the range you really want.
    Mike
    Attachments:
    ArraySubset.PNG ‏25 KB

  • Update/Insert into two fields based on value of one.

    How would I do the following in ADDT.
    Example:
    I have a database about dogs. When user completes form they make a selection from a recordset feed drop down box of breeds. Lets say they select "PUG" based on the selection two fields are populated from the same recordset size="small" and color="brown".
    I hope I've explained this well enough
    Thanks!
    Rich

    >>
    I think I understand. I'm using two forms One to select the item from a list. I'm passing that items value to the next page where I'm placing that value into a query which will give me the options available based on the query results?
    >>
    what I meant, is first have the user insert the new record and let him specify the desired "breed" already there -- the following page(s) will need to make sure that he´s going to update the newly inserted record with additional values, that´s why you should use the "SELECT dog_id FROM dog_table ORDER BY id DESC LIMIT 1" - query on page 2. However, once this new record had been clearly identified "by id", you can add whatever options available in the secondary table which are related to the "dog_id" (breed) that has been stored when inserting the new record. Maybe *I* don´t get it, lol ;-)
    >>
    I currently do this the dropdown value to a case statement that takes the value of the dropdown and determines the correct values for the database update
    >>
    OK, but when each dog just has one option
    (thought it were two ones: "color" and "size"), isn´t your existing dependant dropdown enough for specifying that "based on breed" option without having to use a hidden field at all ? Ah well, have you ever used ADDT´s / Kollections "dependant drop-down" wizard -- that should do it for one option
    >>
    hidden field that I need to update value based on what the value is above
    >>
    humm -- updating the value of a hidden field in the very same page then ? Never heard of this being possible apart from using some hand-made javascript.
    Guess I gotta ask my dog what it thinks about all that :-)
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • How to copy value from one field to another in a Apex Form

    Hello guys,
    There are 2 addresses one is shipping and other is billing. I do not want the customer to re-enter all the details if it is the same address. So based upon an action, it should take the live values from one address field and populate the other address field. I know in JS you can do it, but how to implement that in Apex?
    I guess using Dynamic Actions to achieve this in Version 4 but do not know how. Read quite some info but no luck.
    Thanks in advance!

    Hi,
    I have assumed that you have your shipping address at the top of the page, and then further down the page you have your billing address that you want to enable the users to copy (if this is in reverese, you will need to switch the js variables in the code following).
    I would create a Select List item above the 'Billing Address' details, called PX_SAME_ADDRESSThis select list would be static, with the options Null.
    I also assume you would have pairs of address page items such as:
    PX_SHIPPING_ADDRESS_L1
    PX_BILLING_ADDRESS_L1
    PX_SHIPPING_ADDRESS_L2
    PX_BILLING_ADDRESS_L2
    PX_SHIPPING_POST_CODE
    PX_BILLING_POST_CODEThen copy the following code into the HTML Header of the page definition:
    <script language="JavaScript" type="text/javascript">
    function copyAddress()
       if( $x('PX_SAME_ADDRESS').value == 'YES')
         $x('PX_BILLING_ADDRESS_L1').value = $x('PX_SHIPPING_ADDRESS_L1').value;
         $x('PX_BILLING_ADDRESS_L2').value = $x('PX_SHIPPING_ADDRESS_L2').value;
         $x('PX_BILLING_POST_CODE').value = $x('PX_SHIPPING_POST_CODE').value;
       else //Clear Address Fields
         $x('PX_BILLING_ADDRESS_L1').value = " ";
         $x('PX_BILLING_ADDRESS_L2').value = " ";
         $x('PX_BILLING_POST_CODE').value = " ";
    </script>Then, in your PX_SAME_ADDRESS item, copy the code below into the Element > HTML Form Element Attributes field.
    onChange="copyAddress();"Hopefully this works for you too, and should give you some basis to play around with.
    Amanda.

  • How do I insert multiple values into different fields in a stored procedure

    I am writing a Stored Procedure where I select data from various queries, insert the results into a variable and then I insert the variables into final target table. This works fine when the queries return only one row. However I have some queries that return multiple rows and I am trying to insert them into different fields in the target table. My query is like
    SELECT DESCRIPTION, SUM(AMOUNT)
    INTO v_description, v_amount
    FROM SOURCE_TABLE
    GROUP BY DESCRIPTION;
    This returns values like
    Value A , 100
    Value B, 200
    Value C, 300
    The Target Table has fields for each of the above types e.g.
    VALUE_A, VALUE_B, VALUE_C
    I am inserting the data from a query like
    INSERT INTO TARGET_TABLE (VALUE_A, VALUE_B, VALUE_C)
    VALUES (...)
    How do I split out the values returned by the first query to insert into the Insert Statement? Or do I need to split the data in the statement that inserts into the variables?
    Thanks
    GB

    "Some of the amounts returned are negative so the MAX in the select statement returns 0 instead of the negative value. If I use MIN instead of MAX it returns the correct negative value. However I might not know when the amount is going to be positive or negative. Do you have any suggestions on how I can resolve this?"
    Perhaps something like this could be done in combination with the pivot queries above, although it seems cumbersome.
    SQL> with data as (
      2        select  0 a, 0 b,  0 c from dual   -- So column a has values {0, 1, 4},
      3  union select  1 a, 2 b, -3 c from dual   --    column b has values {0, 2, 5},
      4  union select  4 a, 5 b, -6 c from dual ) --    column c has values {0, -3, -6}.
      5  --
      6  select  ( case when max.a > 0 then max.a else min.a end) abs_max_a
      7  ,       ( case when max.b > 0 then max.b else min.b end) abs_max_b
      8  ,       ( case when max.c > 0 then max.c else min.c end) abs_max_c
      9  from    ( select  ( select max(a) from data ) a
    10            ,       ( select max(b) from data ) b
    11            ,       ( select max(c) from data ) c
    12            from      dual ) max
    13  ,       ( select  ( select min(a) from data ) a
    14            ,       ( select min(b) from data ) b
    15            ,       ( select min(c) from data ) c
    16            from      dual ) min
    17  /
    ABS_MAX_A  ABS_MAX_B  ABS_MAX_C
             4          5         -6
    SQL>

  • BDC: To Include more than one value in one field.

    Hi All,
    I want to include more than one value in a particular filed, while its running in back ground.
    The requirement is like this
      perform bdc_field       using 'PNPABKRS-LOW'
                                     '01'.
    01 is a filed on employee payroll type : management staff.
    02 - Filed staff
    03 - work men
    How can i include 02 and 03 also for the perform.
    it has to check whether the employee  can belongs to any of the above three.
    Thanks in Advance,
    Points Rewarded for Help full answer.

    Hi, Ramesh,
    You can not use all the 3 fields at the same time, instead you can pass on one variable in that perform.
    eg.
    take all your staff value in one internal table and use the following code
    loop at i_tab into wa_tab.
    data : l_variable type string.
    perform bdc_field using 'PNPABKRS-LOW'  wa_tab-staff.
    endloop.
    in first run of loop it will take value '01', in second '02' and so on.
    regards,
    vikas
    plz reward if helpful.

  • Authorisation - Pasting of values into AUTH fields

    Hi Friends,
    I am working on 4.6c version - Authorisation under PFCG (Role maintenance). Is it possible to paste >8 values into the AUTH fields of an authorisation object in a single shot?
    If so, kindly share the solution.
    Regards,
    Vijay

    >
    vj vijay wrote:
    > Hi Friends,
    >
    > I am working on 4.6c version - Authorisation under PFCG (Role maintenance). Is it possible to paste >8 values into the AUTH fields of an authorisation object in a single shot?
    >
    > If so, kindly share the solution.
    >
    >
    > Regards,
    > Vijay
    Hey Vijay,
    you sound like a man on the mission - want everytihng done in a SINGLE SHOT
    I am not sure if i understand your requirement correctly, but my infernce is that you want to copy data from clipboard to the object values with little / no effort........(prime criteria )
    Well, have the values listed one below the other in a notepad, copy them ctrl+C and in SAP have the quick cut and paste option active.
    Now go to the object values and right click - you will have 7 rows of data copied, if you want more - repeat the exercise
    If you want to reach the moon, you have to pass-by some stars as well (Dumb and in-appropriate quote - I KNOW)
    If my understanding of the discussion is wrong - Blame it on the Monday morning Blues...............and have fun

  • Passing field value from appoinment into task

    Hi,
    I need to pass the field values from appointment into the task. I was able to pass values from one record type to another but in this case as both appointment and task belong to the same record type namely activity and they are having the same foreign key namely ActivityId.
    So any one please tell me , is it possible to pass values from appointment in to the task or not ?
    If so how?
    Thanks,
    Kirubahar.
    Edited by: Kiruba on Mar 4, 2011 6:45 AM

    Write a workflow and select the field you want to copy the value into in the Field Name and the value you want to copy in value field, you don't need to use joinfieldValue at all.
    cheers
    Alex

Maybe you are looking for

  • Dear friends i am facing an issue in the hosting of my server from ASA publicly

    i have already assing a public ip addd to the outside interface of the ASA ,My requirement is to configure firewall to host my web server publicly using the public ip not assign to  the outside interface but different subnet,i make every configuratio

  • Adobe Lightroom 5.7 x64 not loading. Getting MSVCR100.dll file error

    Getting a load error upon trying to start Lightroom 5.7. In the error msg box it's calling for MSVCR100.dll which I downloaded from the adobe solutions area and extracted to the Lightroom 5.7 folder to no avial. Also tried extracting it to the Lightr

  • My ipod nano 7th generation not recognised by itunes

    I have done all steps advised by apple support, but my new ipod nano is still not recognised by itunes (latest version). My laptop is HP windows 7. It can see the apple device only as storage but when i open itunes, my ipod nano does not appear at al

  • URL link inside XML file

    Hi, does anyone know how if its possible to create a link inside XML description. The script like this: <a href=" http://yoursite.com"target="_blank"> did not work. Thanks,

  • Adding favourites to toolbar

    Hi Since upgrading to Mavericks, I cannot figure out how to add favourites to my toolbar. Every time I click the + button it adds a link to the sidebar reading list. Any help appreciated.