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

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

  • Upload file with additional comments column

    Hi Experts,
    When we upload data into the system using the import option of the data manager, we first upload the csv file into the system and then import the same using a transformation file.
    Now we have a requirement of inserting an additional column in the csv file for comments. We are able to insert the additional column among the other existing columns and upload the same after doing the changes in the transformation file. But the problem faced is that when we try to do the same by inserting the additional column as the last column, the import function fails throwing an error.
    Kindly suggest what changes need to be incorporated in the transformation file in order to insert the additional last column in the upload file.
    Thanks in advance.
    Regards,
    Rajit

    Column for comments cannot be added in the fact tables. Fact tables only have columns for the dimension members, the numerical fact values and a source column to identify whether the rows are being optimized or not. But comments across any dimension combination are stored in the comments table separately. Comments are not stored in the fact tables.
    The import package, imports data only to the fact table. The Data Manager package uses transformation file to transform the data to the format according to the fact tables for each application in BPC. So if extra columns are added to the data to be uploaded, it obviously fails and throws the error.
    My suggestion would be to load the comments to the comments tables using a customized SSIS package and run it after the import package has succeeded.

  • Adding profit center column in CJI3 report

    Hi Experts,
    How can I add profit center column in CJI3 report ?
    This field is not available in "change layout" option as one of the hidden columns.
    Please need help
    Thanks
    Ferdaws

    Default CJI3 report does not have the profit center field.
    One option could be (and this is what we using in our system for adding additional columns in CJI3 report):
    Enhancement on CJI3 report.
    Implement enhancement COOMEP01 (enhancment componment EXIT_SAPLKAEP_001).
    You need to extend your CO structure COEP (CI_COBL) or RKPOS (CI_RKPOS) to add profit center field in this structure. Then implement the above enhancement with a simple code to fill the profit center field with lookup from WBS master table.
    Hope this helps.
    Thanks.
    Rahul

  • Add additional flexfields columns ?

    Is it possible to add additional DFF columns to a table. We need to extend that RA_SITE_USES table which is an oracle shipped table. I am aware that it is against the standards but apart from that is it possible to do it.
    I added an additional attribute26 column and in the DFF form when i try to select the column , I do not see the newly added one, is there anything else I need to do .
    thanks,
    Message was edited by:
    user552775
    Message was edited by:
    user552775

    Okay,
    Rule #1: Don't create modifications unless you really have to.
    Rule #2: See Rule #1
    Some other people might have more input here too...
    First, it might be easier to revisit your existing DFF fields and make better use of them - e.g.
    - any that are not user enterable or displayed, push to unused fields e.g. global_attributeXX
    - ensure context sensitivity is being used to make best use of available segments.
    - combine any related DFFs into one (often in combination with validation sets)
    - move any DFFs that are at a lower level of detail to the correct level of detail, eg. if it can be on the customer site rather than customer site use level, move it!
    Some updates to DFF fields may be necessary, but much easier than modifications.
    Second, in response to your question, I've seen it done, but haven't done it myself. Steps would be something like:
    1. Add attributeXX column to base table
    2. Add column to view(s) on top of table
    3. Register the DFF segment
    4. Modify DML handler to add new column
    5. (Possibly but hopefully not - depending on implementation of the UI) Modify UI code to handle new column
    6. Worry about patches/upgrades wiping out your modification.
    Third, You may be able to register another (unused) field on the ra_site_uses table to be used as a DFF field, but not a great idea, as Oracle could use the field without warning.
    (Under Application Developer, Flexfield > Descriptive > Register)
    Fourth, You could extend the UI to include your own fields - extension or modification but you control it more.
    Gareth
    http://garethroberts.blogspot.com

  • 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.)

  • Issue adding a new column to OBIEE presentation layer

    Hi,
    I am pretty new to OBIEE so this may be a silly question. I am facing some problems trying to add a new column from a physical table the OBIEE presentation layer.
    Below are the steps I followed:
    Task: add a product category set to the presentation layer.
    Steps:
    1) First verified that the product category set is being populated in the W_PROD_CAT_DH table in the datawarehouse. this was done by running the following sql
    SELECT W_PROD_CAT_DH.TOP_LVL_PRODCAT_NAME
    FROM W_PROD_CAT_DH, W_INVENTORY_PRODUCT_D
    WHERE W_PROD_CAT_DH.integration_id = W_INVENTORY_PRODUCT_D.INV_PROD_CAT1
    This sql gave the right category value.
    2) created a "Alias" of the table W_PROD_CAT_DH in the OBIEE Admin tool physical layer. (done by right clicking W_PROD_CAT_DH >>New Object>> Alias)
    3) named the Alias of W_PROD_CAT_DH as "Dim_W_INV_MKT_CAT" and created a key of the alias named "integration id" on the column "integration_id"
    4) opened the pre-existing alias of W_INVENTORY_PRODUCT_D the alias was called "Dim_W_INVENTORY_PRODUCT_D" and added a key called "MKT_CAT" on the column "INV_PROD_CAT1" in this alias (Dim_W_INVENTORY_PRODUCT_D of the table W_INVENTORY_PRODUCT_D)
    5) in the alias of the "W_INVENTORY_PRODUCT_D" called "Dim_W_INVENTORY_PRODUCT_D" added a "Foreign Keys" the expression of the key is following: ("Oracle Data Warehouse"."Catalog"."dbo"."Dim_W_INV_MKT_CAT"."INTEGRATION_ID" = "Oracle Data Warehouse"."Catalog"."dbo"."Dim_W_INVENTORY_PRODUCT_D"."INV_PROD_CAT1")
    Logical layer
    6) Opened the existing logical folder called "Dim - Inventory Product" and clicked on "Sources" tab then double clicked the source "Dim_W_INVENTORY_PRODUCT_D" and added a new mapping under "Map to these tables" under "General" tab. The column that was added was the physical alias "Dim_W_INV_MKT_CAT"
    7) added a new column mapping to the same logical table source (Dim_W_Inventory_PRODUCT_D) this new mapping was a column from the alias "Dim_W_INV_MKT_CAT" (column name "TOP_LVL_PRODCAT_NAME")
    Presentation Layer
    8) dragged the newly added column (TOP_LVL_PRODCAT_NAME) from the logical layer "Dim - Inventory Product" to the presentation layer "Product" folder.
    ISSUE
    after adding everything and checking global consistency and save and checking-in my work when i login from the front end presentation services. I see the newly added column is showing under the "Product" folder. on dragging the column by itself to the Ad-Hoc analysis I can see the different values of the category. On adding a second column from the same logical folder (Dim - Inventory Product in logical layer) i still see the right product name and corresponding category. BUT when I drag any other column from any other folder (such as "Day" from "Time" or any fact values) the result does not fetch any data (message: The specified criteria didn't result in any data.)
    I am not sure if I am missing any step but I know I am mapping the new table alias to the inventory_product_d since i see right results on creating analysis of columns in those two folders. but no other folders give me any data.
    I also know that the logical folder "Dim - Inventory Product" is joined with other tables as I can see results when i do not add the newly added catagory column but other folder and other columns of "Dim - Inventory Product"
    I would really appreciate any insight to this very much. we are using OBIEE 11.1.1.6 with the Oracle 11.5.10 Adaptor (SDE_ORA11510_Adopter)
    I will try to upload some screenshots if needed but presently not sure if its something really simple.

    Hi Prassu,
    thanks for the responce. and Apologies for the delay in getting back to you.
    1) 1.First of all set the logging level to 3 in the admin tool save it.
    You can get the SQL query from here
    settings(Answers right top)-->Administration-->manage sessions-->view log
    When I try to do this I get the following message. and no log files.
    Error
         Log Could Not Be Retrieved
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 27002] Near <3790667783>: Syntax error [nQSError: 26012] . (HY000)

  • Additional Lead Column in Report painter

    Hi Gurus
    Please guide me how to add an additional Lead column in Report painter
    Thanks
    Hiren

    Hi HIren,
    There can be only one lead column in report painter.
    However within the one lead column you can identify more than one characteristic - e.g. cost center and cost element. You can then identify that both characteristics should be exploded.
    If you go Edit > Rows > Explode, you have the opportunity of identifying which characteristic takes presidence over the other, and how they expand. So in this example, Cost center will be 1 and cost element will be 2.
    The output will be dependant upon your report layout, but you should have the layout so that you have:
    Cost Center A:
    - Cost Element A
    - Cost Element B:
    - Cost Element C:
    Cost Center B:
    - Cost Element A:
    - Cost Element B:
    - Cost Element C:
    And to distinguish the cost centers from the cost elements, you can format the cost center row "Color for Totals"
    Regards,
    Gaurav

  • Adding additional j2ee node

    Hello,
    we are running BI 7 - abap+java stacks with 16 GB ram (recently added)
    i would like to know what is the thumb rule for adding additional j2ee node?
    when is it neccassary to add additional j2ee node?
    Regards,
    Moshe

    Hi,
    The JLaunch starts a Java program. It loads the JVM into its own address space and then represents the required cluster element. The program can receive notification from the JControl process via named pipes to stop the cluster element, and terminates, if the JControl stops running (fork emulation under Windows).
    So Jlaunch consuming high CPU time means that server, dispatcher or bootstrap process consume it. If there are not enough system or application threads avaliable means that the engine must buffering requests for web application or system processes. Things to check in this case are:
    SAP NOTE 1016241 - J2EE Engine hangs because of unsufficient system threads
    SAP note: 716604  and upgrade JDK.
    SAP note: 723909 -> set correct VM parameters
    and if issue persists, then you will need to analyse the application causing teh leak...
    SAP note: 1259465: Memory analyser.
    Regards,
    Hemanth

  • FBL5N : Adding additional field PERNR  to layout

    Hi experts,
    I had added additional field PERNR - personnel number in FBL5N layout for displaying in output.
    I had added pernr- personnel number by following the path
    SPRO -> Financial accounting ( new ) -> accounts receivable and accounts payable-> customer accounts ->line items -> display line items -> define additional fields for line item dispaly
    here i added bseg - pernr
    after adding , in FBL5N layout the field is appearing , but it is displaying blank in output  .
    Is there any thing needs to be done to display additional field in output of FBL5N.
    kindly give me any suggestions.
    thanks & tregards,
    Raghul
    Edited by: Raghul Gandhi on Mar 23, 2010 9:30 AM

    Hi,
    FBL5N: customer line item display.
    BSEG-PERNR: personnel number.
    Under which circumstances should BSEG-PERNR contain a value if you create customer related postings?
    If there is no personnel number given during posting (why should it?)  the field added to the FBL5N-layout will be empty.
    Best regards, Christian

  • Problem in adding the new column in VO : ADF

    Hi,
    I am using jdev 10.1.3.2 with ADF.
    I added a new column in a table in the database. In my ADF application, I right clicked on the entity object of the changed table, and selected ‘Synchronize with DB’ which added the new column in the entity object also.
    I had a jsp which uses this view object’s (VO). I had to change the VO also to add this new column.
    After all this, in the jsp page, I dragged and dropped this new column as an input text field.
    But while running this page, the field is empty. Also when I drag and drop it, this field doesn’t have the ‘id’ attribute.
    Below is the code. Please let me know how I can fix this issue.
    <af:inputText value="#{bindings.RebillNumber.inputValue}"
    label="#{bindings.RebillNumber.label}"
    required="#{bindings.RebillNumber.mandatory}"
    columns="#{bindings.RebillNumber.displayWidth}">
    <af:validator binding="#{bindings.RebillNumber.validator}"/>
    </af:inputText>
    Thanks,
    Venki

    Hi Venki,
    Please check if the object on the page is bound to the same iterator as the other components. Sometimes dragging and dropping new attributes makes JDev create a new iterator, and the two iterators will not be in sync.
    You can check this in the pageDef file and correct any strange things you may find.
    Jeroen van Veldhuizen

  • Adding additional tables to the extractor configuration

    Hi Experts,
    Can you please help me adding additional tables to the SAP extractor and to configure the field data in the orgstructure to show a flag against the position.
    Luke - I have tried using the option said by you from Application-wide Settings-->Data Centre --> Read SAP Table, it has properly save the added table, but not able to see it from SAP extractor configruation and not able to extract any data. Also, can you please guide me how to use the fields from this table (HRP1010) to write a small piece of logic to show a flag for a particualr position based on data.
    Thanks in advance,
    Purandhar

    Hi Purandhar,
    I have tried using the option said by you from Application-wide Settings-->Data Centre
    --> Read SAP Table, it has properly save the added table, but not able to see it from
    SAP extractor configruation and not able to extract any data.
    This has probably added a data element - I would check in the dataelementconfiguration folder in your build's .delta folder. IF so then you have the first step completed. Now you need to add the necessary configurations to use the data that comes through this data element.
    Go to your orgchart/hierarchy and navigate to Views. Here select your view (or your first view if this needs to be done for more than one view - if so you'll need to repeate these steps but not the step you already did in the Data Centre), and then click the + icon next to Design Details. Here you can add a new linked detail to your view detail. Simply give it a name, select the detail to link it to (usually the top level detail which is in blue), select a link field and then select your data element that was created in the Data Centre.
    Now if you try to add a section to your view inside the Design Details view designer you will see your new detail added. You can then select it and add fields from this detail.
    Also, can you please guide me how to use the fields from this table (HRP1010) to write
    a small piece of logic to show a flag for a particualr position based on data.
    Once you have been able to add the data in the views designer you will probably need to do some XML and XSL editing because you cannot edit XSL files in the AdminConsole and you will need to do this to get your icon/flag to show.
    First of all you need to create a new XSL file and put it into a folder in your .delta\root folder. For example, My_XSL_files. Here you need to write the code to render your flag based on your variable. You can find plenty of examples in all of the pre-existing XSL files. Then you need to copy PresentationResources.xml to .delta\root\XML and add the reference to your new XSL file.
    Go to your build's .delta folder and go to detailconfiguration. Find the detail you just created and open it. You'll find a section in their that you just added with a reference to an XSL file (e.g. if you added a Simple Caption section it will probably be something like SimpleCaptionXSL). Change this to the reference in the PresentationResources.xml.
    Load your build in the AdminConsole and hit Publish. Once done you should see your icon. Sometimes if your XSL is invalid or the code doesn't work you won't see anything. This is not unusual as the whole process can be quite tricky - even for us with lots of experience!
    Good luck!
    Luke

  • Adding additional sld

    Hello,
    we have 1 sld  - configured on the portal dev -
    i would like to add additional sld - configure it on the portal production - all the production systems will be added to this sld, and all the qa and dev systems will remain on the sld opn the portal dev
    what are the specific pahses in adding additional sld , updating it if neccasary, and moving the relevent systems
    Regards,
    Moshe

    Hi
    The task could be done like this:
    1) Activate the SLD in the EP prod and configure post-processing accord. to SLD guide
    2) Ensure that the DEV-SLD and new PRD-SLD has the same CIM model version and SAP_CR version
    3) Export the content from DEV-SLD (export line ALL)
    4) Import this export into PRD-SLD
    5) Configure all production systems "SLD data provider" to send technical data to PRD-SLD
    6) Configure all production systems "SLD client role" to work with PRD-SLD
    ...now the DEV-SLD will only get technical data from the non-productions systems. If you want both SLD's to have a full view of alle systems then ALL systems could use PRD-SLD as target for their data suppliers and a sync from PRD-SLD to DEV-SLD can be set up... You maybe also need to supplement this strategy with manuel export/import of SLD content.
    BR
    Tom Bo

  • Adding additional dimensions in HFM

    Hi Experts,
    Need your advice.
    Present scenario: we have an HFM application which is pulling data from Peoplesoft transactional system. for the current application we have created 4 custom dimension and based on it all the mappings were done.
    Required:there is a requirement for adding additional custom dimension.
    i just want to know if it is possible to add additional custom dimension in the present application without affecting the previous data within the application.
    please advice the steps and the precautions to be taken.
    will such addition affect the previous period data?
    Thanks in advance.

    What version of HFM are you running?
    If you are at 11.1.2.2 (or higher I would imagine), then following link seems to provide some basic instructions on this process:
    http://blog.topdownconsulting.com/2015/01/adding-custom-dimensions-hfm/
    I would think about:
    (1) Is an additional dimension necessary - could you possibly split up an existing custom dimension (in the past, when only 4 custom dims were allowed, many times a dimension would serve dual purposes),
    (2) If you do decide to add a new dimension, this would be a major change that would effect all aspects of the application (data loading, reporting, historical data, consolidation rules, forms, grids, etc) - so, do you have a test system you could experiment with?  At the very least you would want to make a copy of the current app and convert the copy as a test,
    (3) probably you would want to do a thorough analysis of your consolidation rules before hand to see what the implications are of adding the new dim.

  • Improve Portal performance with BI-Java by adding additional server node.

    Hi SAP Expert
    I wonder anyone might have attempted this before,
    In an environment with BI-Java and Portal Java stack installed on the same server, is it possible to improve the system performance by adding additional portal server node? or is there any improvement seen by adding the extra server node?
    I am after suggestion and experience on how the portal performance can be improve, with consideration of BI-Java sharing Portal resources.
    Any comment will be most appreciated.

    Hi Jim,
    We've this configuration at our site, Portal and BI running together (not federated).  Recommendations would be to:
    1. Set a sensibly large max heap size on each server node of Portal (at least 2GB if not larger) and implement several nodes at least.  For example we have 4 x physical nodes, each running 3 server nodes of 2GB max heap size apiece so a total of 12 nodes.
    2. Implement the BI Safety Belt for large results sets (1127156)
    3. Implement the latest JVM / JDK you can on your environment.  We found much improved performance after implementing JDK SR10 with the J9/2.3 options enabled e.g.,  -Xjvm:j9vm23
    -Xsoftrefthreshold0
    4. Patch your BI components on the Portal (BIBASES, BIWEBAPP etc) to the latest available patch level for your Portal SP level
    5. Make sure all your RFC connections are load balanced to the backend and tuned for the kind of load you expect on your reports, and the BI is sized appropriately in terms of app servers and dialog work processes, RFC-enabled login groups in SMLG etc.
    6. Consult notes 1048691 (especially useful, opions &PROFILING=X&TRACE=X added to reports for example for performance tracing), 937697, 1021921, 948158 for information about problem analysis for this scenario
    7. Implement SAP Web Dispatcher for Portal to reduce load on static mime files
    8. Tune the Portal application.  There's plenty information on SDN related to Portal performance tuning.
    I hope this helps!
    Cheers,
    Marc

Maybe you are looking for

  • Multiple DimBuilds w/Only One Restructure in MaxL?

    I am doing a series of dimension builds via load rules (v7.1.5). In this case I am building this entire dimension from scratch every time, but I want to preserve data, because there is forecast and plan data in this cube, not just actuals. My problem

  • SAP XI comparative with Cordys & TIBCO

    Hi gurus, Can anybody help me to find how SAP XI is better than Cordys or TIBCO .i.e. comparision between (SAP PI,Cordys,TIBCO) regards,

  • Illustrator CS4 problem placing large files

    I don't know if this is a new option I need to set in illustrator CS4 or if this is a bug but when I try to place large tif files into illustrator (larger than 15mb) it just doens't do anything. No error message or dialogue. Just acts like you never

  • Problems with EPSON L355 Series in Yosemite

    Hi! everyone!! After install Yosemite in my Macbook Air Mid 2013, I have some problems with the printer EPSON L355 using Wi-Fi, the Mac show the printer in standby (yellow) and I can't send files to print, I try shutdown the wi-fi and when turn on ag

  • Yellow warning triangle badge

    I've just found that a bunch of my photos in one project have a yellow triangle badge on them. In the manual (page 291) it says "The referenced image's master has not been found." How could it have got lost? How do I get it back? I'm on Aperture 2.1.