Edit csv

Hello everyone, I have a small script that loads data from a CSV file into a listbox, I wonder how do I replace a selected data by a new one that will be typed in EditText and saving the change in the CSV, I have a script that I add new text at the end of the CSV more need to edit existing data, does anyone have any idea how to do this?.
I thank

I'm sorry but i can not explain well.
example:
csv:
test1
test2
test3
Test20
these data are loaded into a listbox, after I select one of the data eg test3 this information is loaded into a EditText after I change the edittext test3 to test003 and would like to push a button this test003 replace in same position getting
test1
test2
test003
Test20
I can just add using the append command but is well
test1
test2
test3
Test20
test003
Sorry but my english is too poor.

Similar Messages

  • Edit CSV files present in document library using Microsoft Excel

    Hi all
    I have a document library with CSV files uploaded. I have used the below mapping in DOCICON.xml present in \14\TEMPLATE\XML folder.
    <Mapping Key="csv" Value="csv16.gif" EditText="Microsoft Excel" OpenControl="SharePoint.OpenDocuments"/>
    And I modified mime type with "application/vnd.ms-excel" for csv in IIS7. Now, when i click on the file  popup is getting displayed with 2 Radio Buttons.
    1) Read Only
    2)Edit
    When i select "Read Only", the file is opening in Microsoft Excel in readonly mode But when i select "Edit", the file is opening in Note pad and its editable.
    Now, My requirement is to edit the csv file in Microsoft Excel not in NotPad.
    Can Any one help me to acheive this!! Thanks in advance.

    Try below:
    http://nickgrattan.wordpress.com/2011/01/05/sharepoint-opening-csv-files-with-microsoft-excel/
    Run the “Internet Information Services (IIS) Manager” application from the Start/Administrative tools menu.
    Select the server in the left-hand pane.
    Select “MIME Types” in the list of options in the middle pane.
    Then locate the .CSV entry (it should already exist) and change the MIME type to: application/vnd.ms-excel, and click
    OK.

  • Edit .CSV file in StarBase

    Can I edit a .CSV file with StarBase? I've been able to open the file, but can't edit. I created a data entry form, but it opens in read only mode.
    I'm not all that familiar with databases, so please excuse my ignorance.
    Dave

    Hi,
    Here's a short walkthrough:
    grab the csv (Import-Csv).
    cycle through each line in the imported csv
    if the group column doesn't exist already, add a Member named Group
    This command executes, if the userID begins with sim:
    If ($_.ID -like "sim*")
    # Do something
    Else
    # Do something else
    Set $_.Group to admin if the condition is met
    finally, export the result to csv again (Export-Csv)
    Cheers and good luck with making this work,
    Fred
    There's no place like 127.0.0.1

  • Importing CSV dates - wrong format

    Hi,
    I have some CSV data I want to import into Numbers and the CSV has dates. I work with "British" style dd/mm/yy dates but the CSV is "American" mm/dd/yy. How can I persuade Numbers to translate between the two styles?
    Thanks,
    Dave

    Run this script or drag & drop the csv on the script icon (saved as an application).
    The embedded dates will be changed from US format to English (French) one.
    The edited csv file will be saved in the Temporary items folder an opened by Numbers.
    --[SCRIPT csvUStocsvUSEN]
    --=====
    Yvan KOENIG (VALLAURIS, France)
    2011/01/04
    --=====
    property theApp : "Numbers"
    property permitted : {"public.comma-separated-values-text", "public.csv"}
    --=====
    on run
    if my parle_anglais() then
    set myPrompt to "Choose a csv file…"
    else
    set myPrompt to "Choisir un fichier csv…"
    end if -- parleAnglais
    set allowed to my permitted
    if 5 = (system attribute "sys2") then (*
    it's Mac OS X 10.5.x with a buggued Choose File *)
    set allowed to {}
    end if -- 5 = (system…
    my commun(choose file with prompt myPrompt of type allowed without invisibles) (* un alias *)
    end run
    --=====
    on open (sel)
    my commun(item 1 of sel) (* an alias *)
    end open
    --=====
    on commun(le_csv)
    local uti, en_texte, nom_fichier, p2t
    tell application "System Events"
    try
    set uti to type identifier of disk item ("" & le_csv)
    on error
    set uti to "???"
    end try
    end tell
    if uti is not in permitted then
    if my parleanglais() then
    error "The document “" & le_csv & "” isn’t a csv one !"
    else
    error "Le document « " & le_csv & " » n’est pas un fichier csv !"
    end if
    end if
    set les_lignes to paragraphs of (read le_csv)
    repeat with l from 1 to count of les_lignes
    set une_ligne to item l of les_lignes
    if une_ligne contains "/" then
    set une_ligne to my decoupe(une_ligne, ",")
    repeat with c from 1 to count of une_ligne
    set maybe to my decoupe(item c of une_ligne, "/")
    if (count of maybe) = 3 then
    set item c of une_ligne to my recolle({item 2 of maybe, item 1 of maybe, item 3 of maybe}, "/")
    end if -- count of maybe…
    end repeat
    set item l of les_lignes to my recolle(une_ligne, ",")
    end if
    -- set item l of les_lignes to my remplace(item l of les_lignes, ",", ";") -- Useful for French systems
    end repeat
    set en_texte to my recolle(les_lignes, return)
    set nom_fichier to (do shell script "date +%Y%m%d%H%M%S.csv")
    set p2t to (path to temporary items from user domain)
    set lenouveaucsv to ("" & p2t & nom_fichier)
    tell application "System Events" to make new file at end of p2t with properties {name:nom_fichier}
    set la_longueur to count of en_texte
    write en_texte to file lenouveaucsv
    tell application "System Events"
    repeat while size of file lenouveaucsv < la_longueur
    delay 0.2
    end repeat
    end tell
    tell application "Numbers" to open file lenouveaucsv
    end commun
    --=====
    on decoupe(t, d)
    local oTIDs, l
    set oTIDs to AppleScript's text item delimiters
    set AppleScript's text item delimiters to d
    set l to text items of t
    set AppleScript's text item delimiters to oTIDs
    return l
    end decoupe
    --=====
    on recolle(l, d)
    local oTIDs, t
    set oTIDs to AppleScript's text item delimiters
    set AppleScript's text item delimiters to d
    set t to l as text
    set AppleScript's text item delimiters to oTIDs
    return t
    end recolle
    --=====
    replaces every occurences of d1 by d2 in the text t
    on remplace(t, d1, d2)
    local oTIDs, l
    set oTIDs to AppleScript's text item delimiters
    set AppleScript's text item delimiters to d1
    set l to text items of t
    set AppleScript's text item delimiters to d2
    set t to l as text
    set AppleScript's text item delimiters to oTIDs
    return t
    end remplace
    --=====
    on parle_anglais()
    return (do shell script "defaults read 'Apple Global Domain' AppleLocale") does not start with "fr_"
    end parle_anglais
    --=====
    -- [/SCRIPT]
    Yvan KOENIG (VALLAURIS, France) mardi 4 janvier 2011 09:39:38

  • Migrating large project from DSC 7.1 to LabView 2009 Shared Variables ... What's the next step after recreating my variables?

    I am in the process of migrating a large distributed (multi-workstation) automation system from the LabVIEW 7.11 DSCEngine on Windows XP to the LabVIEW 2009 Shared Variable Engine on Windows 7.
    I have about 600 tags which represent data or IO states in a series of Opto22 instruments, accessible via their OptoOPCServer. There are another 150 memory tags which are used so the multiple workstations can trade requests and status information to coordinate motion and process sequencing.  Only one workstation may be allowed to run the Opto22 server, because otherwise the Opto22 instruments are overwhelmed by the multiple communications requests; for simplicity, I'll refer to that workstation as the Opto22 gateway.
    The LabVIEW 2009 migration tool was unable to properly migrate the Opto22 tags, but with some help from NI support (thank you, Jared!) and many days of pointing and clicking, I have successfully created a bound shared-variable library connecting to all the necessary data and IO.  I've also created shared variables corresponding to the memory tags. All the variables have been deployed.
    So far, so good. After much fighting with Windows 7 network location settings,  I can open the Distributed System Manager on a second W7/LV2009 machine (I'll refer to it as the "remote" machine henceforth) and see the processes and all those variables on the Opto22 gateway workstation. I've also created a few variables on the remote workstation and confirmed that I can see them from the gateway workstation.
    Now I need to be able to use (both read and write) the variables in VIs running on the remote workstation machine. (And by extension, on more remote workstations as I do the upgrade/migration).
    I have succeeded in reading and writing them by creating a tag reader pointed at the URL for the process on the Opto22 gateway. I can see a way I could replace the old DSC tag reads and writes in my applications using this technique, but is this the right way to do this? Is this actually using the Shared Variable Engine, or is it actually using the DataSocket? I know for a fact that attempting to manipulate ~800 items via Datasocket will bog down the systems.
    I had the impression that I should be able to create shared variables in my project on the remote workstation that link to those on the Opto22 gateway workstation. When, however, I try to browse to find the processes on that workstation, I get an error saying that isn't possible.
    Am I on the right track with the tag reader? If not, is there some basic step I'm missing in trying to access the shared variables I created on the gateway workstation?
    Any advice will be greatly appreciated.
    Kevin
    Kevin Roche
    Advisory Engineer/Scientist
    Spintronics and Magnetoelectronics group
    IBM Research Almaden

    I have found the answer to part of my question -- an relatively easy way to create a "remote" library of shared variables that connect to the master library on my gateway workstation.
    Export the variables from the master library as a csv file and copy that to the remote machine.
    Open the file on the remote machine (in excel or the spreadsheet app of your choice) and (for safety's sake) immediately save it with a name marking it as the remote version.
    Find the network path column (it was "U" in my file).
    replace the path for each variable (which will be either a long file path or a blank, depending on the kind of variable) with \\machine\'process name'\variable name
    where machine is the name or ip address of the master (gateway) workstation (I used the ip address to make sure it uses my dedicated automation ethernet network rather than our building-wide network)
    and process name is the name of the process with the deployed variables visible in the Distributed System Manager on the gateway machine.
    NOTE the single quotes around the process name; they are required.
    The variable name is in the first ("A") column, so in Excel, I could do this for line 2 with the formula =CONCATENATE("\\machine\'process name'\",A2)
    Once the formula worked on line 2, I could copy it into all the other lines.
    Save the CSV file.
    Import the CSV into the remote library to create the variables.
    Note: at this point, if you attempt to deploy the variables, it will fail. The aliases are not quite set properly yet.
    Open the properties for the first imported variable.
    There is probably an error message at the bottom saying the alias is invalid.
    In the alias section, you'll see it is set to "Project Variable" with the network path from step 4.
    Change the setting to "PSP URL" with the same path and the error message should disappear.
    Close the properties box, save the library, and then export the variables to a new CSV file.
    Open the new CSV file in Excel, and scroll sideways to the NetworkrojectBound field.
    You'll notice it is False for the first variable, and true for the rest. Set the field FALSE for all lines in the spreadsheet.
    Scroll sideways... you'll notice there are two new columns between NetworkrojectPath and Network:UseBinding
    The first one is NetworkingleWriter; it should already be FALSE for all lines.
    The second one is Network:URL. That needs to be set equal to the value for each line of NetworkrojectPath.
    You can accomplish this with a formula like in step 4. In Excel it was =U2 for line 2, and then cut and paste into all lines below it.
    There is a third new field, Path, which should already be set to the location of the variable library. You don't need to do anything with it.
    Save the edited CSV file.
    Go back to the remote library, and import variables from the just-edited remote library CSV file.
    Once you have imported them and the Multiple Variable Editor opens, click on done.
    You should now be able to deploy the remote variable library without error. (Make sure to open the Distributed System Manager and start the local variable engine. It took me a few failures before I realized I had to do that before attempting a deployment).
    Voila! You now have a "remote" library of shared variables that references all the shared variables on the master machine, and which should be deployable on other machines with very little difficulty.
    It actually took longer to write out the process here than to perform these steps once I figured it out.
    Kevin Roche
    Advisory Engineer/Scientist
    Spintronics and Magnetoelectronics group
    IBM Research Almaden

  • Flat File upload into Planning Book

    Hi all,
    I want to upload the data into the Planning Book through "Upload Data" in Interactive Demand Planning. While saving data it is saving perfectly in .CSV file. While i made some changes in the Csv file and i have tried to load the data again into the Planning Book, the values are not coming perfectly. The period values are distributing to other periods.
    For Ex:
                                                        01/2008    02/2008 
    Adjusted Statistical Forecast Qty   613,456     756,456
    I have saved the data in a .csv file and made changes to the values like 613,457 and 756,460 like that and saved the changes. But while coming into the Planning Book it is coming like this
    01/2008     02/2003  03/2008  04/2008
    613            456        756        456
    but i need to shoe the values as like as i uploaded data.
    Any one pl suggest me what are the changes/ prereuisites i have to take in this particular scenario.In the mean time it is very urgent.

    You mentioned that "I made some changes in the CSV file." in your first message.  What software did you use?  A text editor?  A spreadsheet program?  A database program?
    I usually inspect the downloaded file first using Microsoft Notepad or similar.  See what character is being used as the delimiter, and see what characters (if any) are being used to indicate a string field.  This format will probably be what SAP will expect during the upload.
    I usually edit CSV files in Microsoft Excel if they are not too big. 
    If you are using Excel, you should also heed the advice of Sean Mawhorter.  Make sure your version of Excel is using the proper delimiter when it exports to CSV.  Various versions commonly found  in Europe use "." as default.  For that matter, SAP may be expecting something other than a comma as a delimiter.  There is no universally accepted industry standard for CSV format.
    Once you have exported to CSV, again inspect the file to ensure that the format matches the downloaded format.  
    There is a basic primer on CSV files in Wikipedia at http://en.wikipedia.org/wiki/Comma-separated_values

  • MC container causes this code to fail...why ?

    Hi
    Flash CS5 as3
    We have settlements named with suffix _Level2 such as e.g. Mitre'sGate_Level2 as well as _Level3 as MovieClips that are in a container MovieClip called Map_Collection.
    The code below fails with the error shown if the code line shown in bold is used, it works with:-
    var clipName :String = String(e.item[s]).replace(r,"")+currentLevel;             if the settlements are placed directly on stage.
    The code identifies _Level2 or Level3 at end of button name e.g. DistrictA_Level2 and appends it to the dataGrid output on the MouseHover.
    What should the code read to resolve this problem that we have poured heart and soul into for 2 hours ?
    Error is:-
    Map_Collection.Mitre'sGate_Level2
    TypeError: Error #1010: A term is undefined and has no properties.
    at BusMap_fla::MainTimeline/ShowSymbols()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at fl.controls::SelectableList/handleCellRendererMouseEvent()
    at fl.controls::DataGrid/handleCellRendererMouseEvent()
    Code is:-
    dg.addEventListener(ListEvent.ITEM_ROLL_OVER,ShowSymbols);
    function ShowSymbols(e:ListEvent):void{
    makeAllVisibleF(false);
    var r:RegExp = /\W/g;
    for(var s:String in e.item){
    //trace(currentLevel)
    if(e.item[s]){
    var clipName :String = String(e.item[s]).replace(r,"")+currentLevel;
    trace(clipName)
    this[clipName].visible=true;
    trace(s,e.item[s])
    function makeAllVisibleF(b:Boolean):void{
    Mitre'sGate_Level2.visible=b;
    UpperDowning_Level2.visible=b
    //Map_Collection.Tamar Brook_Level3.visible=b;
    Map_Collection.Mitre'sGate_Level2.visible=b;
    This code works on sttmnts directly on stage.
    I show here an extract of the code visible=b; that follows it. we have such for every sttmnt. The first two lines are for those not in the MC container.
    if we use:-
    var clipName :String = "Map_Collection."+String(e.item[s]).replace(r,"")+currentLevel;
    which is our best stab after trying various options, it fails with error above.
    My compatriot says, in code !!!  
    // This is what we want
    Map_Collection.Mitre'sGate_Level2.visible=true
    //This doesn’t work
    Map_Collection.this[clipName].visible=true
    //This works, when Mitre'sGate_Level2 is placed on the stage
    Mitre'sGate_Level2.visible=true
    //Placing Mitre'sGate_Level2 in movie clip Map_Collection How do we get it to work
    We tried a variety of  options, even replacing 'this' with Map_Collection.., my best stab,  just what should the code be ?
    Envirographics

    Hi,
    Not sure of that, (also now have edited csv to no gaps or apostrphes, still it fails) ...because the code I posted is the code we are successfully running in a test file where there is a dataGrid fed a csv with such as Mitre's Gate Collet's Reach etc.  This code removes the  apostrophes and gaps when user hovers datagrid, MC's spelt MitresGate etc are identified and appear, then hide again when another row is hovered. Note also as said, Mitre's Gate outside of MC Map_Collection is found and shows.
    The code in this test file (which is 3 columns) is:-
    import flash.net.URLLoader;
    import flash.events.Event;
    import flash.net.URLRequest;
    import fl.data.DataProvider;
    import fl.controls.DataGrid;
    import fl.events.ListEvent
    makeAllVisibleF(false);
    var urlLoader:URLLoader = new URLLoader();
    urlLoader.addEventListener(Event.COMPLETE,completeF);
    urlLoader.load(new URLRequest("NamesWithNullCellsGapsApostrophes.csv"));
    var dg:DataGrid
    function completeF(e:Event):void{
        var dataS:String = e.target.data;
        var dataA:Array = dataS.split("\n").join("").split("\r");
        var dpA:Array = [];
        var itemA:Array;
    var r:RegExp = /\W/g;
        for(var i:int=0;i<dataA.length;i++){
            itemA = dataA[i].split(",");
             dpA.push({"col1":itemA[0],"col2":itemA[1],"col3":itemA[2]});
    var dp:DataProvider = new DataProvider(dpA);
        dg.columns = ["col1","col2","col3"]
        dg.dataProvider = dp;
    dg.addEventListener(ListEvent.ITEM_ROLL_OVER,ShowSymbols);
    function ShowSymbols(e:ListEvent):void{
    makeAllVisibleF(false);
    var r:RegExp = /\W/g;
    for(var s:String in e.item){
    if(e.item[s]){
    var clipName :String = String(e.item[s]).replace(r,"");
    this[clipName].visible=true;
    trace(s,e.item[s])
    function makeAllVisibleF(b:Boolean):void{
    We have introduced to that the code by Kglad, or so we hope, that appends to the output from OnHover  _Level2 or _Level3 depending on which District button is clicked on, DistrictA_Level2 or DistrictA_Level3.
    Just to recap/describe what we are aiming at, a map has 6 districts, user clicks District A button named in instance DistrictA_Level 2and is taken to that District, a dataGrid appears and when user hovers a row, the settlements for that layer of the map, e.g. Mitre's Gate_Layer2  appear. csv just has Mitre's Gate. user clicks on DistrictA_Level3 button and hover will show Mitre's Gate_L
     evel3 symbol. 
    Kglad code:-
    var currentLevel:String="_Level2";
    dg.addEventListener(ListEvent.ITEM_ROLL_OVER,ShowSymbols);
    function ShowSymbols(e:ListEvent):void{
    makeAllVisibleF(false);
    var r:RegExp = /\W/g;
    for(var s:String in e.item){
    if(e.item[s]){
    var clipName :String = String(e.item[s]).replace(r,"")+currentLevel;
    this[clipName].visible=true;
    trace(s,e.item[s])
    and when asked how one gets the Level2 into that var when user clicks on e.g. DistrictA_Level2
    we now have, for the 12 buttons we have named, reply from Kglad
     :-• DistrictA_Level2.addEventListener(MouseEvent.CLICK, clickF);
    DistrictB_Level2.addEventListener(MouseEvent.CLICK, clickF);
    DistrictF_Level2.addEventListener(MouseEvent.CLICK, clickF);
    DistrictA_Level3.addEventListener(MouseEvent.CLICK, clickF);
    DistrictB_Level3.addEventListener(MouseEvent.CLICK, clickF);
    DistrictF_Level3.addEventListener(MouseEvent.CLICK, clickF);
    var currentLevel:String;
    function clickF(e:MouseEvent):void{
    currentLevel="_"+e.currentTarnget.name.split("_")[1];
    for the moment we are focusing on getting it operational on just button DistrictA_Level2
    As said works fine if MC Mitre's Gate sits on stage, so the apostrophy and gap stripping is working as is the appending of the wording after and including the _ from the District button !  Place the settlement MC into Map_Collection MC and it fails.
    Envirographics

  • Domain Value Lookup for EMPLOYMENT CATEGORY CODE in the W_EMPLOYMENT_D

    Hello friends,
    When I query the EBS with following code to put the data in the configuration file
    SELECT DISTINCT SYSTEM_PERSON_TYPE, USER_PERSON_TYPE
    FROM PER_PERSON_TYPES
    WHERE SYSTEM_PERSON_TYPE IN ('EMP','CWK','OTHER','EMP_APL','EX_EMP','EX_EMP_
    APL','RETIREE','PRTN')
    ORDER BY 1,2
    I get output as follows
    CWK     Contingent Worker
    EMP     Employee
    EMP_APL     Employee and Applicant
    EX_EMP     Ex-employee
    OTHER     Candidate
    OTHER     Contact
    OTHER     External
    PRTN     Participant
    RETIREE     Retiree
    So, I want to put the data in the configuration file, what about other columns.
    USER_PERSON_TYPE     SYS_PERSON_TYPE     W_EMPLOYEE_CATEGORY_CODE     W_EMPLOYEE_CATEGORY_DESC     W_EMPLOYEE_SUB_CAT_CODE     W_EMPLOYEE_SUB_CAT_DESC
    How should I fill the columns marked with bold.
    Please help

    I have the same problem. I currently have an open service request on this so will post any response I get from the oracle product manager. In the meantime here is a bit more detail on the issue...
    This is step
    Oracle® Business Intelligence Applications
    Configuration Guide for Informatica PowerCenter Users
    Version 7.9.6.1 E14844-01
    7 Configuring Oracle Human Resources Analytics
    7.2.2 Configuration Steps for Oracle HR Analytics for Oracle EBS
    7.2.2.3 How to Configure the domainValues_Employment_Cat_ora.csv
    http://download.oracle.com/docs/cd/E14847_01/bia.796/e14844.pdf
    The task is to map the 2 source dependent values (left hand side) to the 4 source independent domain (W_) values (right hand side). Unlike other similar steps in this case the set of possible domain values is ambiguous.
    On my system the source dependent values - the left hand side of the csv spreasdsheet are
    Agency Contractor,EMP
    Employee,EMP
    Ltd Company Contractor,EMP
    PAYE Contractor,EMP
    Employee and Applicant,EMP_APL
    Ex-Agency Contractor,EX_EMP
    Ex-employee,EX_EMP
    Ex-Ltd Company Contractor,EX_EMP
    Ex-PAYE Contractor,EX_EMP
    Ex-employee and Applicant,EX_EMP_APL
    Contingent Worker,CWK
    External,OTHER
    Candidate,OTHER
    Contact,OTHER
    Participant,PRTN
    Retiree,RETIREE
    the configuration document says
    "When editing CSV files, make sure that you: Do not add new values, other than the values present in the CSV file, to the columns with the name format W_ columns. In other words, if you add new rows to the spreadsheet, then the columns with the name format W_ values must map to those in the default spreadsheet. If you add new columns with the name format W_ values, then you must customize the affected mappings."
    The reason you should not change the domain values is because these values tend to be "hard coded" in the ETL/RRD/requests to provide the various metrics. "Incorrect mappings may result in inaccurate calculations of Oracle Business Intelligence metrics. Some sessions may fail if these procedures are not compiled in the database before running the workflows."
    the default out of the box lookup file
    domainValues_Employment_Cat_ora11i.csv
    has 7 mappings
    USER_PERSON_TYPE,SYS_PERSON_TYPE,W_EMPLOYEE_CATEGORY_CODE,W_EMPLOYEE_CATEGORY_DESC,W_EMPLOYEE_SUB_CAT_CODE,W_EMPLOYEE_SUB_CAT_DESC
    Employee,EMP,EMPLOYEE,Employee,EMP_REGULAR,Regular Employee
    Expatriate,EMP,EMPLOYEE,Employee,EMP_EXPATRIATE,Expatriate
    Temporary,CWK,CONTINGENT,Contingent Worker,CONTINGENT_TEMP,Agency/Temp
    Contingent Worker,CWK,CONTINGENT,Contingent Worker,CONTINGENT_CONTINGENT,Contractor
    Contractor,EMP,CONTINGENT,Contingent Worker,CONTINGENT_CONTRACTOR,Contractor
    Student,CWK,CONTINGENT,Contingent Worker,CONTINGENT_INTERN,Intern
    Trainee,CWK,CONTINGENT,Contingent Worker,CONTINGENT_TRAINEE,Trainee
    that gives 2 employment categories
    EMPLOYEE or CONTINGENT
    with 6 possible combinations with sub category
    EMPLOYEE,Employee,EMP_REGULAR,Regular Employee
    EMPLOYEE,Employee,EMP_EXPATRIATE,Expatriate
    CONTINGENT,Contingent Worker,CONTINGENT_TEMP,Agency/Temp
    CONTINGENT,Contingent Worker,CONTINGENT_CONTINGENT,Contractor
    CONTINGENT,Contingent Worker,CONTINGENT_INTERN,Intern
    CONTINGENT.Contingent Worker,CONTINGENT_TRAINEE,Trainee
    Normally the source independent W_* domain values, that is, the right hand side of the csv spreadsheet that you map your source values to, are listed in the Data Model Reference.
    My Oracle Support Document ID 819373.1 BIAPPSDMR796_RevA.pdf
    Oracle Business Analytics Warehouse Data Model Reference Version 7.9.6
    In this case - the domain values listed in the data model reference are ...
    Table 3–6 lists the values for the Employee Category domain value for W_EMPLOYMENT_D.
    //"W_EMPLOYEE_CAT_CODE","W_EMPLOYEE_CAT_DESC", "Source"
    "CONTRACTOR", "CONTRACTOR", "Oracle EBS, PeopleSoft"
    "DIRECT", "DIRECT", "Oracle EBS, PeopleSoft"
    "INDIRECT", "INDIRECT", "Oracle EBS, PeopleSoft"
    "OTHER", "OTHER", "Oracle EBS, PeopleSoft"
    "REGULAR", "REGULAR", "Oracle EBS, PeopleSoft"
    "TEMPORARY", "TEMPORARY", "Oracle EBS, PeopleSoft"
    This is confusing because
    i) the category values are differnet to those in default file (EMPLOYEE or CONTINGENT)
    ii) the DMR document has no listing of the possible sub categories
    So the question is - what do you map your source values to? The instructions are not clear! The only way I can think to find out for sure is to do an impact analysis of the ETL's / RPD / requests to find instances of hard coded values for the domain values.

  • Lms credentials

    Dear all,
    im getting the follwing error
    while i m uploading the file in Csv format
    by modifying the previous one
    Invalidfileformat: no Header information in the input file

    If you are using Excel to edit CSV's make sure to remove the extra characters in the CSV. Here is an example of a modified CSV using Microsoft Excel 2007
    // Microsoft 2007 Saved file with extra padded characters (BEFORE)
    ; This file is generated by DCR Export utility,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    Cisco Systems NM Data import, Source=DCR Export; Type=DCRCSV; Version=3.0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    ;Start of section 0 - Basic Credentials,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    ;HEADER: management_ip_address,host_name,domain_name,device_identity,display_name,sysObjectID,dcr_device_type,mdf_type,snmp_v2_ro_comm_string,snmp_v2_rw_comm_string,snmp_v3_user_id,snmp_v3_password,snmp_v3_auth_algorithm,snmp_v3_priv_password,snmp_v3_priv_algorithm,snmp_v3_engine_id,rxboot_mode_username,rxboot_mode_password,primary_username,primary_password,primary_enable_password,http_username,http_password,http_mode,http_port,https_port,cert_common_name,secondary_username,secondary_password,secondary_enable_password,secondary_http_username,secondary_http_password
    10.1.1.1,CoreSwitch1,test.com,,CoreSwitch1,,,,,,,,,,,,,,,,,,,,,,,,,,,
    ;End of CSV file,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    // You must clean up the extra characters (AFTER)
    ; This file is generated by DCR Export utility
    Cisco Systems NM Data import, Source=DCR Export; Type=DCRCSV; Version=3.0
    ;Start of section 0 - Basic Credentials
    ;HEADER: management_ip_address,host_name,domain_name,device_identity,display_name,sysObjectID,dcr_device_type,mdf_type,snmp_v2_ro_comm_string,snmp_v2_rw_comm_string,snmp_v3_user_id,snmp_v3_password,snmp_v3_auth_algorithm,snmp_v3_priv_password,snmp_v3_priv_algorithm,snmp_v3_engine_id,rxboot_mode_username,rxboot_mode_password,primary_username,primary_password,primary_enable_password,http_username,http_password,http_mode,http_port,https_port,cert_common_name,secondary_username,secondary_password,secondary_enable_password,secondary_http_username,secondary_http_password
    10.1.1.1,CoreSwitch1,test.com,,CoreSwitch1,,,,,,,,,,,,,,,,,,,,,,,,,,,
    ;End of CSV file

  • BI App Server

    Hi
    Like ECC APP server , is it possible  to read and edit CSV Flat files residing on the BI APP SERVER using ABAP routine?
    HOw ECC and BI app server differ?
    thanks

    1) Create a Function Module in ECC as a 'Remote-enabled module' (create 'Remote-enabled module' in the Attribute tabs of the FM in the Processing Type section), to perform the extraction processes.
    2) Create an ABAP program on BW that calls the FM on ECC.
    Here's a sample RFC call to a FM in an ABAP program that is set for dymically setting the environment to call.
    l_systemid = sy-sysid.
    CASE l_systemid.
      WHEN 'BWD'.
        l_dest = 'ECD'.
      WHEN 'BWQ' OR 'BWV'.
        l_dest = 'ECQ'.
      WHEN 'BWP'.
        l_dest = 'ECP'.
      WHEN OTHERS.
    ENDCASE.
    CLEAR l_logical.
    CONCATENATE sy-sysid sy-mandt INTO l_logical.
    CALL FUNCTION
      'ZBBP_SC_DETAILS'
    DESTINATION
      l_dest
    EXPORTING
      logical_system = l_logical
      co_code_from = r_bukrs-low
      co_code_to = r_bukrs-high
      prod_cat_from = r_matkl-low
      prod_cat_to = r_matkl-high
      pur_org_from = s_ekorg-low
      pur_org_to = s_ekorg-high
    TABLES
      t_work_item_get   = t_work_item_get.

  • HT2486 how can I export the contact book data to a csv file for editing?

    how can I export the contact book data to a csv file for editing?

    You can edit a card right in Contacts. No need to export and re-import.
    Select a name and on the right side, click the Edit button:

  • How to have concurrent CSV upload and manual edit in APEX on the same table

    Hi there,
    my users want to have csv upload and manual edit on apex pages functions together...
    it means they want to insert the data by csv upload and also have interactive report and form on the same table...
    so if user A changes something in csv file...then user B update or delete another record from apex fronted (manually in the apex form)...then after that user A wants to upload the csv file,the record was changed by user B would be overwritten ...
    So how can I prevent it?????

    Hi Huzaifa,
    Thanks for the reply...
    I'm going to use File Browser so that end users can upload the files themselves...
    after editing data by users...a manger going to review it and in case of approval , i need to insert the data to one final table....
    so it needs much effort to check two source tables and in case of difference between table of csv and other one...what to do...

  • Hi how to edit the text content in CSV

    Hi,
    I need to edit the text content in CSV using java script.
    The content goes like this..........
    "missing image No"
    need to replace "No" by "Yes"
    Thanks in advance

    > I need to edit the text content in CSV using java script.
    Something like this work. I haven't tested it but it pretty close :)
    var file = new File("~/somefile.csv");
    file.open("r");
    file.close();
    var str = file.read();
    var nstr = str.replace(/\bNo\b/g, 'Yes');
    file.open("w");
    file.write(nstr);
    file.close();
    -X

  • Edit Page;Report;Enable CSV Output;Apply Changes;Page Not Found;wwv_flow

    Hi,
    We have a really annoying error in our application, whereby we are unable to save ANY changes to report attributes if Enable CSV Output is Yes.
    I have many pages with Enable CSV Output set to Yes, and when run, the pages can indeed be exported to Excel, fine so far.
    However, if we do Edit Page, choose Report change Enable CSV Output to No, then apply changes the option is removed ok - BUT if we then set it back to Yes, when we apply changes again we get a Page Not Found error at this address ;
    http://sglas-sand.fm.rbsgrp.net:7780/pls/fdm_uat2/wwv_flow.accept
    We obviously dont need to keep changing this value, but the above demonstrates that our reports do currently support CSV output, but for some recent reason, trying to save a page where this option has been changed to Yes causes this crash.
    We also seem unable to change and save any other attribute when CSV Output is set to Yes. This leaves us in a tricky situation - unable to change our pages unless we are prepared to remove the Export option!
    We were wondering if the support of this this option requires any special processing / objects / etc to be availble / running. Any help greatly appreciated.
    John Nice
    Royal Bank of Scotland - Finance IT

    Hi Scott,
    Thanks for the reply. Our errors were like this in the log ;
    [Thu Feb 22 14:52:33 2007] [error] [client <private ip removed>] ] [ecid: 1172155953:<private ip removed>] :30306:0:1855,0] mod_plsql: /pls/fdm_uat2/wwv_flow.accept HTTP-404 ORA-06550: line 23, column 3:\nPLS-00306: wrong number or types of arguments in call to 'ACCEPT'\nORA-06550: line 23, column 3:\nPL/SQL: Statement ignored\n
    Versions are ;
    Database : 10.2.02
    HTMLDB : 2.2
    Apache : 10g release 2
    Regards,
    John
    Message was edited by:
    John @ RBoS

  • Editing imported CSV contact information?

    Hello, I have been searching everywhere and cannot find an answer, my guess is that Skype isn't smart enough to do this but figured I would ask...
    I am able to edit contacts that were added from Facebook and those that I have found through Skype, that is not my issue. My issue is that I have imported my contacts as a CSV file from my address book and those contacts, I cannot edit. When I right click on a name of a facebook contact it give me the option to View Profile and then Add Phone Number. If I right click a CSV added contact I can View Profile but CANNOT ADD PHONE NUMBER. 
    I am using the latest version 7.4.0.102, just checked the update. Any suggestions? All I want to do is edit/add  numbers to contacts. It would also be nice to delete some of the contacts as well (I can delete those that are facebook contacts)... 

    I have tried that, however, as it is not a song that I downloaded with iTunes (I had it in my music folder on my C: drive), the area is blocked out in grey so does not allow me to edit the information.
    Any other ideas I could try?

Maybe you are looking for