Using AppleScript To Pull Data From Number & Create Calendar Events

Today I tried running an AppleScript that I created a few years back that works with Number ’09 [version 2.3 (554)].  The script collects information from the active numbers table and creats an event in my calendar for each row of data in the table.  For some reason its not working with the current version of number.
Here is the script:
on run
  set cr to ASCII character 13
  set newline to return
  local dName, sName, tName, rowCount, workingCalendar, maintenanceType
  -- get general document information like document name, active sheet name, active table name & the number of rows in the active sheet
  set {dName, sName, tName, rowCount} to my get_document_information()
  -- get information needed to update a calendar in the calendar application like the calendar that needs to be updated and the type of maintenance that will be completed
  set {workingCalendar, maintenanceType} to my get_calendar_update_information()
  -- update calendar maintenance type so the computer can say it
  if maintenanceType = "add" then
  set maintenanceTypeChanged to maintenanceType & "ed"
  set lastpartofsentence to "to calendar"
  else if maintenanceType = "update" then
  set maintenanceTypeChanged to maintenanceType & "d"
  set lastpartofsentence to "in calendar"
  else if maintenanceType = "delete" then
  set maintenanceTypeChanged to maintenanceType & "d"
  set lastpartofsentence to "from calendar"
  end if
  say "Events will be" & maintenanceTypeChanged & lastpartofsentence & workingCalendar
  --determine if calendar already exists.  If it does not create it
  tell application "Calendar"
  set allCalendarTitles to the title of every calendar
  if allCalendarTitles contains workingCalendar then
  --do nothing
  else
  create calendar with name workingCalendar
  end if
  end tell
  set timedifferance to 4
  -- get event information for each row in active table
  say "table name is " & tName
  repeat with rownumber from 1 to rowCount
tell application "Numbers" to tell row rownumber of tName to set {cell04, cell05, cell06, cell07, cell08, cell09, cell10} to {value of cell 4, value of cell 5, value of cell 6, value of cell 7, value of cell 8, value of cell 9, value of cell 10}
  set cell07 to SearchReplace(cell07, "|", newline)
  tell application "Calendar"
  activate
  if maintenanceType = "Delete" then
  tell calendar workingCalendar to delete (first event whose summary contains cell04 and start date is equal to (cell05 + (timedifferance * hours)))
  end if
  if maintenanceType = "Update" then
  tell calendar workingCalendar to delete (first event whose summary contains cell04 and start date is equal to (cell05 + (timedifferance * hours)))
  tell calendar workingCalendar to set test to make new event at the beginning of events with properties {start date:cell05 + (timedifferance * hours), end date:cell06 + (timedifferance * hours), description:cell07, summary:cell04, location:cell10}
  end if
  if maintenanceType = "Add" then
  tell calendar workingCalendar to set test to make new event at the beginning of events with properties {start date:cell05 + (timedifferance * hours), end date:cell06 + (timedifferance * hours), description:cell07, summary:cell04, location:cell10}
  end if
  end tell
  end repeat
  say "Events have been " & maintenanceTypeChanged
end run
on get_document_information()
  -- Get general document information for later use
  local d_name, s_name, selectedTable, t_name, row_count
  tell application "Numbers" to tell document 1
  -- get document name
  set d_name to name
  -- get sheet name
  set s_name to name of active sheet
  -- get table name
  tell active sheet
  set the selectedTable to (the first table whose class of selection range is range)
  end tell
  tell selectedTable
  set t_name to name
  set row_count to row count
  end tell
  return {d_name, s_name, t_name, row_count}
  end tell
end get_document_information
on get_calendar_update_information()
  local strCalendarToWorkWith, strMaintenanceType
  tell application "Numbers"
  activate
  tell document 1 to tell sheet "General Information" to tell table "Table 1"
  copy value of cell "C9" to strCalenderToWorkWith
  copy value of cell "C12" to strMaintenanceType
  end tell
  return {strCalenderToWorkWith, strMaintenanceType}
  end tell
end get_calendar_update_information
on SearchReplace(sourceStr, searchString, replaceString)
  -- replace <searchString> with <replaceString> in <sourceStr>
  -- return SearchReplace(theString, ".", "<PERIOD>")
  set searchStr to (searchString as text)
  set replaceStr to (replaceString as text)
  set sourceStr to (sourceStr as text)
  set saveDelims to AppleScript's text item delimiters
  set AppleScript's text item delimiters to (searchString)
  set theList to (every text item of sourceStr)
  set AppleScript's text item delimiters to (replaceString)
  set theString to theList as string
  set AppleScript's text item delimiters to saveDelims
  return theString
end SearchReplace
When running the script in the current version of Numbers [version 3.2 (1861)] I receive the following error message:
Here is what the table looks like:
Can anyone help me correct this error/issue?
Thank you,
Brian

The error ocurs right after it speaks the table name?  The error is highlighting the suspect line in the first screenshot.
I think the "T" in the error is coming from the Table name, so try  replacing the line in question with this mess
          tell application "Numbers"
                    tell document 1
                              tell active sheet
                                        tell table tName
                         set {cell04, cell05, cell06, cell07, cell08, cell09, cell10} to {value of cell 4, value of cell 5, value of cell 6, value of cell 7, value of cell 8, value of cell 9, value of cell 10}
                                        end tell
                              end tell
                    end tell
          end tell
NB original was
tell application "Numbers" to tell row rownumber of tName to set {cell04, cell05,cell06, cell07, cell08, cell09, cell10} to {value of cell 4, value of cell5, value of cell 6, value of cell 7, value of cell 8, value of cell 9,value of cell 10}
I don't know Numbers & Applescripting so you'll probably need to work on it some more, I gleaned the 'tell document & tell active sheet, tell table' from the script near the bottom.
http://www.macosxautomation.com/applescript/iwork/numbers/table-populate.html
It's a little unclear to me where the 'get document' info comes from, since you are not telling Numbers within that part.

Similar Messages

  • How to use macro to pull data from custom infotype?

    Hi all,
    Is rp_provide_from_last p9004 space pn-begda pn-endda. works?
    i am getting all zeros .
    is using macros possible pull data from custom infotype? or only select?
    Regards
    sas
    For LDB PNPCE
    get peras:

    Hi,
    Try the following Macro it will solve out your problem,
    DEFINE rp_provide_from_last.
      rp_found = '0'.
      clear: rp_tabix.
      loop at &1.
        if &2 ne space.
          check &1-subty eq &2.
        endif.
        if &1-begda le &4 and &1-endda ge &4.
          rp_found = '1'.
          exit.
        endif.
        if &1-begda le &4 and &1-endda ge &3.
          rp_tabix = sy-tabix.
        endif.
      endloop.
      if rp_found eq '0'.
        if rp_tabix ne 0 .
          rp_found = '1'.
          read table &1 index rp_tabix.
        else.
          clear: &1.
        endif.
      endif.
    END-OF-DEFINITION.
    rp_provide_from_last <p????> space <begda> <endda>.
    Best Regards,
    Faisal

  • How To Use OATS To Pull Data From DB And Insert Data Back To DB

    Hi All,
    My requirement is little different.
    I'll explain the scenario,
    I am working on OTM application, as far as I have read OAST supports OTM and already test scripts are ready.
    My situation is as follows bellow,
    I need to pull data of a field for 18,000 shipments.
    I have an excel sheet in the format as bellow
    Shipment_Number
    Stop_Number
    Planed_Arrival_Date
    Planed_Departure_Date
    1
    1
    1
    2
    1
    3
    2
    1
    2
    2
    I was able to write script in OATS so that it logins to OTM and searches for the specified shipment number and capture the Planed_Arrival_Date and Planed_Departure_Date for the specific stop.
    But the problem is I am not able to save the date back to the excel.
    Solution Expecting:
    Some way to save the captured data back to excel.
    Some way to save the captured data back to a column in a table. if this is possible then some way to make OATS reade the shipment number from a column in database.
    Thanks,
    Vishwamber Shetty

    Hi Vishwamber,
    Try using Datatable in OATS. Using datatable you can read and write to Excel.
    Regards,
    Deepu Muraleedharan

  • Using ODI to pull data from IBM DB2

    Has anybody used IBM DB2 as a data source for essbase using ODI ? If so, do you have any tips, pointers specific to this DB2 specific situation, or better yet reading resources aside from the DBAG ?

    If you want to understand about the various knowledge modules and how to set up DB2 technology in ODI then have a read of :- http://download.oracle.com/docs/cd/E14571_01/integrate.1111/e12644/db2.htm#CHDBJIBH
    Once you have extracted the source db2 data then you would just use the IKM SQL to essbase data with a load rule to load data into essbase, I have covered loading data to essbase in my blogs.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Automated process to pull data from a web page without using VS and PS.

    Hello,
    I'm looking at finding a solution to pull data from an external web page and creating a list. I'm looking for a NON-POWERSHELL AND NON-VISUAL STUDIO solution. I am open to using InfoPath Designer.
    There exists a custom, non-SharePoint page built for us which has raw data. We've already created a custom list to match the data and now need to come up with a solution to automatically update the data. In this particular scenario, power shell and visual
    studio cannot be used.
    Thanks in advance.

    Why would you cripple yourself and restrict PowerShell at the very least which has perfect functionality for doing exactly that.
    I doubt you could use the InfoPath data sources to pull the raw data in, re-map it and save to SharePoint without resorting to some sort of coding within InfoPath.
    Please ensure that you mark a question as Answered once you receive a satisfactory response. This helps people in future when searching and helps prevent the same questions being asked multiple times.

  • Creating Rule file to pull data from OCI Interface

    Hi.
    I am new to OCI, I have worked on DSN method earlier to pull data from database.
    Can someone give me steps of how to pull data from OCI interface.
    My database is Oracle 11gR2 and I am using 11.1.2.2 Fusion version.
    Regards
    Mahesh Balla

    The following post may help - Re: Essbase Rules Files and OCI
    There have been a number of issues relating to data and using OCI, I am not sure whether they are all resolved in 11.1.2.2 so if you are using OCI make sure you validate the data once loaded into essbase.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Using ABAP DATA FLOW to pull data from APO tables

    I am trying to use an ABAP Data flow to pull data from APO and receive error 150301. I can do a direct table pull and receive no error, but when I try to put it in an ABAP data data flow I get the issue. Any help would be great.

    Hi
    I know you "closed" this, however someone else might read it so I'll add that when you use an ABAP dataflow, logic can be pushed to ECC - table joins, filters, etc.  (Which can be seen in the generated ABAP).
    Michael

  • Pulling data from table to a flat file

    hi all,
    Good day to all,
    Is there any script which i can use for pulling data from tables to a flat file and then import that data to other DB's. Usage of db link is restricted. The db version is 10.2.0.4.
    thanks,
    baskar.l

    Is there any script which i can use for pulling data from tables to a flat file and then import that data to other DB'sFlat file is adequate only from VARCHAR2, NUMBER, & DATA datatypes.
    Other datatypes present a challenge within text file.
    A more robust solution is to use export/import to move data between Oracle DBs.

  • Unable to connect to the server to pull data from mysql

    Hello,
    I am novice working with Flash Builder 4 and I just created a test application which runs well in my computer pulling data from Mysql using PHP and populating a datagrid. But when I transfered it to the my hosting provider failed. I have been doing some modifications to the gateway.php and amf.config.ini to solve some of the issues. Now the application try to run but doesn't populate the data in the datagrid. I included a tracking point in my data service file to read the connections variables, but they come up in blank. I highly appreciate any help. Here are my gateway.php, amf.config.ini and the data service.
    gateway.php
    <?php
    ini_set("display_errors", 1);
    $dir = dirname(__FILE__);
    $webroot = $_SERVER['DOCUMENT_ROOT'];
    $configfile = "$dir/amf_config.ini";
    $fp = fopen("tracking.txt", "a");
    fwrite($fp, "1-config file " . $configfile . "\r\n");
    //default zend install directory
    $zenddir = $webroot. '/ZendFramework/library';
    //-$zenddir = $webroot;
    fwrite($fp, "2-default zendir" . $zenddir . "\r\n");
    //Load ini file and locate zend directory
    if(file_exists($configfile)) {
         $arr=parse_ini_file($configfile,true);
         if(isset($arr['zend']['webroot'])){
              $webroot = $arr['zend']['webroot'];
              $zenddir = $webroot. '/ZendFramework/library';
         if(isset($arr['zend']['zend_path'])){
              $zenddir = $arr['zend']['zend_path'];
    fwrite($fp, "3-after zendir" . $zenddir . "\r\n");
    // Setup include path
    //add zend directory to include path
    set_include_path(get_include_path().PATH_SEPARATOR.$zenddir);
    // Initialize Zend Framework loader
    require_once 'Zend/Loader/Autoloader.php';
    //-require_once 'Autoloader.php';
    Zend_Loader_Autoloader::getInstance();
    // Load configuration
    $default_config = new Zend_Config(array("production" => false), true);
    $default_config->merge(new Zend_Config_Ini($configfile, 'zendamf'));
    $default_config->setReadOnly();
    $amf = $default_config->amf;
    fwrite($fp, "4- configfile" . $dafault_config["production"] . "\r\n");
    // Store configuration in the registry
    Zend_Registry::set("amf-config", $amf);
    // Initialize AMF Server
    $server = new Zend_Amf_Server();
    $server->setProduction($amf->production);
    if(isset($amf->directories)) {
         $dirs = $amf->directories->toArray();
         foreach($dirs as $dir) {
             // get the first character of the path.
             // If it does not start with slash then it implies that the path is relative to webroot. Else it will be treated as absolute path
             $length = strlen($dir);
             $firstChar = $dir;
             if($length >= 1)
                  $firstChar = $dir[0];
             if($firstChar != "/"){
                  // if the directory is ./ path then we add the webroot only.
                  if($dir == "./"){                  
                       $server->addDirectory($webroot);
                  }else{
                       $tempPath = $webroot . "/" . $dir;
                        $server->addDirectory($tempPath);
              }else{
                      $server->addDirectory($dir);             
    fwrite($fp, "5-temp path" . $tempPath . "=>" . "\r\n");
    fwrite($fp, "******************************************" . "\r\n");
    // Initialize introspector for non-production
    if(!$amf->production) {
         $server->setClass('Zend_Amf_Adobe_Introspector', '', array("config" => $default_config, "server" => $server));
            $server->setClass('Zend_Amf_Adobe_DbInspector', '', array("config" => $default_config, "server" => $server));
    // Handle request
    echo $server->handle();
    ?>
    amf.config.ini
    [zend]
    ;set the absolute location path of webroot directory, example:
    ;Windows: C:\apache\www
    ;MAC/UNIX: /user/apache/www
    ;-webroot =c:/wamp/www/
    webroot = /home/frutiexp/public_html
    ;set the absolute location path of zend installation directory, example:
    ;Windows: C:\apache\PHPFrameworks\ZendFramework
    ;MAC/UNIX: /user/apache/PHPFrameworks/ZendFramework
    ;zend_path = /home/frutiexp/public_html/ZendFramework
    [zendamf]
    amf.production = true
    amf.directories[]=fb41/services
    ;amf.directories[]=./
    CoursesService.php
    <?php
    *  README for sample service
    *  This generated sample service contains functions that illustrate typical service operations.
    *  Use these functions as a starting point for creating your own service implementation. Modify the
    *  function signatures, references to the database, and implementation according to your needs.
    *  Delete the functions that you do not use.
    *  Save your changes and return to Flash Builder. In Flash Builder Data/Services View, refresh
    *  the service. Then drag service operations onto user interface components in Design View. For
    *  example, drag the getAllItems() operation onto a DataGrid.
    *  This code is for prototyping only.
    *  Authenticate the user prior to allowing them to call these methods. You can find more
    *  information at <link>
    class CoursesService {
         var $username = "myusername";
         var $password = "mypassword"
         var $server = "localhost";
         var $port = "3306";
         var $databasename = "frutiexp_trainsur";
         var $tablename = "courses";
         var $connection;
          * The constructor initializes the connection to database. Everytime a request is
          * received by Zend AMF, an instance of the service class is created and then the
          * requested method is invoked.
         public function __construct() {
                $this->connection = mysqli_connect(
                                              $this->server, 
                                              $this->username, 
                                              $this->password,
                                              $this->databasename,
                                              $this->port
    $fp = fopen("./tracking.txt", "a");
    fwrite($fp, "1-service".  $databasename . " " . $username . "\r\n");
    fclose($fp);
              $this->throwExceptionOnError($this->connection);
          * Returns all the rows from the table.
          * Add authroization or any logical checks for secure access to your data
          * @return array
         public function getAllCourses() {
              $stmt = mysqli_prepare($this->connection, "SELECT * FROM $this->tablename");         
              $this->throwExceptionOnError();
              mysqli_stmt_execute($stmt);
              $this->throwExceptionOnError();
              $rows = array();
              mysqli_stmt_bind_result($stmt, $row->cou_id, $row->cou_title, $row->cou_overview, $row->cou_objectives);
             while (mysqli_stmt_fetch($stmt)) {
               $rows[] = $row;
               $row = new stdClass();
               mysqli_stmt_bind_result($stmt, $row->cou_id, $row->cou_title, $row->cou_overview, $row->cou_objectives);
              mysqli_stmt_free_result($stmt);
             mysqli_close($this->connection);
             return $rows;
          * Returns the item corresponding to the value specified for the primary key.
          * Add authroization or any logical checks for secure access to your data
          * @return stdClass

    Hello Jdesko,
    Thank you for you prompt response. Yes, I have changed the connections variables in my dataservice ( I didn't post real values). You are right, after all I didn't make changes on the gateway.php except to add some tracking points. The one that I changed is the amf.config,ini. The application runs without any error exceptions, but don't populate the datagrid. According with the tracing is stoping just when establishing the connection to the database. Please let me know if you have any other clue. thanks

  • Use ODI to Extract Data from Hyperion Planning & Budgeting report to Excel

    Hello
    Can someone tell me please how to Extract Data from (Financial Reporting in) Hyperion Planning & Budgeting into Excel Using ODI?
    Would the steps be the same as Creating an ODI Project and Interface: Exporting a Flat File to a Flat File? If not, why?
    Best Regards.
    Edited by: Saturday on May 26, 2012 9:55 PM

    Where do you think the financial reports get their data from? Financial Reports pull data from data sources such as Essbase, HFM.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Error while pulling data from an Oracle database. ORA-01858: a non-numeric character was found where a numeric was expected

    I'm trying to pull data from an Oracle database using SSIS. When I try to select a few fields from the source table, it returns the following error message:
        [OLE DB Source [47]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E14.
        An OLE DB record is available.  Source: "OraOLEDB"  Hresult: 0x80040E14  Description: "ORA-01858: a non-numeric character was found where a numeric was expected".
        An OLE DB record is available.  Source: "OraOLEDB"  Hresult: 0x80004005  Description: "ORA-01858: a non-numeric character was found where a numeric was expected".
    The source columns are a combination of numeric and texts, and I've also tried selecting one of them, which didn't work. I'm using the Oracle client 11.2.0.1, and it works fine with any other data sources I have connected to so far. How can I resolve this
    error?

    Hi H.James,
    According to your description, the issue is a non-numeric character was found where a numeric was expected while pulling data from an Oracle database in SSIS.
    Based on the error message, the issue should be you are comparing a number column to a non-number column in a query. Such as the query below (ConfID is a number, Sdate is a date):
     where C.ConfID in (select C.Sdate
                       from Conference_C C
                       where C.Sdate < '1-July-12')
    Besides, a default behavior for the Oracle OleDb Provider that change the NLS Date Format of the session to 'YYYY-MM-DD HH24:MI:SS can also cause the issue. For more details about this issue, please refer to the following blog:
    http://blogs.msdn.com/b/dataaccesstechnologies/archive/2012/01/20/every-bug-is-a-microsoft-bug-until-proven-otherwise.aspx
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to pull data from sql server ( Seperate server) & upload it into sap

    Hi All,
    I have a SQL Server database in System1,
    data base name          DB1
    Table name                 TB1
    I want pull data from TB1 & upload the same into ztable in SAP.
    How I can I achive this in ABAP.
    Thanks in Advance
    Appropriate points will be rewarded.
    Arun kumar

    Hi Arun,
    You have to do the following:
    1. Create an entry in Trxn DBCA for SQL Server in SAP, you are creating a database connection for the SQL server in SAP.
    2. You use this connection, and write Native SQL stmnts...between EXECSQL...ENDEXEC to fetch the data..and then normal ABAP statements to put that data into your ztable.
    Regards,
    Raj
    For eg:
    TABLE DBCON Entry can be like this...depends on your External database..
    CON_NAME                                  Raj                Logical name for connection
    DBMS                                           MSS              Microsoft SQL Server
    USER_NAME                                <User name>     For SQL Serve
    PASSWORD                                 <password>            "    "
    CON_ENV                  MSSQL_SERVER=<server> MSSQL_DBNAME=<database name>
    DB_RECO                 Availability type for an open database connect  
    FUNCTION z_houston_connect.
    ""Local interface:
    EXEC SQL.
    CONNECT TO 'RAJ' AS 'V'
    ENDEXEC.
    EXEC SQL.
    SET CONNECTION 'V'
    ENDEXEC.
    *- Get the data from MS-SQL Server
    EXEC SQL.
    open C1 for
    select
    l.loc_id,
    l.loc_name,
    a.acc_id,
    a.acc_name,
    d.person
    from ho_loc_mast as l
    inner join snd_acc_mast as a on l.loc_id = a.loc_id
    inner join snd_acc_addr as d on a.loc_id = d.loc_id and
    a.acc_id = d.acc_id
    where l.loc_id = '001'
    ENDEXEC.
    DO.
    EXEC SQL.
    FETCH NEXT C1 into :wa-c_locid, :wa-c_locname, :wa-c_acc_id, :wa-c_acc_name, :wa-c_person
    ENDEXEC.
    IF sy-subrc = 0.
    PERFORM loop_output.
    ELSE.
    EXIT.
    ENDIF.
    ENDDO.
    EXEC SQL.
    CLOSE C1
    ENDEXEC.
    ENDFUNCTION.

  • Oracle B2B 11g question about pulling data from remote TP sftp server

    Hi,
    We would like replace our custom b2b solution with oracle b2b, but without resulting much changes in remote TP side. To do that the following issues are to be resolved.
    1) in the existing custom b2b, host tp is pulling data from remote TP location. How does oracle b2b pull data from remote location using sftp(AS1 1.1)? Oracle document says that by using global listening channel, we can make oracle b2b listen to the sftp server? Is that correct? Is there any sample about how to configure and test it.
    2) For outbound file we would like to preserve the file name. If you use sftp for sending the file out, is it possible to preserve the filename?
    3) Some incoming files which are datafiles , does not have any identification pattern. Is there any other way to identify the document type? For example from which location we are pulling the file can tell us the document type.

    1) in the existing custom b2b, host tp is pulling data from remote TP location. How does oracle b2b pull data from remote location using sftp(AS1 1.1)? Oracle document says that by using global listening channel, we can make oracle b2b listen to the sftp server? Is that correct? Is there any sample about how to configure and test it. I am not sure what do you mean by AS1 1.1 but yes, SFTP is supported in Oracle B2B and if you want to poll a SFTP location, then you need to create a listening channel in Oracle B2B. For creating a listening channel, please refer -
    http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10229/bb_listen_chan.htm#BAJJICJJ
    2) For outbound file we would like to preserve the file name. If you use sftp for sending the file out, is it possible to preserve the filename?Yes, it is possible. There is a setting "Preserve Filename" in transport protocol parameter of a SFTP channel which should be enabled for this purpose.
    3) Some incoming files which are datafiles , does not have any identification pattern. Is there any other way to identify the document type? For example from which location we are pulling the file can tell us the document type. In case of FTP/FILE/SFTP, file name can be used to pass document type and revision information to Oracle B2B. Please refer "Filename format" setting on the above mentioned link.
    I figured it out from another thread about how to pull the file. I configured the listening channel so that it reads from a remote server using sftpo protocol. And I have given the filename format as %FROM_PARTY%.dat. I am putting a file like TESTBC.dat. TESTBC is the name of the remote TP. B2B is reading the file but, recognizes the document tupe, but says that FromTP null. What is the solution?
    Make sure that TP name is same as what you are giving in filename (cross-check for spelling). You may also try with default naming convention (do not mention anything in Filename format in listening channel configuration) - %FROM_PARTY%_%TIMESTAMP%.dat
    for eg -
    Acme_12345.dat
    Regards,
    Anuj

  • Is BW able to pull data from R3 by XI

    Hi everybody:
    I'd like to use XI to integrate BW, R3 and other system. I read serveral documents. I can only find documents with XI you can only push data into BW. Does that mean bw system is not able to pull the data through XI?
    If I use bw connects R3 directly, I can connect to R3 in Source Systems easliy.
    If I use XI, I find I have to reconstruct all manually. Maybe can not use any predefined things in BW. 
    My scenario is that bw pulls data from R3 periodically.  In that case, I think direct connecting BW and R3 is better. XI is not a good way to do that, is it?
    Thanks and will reward answers
    Elliott

    hi Sravya:
    The traditional method to pull data from R3 to BW is to define a source system. Then follow the steps to establish ETL. What I need to do is to create ABAP connection in sm59. That's easy. We has already use that method to connect BW and R3. Now, I'd like to connect BW and R3 by XI. In all the document about BW and XI integration, I find the traditional method is no long used. I have to define every data structure and the connection method comes to push data into BW.
    The original way is to define a data source and copy that data source to BW. I dont know whether I can create a ABAP connection between BW and R3 by XI. If I cant create that kind of connection by XI, I think the traditional way is not support by XI. So that it is a big task to connect bw and R3 by XI.
    Thanks
    Elliott

  • Pulling data from a SharePoint 2007 List

    I'm wondering if anyone has figured out how to pull data from a column in a SharePoint 2007 list to be able to dyamically generate a reaction in a flash object.
    Our designer created a dashboard of thermometers for our projects that use two variables, % complete and status (green, yellow, red, blue).
    As the end user, I want to be able to update my project in my SharePoint list and have it so that my updates automatically populate that flash based dashboard.  Right now, he's using an XML document that is stored in a folder on our SharePoint site and then simply updating the XML file when there are changes.
    It would be ideal to pull this data from the list rather than having to update and then upload the xml document to the SharePoint site - any ideas?
    Thanks!

    Sharepoint has a rich XML interface accessible via the URL.  Just point your XML.load to the List data from this interface.
    An example of XML / URL access is here:
    http://vspug.com/dwise/2008/01/10/accessing-sharepoint-list-data-as-xml/
    Hope that gets you started.

Maybe you are looking for