Adding additional Columns in Work Book

Hi Experts,
I have requirement to additional columns in work book. I have Trial balance amount .I want to create 2 more columns based on the Trial balance column.if trial balance amount is +ve value then it should go to Gross amount column .If trial balance is -ve amount then it should go to depreciation Amount  Column.
How can I add new columns to the work book.please suggest me with formula.
Thanks,
Suryam.

Hi Suryam,
From what i get of ur requirement, I expect there is a column which shows Trial balance. And you are using a workbook, hence the format would be a static format and no drill downs etc. would be done in the report.
You can create a column and use an Excel formula to achieve the same.
Gross Amount Column:
IF Column Cell (of trial balance) >= 0 then value = the Column Cell (of trial balance)
Depreciation Amount Column:
IF Column Cell (of trial balance) < 0 then value = the Column Cell (of trial balance)
Hope this helps!
Regards,
Kunal Gandhi

Similar Messages

  • Adding Additional Columns in LOV,That column capturing values from function

    My requirement:
    Adding Additional Columns in LOV,That column values capturing values returned by function.....
    Give me the ides to achieve this...

    Hi Subramaniam,
    If your requirement is to call a Database function then please make use of the below code ,
    import java.sql.CallableStatement;
    import java.sql.SQLException;
    import oracle.apps.fnd.framework.server.OADBTransactionImpl;
    OAApplicationModule oaapplicationmodule = oapagecontext.getApplicationModule(oawebbean);
    OADBTransactionImpl txn = (OADBTransactionImpl)oaapplicationmodule.getOADBTransaction();
    CallableStatement cs = txn.createCallableStatement ("begin :1 := xxpackageName.xxfunctionname(:2,:3); end;",-1);//Replace your function Name
    try
    cs.registerOutParameter(1, Types.VARCHAR);
    cs.setString(2,InputParam1); // InputParam1 is the name of variable captured from the OAF page and passed into function as input parameter
    cs.setString(3,InputParam2); //InputParam2 is the name of variable captured from the OAF page and passed into function as input parameter
    String outParamValue = null; // outParamValue will capture the value returned by function .
    cs.execute();
    outParamValue = cs.getString(1);
    catch(SQLException sqle)
    throw new RuntimeException(sqle);
    finally
    cs.close();
    Let me know if its not clear .
    Keerthi
    Edited by: keerthioaf on Nov 23, 2012 5:17 AM

  • Adding Additional Columns to the Results

    Hi,
    I wanted to additional column in iRecruitment Vacancy Results Table.I have added the column using personlaization but it's not displaying.
    Here are the Steps that I have done.
    iRrecruitment Administrator --> Vacancies --> Search for the Approved Vacancies.
    Click on the Abpout Page and found the VO Object: IrcVacancyVO
    Found the Attribute that I need to add : VACAttribute8
    I have created a New Item with Style : Message Styled Text
    and provided the View Attribute (VACAttribute8) and View Instance(IrcVacancyVO) accordingly.
    The Item that I am adding is attribute8 of the Additional Vacancy Details DFF.I have enabled this attrbiute in the Flexifield.
    The attribute is part of the IrcVacancyVO Query.
    I am not sure what's I am missing but its not displaying the column that I have added.
    Any Input is highly appreciated.
    Regards,
    A
    Edited by: 791680 on Jun 17, 2011 11:22 AM

    Hi Wasey,
    Try as Diwakar told. I am not able to see that tripline in display mode. A long back i copied the same program and i added extra fields in it.I copy program SAPLMCB3 inside which routine AUSGABE_LISTE_KZ.
    Regards,
    Madhu.

  • Adding Additional Columns in ESS Leave Request iview ( EP 7.0)

    Hi,
    I have a requirement to add some additional fields to the Leave Request Iview. Can any one suggest me  the best possible solution  to add the fields 'Processed by' and 'Approved Date' to the iview?
    Thanks in Advance,
    VR.

    Hi,
    You can personalize Web Dynpro iViews. I have explained this in another topic (2nd post) : [Re: Remove colums in WD MSS teamviewer].
    And the wiki contains useful information : [ESS Personal Information UI enhancement without modification|http://wiki.sdn.sap.com/wiki/display/profile/ESSPersonalInformationUIenhancementwithoutmodification].
    If it is the Universal Work List iView you want to modify, you'll have to modify the UWL configuration.
    Regards,
    Pierre

  • Get an additional column added to PWA Page which shows up the resource names

    When we got to Project center and open up the respective project.By default the Tasks Summary window opens up.
    Where in I can see the ID,Task Name,Duration,Start, Finish,% Complete,Work and Task State.
    In one of the request a user wanted us to get an additional column added to this which shows up the Resource Names.
    Note:
    In the project plan what we publish to the server we used to have a resource name column.
    Please let me know if it is possible to add a new column. 

    amavila --
    Your Project Server administrator will need to do the following:
    Log into PWA with administrator permissions
    Click the Server Settings link in the Quick Launch menu.
    Click the Manage Views link in the Look and Feel section of the Server Settings page.
    In the Project section, click the Task Summary view to open it for editing.
    In the Available Fields list, select the Resource Names column, and then click the Add button to add it to the Displayed Fields list on the right.
    Click the Save button.
    Keep in mind that only your Project Server administrators can perform the above steps.  Hope this helps.
    Dale A. Howard [MVP]
    VP of Educational Services
    msProjectExperts
    http://www.msprojectexperts.com
    http://www.projectserverexperts.com
    "We write the books on Project Server"

  • Hi Guys,  I am using the full width video widget on a site. The widget was working perfectly however I have just added additional content to the site and re-uploaded and now the video is not working! Please help I have tried everything and am freaking out

    Hi Guys,
    I am using the full width video widget on a site. The widget was working perfectly however I have just added additional content to the site and re-uploaded and now the video is not working! Please help I have tried everything and am freaking out as this web-site has been payed for by my client.
    Alex

    Many thanks.
    With those symptoms, I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • Adding additional db column

    So you're design your screen and shown it to the customer. Now the customer want a field that is not currently in the table.
    When I add it be going to sqlplus and dropping the table and recreateing the table
    with an additional column, the application will no longer run (null xml file, ...) and I have no idea how or what to fix.
    Should I be adding the new column in jdev?

    You can use sql*plus or DBA studio to add a column to the table. (
    If you use sql*plus, don't drop the table, just alter it to add the new column, with something like ALTER TABLE MY_TABLE ADD("MY_COLUMN" VARCHAR2(10))
    then, in JDeveloper,
    - Find the entity corresponding to the altered table, click the "new from table" button in order to add the new column to the entity's attributes list.
    - Add the attribute to the views in which you want it to appear.
    that should dot it
    Remi

  • Adding querry to work book

    hi,
    i am having a workbook (wb) which contains q1 now i want to add q2 to the
    same (wb) .we can add it [wb]<b>but tell me the procedure to add q2 to the same work book.</b>

    Hi
    GO to the workbook
    In the workbook go the sheet 2...in the lower pane
    In the top,in the tools option....chose insert query
    Select the query 2 you want to insert
    Now query 2 will be inserted.
    After this, save this as existing workbook from save option
    Now close the workbook and check...reopen..it will have two queries
    query 1 in sheet1 and query 2 in next sheet
    Hope this helps
    Regards
    N Ganesh

  • When creating a "lookup" column be able to display not only one column from the other list, but additional columns

    With the lookup technique, it is possible to select an item from another list and display one column of this item
    It is obviously possible to create several lookup columns on the same list and therefore display several columns
    There’s a high risk of not selecting the same item and therefore have inconsistent columns
    The Requirement therefore consist of being able of displaying several columns of the same item from the other list, based on one unique selection
    Example:
    In list(x), define lookup column on list (y), column Title (possible today)
    Then define a “secondary” lookup column on same list, column Code
    The effect would be that when selecting an item from list (X), both Title and Code would show up consistently in 2 different columns of list (Y)
    All possible solutions are welcomed

    If you are using SharePoint 2010, you can retrieve additional columns when adding a Lookup. If you are using 2007, there is no direct OOTB way, but the following two posts provide potential work-arounds:
    https://www.definitivelogic.com/blog/microsoft-sharepoint-2007-pulling-column-data-one-list-another-based-common-list-field
    http://stefan-stanev-sharepoint-blog.blogspot.com/2010/11/sharepoint-2007-associated-lookup.html
    Dimitri Ayrapetov (MCSE: SharePoint)

  • Dealing with errors due to newly added/dropped columns

    DB version:11g
    I am not sure if i have created an unnecessarily large post to explain a simple issue. Anway, here it is.
    I have been asked to code a package for Archiving .
    We'll have two schemas;The original schema and an Archive schema (connected via a DB Link)
    ORIGINAL Schema -------------------------> ARCHIVE Schema
                   via DB Link          When records of certain tables in the ORIGINAL schema meet the archiving criteria (based on Number of Days Old, Status Code etc), it will be moved ('archived') to the ARCHIVE schema using the INSERT syntax
    insert into arch_original@dblink
    col1,
    col2,
    col3,
    select col1,
    col2,
    col3,
    from original_tableThe original table and its archive table has the same structure, except that the Archive table has an additional column called archived_date which just records when a record got archived.
    create table original
    col1 varchar2(33),
    col2 varchar2(35),
    empid number
    create table arch_original
    col1 varchar2(33),
    col2 varchar2(35),
    empid number,
    archived_date date default sysdate not null
    );We have tables with lots of columns(there are lots of tables with more than 100 columns) and when all column names are explicitly listed like the above syntax, the code becomes huge.
    Alternative Syntax:
    So i thougt of using the syntax
    insert into arch_original select original.*,sysdate from original;  -- sysdate will populate archived_date columnEventhough the code looks simple and short, i've noticed a drawback to this approach.
    Drawback:
    For the next release, if developers decide to add/drop a column in the ORIGINAL table in the Original Schema, that change should be reflected in the archive_table's (ARCHIVE schema) DDL script as well. It is practically impossible to keep track of all these changes during the development phase.
    If i use
    insert into arch_original select original.*,sysdate from original;  syntax, you will realise that there is change in the table structure only when you encounter an error(due to missing/new column) in the Runtime. But, if you have all the column names listed explicitly like
    insert into arch_original@dblink
    (col1,
    col2,
    col3,
    select col1,
    col2,
    col3,
    from original_tablethen you'll encounter this error during the Compilation itself. I prefer the error due to a missing/new column during the Compilation itself rather than in Runtime.
    So what do you guys think? I shouldn't go for
    insert into arch_original select original.*,sysdate from original; syntax because of the above Drawback. Right?

    What advantage would it bring if i make ARCHIVED_DATE as the first column in the ARCHIVE tables?The advantage is that if you'll add a column in the future on both original and archived tables the insert statement will work anyway...
    SQL> create table x (a number, b number);
    Table created.
    SQL> create table y (arc_date date, a number, b number);
    Table created.
    SQL> insert into x values (1,1);
    1 row created.
    SQL> insert into x values (2,2);
    1 row created.
    SQL> select * from x;
             A          B
             1          1
             2          2
    SQL> insert into y select sysdate, x.* from x;
    2 rows created.
    SQL> alter table x add (c number);
    Table altered.
    SQL> alter table y add (c number);
    Table altered.
    SQL> alter table x drop column b;
    Table altered.
    SQL> alter table y drop column b;
    Table altered.
    SQL> insert into x values (3,3);
    1 row created.
    SQL> insert into y select sysdate, x.* from x
      2  where a=3;
    1 row created.
    SQL> select * from x;
             A          C
             1
             2
             3          3
    SQL> select * from y;
    ARC_DATE           A          C
    25-JAN-10          1
    25-JAN-10          2
    25-JAN-10          3          3Max
    [My Italian Oracle blog|http://oracleitalia.wordpress.com/2010/01/23/la-forza-del-foglio-di-calcolo-in-una-query-la-clausola-model/]
    Edited by: Massimo Ruocchio on Jan 25, 2010 12:44 PM
    Added more explicative example

  • Error After sharing work book

    Hello All,
    I modifed a report by adding 2 news columns from a folder(which is based on table2). I am able to genrate the work book successfully.
    So i shared the same work to another user , but while user is running the report he came across an error
    saying "Invallid Comination of Joins Invloving Outer Joins - table1 -> table2 (outer) ".
    How can this be possible. If there is something wrong in join conditions work book should not work for me.
    It is working fine in my case but its giving error when the shared user is running. Please let me know the reasons for this.
    Kind Regards,
    Kumar.

    Hi,
    I think your answer is in Tamir's reply. If disabling fan trap did not resolve your user's issue, then the report needs to be rewritten. Even if it did resolve your user's issue, the report needs to be rewritten.
    It would be difficult for us in this forum to help you to do this.
    However, things to look for: How are your folders constructed? One folder, one table? One folder, many tables as in custom folder or database view? If you are joining folders together in the report where any or all of the folders are constructed with many tables included in them, you run the danger of hitting the fantrap issue - especially, if outer joins abound. Try flowcharting your report and see what that tells you. In Discoverer Plus, choose Sheet \ Show SQL\ copy the sql and place in your favorite sql tool. I suspect the answer to your issue will become obvious then.
    Regards,
    Nancy

  • How to display the Overall result value at the top of work book

    Hi,
      How can i display the value of  Overall result(Sum of the Total) column at the top of the work book in Text field.
    Thanks
    Sreadhar

    Go to Query Global properties in Query designer and you can find a setting to show result rows on top. This setting will show overall result as first row in the report. But I don't think you can show it in Text field in WB.

  • Additional columns in Cross tab

    If I have Project name as the column and project count as the summary in a cross tab
    for eg
    ProjectA,ProjectB, ProjectC
    3,             4,           5
    CaN i add additional columns next to project C having  some condition related to these projects and project counts and then get the grand total??
    Thanks

    Let's see...  This is about the tenth time I've answered this question in the past few weeks, but, hay, let's do it again! 
    The only way I am aware of adding columns to a crosstab is by including new data in your database query.  So, if you currently are returning the data
    Project    Count
    ProjectA   2
    ProjectB   4
    ProjectC   5
    Than, probably using a database command for the data source, change it to return
    Project    Count
    ProjectA   2
    ProjectB   4
    ProjectC   5
    Totals     11
    How this is accomplished very much depends on your database tables and what additional columns you want to add to the crosstab.
    HTH,
    Carl

  • Customization - Additional column inserted in Inbox - value not rendered

    Hello,
       I have a requirement for customizing the inbox and populating the new inbox column with additional value. I made coding updates and everything looks good but the inbox does not render the new value at all. I made these updates and overrides.
    Added the column name and value in \apps\cq\workflow\components\inbox\list\json.jsp . When I go to http://localhost:4502/libs/cq/workflow/content/inbox/list.json?_dc=1358787785033&start=0&l imit=40, I am able to see the addition variable and value added and displayed in list.json. For e.g. view of list.json
               "payloadPath": "/content/dam/geometrixx-outdoors/articles/a-simple-plan.jpg",
               "payloadPath_xss": "/content/dam/geometrixx-outdoors/articles/a-simple-plan.jpg",
               "payloadSummary": {
            "lifestage": "Authored",
               "payloadTitle": "a-simple-plan.jpg",
               "payloadType": "dam:Asset",
       2.  Override and updated \apps\cq\workflow\extensions\inbox\cols. Added a new column, lifestage.js. Code in that js file is
        "header":CQ.I18n.getMessage("LifecycleStage"),
        dataIndex:"lifestage",
        ranking:30
        3. The inbox/list.json shows the value lifestage correctly. But still it doesnot populate 'lifestage' value in the inbox column. If I replace the dataIndex:"lifestage" with dataIndex:"currentassignee" or any other thing, the Lifestage column in Inbox is populated with the "CurrentAssignee".
    Why is the lifestage value though visible through list.json not visible in Lifestage column? What else needs to be additionally done?
    Thanks,

    Sham,
         I  followed exactly all steps like you mentioned. The value was not rendered. I put the alert messages. Please see the code below.
    As lifestage is not subpart of payloadSummary, tried both record.get("lifestage") and (record.get("payloadSummary").lifestage but still both alerts shows undefined.I see alerts for 'Inside renderlifestage' but the next alert shows 'undefined'.
      renderLifestage: function(value, p, record) {
                alert('Inside renderlifestage');
                alert(record.get("payloadSummary").lifestage);
                alert(record.get("lifestage"));
                return lifestageTpl.apply({
                   "lifestage": record.get("payloadSummary").lifestage
    Here is the output from inbox/list.json
          "item": "/etc/workflow/instances/2013-01-22/model_360104180212070/workItems/node4_etc_workflow_in stances_2013-01-22_model_360104180212070",
          "title": "Authorship Workflow",
          "description": "Select author for the authorship workflow.",
          "dialog": "/apps/lexmark/dialog/authorshipDueDateDialog",
          "participant": "",
          "currentAssignee": "Administrator",
          "startTime": 1358880950665,
          "metaData": {
            "workItem": {
              "historyEntryPath": "/etc/workflow/instances/2013-01-22/model_360104180212070/history/1358880950664"
            "instance": {
              "currentJobs": "",
              "currentJobs_xss": "",
              "workflowTitle": "authorship_workflow_test",
              "workflowTitle_xss": "authorship_workflow_test",
              "startComment": "authorship_workflow_test",
              "startComment_xss": "authorship_workflow_test"
          "payload": "/damadmin.html#/content/dam/geometrixx-outdoors/articles/downhill-ski-conditioning.jpg",
          "payload_xss": "/damadmin.html#/content/dam/geometrixx-outdoors/articles/downhill-ski-conditioning.jpg",
          "payloadPath": "/content/dam/geometrixx-outdoors/articles/downhill-ski-conditioning.jpg",
          "payloadPath_xss": "/content/dam/geometrixx-outdoors/articles/downhill-ski-conditioning.jpg",
          "payloadSummary": {
            "icon": "/content/dam/geometrixx-outdoors/articles/downhill-ski-conditioning.jpg/jcr:content/rend itions/cq5dam.thumbnail.48.48.png"
          "lifestage": "Authored",
          "payloadTitle": "downhill-ski-conditioning.jpg",
          "payloadType": "dam:Asset",
          "lastModifiedBy": "admin",
          "lastModified": 1323947520464,
          "lockedBy": "",
          "lockedBy": "",
          "timeUntilValid": 0,
          "onTime": 0,
          "offTime": 0,
          "monthlyHits": 0,
          "replication": {
            "numQueued": 0,
            "publishedBy": null
          "scheduledTasks": [
          "inWorkflow": true,
          "workflows": [{
              "model": "Authorship_Workflow",
              "started": 1358880950439,
              "startedBy": "admin",
              "suspended": false,
              "workItems": [{
                  "item": "Authorship Workflow",
                  "assignee": "admin"
          "scheduledTasks": [
          "comment": "authorship_workflow_test",
          "workflowTitle": "authorship_workflow_test",

  • Adding a column in the MSS Approval view

    What are the options for adding a column in the MSS approval view (CATS regular) ?

    there are lot of colums available in cats customisation for this
    Please check
    In the IMG (transaction SPRO), go to
    - SAP Customizing Implementation Guide
      - Cross-Application Components
        - Time Sheet
          - Specific Setting for CATS regular
            - CATS regular
              - Approve Working Time
                - Define Field Selection for Individual Approval View
                - Define Field Selection for Detail View
    Here you can assign lot of columns to your profile
    which is easily customisable

Maybe you are looking for

  • Prevent itunes/iphone backup to UserHome folder

    Hi, I work as a windows sysadmin in a company where quite a few users have ipads, iphones, etc... We have the My Documents, My Music, My Video redirected to a Network share. So when users plug the ipads and the apps in the ipad sync to the My Music f

  • Why whenn I go to local files in Muse Export it does not load the pages in my browser?

    I was testing and tried to winzip the files to upload to a site (blackboard) but when I tested to view them straight from local files is not uploading in browser properly? Urgent, help please PS It does look wonderful from business catalyst site. Is

  • Update prices in ME21N (purchase order)

    Hi, We need to re-calculate prices automatically when creating or modifying a purchase order taking into account changes in some pricing fields of the order. User has the standard option of updating the prices in 'condition' tab selecting the option

  • Form Class FI_CA_PAYMENT_RECEIPT inactive

    Hi Expert, We would like to customize Cash Desk Receipt. SAP default Application form for receipt is FI_CA_PAYMENT_RECEIPT_SAMPL_SF and its form class FI_CA_PAYMENT_RECEIPT. We want to build a customize receipt of the same class FI_CA_PAYMENT_RECEIPT

  • Session variables passing to functions

    I am trying to create a page that adds property listings and then add features to the properties. i attached the code for the page that is having issues. I have session variables turned on and here is the function and i cannot get the last listing_id