Date format is different on two different iviews

I am maintaining some portal apps that were originally written in EP5 and have been converted to work in EP6.  The iviews make RFC calls to SAP and bring back data with date fields from SAP.  We use JCA to connect to SAP, in EP5 we used JCO.  The user is complaining because in one of the iviews the date is coming back yyyy-dd-mm instead of mm/dd/yyyy as in the other iviews.  In EP5 these iviews all returned mm/dd/yyyy.  Does anyone know why I'm having this problem on one particular iview.  We are using the DefaultTableViewModel to store our results from the SAP.  Thanks, Angie.

Thanks ... 
<b>Here's the code that puts the data returned from SAP into the table view model:</b>  The date is in column 5.(further below I have the code that displays the data from the model):
public void setResultModel(Vector ColumnData, Vector ColumnNames ){
            this.DefResultModel = new DefaultTableViewModel(ColumnData,ColumnNames, true); 
            TableColumn availCol = DefResultModel.getColumnAt(1);
            TableColumn checkCol = DefResultModel.getColumnAt(2);           
            TableColumn matCol = DefResultModel.getColumnAt(3);
            TableColumn qtyCol = DefResultModel.getColumnAt(4);
            TableColumn dateCol = DefResultModel.getColumnAt(5);
            TableColumn plantCol = DefResultModel.getColumnAt(6);
            TableColumn plantDescCol = DefResultModel.getColumnAt(7);
            TableColumn uomCol = DefResultModel.getColumnAt(8);
            TableColumn priceCol = DefResultModel.getColumnAt(9);
            TableColumn currCol = DefResultModel.getColumnAt(10);
            TableColumn currDescCol = DefResultModel.getColumnAt(11);
            TableColumn messageCol = DefResultModel.getColumnAt(12);
HERE IS THE CODE IN THE JSP that DISPLAYS THE TABLE DATA:
     <hbj:formLayout id="TableForm" 
               marginTop="10px"               
               marginRight="10px"               
               marginBottom="10px"               
               marginLeft="10px" >                               
               <hbj:formLayoutRow id="Row3"
                 paddingTop="5px"
                 paddingBottom="5px" >
                 <hbj:formLayoutCell id="Cell41"
                    align="CENTER"
                    paddingLeft="5"
                    paddingTop="5"
                    paddingRight="5"
                    paddingBottom="5"
                    width="3">  
                     <hbj:tableView id="myResultTable"
                       model="myDetailBean.DefResultModel"
                       design="ALTERNATING"
                       headerVisible="true"
                       footerVisible="false"
                       fillUpEmptyRows="true"
                       headerVisible="true"
                       visibleFirstRow="1">
                      <% myResultTable.setUserTypeCellRenderer(new com.mycompany.iview.inventoryResultsRenderer()); %>
                     </hbj:tableView>           
                  </hbj:formLayoutCell>            
                </hbj:formLayoutRow>
            </hbj:formLayout>   
         </hbj:groupBody>
     </hbj:group>
     </hbj:gridLayoutCell>        
Let me know if this helps!  Thanks, Angie.

Similar Messages

  • To find Common data in 2 columns in two different tables.

    Hi,
    Could someone help me out with a querry to find out common data from 2 columns in two different tables??
    Thanks
    Rajesh

    966915 wrote:
    suppose i hav 2 tables
    Table A
    s.No name EID
    1 aaa 123
    2 bbb 234 ... etc..
    and Table B
    S.no salary eid location
    1 mmm$ 123 india
    2 ddd$ 556 Uk
    3 fff$ 236 US
    How do i select the common entry in both the tables??why do you post in forum for SQL & PL/SQL; yet never post anything in either language?
    what do you mean by "common enrty"?
    does every column value must match exactly across 2 rows in different table?

  • Question about sampling data of same device from two different sub-vi

    Hi all:
    Now I am using NI 6040E DAQ card, 1001 chasis, SCXI-1102 (32 channel AI) , SCXI-1300, SCXI-1160 16-ch realy, SCXI-1324 to implement  measurement data collecting.
    But I meet a problem, when I  run two sub-vi at same time, and sampling data from different channel the SCXI-1001 chasis. 
    (For example:    in the 1st sub-vi, the system samples data from channel 0-10. and  in the 2nd sub-vi,  the data from channel 11 should be collected)
    It seems, it is not possible,  anybody have a good idea about it.
    Best regards

    Hi Hanwei,
    All the channels in the SCXI use the same multiplexer, ADC and sample clock; that is the reason why it is not possible to run multiple applications in one SCXI module. There is a knowledge base that could be helpful in this case: Can I Use One SCXI Module in Multiple LabVIEW Applications at the Same Time? Hanwei, is there a specific reason why you have the acquisition separated into two different tasks? Is it possible to have channel 11 in the same task with the other channels?
    Regards,
    Ana P
    National Instruments
    Applications Engineer

  • Filename seperately & Putting data from Hash Map to two different columns

    The following code produces the output as :
    $ java getNamefile
    File Name : reaper.txt
    File Name : Testing
    Is it possible to just get the file name "reaper" from it instead of reaper.txt
    import java.io.*;
    class getNamefile
         public static void main(String[] args)
              File f1 = new File("C:/javamyprograms/reaper.txt");
              File f2 = new File("C:/javamyprograms/Testing/");
              System.out.println("File Name : " + f1.getName());
              System.out.println("File Name : " + f2.getName());
    }Secondly I am trying to put the values from a HashMap into ".xls"
    PrintWriter out = new PrintWriter (new FileWriter("Unique_words_count" + file) + ".xls");
    and out.write(key + " " + hm.get(key));
    This put the values in the same columns. I want the results to be two different columns like
    column1 column2
    key1 value1
    key2 value2
    Please do advise. Thanks in advance.

    Is it possible to just get the file name "reaper"from it instead of reaper.txtActually, I ran a test, and
         System.out.println(  "file name portion == " + ( f.getName().split( "\\." ) )[ 0 ] );works also:
    This has the same effect as:
         String fileName = f.getName();
         String splitFileName[] = fileName.split( "\\." );
         System.out.println(  "file name portion == " + splitFileName[ 0 ] );Now that I think about it, the second form is more easily understood. There is really no reason to do it the first way. Just interesting to note that you can.

  • Collecting data from advantech-usb4704 with two different apps at the same time

    I wonder if I can access to Advantech-4704 with two different applications at the same time?
    I use this block in my vis.
    I have enough ports, but inputs are needed in completely different applications. Do I have to close one of them or can they run simultaneously?
    Thankyou!

    Dear gtu,
    as nathand said, usually it is not supported to access the same physical resource simultaneously from multiple programs. In case of DAQmx for instance, you will get an error message which says that the resource is already reserved. I suppose the same would happen with your driver, however it might be worth a try.
    One workaround could be however if you revise your applications and merge the codes if it is possible so that no concurent resource allocation takes place.
    Best Regards,
    Adam Cseh
    Applications/Systems Engineer
    National Instruments

  • How does one access data in the cloud from two different computers

    This isn't a problem but a question anticipating a possible problem.
    I have a MacBook Air running os X (version 10.8.2) and a desktop iMac runing 10.7
    I notice that when I create a PAGES document on the Macbook Air, it automatically saves to the cloud with a tef extension unless I force the file to save to the hard drive.  Data on the hard drive is backed up, of course.  But there are files saved to the cloud that are not saved to my external time machine drive.
    If I lost the drive on the MacBook Air, can I retrieve the files in the cloud?  I have the other computer, but I don't think that OS 10.7.x can access those cloud files and I've been told that the iMac can not be upgraded to 10.8
    Even if I could load 10.8 on the IMac--how would I get to those files if I am not on my personal MacBook Air?  What's the key to retrieving that data?  I've checked some of the manuals that I have and they very happily tell you how to save files to the cloud.  There's no discussion on what to do if things go wrong. 
    I know how I would retrieve my oracle data here at work if I was sitting at another terminal--what's the equivalent process if I was sitting at another mac machine?

    Documents saved via the applications in 10.8 can be accessed from iCloud.com on any computer providing you have a mobile iWork application.
    Whilst documents are saved to iCloud on your 10.8 Mac, they are also written locally and therefore backed up with something like Time Machine.
    if you did update your 10.7 Mac, things would merely become easier, you could access documents saved in (say) pages on one Mac in Pages on the other.

  • HT201210 Error 9 keeps coming up every time I'm trying to restore my iPhone. My computer is up to date, and i have used two different usb's charges

    Help please.

    Hello kindabrown
    That error code relates to security software preventing access to Apple update servers. Check out the article below on how to resolve that and get your husbands iPhone to restore.
    Resolve issues between iTunes and security software
    http://support.apple.com/kb/TS3125
    Regards,
    -Norm G.

  • Customer Standard page is behaving differently in two different instances Y

    HI Guru's,
    I am querying the data in one Customer standard page in support6 instance for eg: 27868 is a Acccount Number we are searching for this and we are getting the Data in this instance here the thing is the Account is Inactive and we can view even Inactive customers in this.
    Now we are seraching for the Customer Number(Acct. Number) same : 27868 in Support 3 instance now here the magic thing i found is i am unable to get the Data in this intance here this one also in backend it is Inactive Customer and this is also a Standard page there is no customization for this.
    Why these two instances are behaving like this if i search for a Same Account Number in Customer search page its a oracle standard page there is no customization.
    Support 6 -- Is Multi node having 2 nodes
    Support 3 -- Is Multi node having 3 nodes .
    Previously we have perform one customization we have changed the query in both the instances same query then also it is behaving like previous one, So we plan to remove the complete customization to both of the instances and tried so we are facing this Issue.
    Note : Support 6 having some Oracle Patches is different from Support 3 Patches means some patches is not applied in Support 3 instances.
    So, is there any issue of those patches and these are not OAF Patches its some Apps Patches.
    Please it's a High Priority issue for me so OAF Guru's update me your valuable answers to me so that i can check out why it is behaving like this.

    Hi
    I have removed my personalizations and customizations in all nodes like this,
    begin
    jdr_utils.deletedocument('/oracle/apps/ar/hz/components/search/server/customizations/site/0/HzPuiDQMSrchResultsVO');
    end;
    Commit ;
    begin
    jdr_utils.deletedocument('/oracle/apps/ar/hz/components/search/webui/customizations/site/0/HzPuiDQMSearchResults');
    end;
    Commit ;
    Next i have run jdr_utils.printdocument also in all the instances so i got these output
    Error: Could not find document /oracle/apps/ar/hz/components/search/server/customizations/site/0/HzPuiDQMSrchResultsVO
    Error: Could not find document /oracle/apps/ar/hz/components/search/webui/customizations/site/0/HzPuiDQMSearchResults
    in all the instances same , so now its a standard functionality right because i have reverted back my customizations.
    i have these two scripts because 1. this is for Vo substitution removed and 2. this is for two new attributes that i added before that was removed.
    Even i have checked the "About this page" link and then we tried to see the query and we got the standrad query only.
    Yes DBA bounced all the 3 nodes for Support 3 and in Support 6 also he bounced 2 nodes.
    The Database has only 1 common node and 1 $java_Top which is shared for all the 3 nodes for support 3 instance and for Support 6 instance that is diffrent $Java_Top .
    Edited by: Kiran Paspulate on Nov 16, 2012 1:43 PM

  • Update Statement Works Differently on Two Different Systems

    I write the code
    Data:  it_eaus like eaus occurs 0 with header line,
            wa_eaus type eaus.
    select * from eaus into table it_eaus where auszbeleg = '000000000001'  and storausz = 'X'.
    if sy-subrc = 0 .
    wa_eaus-aedat = ''.
    wa_eaus-aenam = ''.
    wa_eaus-storausz = ''.
    modify it_eaus from wa_eaus transporting aedat aenam storausz where auszbeleg = '000000000001'.
    update eaus from table it_eaus.
    endif.
    Data:  it_eausv like eausv occurs 0 with header line,
            wa_eausv type eausv.
    select * from eausv into table it_eausv where auszbeleg = '000000000001'  and storausz = 'X'.
    if sy-subrc = 0 .
    wa_eausv-aedat = ''.
    wa_eausv-aenam = ''.
    wa_eausv-storausz = ''.
    modify it_eausv from wa_eausv transporting aedat aenam storausz where auszbeleg = '000000000001'.
    update eausv from table it_eausv.
    endif.
    In One system Update Statement Updates the EAUS Table after Update Statement and
    in other system Update Statement Updates the EAUS Table after completion of all the code.
    Will you please help me on that?

    Hi Prashant,
    Thanks for your reply
    But the issue is the above code is working in one system and update the table after
    staement 
    update eaus from table it_eaus.
    But in another system it is not updated at this system it updates the record after completion on program.

  • Why does the text display differently on two different computers?

    I created a Keynote presentation on my G5 which contains some slides with type. I copied the presentation to my MacBook Pro, which I use for presentations, and the text moved! I had some that was fine, but some where the whole text block moved and some text that reflowed. I did not get any font error messages and both computers are using the same fonts which I control using Suitcase Fusion. Any suggestions?
      Mac OS X (10.4.9)  

    That’s a lot of work for nothing, IMO. You could just convert the text to an MSO or even a scrolling frame using this method:
    http://boblevine.us/digital-publishing-suite-101-keep-text-sharp-in-raster-slideshows/
    All that said, what are the settings in the web content pane in the folio overlays panel.

  • Why is the appearance of a specific different on two different computers that I use?

    The normal appearance should be with the various pages displayed horizontally. On one computer, they have started to appear vertically and are semi-obscured. On a third machine it appears correctly. It also appears correctly through IE8

    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • How to load data from a flat file to two different tables at a time.

    I am not aware of Sql Loader so Please any body suggest me that is there any way to load data from excel sheet to two different tables at a time its very urgent.
    with regards,
    Srinivas.R

    Read Utilities Guide from the Oracle Documentation Library. See
    <br>
    Oracle Database FAQs
    </br>

  • Loading master data from two different infosource.

    Hi Experts,
    I would like understand the mechanism behind loading data to masterdata infoobject from two different infosource.
    Ex: I have one master data infoobject called A and it has 4 attributes B C D E.
    now I am loading values for A B and C from INFOSOURCE1
           D and E is getting loaded from INFOSOURCE2.
    could ne one please explanin how this works and how all five values get merged in single record?
    Please help
    Best Regards
    Falgun

    Dear Falgun,
    Component of an InfoSource:
    An InfoSource is always a quantity of InfoObjects that logically belong together and are updated in data targets.
    a. <b>InfoSources with flexible update</b>
    An InfoSource with flexible update can be updated in any data targets (with the exception of hierarchies). Update rules are created for this InfoSource.
    InfoObjects can be used in as many InfoSources and data targets as you like.
    b. <b> InfoSources with direct update</b>
    Using an InfoSource with direct update, master data (characteristics with attributes or texts) for an InfoObject can be written directly (without update rules) to the master data table.
    Visit the following link for more information:
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    Hope this is helpful.
    Regards,
    Naveen.

  • Smart forms--In different pages i require two different main windows

    In one smartform, I am having two pages. and two pages are having different formats
    First page will print repeatedly till the completion of main window1.
    Now i want to add another main window(2) to second page, it will also should print repeatedly till the completeion of main window(2).
    But in first page main window contains 5 coloumns with subtotal
    in second page main window contains 3 columns without subtotal
    Both main windows are using same internal table.
    can anybody help me in this issue.
    If i copy first page main window into second page as main window with diferrent name, then it is showing blank window with out any text why?
    pls hepl me
    Madhavi T

    Try to do it like this, separate the data in internal table to two different tables, since data should be printed on two different formats...
    Design two page in your smartform according to the requirment. now goto first page and set the next page as FIRST
    now goto second page that you have created and set the next page as SECOND.
    loop the first internal table in first page and once all the entries are finished, try to goto second page for doing this place command and tick the check box in command, goto next page and select the page as Second...
    I guess this will solve your issue.
    close the thread once your question is answered.
    Regards,
    SaiRam

  • Mac mini server on two different location

    Hi,
    With my partner we are working on very havy image file from two different location. we wont to be able to share those file to each other easly and quickly mad make sur those file are allways up to date.
    - My first idea was to install in my place one mac mini server with external hard drive (RAID 0) and install the same server in my partner place. then I would like to create a VPN connexion between both Mac Mini server and setup a kind of RAID 1 between then. link that if my partner modify an image file on the server, With a short delay I will be able to see it on my side. this solution would be the best for me as all the data would be save in two different location and I would not have any backup issue.
    I did not buy the MAC mini server yet but as soon that I know the best soluiton and that it is possilbe to do so I will buy it.
    - My second idea (if the first one is not possible or if you guy's convins me that my idea is stupide) would be to have one MAC Mini server in one location setup with an external hard drive in RAID 01. my partner will need to connect to this server through VPN. This solution seems to be a good option but my partner will need to copy the file in local to work on it (few Gb eatch file) and copy it back on the server when he finish to work on it.
    With this solution I will also need to organise manual backup through another hard drive to avoid to have all our data in the same location.
    Witch one of those solution seems the best and can work with MAC mini server? If you have another idea for my situation I m more then happy to read it.
    Knowing that other user may need to access to my file, is the MAC Mini server VPN connection safe and fast?
    Thank you in advance for your help.
    Chris.

    The fact that you are both working on multi-gigabyte
    files, the statement BDAqua made about network speed
    is a big issue.  Small incremental changes in a single
    multi-gigabyte file still require that entire file to be transferred.
    There in lies the big issue with network speeds.
    Basically, it seems idea 1 will probably not work well and
    besides, RAID is for local drives and not for over networks.
    One solution to the synchronization issue is have a single
    computer that has the application and the data and log into
    it and work remotely.  However, it sounds like these are image
    files and working and any kind of graphics over a remote
    connection is problematic unless there is a very high speed
    network connection.
    Second idea is the simple solution.  As for the backup, that
    can be automated with backup software and the backup could be
    put any where.

Maybe you are looking for

  • EE is committed to providing excellent "Customer Service"

    I act on behalf of the account holder, my sister Ms Katharine ***** who is unable to deal with the account due to being registered with mental illness. She has difficulty processing too much information and at times back ground noise and general conv

  • Post incoming payment process open items error message

    Hello,   When doing incoming payment process for open items one error message shows :"The difference is too large for clearing". It seems I have to input some amount in cash discount area.But actually the case discount amount is 0 in SO condition. Co

  • ADF-Master detail-Foreign key generated By Trigger won't propaget to Detail

    Hi All, We have Master-Detail Table where Master table key is generated by DB. And this key act as Foreign key in detail table.When we Creates Master Table records and commit it .It gets saved correctly But when we navigate to Create Detail record (C

  • ?????? Question mark instead of file bar

    I wrote a program and use the function module 'REUSE_ALV_GRID_DISPLAY' to output an ALV grid.   My grid comes up fine, but the drop down menu at the top of the screen -- the one that usually says 'Program  Edit Goto System Help' now looks like this:

  • Does PSE 12 download and edit raw NEF files

    I have a new Nikon D7100 and PSE 10.  PSE 10 does not support Raw NEF files from this camera.  Does PSE 12 download and edit Raw files from the D 7100?