Refresh variable according to the data schema

Hello guys,
First post, fairly new to ODI and looked around for a while before posting.
We are trying to create a variable that runs a SQL command to return a value from an ORACLE table column.
#VAR1 = select column_value from <schemaname>.<tablename> where anothercolumn value = '';
we do not want to hard code our schemaname as it can change once move to QA.
Is there a way we can say #VAR1 = select column_value from "#VAR2" .<tablename> where anothercolumn value = ''
and
"VAR2 = <%=odiRef.getObjectName( "L" , "TABLENAME" , "LOGICALSCHEMANAME" , "DEV" , "D" )%>
Can anyone point to any suggestions or learning material?
Thanks in advance for your time.

Thanks Cezar,
Its working to the point that I have a variable to retrieve the schema name
v_Schema_Name = select '<%=odiRef.getSchemaName("LS_Name" , "CTXT_DEV" , "D" )%>' from dual
How do I correctly embed this code into another variable?????
SELECT column_1_val FROM #v_MASTER_SCHEMA_NAME .tablename WHERE col2_name = 'COL_2_VAL' in the refresh tab, its giving me
"invalid character error."
Even this way, once it works, I will have to manually/thru package refresh the schema name variable once we move to new environment.
Any ideas to handle the change dynamically????
Thanks

Similar Messages

  • How do i sort according to the date modified.

    Hi, i have a list of jobs that are created over a period of time. The date/time is stored when the job is created. How do i sort them according to the date/time they are created instead of sorting them by alphabetical order. This is the following code, i have
    public void setupJobPage()
    pageno = 5;
    String theFiles[];
    String directory = new String(nanocadHome + "\\users\\" + user + "\\" + session);
    File toRead = new File(directory);
    PageJobPanel = new Panel();
    PageJobPanel.setLayout(null);
    backToWaltz = new Button("Return to Waltz");
    backToWaltz.addActionListener(this);
    PageJobPanel.add(backToWaltz);
    backToWaltz.setBounds(new Rectangle(40, 5, 200, 20));
    sessionChecksLabel = new Label("   Name");
    sessionChecksLabel2 = new Label("Last Modified");
    sessionChecksLabel.setBackground(new Color(170, 198, 198));
    sessionChecksLabel2.setBackground(new Color(170, 198, 198));
    sessionChecksLabel.setBounds(new Rectangle(15, 30, 100, 20));
    sessionChecksLabel2.setBounds(new Rectangle(115, 30, 200, 20));
    PageJobPanel.add(sessionChecksLabel);
    PageJobPanel.add(sessionChecksLabel2);
    theFiles = toRead.list();
    sessionChecks = new Checkbox[theFiles.length];
    lastModifiedLabels = new Label[theFiles.length];
    sessionCheckGroup = new CheckboxGroup(); 
    for (int i = 0; i < theFiles.length; i++)   
    File temp = new File(directory + "\\" + theFiles);
    Date tempDate = new Date(temp.lastModified());
    lastModifiedLabels[i] = new Label(tempDate.toString());
    sessionChecks[i] = new Checkbox(theFiles[i], sessionCheckGroup, false);
    if ( ((String)sessionChecks[i].getLabel()).equals(session) )
    sessionChecks[i].setState(true);
    PageJobPanel.add(sessionChecks[i]);
    PageJobPanel.add(lastModifiedLabels[i]);
    sessionChecks[i].setBackground(new Color(170, 198, 198));
    lastModifiedLabels[i].setBackground(new Color(170, 198, 198));
    sessionChecks[i].setBounds(new Rectangle(15, 50 + 20 * i, 100, 20));
    lastModifiedLabels[i].setBounds(new Rectangle(115, 50 + 20 * i, 200,20));
    sessionButtonPanel = new Panel();
    sessionButtonPanel.setLayout(null);
    sessionButtonPanel.setBackground(new Color(187, 187, 221));
    createSession = new Button("View Result");
    deleteSession = new Button("Delete");
    createSession.addActionListener(this);
    deleteSession.addActionListener(this);
    sessionButtonPanel.add(createSession);
    sessionButtonPanel.add(deleteSession);
    createSession.setBounds(new Rectangle(40, 5, 85, 20));
    deleteSession.setBounds(new Rectangle(210, 5, 50, 20));
    PageJobPanel.add(sessionButtonPanel);
    sessionButtonPanel.setBounds(new Rectangle(15, 50 + 20 * theFiles.length + 10, 300, 30));
    sessionButtonPanel.repaint();
    PageJobPanel.setSize(400, 50 + 20 * theFiles.length + 40);
    GridBagConstraints c = new GridBagConstraints();
    c.anchor = GridBagConstraints.NORTH;
    c.gridwidth = 1;
    c.gridx = 0;
    c.gridy = GridBagConstraints.RELATIVE;
    c.weightx = 1;
    c.weighty = 1;
    add(PageJobPanel, c);
    Thanks

    Arrays.sort(Object[], java.util.Comparator);

  • To Split a variable to get the date.

    Hi all,
        I have a variable 'file1'.This variable stores the names of the pdf files located in SAP directory.
    The name of the file is like:'PDFST0000098357US81042008',
    which containg order no ,sales org, month and date of that file creation.
    Now i have a requirement to extract that  month and year from this variable.
    Also some filenames have different format like'PDFIPF......' instead of 'PDFST.....'.
    so kindly suggest how to extract month and year from this variable.
    Thank You.

    Hi,
    You can use fm STRING_REVERSE to reverse the name of the filename. Then go ahead and extact eight letters of the reversed string and once again reverse that, so at this you will get the date part in DDMMYYYY.
    Again you can manipulate this date string to get back the original date.
    1.  use string_reverse input filename, output reversed string.
    2.  reversedstring+0(8) will extract date part ( reverse ).
    3.  Again reverse this string.
    But seeing at the example, this would be tougher if the date in the filename is not in DDMMYYYY, meaning that if the date is 1st april 2008 then if the date format is DMYYYY(142008), then the logic would go for a toss.
    Thanks and regards,
    S. Chandramouli.

  • Where Can I settle an enhancement to delete a sales order item according to the data in BDOC from CRM?

    Hi expert,
    I have an urgent requirement from the client.
    Delete the sales order item totally in ECC.
    I planned to implement this enhancement in ECC. Check the data in BDOC from CRM middleware, according to the user status in the order item,decide whether the item can be deleted.
    My question is,where can I settle this enhancement? The BADI name,user exit?
    Thanks in advance.
    Jerry.

    Hi Jerry,
    It may be delayed. you may found the solution.
    Use BADI CRM_DATAEXCHG_BADI and try the code in MBDOC_FILL or BAPI_FILL method.
    Regards,
    Bala

  • Customer Exit Variable to fetch the data from the cube..

    Hello Gurus,
    I am having a requirement to select the latest changed record from the cube while executing the query.  where we are having the Calday as the date with a variable .
    I suggested my client we can filter it at the DSO leve or Data loading level but my client dont want to distrurb the existing design so he want to perfrom the changes at the Query level only.
    For Example we are having below records in the cube.
    PO             Material     Calday       Qty         Price
    101            ABC          1/12           100         10
    101            ABC          2/12            100         10
    101            ABC          3/12            100         11
    I am having Calday in the selection screen as the variable.
    Now from the above example i need to show the record which has been changed on 3/12.
    For this i am planning to write the customer exit variable on the calday , when the user enter the range of Calday then i will fetch the whole records which fall in between the range and i will sort each PO with respect to the date and i will pick those which are the latest records.
    My Concerns:
    !. Kindly let me know if it is possible and what are the other things that i need to consider.
    2. Did it will impact the performance.
    Waiting for your quick replies
    Thanks & Regards
    KK

    Hi Mate,
    Sorry for late reply.
    By d way in your word.
    initially when the user enter the date range as the vairable input. suppose 1/12 to 31/12 then i will pick all those records which fall in this range.
    suppose the records are
    PO Date
    P1 01/12
    P1 02/12
    P2 02/12
    P2 03/12
    P3 03/12
    P3 04/12
    In the customer exit variable Now for each PO i will sort the date in ascending order and i will pick the last record to display it in the Report.
    The ouput will be
    PO Date
    P1 02/12
    P2 03/12
    P3 04/12
    Now hope you are aware about exit variable concept.
    so what value will pass in the calday filter.
    here after sorting on each PO , you will get 3 different dates, 02/12 for P1
    03/12 for P2
    and 04/12 for P3
    Now if you are aware about exit variable concept, then you will pass this three date to CALDAY(I_t_VAR_Range-low = ...)
    but how query will understand that for P1 calday filter value is 02/12, for P2 calday filter value is 03/12.... and so on...
    actually i have also experienced this kind of issue 1-2 years before, i have tried same thing at that time without thinking and stuck with this problem..
    By d way you can also learn from your mistake.. so just try ur logic and then you will understand what is the problem?
    By d way this will not work, parallel you can work on other solution.

  • How to refresh mx:List when the data in dataProvider is changed

    I have a mx:List that uses an ArrayCollection as a dataProvider. The ArrayCollection contains many Object, something like:
    var o:Object = new Object();
    o.label = "Apple";
    o.price = "$1.00";
    var o:Object = new Object();
    o.label = "Kiwi";
    o.price = "$0.20";
    Now the dataProvider (ArrayCollection) is updated outside the mx:List, not through the itemEditor. I want the mx:List to show the changes in the
    dataProvider (ArrayCollection), but currently it does not automatically show the changes. I could not find a refresh method in the List or dataProvider
    to force the List to reload the data. Any suggestions?

    Hi John, have you tried arrayCollection.refresh()...where arrayCollection is dataProvider for your List.
    Thanks,
    Bhasker

  • Filling cell according to the date

    Hallo,
    ich würde gerne in numbers eine Zelle anlegen, welche im wöchentlichen Rhytmus den Wert ändert.
    Genauer gesagt: Zeige mir vom 31.03.2014 - 06.04.2014 den Inhalt dieser Zelle an, vom 07.04.2014 - 13.04.2014 den Inhalt dieser Zelle usw.
    Weiss aber leider nicht wie ich das anstelle.
    Kann mir da jemand weiterhelfen?
    I want to fill a cell which is changing its value every week.
    For example: Show me from 31.03.2014 - 06.04.2014 the value from this cell, from 07.04.2014 - 13.04.2014 the value from this cell etc.
    I dont know how i could handle that.
    Can anyone solve this problem for me?

    Hi Chris,
    What is the address of the cell containing 31. März 2014?
    Is that the first date in the column? If not, what is the first date, and where is it located?
    Are the values in the column containing 31. März 2014 Date and Time values, or are they text?
    The example shown below assumes that the three columns shown in your example are columns A, B and C of Table 1 (Named "Daily Log" in the example), and that the contents of column A are Date and Time values, with display set to show onlt the Date part.
    The second table, "This Week's Balance" is an variation of your Table 2, extended to two columns and the same number of rows as "Daily Log" to allow several values of "Today" to be tested. Opening balances in the three as yet unused weeks ave been set to 150, 151 and 152 to make it esy to see that the correct cell's value is being displayed in column A for each date tested in column B. The same formula is used in each cell of column A.
    Formula: This Week's Balance::A2:
    =OFFSET(Daily log :: $A$1,1+DATEDIF(Daily log :: $A$2,B,"D")+6-WEEKDAY(B,3),2)
    Revised to use TODAY() for the single cell table in your example:
    =OFFSET(Daily log :: $A$1,1+DATEDIF(Daily log :: $A$2,TODAY(),"D")+6-WEEKDAY(TODAY,3),2)
    You will note that I have used positive values in column B rather than the negative ones used in your example. Either is useable provided the use is consistent and the formula matches whichever is used.
    C8: =150-SUM(B2:B8)
    Regards,
    Barry

  • UDF -Golobal variables to store the data

    Hi,
    We are sending order information to source system (SAP).
    Here i need to chk in message mapping : if it is the
    first time we received that order into SAP or not.
    As per the expert suggestion its better to use global variable and store the order no and compare it the next time it comes.
    Let me know the UDF code.
    Thanks
    MMV

    HI,
    Refer below blog
    /people/miguel.jorge/blog/2006/10/10/interesting-use-of-global-variables
    Here you can maintain the Global variable and then in 1st mapping assign the value for it as had shown in UDF code in blog and then innext mapping check the value of global variable.
    BUT...as per your suggestion I doubt how you will maintain multiple order information in Global variables.
    Better to go for Either DB / RFC Lookup here you can maintain the table and can check from it whether the Order information is previously send or not
    For db/rfc lukup refer to:
    Lookup’s in XI made simpler : DB lukup
    /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    RFC Mapping Lookups
    /people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups
    Thanks
    Swarup

  • Problem while refreshing the data for the second time using excel services in sharepoint 2013...

    Hi,
    I have migrated my Sharepoint from 2010 to 2013.I am able to get the data at the first time of refresh when I click on refresh for the second time I am getting the empty the sheet.
    below find the flow of refresh
    First Refresh
    On Click of refresh open the workbook with excel services and return the session id.
    Using that session I am invoking RefrehAsync method of excel services
    After refresh completed I am setting the calculation of workbook as automatic(to calculate the formulas) using the same session id
    After setting the calculation as Automatic I am setting the calculation type as full(recalculate) using the same session id.
    Now I am able to see the data
    Second Refresh
    After clicking on refresh instead of opening the workbook I am using the session id(already opened workbook) and setting the calculation type as manual
    I am following the same process from refresh(RefreshAsync) as I have followed in first refresh.
    This time my formulas are not getting calculated because of that I am not able to see the data.
    Could you please let me know that am I missing anything here?
    Is this know issue in Sharepoint2013 excel services as same code is working fine with Sharepoint2010.
    If I close the workbook(session id null) and opens(new session id) for all the refreshes it is working and I am able to see the data.
    Thanks,
    Meenakshi Nagpal
    N.Meenakshi

    I am able to see the data for the second refresh  if I change the data source.If I use the same data source which is used in the first refresh I am not getting the data.Excel services will contact the cubes and calculate the formulas in my workbook.
    Could you please let me know what could be the problem at second refresh while contacting the same data source with same session id?
    Please help me asap.
    Thanks,
    Meenakshi Nagpal
    N.Meenakshi

  • Cannot display the data from a varaible in front end

    hi,
    i not able to display the data in the table from the variable.
    steps how the module should work.
    In OEO:
    1. data to be accepted from user, values to be passed to the program in database according to the data accepted.
    In Oracle Express:
    2. values is accepted in database program as arguments. according to arguments the limits are applied and calculation is made for leaf level and then assigned to variable
    3. rollup is called in database program.
    In OEO:
    4. the data is shown in tables here the user can limit his view of the data according to his needs.
    my problem:
    the data acceptence from oeo is working fine and the backend or the database part(program, rolllups etc) are working fine. when values are passed thru express command box the program is working fine.
    i am not able to get the calculated data form the variable which stores it and display in the table. the database connectivity is fine.
    note: the display of data in table is in other page not in the data acceptence page.
    pls also let me know how to check in oracle administrator whether the values sent from oeo and accepted in backend properly.
    i will be thankfull if any helps me out to solve this problem.
    naveen

    hi,
    i not able to display the data in the table from the variable.
    steps how the module should work.
    In OEO:
    1. data to be accepted from user, values to be passed to the program in database according to the data accepted.
    In Oracle Express:
    2. values is accepted in database program as arguments. according to arguments the limits are applied and calculation is made for leaf level and then assigned to variable
    3. rollup is called in database program.
    In OEO:
    4. the data is shown in tables here the user can limit his view of the data according to his needs.
    my problem:
    the data acceptence from oeo is working fine and the backend or the database part(program, rolllups etc) are working fine. when values are passed thru express command box the program is working fine.
    i am not able to get the calculated data form the variable which stores it and display in the table. the database connectivity is fine.
    note: the display of data in table is in other page not in the data acceptence page.
    pls also let me know how to check in oracle administrator whether the values sent from oeo and accepted in backend properly.
    i will be thankfull if any helps me out to solve this problem.
    naveen

  • InfoPackage OLAP variables used in the ZXRSRU01 INCLUDE - I_STEP value ?

    Dear All, as I am aware OLAP variables used in InfoPackage Data Selection are processed in the standard user exit (EXIT_SAPLRRS0_001) - INCLUDE ZXRSRU01 where the customer created global reporting variables are also processed when queries are run and are processed according to the value of I_STEP being 1, 2 or 3.
    When processing the variables according to the running of InfoPackages the value of I_STEP in this case seems to be 0. Is this always the case for the value of I_STEP = 0 when processing according to InfoPackage?
    I have meticulously searched documentation and can only find the I_STEP = 0 value when applied to Authorisation processing.
    We are creating separate Includes depending on the value of I_STEP instead of having one great block of code in the ZXRSRU01 Include.
    We obviously want the InfoPackage code to run only when the InfoPackage runs instead of it being checked every time a query is run.
    Also is there an easier way to see where a customer variable is used:
    1) rather than creating a dummy query that uses the variable to restrict a characteristic and using the right click mouse funstion to see where the varaible is used in queries? and
    2) also when the variable is used in InfoPackage selection is there a transaction or feature somewhere to see where this variable is used in these selections as opposed to looking at the table RSLDPSEL via SE16 selecting on variable name
    i.e is there a nice "where used" feature that shows comprehensively where a customer user exit variable is used across the board.
    Thanks
    Mark

    Hi Sarah,
    You don't need any FM for your issue.
    Please try thie sample code :
    DATA: VAR_INPIUT LIKE RRRANGEEXIT.
    CASE I_VNAM.
      WHEN 'ZVAR2'.
       CLEAR L_S_RANGE.
       IF I_STEP = 2."PROCESSED AFTER VARIABLE INPUT
    *Reading value of ZVAR1
        LOOP AT I_T_VAR_RANGE INTO VAR_INPIUT
          WHERE VNAM = 'ZVAR1'.
          CASE VAR_INPIUT-LOW.
    *FILLING ZVAR2
           WHEN 0.
              L_S_RANGE-LOW     = 10.
           WHEN 1.
              L_S_RANGE-LOW     = 20.
          ENDCASE.
          L_S_RANGE-SIGN     = 'I'.
          L_S_RANGE-OPT      = 'EQ'.
          APPEND L_S_RANGE TO E_T_RANGE.
          EXIT.
        ENDLOOP.
      ENDIF.
    ENDCASE.
    Hope this helps
    Joe

  • How the data is stored in Info cube...in the back end what will happen???

    Hi Experts,
    How the data is stored in Info cube and DSO...in the back end what will happen???
    I mean  Cube contain Fact table and Dimension tables How the data will store and what will happen in the backend???
    Regards,
    Swetha.

    Hi,
    Please check :
    How is data stored in DSO and Infocube
    InfoCubes are made up of a number of InfoObjects. All InfoObjects (characteristics and key figures) are available independent of the InfoCube. Characteristics refer to master data with their attributes and text descriptions.
    An InfoCube consists of several InfoObjects and is structured according to the star schema. This means there is a (large) fact table that contains the key figures for the InfoCube, as well as several (smaller) dimension tables which surround it. The characteristics of the InfoCube are stored in these dimensions.
    An InfoCube fact table only contains key figures, in contrast to a DataStore object, whose data part can also contain characteristics. The characteristics of an InfoCube are stored in its dimensions.
    The dimensions and the fact table are linked to one another using abstract identification numbers (dimension IDs) which are contained in the key part of the particular database table. As a result, the key figures of the InfoCube relate to the characteristics of the dimension. The characteristics determine the granularity (the degree of detail) at which the key figures are stored in the InfoCube.
    Characteristics that logically belong together (for example, district and area belong to the regional dimension) are grouped together in a dimension. By adhering to this design criterion, dimensions are to a large extent independent of each other, and dimension tables remain small with regards to data volume. This is beneficial in terms of performance. This InfoCube structure is optimized for data analysis.
    The fact table and dimension tables are both relational database tables.
    Characteristics refer to the master data with their attributes and text descriptions. All InfoObjects (characteristics with their master data as well as key figures) are available for all InfoCubes, unlike dimensions, which represent the specific organizational form of characteristics in one InfoCube.
    http://help.sap.com/saphelp_nw04s/helpdata/en/4c/89dc37c7f2d67ae10000009b38f889/frameset.htm
    Check the threads below:
    Re: about Star Schema
    Differences between Star Schema and extended Star Schem
    What is the difference between Fact tables F & E?
    Invalid characters erros
    -Vikram

  • Automatic Update of Dates in the Transaction based on the date rule assigne

    Hi Friends,
    This might sound very basic but, it is a major issue at the moment in our project
    I have a date type Today-20 days 
    I have created a Date rule Today-20 days
    and assigned to the Date type and then to the Date profile and the date profile to the Transaction type
    when i create an Opportunity it takes the system date as Todays date and the Today-20 days is also calculated correctly.
    Till now everything is fine.
    But the next day when i open and see the opportunity the Todays date is still the system date from yesterday and also the Today-20 days is the same what i saw yesterday
    Unless i explicitly click and change something in the dates, they dont refresh automatically
    I need a mechanism to trigger the automatic update of dates in the Business Transactions
    so as to trigger an action if an opportunity is open but not touched for 20 days
    Any advise would be appreciated and rewared as points.
    Thanks and Regards,
    Raj

    Hi Raj
    As any other determination the date determination takes only place as long as no dates are filled. It is triggered then only after dates are changed.
    Nevertheless your szenario sounds a bit strange to me: What is the sense of always having the actual date / actual date -20 days in the date scheme? As this can easily be calculated on request you do not put this into the date scheme; only information that stays over time is put in schemes (and saved along with the opportunity main data in the DB).
    So if you want to stay with the concept the only thing you can do is to re-trigger the date determination of the opportunity by e.g. modifying the dates whenever you are changing / saving the opportunty. This can be done in the ORDER_SAVE badi or in an event (search the CRMC_EVENT_CALL table for an appropriate one). In both cases you need to code some lines of ABAP though.
    Hope this helps,
    Kai

  • How to export the data as integer into excel sheet?

    Hi All,
         I am working on export to excel functionality and using JEXCEL API to create it.  When I export the data to excel sheet, the data are stored in text format in the excel sheet.  If I click on summation button on excel sheet,  it is not summing up the column values since it is stored as the text format. 
    I am writing the following code:
    for(Iterator iter = columnInfos.keySet().iterator(); iter.hasNext();){
    String attributeName = (String)iter.next();
    for(int index = 0; index < dataNode.size(); index++){
    try{
    IWDNodeElement nodeElement = dataNode.getElementAt(index);
    String colVal = nodeElement.getAttributeAsTex(attributeName);
    Label value = new Label(j, index + 1, colVal);
    sheet.addCell(value);
    j++;
    Here colVal is the variable which holds the data in string format.  So I was just trying to convert it into integer format and used Integer.parseInt(colVal).
    But Label keyword accepts only the int,int,string arguments. 
    Is there any other option to change it as integer value while exporting to excel sheet.
    Pls suggest.
    This is very urgent.
    Regards,
    Subashini.

    Hi Gopal,
    Pls refer the following link.
    /people/subramanian.venkateswaran2/blog/2006/08/16/exporting-table-data-to-ms-excel-sheetenhanced-web-dynpro-binary-cache
    I have used the same coding which is mentioned in this link. 
    And also I cannot use integer.parseInt(colval)  because new Label()  will accept only the int,int,string as parameters. 
    Here goes my to excel method code which exports the data to excel sheet .
    private FileInputStream toExcel(IWDNode dataNode, Map columnInfos) {
    String fileName = "output.xls";
    IWDCachedWebResource cachedExcelResource = null;
    int i = 0;
    try{
    File f = new File("output.xls");
    WritableWorkbook workbook = Workbook.createWorkbook(f);
    WritableSheet sheet = workbook.createSheet("First Sheet", 0);
    for(Iterator coluinfoitr = columnInfos.keySet().iterator(); coluinfoitr.hasNext();){
    Label label = new Label(i, 0, (String)columnInfos.get(coluinfoitr.next()));
    sheet.addCell(label);
    i++;
    int j = 0;
    for(Iterator iter = columnInfos.keySet().iterator(); iter.hasNext();){
    String attributeName = (String)iter.next();
    for(int index = 0; index < dataNode.size(); index++){
    try{
    IWDNodeElement nodeElement = dataNode.getElementAt(index);
    String colVal = nodeElement.getAttributeAsText(attributeName);
    Label value = new Label(j, index + 1, colVal);
    sheet.addCell(value);
    catch (Exception e){
    wdComponentAPI.getMessageManager().reportException(" Data Retrive Err :" + e.getLocalizedMessage(),false);
    j++;
    workbook.write();
    FileInputStream excelCSVFile = new FileInputStream(f);
    cachedExcelResource = getCachedWebResource(excelCSVFile, fileName, WDWebResourceType.getWebResourceType("xls", "application/ms-excel"));
    wdContext.currentContextElement().setExcelDownload(cachedExcelResource.getURL());
    workbook.close();
    It is exporting the data in text format.  So I am unable to sum up the column values in the excel sheet.
    I need an alternate solution wherein I can export the data in integer format to excel sheet and then sum up the column values by clicking on summation button.
    Hope I am clear now.
    Pls suggest.
    Regards,
    Subashini.

  • Data Schema tree not expanding in XML news Form Builder

    Hi,
    I am trying to create XML News, But the DataSchema tree is not expanding I double clicked on the '+' symbol but it is not expanding.
    Can any body suggest me why it is not expanding and how to expand the tree of the Data Schema.
    Regards,
    Krishna

    Hi Krishna,
    there may be 2 possibilities why the node does not expand:
    1.) Your browser and/or local JDK-Version is not supported for XML Forms Design Tool
    2.) There is nothing to expand. Try to create some nodes below your root node.
    HTH,
    Carsten

Maybe you are looking for