$ addition to an amount column in a form

I need to add a dollar sign to the left of the amount that is returned in a data form. Has anyone done this? I'm a newbie to CF so any help is greatly appreciated.
The amount column needs to read: $701.32 vs. just 701.32.
Thanks much,
Chris C.

I'm not sure what you mean by "returned in a data form" -- are you using cfgrid? Can you provide more details or sample code?

Similar Messages

  • Importing multiple amount columns from a single text file

    I'm sure this question has been addressed many times. I have tried to search for an answer here and other areas, but I have not been able to find a clear answer yet. I am relatively new to HFM and FDM and thus do not have a lot of experience to fall back on. I am primarily a Planning/Essbase person. That being said, here is my question:
    I have a data source (text file) containing two amount columns that I need to load to HFM via FDM. One amount column consists of Average Exchange Rates and the other amount column consists of Ending Exchange Rates. I have been asked to develop a process to load both columns of data to HFM using a single process (one Import Format). I've been told this is possible by writing an Import DataPump script. It seems that I would need to create a temporary record set based on the original source file and modify it so that it contained a duplicate set of records where the first set would be used for the Average Rate and the second set would be used for the Ending Rate. This would be a piece of cake using SQL against a relational source, but that's obviously not the case here. I do have some experience with writing FDM scripts but from an IF... Then... Else... standpoint based on metadata values.
    If there is anyone out there that has time to help me with this, it would be most appreciated.
    Thanks,

    This is relatively easy to achieve with a single import script associated with the Account source field (assuming AverageRate and EndRate are accounts in your application) in your import format.
    Essentially your first amount say AverageRate would be set as the default field for Amount and these values would be loaded as if it were a single value file. For the second value, EndRate you would have to insert the second value directly into the FDM work table which is the temporary table populated when data is imported from a file during the import process. The example code snippet below suld gve you guidance on how this is done
    'Get name of temp import work table
    strWorkTableName = RES.PstrWorkTable
    'Create temp table trial balance recordset
    Set rsAppend = DW.DataAccess.farsTable(strWorkTableName)
    If IsNumeric(EndRateFieldValue Ref Goes Here) Then
              If EndRateFieldValue Ref Goes Here <> 0 Then
                   ' Create a new record, and supply it with its field values
                   rsAppend.AddNew
                   rsAppend.Fields("DataView") = "YTD"
                   rsAppend.Fields("PartitionKey") = RES.PlngLocKey
                   rsAppend.Fields("CatKey") = RES.PlngCatKey
                   rsAppend.Fields("PeriodKey") = RES.PdtePerKey
                   rsAppend.Fields("CalcAcctType") = 9
                   rsAppend.Fields("Account") = "EndRate"
                   rsAppend.Fields("Amount") = EndRateFieldValue Ref
                   rsAppend.Fields("Entity")=DW.Utilities.fParseString(strRecord, 16, 1, ",")
                   rsAppend.Fields("UD1") = DW.Utilities.fParseString(strRecord, 16, 2, ",")
                   rsAppend.Fields("UD2") = DW.Utilities.fParseString(strRecord, 16, 3, ",")
                   rsAppend.Fields("UD3") = DW.Utilities.fParseString(strRecord, 16, 16, ",")
                   'Append the record to the collection
                   rsAppend.Update
              End If
    End If
    'Close recordset
    rsAppend.close
    In addition the return value of this Import Script should be "AverageRate" i.e. name of ht eaccount associated with the first value field. The NZP expression also needs to be put on the Amount field in the import format to ensure that the EndRate Field value is always processed even if the value of AverageRate is zero.

  • Adding a column to a form in a meeting list

    Hi -
    I have a meeting list/calendar where I would like to add a column to the form that you get when you click to add a new meeting.  I have created the column already, but can't figure out how to make it appear in the pop up form.  I'm pretty new at
    all this, so I'm guessing I'm missing something simple?  I can add the column in other views, but I can't seem to get it to show up when you click the "add" button.
    Thanks,
    Amy

    Hi Amy,
    Open the ‘Event’ content type, and click your column under ‘Columns’ section, then click ‘Remove’ to  remove it from the form. After that, re-add the column into the ‘Event’ content type through clicking ‘Add from existing site or list columns’, compare
    the result.
    Please create a new column, and on the ‘Additional Column Settings’ section, select ‘Add to all content types’, test again, then compare the result.
    If this issue still exists , please create a new calendar, compare the result.
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Different format template for each amount column?

    Greetings.
    Is it possible to assign diffrent format template for each amount column in Excel workbooks?
    I'll explain a bit more specific.
    Suppose there's a BW report to Excel as below.
          column1   column2   column3
    row1 111,111   222,222   333,333
    row2 111,111   222,222   333,333
    row3 111,111   222,222   333,333
    All columns are amounts, so the assigned format templates are all 'SAPBEXstdData'.  Here, the needs is that each column have the format of their own, such as 'Centered, large font size, bold, red color, etc'.
    I found out in SAP help portal that I can create workbook templates which include custom format templates, such as OurColumn1Template.  I also found I can use the workbook templates when opening BW queries.  But it doesn't seem possible to automatically specify format template OurColumn1Template is for column1 when creating a new Excel report from BW query or refreshing a query from a Excel report.
    How I can control which format template is assigned for which column? No way?
    By the way, we are on BW3.5.
    Thank you,
    T.Yamagiwa

    Oh my, I found out! It's easy, in a sense.
    We use MS Office 2003, so in the first place we need to change security setting about macro, by the SAP note below.
    Note 574596 - BEXAnalyzer SAPBEXOnRefresh is missing on Office XP
    https://websmp110.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=574596&_NLANG=E
    Now that we've got SAPBEXOnRefresh module in a newly created Excel workbook, the rest we need to do is copy the SAPBEXOnRefresh module to the existing workbook, then code the module, like below.  (this is only doing left-justification)
    Sub SAPBEXonRefresh(queryID As String, resultArea As Range)
        Columns("I:I").Select
        With Selection
            .HorizontalAlignment = xlLeft
        End With
    End Sub
    I should have search the forum more carefully...hope somebody will find this post kind of useful in the future.
    Regards,
    T.Yamagiwa

  • Issue in FDM Import script for ading multiple amount columns.

    Hi,
    I am trying to import the Multiple amount columns to be addedd and imported as one amount column.Below is the script I am using for the same,script is getting verified in Script editor but When I am trying to Load the File I am gettig an error as below.
    ERROR
    Code............................................. 9
    Description...................................... Subscript out of range
    Procedure........................................ clsImpProcessMgr.fLoadAndProcessFile
    Component........................................ upsWObjectsDM
    Version.......................................... 1112
    Thread........................................... 8380
    Scirpt
    Function Import_YTD(strField, strRecord)
    'Set variables
    dim strCurmnth1
    dim strCurmnth2
    dim strCurmnth3
    dim strCurmnth4
    dim strCurmnth5
    dim strCurmnth6
    dim strCurmnth7
    dim strCurmnth8
    dim strCurmnth9
    dim strCurmnth10
    dim strCurmnth11
    dim strCurmnth12
    dim strCurAmount
    strCurmnth1 = Trim(DW.Utilities.fParseString(strRecord, 20, 9, ","))
    strCurmnth2 = Trim(DW.Utilities.fParseString(strRecord, 20, 10, ","))
    strCurmnth3 = Trim(DW.Utilities.fParseString(strRecord, 20, 11, ","))
    strCurmnth4 = Trim(DW.Utilities.fParseString(strRecord, 20, 12, ","))
    strCurmnth5 = Trim(DW.Utilities.fParseString(strRecord, 20, 13, ","))
    strCurmnth6 = Trim(DW.Utilities.fParseString(strRecord, 20, 14, ","))
    strCurmnth7 = Trim(DW.Utilities.fParseString(strRecord, 20, 15, ","))
    strCurmnth8 = Trim(DW.Utilities.fParseString(strRecord, 20, 16, ","))
    strCurmnth9 = Trim(DW.Utilities.fParseString(strRecord, 20, 17, ","))
    strCurmnth10 = Trim(DW.Utilities.fParseString(strRecord, 20, 18, ","))
    strCurmnth11 = Trim(DW.Utilities.fParseString(strRecord, 20, 19, ","))
    strCurmnth12 = Trim(DW.Utilities.fParseString(strRecord, 20, 20, ","))
    If strCurmnth1="" Then strCurmnth1="0" End If
    If strCurmnth2="" Then strCurmnth2="0" End If
    If strCurmnth3="" Then strCurmnth3="0" End If
    If strCurmnth4="" Then strCurmnth4="0" End If
    If strCurmnth5="" Then strCurmnth5="0" End If
    If strCurmnth6="" Then strCurmnth6="0" End If
    If strCurmnth7="" Then strCurmnth7="0" End If
    If strCurmnth8="" Then strCurmnth8="0" End If
    If strCurmnth9="" Then strCurmnth9="0" End If
    If strCurmnth10="" Then strCurmnth10="0" End If
    If strCurmnth11="" Then strCurmnth11="0" End If
    If strCurmnth12="" Then strCurmnth12="0" End If
    'Calculate the YTD Amount
    strCurAmount = CDbl(strCurmnth1) + CDbl(strCurmnth2) + CDbl(strCurmnth3) + CDbl(strCurmnth4) + CDbl(strCurmnth5) + CDbl(strCurmnth6) + CDbl(strCurmnth7) + CDbl(strCurmnth8) + CDbl(strCurmnth9) + CDbl(strCurmnth10) + CDbl(strCurmnth11) + CDbl(strCurmnth12)
    Import_YTD =strCurAmount
    End Function

    Hi,
    how many columns has your file?
    that error means you are trying to access an invalid position.
    Regards

  • Disable column in tabular form

    Hi,
    I am working on apex4.1 ,working on tabular form . i want to disable columns in tabular form.
    I Have debit and credit column in tabular form.These columns are multiply by exchange rate.
    if i have multiplication of Debit_prod =debit*Exchange_rate then
    credit column should be disable, and if Multiplication of cr_prod =Credit*Exchange_rate
    then dr column should be disable.
    Thanks in advance.
    Thanks & Regards
    Vedant
    Edited by: Vedant on Sep 20, 2012 4:14 AM

    Hi,
    Thanks for reply.
    I am entering the value in tabular form. As i fill debit or credit column of the tabular form,Then if value in the debit column i have entered ,then on press tab control switch to exchange rate column , credit column should not be enterable and vice versa.
    Thanks & Regards
    Vedant

  • About settlement, asset master data's amount column value

    Dear Experts,
    I  build an aseet master data :   A (the amount column's value is 0 in asset master data)
    Then, I build an asset purchase order  assign to A , after I  do GR,  A's amount column's value change to 1.
    But if as follows,
    I  build two asset master data :  B and C ,
    B's asset catalog is 167200(prepay for equipment) , c's asset catalog is 153100 (normal fixed asset)
    Then , I build an asset purchase order assign to B, then do GR , B has amount 1, and then ,
    I  do t-code: AIAB , settlement B to C , I found B's amount column's value still show 1 , and C is still 0 ,
    but the asset value certainly has transfer  from B to C......
    why B's amount column's value doesn't be changed?
    I can't figured out.
    Thanks a lot in advance.
    Best Regards,
    Yacoa
    Edited by: Yacoa Chen on Mar 15, 2011 9:14 AM

    Hi
    If B is still showing value - It means values are not settled
    After AIAB - You need to run AIBU to settle the values.. Did you run AIBU??
    Br, Ajay M

  • How can I get the value of "Warehose" column in a form

    How can I get the value of "Warehouse" column in the form below (I mean what table that contain this value):
    Production Supervisor >> Batches >> (Button) Material Details >> (Button) Line Allocations
    Well, for more clearly! My problem is I must have the Unit Cost of Items, so I've got it in the cm_cmpt_dtl (table), but if I want to, I must create a relation that require 2 filed, they're Item_ID and Whse_Code.
    There's no problem with Item_ID, but Whse_Code seem to be the Mission Impossible (hix, I hate that film!!!!)
    I wonder if It was right to post this topic here. But anyway I just post my question here, hope I could get some help.

    wow, many, many, many.... and many thanks!
    Just add a tiny modify to check out the Batch_type
    doc_id = (select batch_id from gme_batch_header where batch_no='&batch_number' and batch_type = 0)
    Because the batch_no can be duplicated as we also create Batch and Filrm Planned Order.
    Many thanks for your support!
    P/S: Sorry for my terrible English :P

  • How to have cascading lov for a single column in tabular form

    Hi,
    How to have a cascading lov for a single column in tabular form
    ie i have one employee name column
    in tabular form if v pressed add row then one row ll be added
    In my scenario based on first row value
    the second row value to be displayed
    To achieve this what i have to do ..
    Regards,
    Pavan

    READ Cascading select list on tabular form  and
    Oracle APEX 4.0: Cascading LOVs/Select Lists | Inside Oracle APEX by Patrick Wolf BLOG
    helps you,
    Pars.

  • Multiple Amount Columns

    I'm setting up an import format for a text file (to load data into Essbase) that has more than one column with an amount in it. e.g. column 1 is expense dollar amount, and column 5 is hours. the expense gets loaded to the account shown in column 2, and the hours in column 5 get loaded to an account called "Hours".
    I have another flat file, with about 12 amount columns, each loading to a different stat account. Same situation.
    (before you tell me that I should use a load rule and load to essbase, I know, but we're not doing it that way...)
    So my question is, how do I set up the import format to load more than one data column, where I know specifically what the account for the second columns is? I don't mind having to do some scripting, but I might need and example to follow.
    thanks.

    Awesome SH, Thanks.
    I did actually try the datapump approach and your thoughts agree with what I was thinking.
    The doc is a bit thin on the following, would you validate or correct me here?:
    I create a new datapump script "MyDataPump",
    The RES object (containing properties such as location key(PlngLocKey) and category key(PlngCatkey)) is valid in the context of the MyDataPump function
    The DW object from which I will access the table [DW.DataAccess.farsTable(strWorkTableName)] is valid in the contet oof the MyDataPump Function
    That all being ok, the one thing I still cannot figure out is where I get the name of the table where I'm loading the data (strWorkTableName)? Its passed as an arg in the Integration scripts, but not in the Datapump Script.
    Aslo, since I'm updating the table with the data for this extra amount field myself, what value do I return from MyDataPump, and how is it used by the import process that calls the script (IOW since I inserted the record myself, I don't really want FDM to do anything with this field after the script is run.

  • In PO invoice tab select tax code shown amount column KOMV-KBETR as 100%

    Hi,
    In PO invoice tab select tax code shown amount column KOMV-KBETR as 100% we need as 10% my alculation is correct but showing only 100%
    i have assigned tax rate in j1id as 10% and Ftxp as same tax code as 100% and condition is JM02 as non-deductable.
    in PO condition value is showing as 10% correct value but showing in amount column as 100%
    Please suggest
    Thanks
    Shital

    No reply

  • Hide Amount column in COR3 cost analysis report

    Hi Expert,
    We need to hide the amount column in COR3 when user go to costs -> analysis.  Because we don't want PP user to see the cost informant but the need to see the quantity for actual and plan to make sure goods issue is really complete.  Would you please advise how to achive this purpose?
    Thanks and Best Regards,

    hi gimmo,
    thanks for the quick reply.  however, i think this is only possible if i am using a structure in my rows, because there i can specifically assign the appropriate calculated key figure to use.  i need to use the hierarchy because we'd like to present the report down to the account number level.
    thanks

  • Outstanding Amount Column in AR Report

    Hai,
    Please let me know from which table or view the data is getting populated in the Outstanding Amount column of the Ageing-7 Buckets report in Accounts Receivables.
    Thanks in advance.
    A.Mohammed Rafi.

    check the Build_Customer_Select formula in ARXAGMW report.
    It's checking from ar_adjustments_all_mrc_v and ar_payment_schedules_all_mrc_v.
    The complete query is there which I believe it's quite complicated.. good luck :-)

  • Amount Column not showing up in Work Order

    Hi,
    We use SAP Business One 2007A. We have a work order program which is an add-on. When viewing a list of work orders or when viewing open items list for work orders, the amount column does not show up. I tried everything with the format settings and it wont work. Any solutions to this?
    Please let me know..
    Thank you,

    Hi,
    Welcome you post on the forum.
    What add-on is this? Is this open item list for work orders by the add-on?
    Thanks,
    Gordon

  • Multiple Columns in a Form

    Hello All,
    Is it possible to have multiple columns in a form? I tried
    embedding a Tile container in a Form container, but the form labels
    did not line up correctly any more.
    Any suggestions? Thanks in advance! -- BTR

    Thanks! It seem to be working even though I have to place the fields one by on on the page. But at least I'm now able to display two to three columns per line.

Maybe you are looking for

  • Mid-2011 MacBook Air Crashed When Unplugging Thunderbolt

    I am using the Belkin Thunderbolt Express dock. I have found that if I am running my Macbook Air off of the battery and unplug the Belkin dock, my Air crashes. Has anyone else had any issues with their Macbook crashing when dicsonnecting a Thunderbol

  • Getting blank space after paragraph in RTF template

    Hi there, Thanks so much for all your help for your help. I am running into one issue in RTF template, wanted to share with you to get any input on this. I have paragraph and Idid put in table at the top and there is xml tag that gives names after th

  • Video app on iPhone or iPad via Home Sharing is not playing movie's sound or video.

    I can successfully connect to iTunes library via Home Sharing on my iPhone 6 Plus and iPad 3rd Generation. In Music app it works ok, but in Videos app, when I try to play a movie it doesn't play the video (but the sound) or the sound (but the video).

  • Wish list for os x apps

    When will a stand alone Scrabble game be available for Mountain Lion? Only on-line game from Pongo is available. The two versions of Scrabble (Scrabble Journey and Gamehouse Scrabble ) do not one. Journey crashes and the Gamehouse version opens and f

  • IFS Versioning through Command Line

    I am no Java developer and am utilising the command line utilities to store/move/copy documents around in iFS. You seem to be able to cater for most operations but I cannot seem to find how to switch versioning on for a document once it has been stor