Data Services Designer - Problem when inserting rows in a database

Hi everyone!!!
I created a simple job that queries an Oracle database and writes the data returned from the query in a database as mysql.
The problem is that only one row is being written in the database, being that the return of my query has more than one row.

What product ad what version you are running and what environment you are in?
Are you also getting some error?
BAshir Awan

Similar Messages

  • Data Services Designer - Error when pulling large source tables

    Hi all,
    I have been trying yo load data from an SAP table - BSIS into MS SQL server database using BO Data Services Designer XI 3.2.  It is a simple data flow with one souce table (BSIS).
    When we execute the job, it says what is mentioned below:
    *"Process to execute Dataflow is started"*
    *"Cache statistics determined that DataFlow uses <0> caches with a total use of <0> bytes. This is less than the virtual memory <1609564160> bytes available for caches. Statistics is switching the cache type to IN MEMORY."*
    *"Dataflow using IN MEMORY cache."
    It stays there for a while and says "Dataflow terminated due to error"
    In the error window, it says DF received a bad system message.
    Does not specify the error... It asks to contact the customer support with error logs, ATL files and DDL scripts.
    Can anyone help me out???
    Thank you and regards,
    Suneer.

    Hi,
    please do not post the short dump in this forum.
    I blieve the system will read from table dt_iobj_dest.
    The problem is that 0FISCPER, 0FISCYEAR and 0FISCVARNT  are not registered.
    You can register the infoobject 0FISCYEAR and 0FISCVARNT
    retroactively: 
    1) se24, CL_UG_BW_FIELD_MAPPING                
    2) F8 -> test environment                      
    3) GET_INSTANCE, do not use IT_FIELD_RESTRICT  
    4) IF_UG_BW_MAPPING_SERVICES                   
    5) REGISTER_INFO_OBJECT                        
    6) specify  I_RFCDEST                          
                I_INFOOBJECT                       
       attention: I_RFCDEST is case-sensitive      
    kind reg.
    Michael
    ps. please do not forget to assign points.

  • Data Services Designer Issue with Job Server

    I am on Business Objects Edge Pro using the Data Services Designer.  When I try execute a job I get "The job server you have selected is not working."  In addition to that when I try to make any personal change to the environment I get a BODI-1260016 error.  Finally when you go to the help and about they show both the Job Engine and Job Server not responding. 
    I have opened up my CMC and it shows all servers enabled and functioning.  I do not know where to go from here.
    Thanks
    Cassidy

    Voila. I know I am a bit late to the conversation, but here was my solution. I was running Designer on my local machine. We also have Designer on the server. So I decided to remote to the server and compare settings. When the server desktop came up, good old Windows was there, announcing that BODS had changed since the last time it was run, and would I like to allow it to run (Y/N/Cancel)? Thanks, Windows. I said Yes, then went back to my local workstation, tried again to run a job, and no problem.
    This has happened with other software services (scripted ftp for example) that run on servers. Seems it can happen after a Microsoft Tuesday, or after software is upgraded. Always remember to log on to the server and clear any security dialogs that are preventing your service from running. Not really a BO solution, but it was my solution. YMMV.

  • Data Services Designer 14 - Large Log files

    Hello,
    we're running several jobs with the Data Services Designer 14, all works fine.
    But today a problem occur:
    The Data Designer on a client produces after finishing a big job a very large log file in the Data Services Designer folder with 8 GB.
    Is it possible to delete these log files automatically or restrict the maximum size of the created log files in the designer?
    What's the best way?
    Thanks!

    You can set to automatically delete the log files based on number of days.
    I have done this in XI 3.2, but as per the document, this is how it can be done in DS 14.0.
    In DS 14.0, this is handled in CMC.
    1. Log into the Central Management Console (CMC) as a user with administrative rights to the Data Services application.
    2. Go to the u201CApplicationsu201D management area of the CMC. The u201CApplicationsu201D dialog box appears.
    3. Right-click the Data Services application and select Settings. The u201CSettingsu201D dialog box appears.
    4. In the Job Server Log Retention Period box, enter the number of days that you want to retain the following:
    u2022 Historical batch job error, trace, and monitor logs
    u2022 Current service provider trace and error logs
    u2022 Current and historical Access Server logs
    The software deletes all log files beyond this period. For example:
    u2022 If you enter 1, then the software displays the logs for today only. After 12:00 AM, these logs clear and the software begins saving logs for the next day.
    u2022 If you enter 0, then no logs are maintained.
    u2022 If you enter -1, then no logs are deleted.
    Regards,
    Suneer.

  • Question - new to BO Data Services Designer - how to automatically transform varchar column data to upper(varchar) across all columns in a table?

    Hello -
    New user to BO Data Services Designer. Company is using Data Services Version 12.2.
    I have many tables that all need the same transformation- converting varchars fields to upper(varchar) fields
    Example:
    I have a table called Items. It has 40 columns, 25 of which are of type varchar.
    What I have been doing is ....
    I make the Item table as the source table then create a Query transform that is then attached to a new target table called - ITEMS_Production.
    I can manually drag and drop columns from the source table to the query and then in the mapping area I can manually type in upper(table_name.column_name) or select the upper function and then select the table.column name from the function drop down list.
    Obviously, I want to do this quicker as I have to do this for lots and lots of tables.
    How can set up Data Services so that I can drag and drop an upper transform quickly and easily or automate this process.
    I also know Python-Java so am happy to script something if need be.
    the logic would be something like -
    if there is a column with a type varchar, add the upper() transformation to column. Go to next column.
    Excited to be using this new tool-
    Thanks in advance.
    Ray

    Use the DS Workbench.

  • DI Integrator XI and Data Service Designer

    Hi all
    I am playing with DI XI (11.7) now, but very soon we would have Data Service Designer (new version of DI which is called Data Service Designer). I'm just wondering what the difference is between DI Integrator 11.7 and Data Service Designer. The interface and object types are very different and a big surprise for me? Or I might ask what's new in Data Service Designer?
    Thanks for your help.

    You will be very familiar with DataServices Designer. You will find more transforms - the data quality transforms - and a few menu items, flags etc. But really, DataServices is just a name change. For DQ customers things changed a lot.

  • Data Services Designer

    What is the difference between BO Data Services Designer and BO Designer?

    hiiii
    Data Services Designer,
    its a data integration tool, indepedent one, which you use to transfer data from One or more data source to another datasource(S).
    BO Designer.,
    is the universe Designer, and its embded in the business objects enterprise which you use to create the semantic layer (Universes) for the users to Create reports based on it,
    please find the product guides over here
    http://help.sap.com/content/bobj/overview/index.htm
    good luck
    Amr

  • Data Services Designer - Very Slow on VPN

    Hello,
    Any idea why Data Services Designer is very slow and many a times goes into Not Responding state. I'm using this client tool to connect to the Data Services Repository + Servers via VPN.
    It takes few minutes to load the jobs or to save the changes. Some times hangs.
    Wanted to know if anyone is facing similar issues, and any workaround/setup changes to eliminate these delays...
    Regards,
    Madan
    Edited by: Madan Mohan Reddy Zollu on Mar 12, 2010 9:24 AM

    Data Services Designer is communicating with the repo (to store/retrieve objects) and the jobserver (to execute jobs and get status/log files) so if there is a slow network connection, response time in the Designer could become problematic.
    One way to solve this is use CITRIX or terminal services to have your Designer close to the database and only screens are send over the slow connection. In the Windows installation guide there is a chapter that documents how to setupDesigner in a (multi-user) Citrix environment.

  • Data Services Designer Question

    Hi Friends,
    I want to sign onto the Data Services Designer without having to connect through the CONSOLE directly.  What BOBJ client software will I need to install to be able login into the designer? 
    I installed the BOBJ Enterprise Client Tools but there was no option to choose the Data Services Designer to log in with.
    Any help would be much appreciated.
    bobj-wannabee

    Hello
    I recommend to post this query to the [Enterprise Information Management|Data Services and Data Quality; forum.
    This forum is dedicated to topics related to Data Integration (Data Integrator, Data Federator, Text Analysis for Data Integrator, Rapid Marts, and Integration for PeopleSoft Enterprise), Data Quality (Data Quality and Data Insight), and Metadata Management.
    It is monitored by qualified technicians and you will get a faster response there.
    Also, all Enterprise Information Management queries remain in one place and thus can be easily searched in one place.
    Thanks a lot,
    Falk

  • Difference Between Data Services Designer and Data Services Workbench

    Hello All,
    I am new to Data Services .
    What is the difference between Data Services Designer and Data Services Workbench .
    Am bit confused in the above two .
    Please help me to understand the same.
    Thanks in advance.
    Aisurya

    Workbench is used to create, display and modify the objects. It will display the source table data and we can see the logs of the job which we have executed and also we can see the status of a job. In bods 4.2 you can design the dataflow in workbench in previous release we don’t have that option but designer contains debugging option, you can write scripts,  it will support all databases; these option are not available in workbench. for more information refer this document:
    https://decisionfirst.files.wordpress.com/2014/07/data-services-workbench-intro.pdf
    http://scn.sap.com/community/data-services/blog/2014/03/01/data-services-42-workbench
    http://scn.sap.com/community/data-services/blog/2013/01/24/data-services-workbench-part-1

  • Data Services job rolling back Inserts but not Deletes or Updates

    I have a fairly simple CDC job that I'm trying to put together. My source table has a record type code of "I" for Inserts, "D" for deletes, "UB" for Update Before and "UP" for Update After. I use a Map_CDC_Operation transform to update the destination table based on those codes.
    I am not using the Transaction Control feature (because it just throws an error when I use it)
    My issue is as follows.
    Let's say I have a set of 10,000 Insert records in my source table. Record number 4000 happens to be a duplicate of record number 1. The job will process the records in order starting with record 1 and begin happily inserting records into the destination table. Once it gets to record 4000 however it runs into a duplicate key issue and then my try/catch block catches the error and the dataflow will exit. All records that were inserted prior to the error will be rolled back in the destination.
    But the same is not true for updates or deletes. If I have 10000 deletes and 1 insert in the middle that happens to be an insert of a duplicate key, any deletes processed before the insert will not be rolled back. This is also the case for updates.
    And again, I am not using Transaction Control, so I'm not sure why the Inserts are being rolled back, but more curiously Updates and Deletes are not being rolled back. I'm not sure why there isn't a consistent result regardless of type of operation. Does anyone know what's going on here or  what I'm doing wrong/what my misconception may be?
    Environment information: both source and destination are SQL Server 2008 databases and the Data Services version we use is 14.1.1.460.
    If you require more information, please let me know.

    Hi Michael,
    Thanks for your reply. Here are all the options on my source table:
    My Rows per commit on the table is 10,000.
    Delete data table before loading is not checked.
    Column comparison - Compare by name
    Number of loaders - 1
    Use overflow file - No
    Use input keys - Yes
    Update key columns - No
    Auto correct load - No
    Include in transaction - No
    The rest were set to Not Applicable.
    How can I see the size of the commits for each opcode? If they are in fact different from my Rows per commit (10,000) that may solve my issue.
    I'm new to Data Services so I'm not sure how I would implement my own transaction control logic using a control column and script. Is there a guide somewhere I can follow?
    I can also try using the Auto correct load feature.  I'm guessing "upsert" was a typo for insert? Where is that option?
    Thank you very much!
    Riley

  • Service entry problem when not accepted

    We have a problem when there are multiple service entries agains a PO. There are no problems when we do the first entry and accept. The problem happens when we do a second entry and the end user only saves and forgets to accept the SES. When they do an invoice against this unaccepted SES the system brings in the previous SES number, when this goes unnoticed the vendor gets paid twice for the same thing. Is there a way for SAP to look at the SES field in the invoice and determine that this SES number has already been paid? Thanks in advance.

    Hi Eric,
    please try the following: check in transaction XK02 the field "Check Flag for Double Invoices or Credit Memos" (LFB1-REPRF).
    Indicator which means that incoming invoices and credit memos are checked for double entries at the time of entry.
    In checking for duplicate invoices, the system compares the following characteristics by default:
    Vendor
    Currency
    Company code
    Gross amount of the invoice
    Reference document number
    Invoice document date
    If all of these characteristics are the same, the system issues a message that you can customize.
    The system only checks for duplicate invoices in Materials Management if you enter the reference document number upon entering the invoice.
    Of course if the invoice document date is different, there is no message M8108 issued. Please read also the notes 305201 and 308008.
    I would recommend you to use the service based invoice verification function (set the field EKPO-LEBRE to X) in the PO item.
    Regards,
    Edit

  • Zend AMF Data Service Return Problem

    Hi Folks,
    I am working with FB4 and Zend AMF/PHP and MySQL.  I began integrating the PHP stuff using the great article by Mihai Corlan called 'Working in Flash Builder 4 with Flex and PHP.  I followed all the steps exactly, aside from creating my own app-specific PHP classes and functions, etc...  I 'hooked up' the Zend stuff just like the article, created a text datagrid, just like the article, and viola!, it worked.  I then tweaked it a bit and interwove it into my 'real' component.  So far, so good.
    Then I created a second PHP class with a different 'get data' type of function.  It queries a different table in MySQL, but is essentially the 'same' as the query/function in the initial PHP class.
    In FB, in the Data Services window, I choose the 'Connect to Data/Services' function, just like the first time.  I then find/select my PHP class file and FB 'interrogates it' enough to show me the function that exists in the class.  I 'finish' the operation and it adds a new 'service' to the list of services in that window.  Again, so far, so good.
    The problem comes when I try to 'test' the service or 'configure return types' (which basically requires a 'test' operation anyway).  I can enter the 'input' params just fine, but when I try to execute the call, I get the following error:
    InvocationTargetException:There was an error while invoking the operation. Check your operation inputs or server code and try invoking the operation again.
    Reason: An error occured while reading response sent by server. Try encoding the response suitably before sending it. e.g. If a database column contains UTF-8 characters then use utf8_encode() to encode its value before returning it from the operation.
    I don't know where to go after this.  Again - the 2nd PHP class is essentially identical to the 1st.  The function in it is essentially identical, differing only by the input params, the name of the function and the actual SQL it sends to MySQL.  There is no special text, no special characters, no image stuff, nothing.  I do not 'encode' the results of the function in the first class - in fact the code in the second class is practically identical to the first.  I do not know what the error is talking about.  My guess is that it's more of a generic message.
    I can debug the PHP code just fine from within a seperate instance of Eclipse.  The function runs/returns just fine - an array of PHP-defined objects (simple strings).
    Any insights or advice would be welcomed.   Thank you,
    -David Baron

    Thank Jorge, but that was not the issue, though, it may be related.
    I checked the mySQL my.ini file, and there was already an entry for:
    [mysql]
    default-character-set=utf8
    I added the 'default-collation=utf8_unicode_ci', like you suggested, but that didn't do anything.
    I checked the Apache httpd.conf file, and added the following line 'under' the "DefaultType text/plain" line:
    AddDefaultCharset UTF-8    but that did not do anything.
    I checked my mySQL database, all the tables involved.  They were already at UTF-8 (default).  However, some of the 'varchar' columns were defined as 'latin 1-default collation'.   I changed them all to utf-8 (default table collation), but that did not help either.
    Finally, I found the problem, though I don't really know if it is "my" problem, or ZendAMF's problem, or Adobe's problem.
    It turned out that 'some' of my data had a 'bad' character in it.  Specifically, I had 'copied and pasted' some data from MS Word into mySQL Workbench.  Some of the data included the 'elipsis' character - you know, when you type "..." (dot dot dot) in MS Word, it replaces the three periods with a single elipsis character.  Although PHP could easily query and assemble this data into a nice object array, I noticed that that character showed up (in PHP's debugger) as a 'box' character, meaning "bad character".  Thus, I guess, Zend AMF and/or FlashBuilder could not 'bring over' and/or deal with this type of character.  As soon as I replace the few instances of that character with three periods, everything began to work perfectly.
    So... what to do about this?  I thought I was through with silly encoding/decoding of data when I left JavaScript and HTML behind in moving to FlashBuilder technology.  Am I really going to have to worry about this kind of thing?  Or might this be a bug/deficiency somewhere in the stack?
    Thanks for your help,
    -David

  • Runtime error when inserting rows in hrp1018 and hrt1018 tables

    Hi All,
    I have a requirement to insert row in hrp1018 and hrt1018 tables.These tables are interlinked.So, I have used FM 'RH_INSERT_INFTY'. The exact code which I have used is as follows.
    *****************************************code***************************************************************
    << Please post only the relevant portion of the code >>
    The runtime error which is coming is as follows:
    Error analysis
        An internal error in the database interface occurred during access to
        the data of table "HRT1018 ".
        The situation points to an internal error in the SAP software
        or to an incorrect status of the respective work process.
        For further analysis the SAP system log should be examined
        (transaction SM21).
        For a precise analysis of the error, you should supply
        documents with as many details as possible.
    Please let me know why this error is coming.I am not able to find out mistake in the FM and form used in the code.
    Thanks in advance,
    BBKrishna.
    Edited by: Rob Burbank on Jun 9, 2009 1:31 PM

    I am adding the code once again.Please let me know why the error is coming up.
    lv_mproj = 'BLDNG'.
      wa_p1018-mandt = sy-mandt.
      wa_p1018-otype = '9M'.
      wa_p1018-objid = '50009650'.
      wa_p1018-begda = '20090608'.
      wa_p1018-endda = '99991231'.
      wa_p1018-infty = '1018'.
      wa_p1018-plvar = '01'.
      wa_p1018-otype = '9M'.
      wa_p1018-istat = '1'.
      append wa_p1018 to it_p1018.
      repid = sy-repid.
    *Updating hrp1018 and hrt1018 tables
      CALL FUNCTION 'RH_INSERT_INFTY'
        EXPORTING
        FCODE                     = 'INSE'
        VTASK                     = 'D'
         AUTHY                    = ' '
          REPID                   =  repid
          FORM                    = 'FILL_TABS'
        TABLES
          INNNN                   = it_p1018
    EXCEPTIONS
       NO_AUTHORIZATION          = 1
       ERROR_DURING_INSERT       = 2
       REPID_FORM_INITIAL        = 3
       CORR_EXIT                 = 4
       BEGDA_GREATER_ENDDA       = 5
       OTHERS                    = 6
      IF SY-SUBRC <> 0.
        CALL FUNCTION 'BALW_BAPIRETURN_GET'
          EXPORTING
            TYPE                             = SY-MSGTY
            CL                               = sy-msgid
            NUMBER                           = SY-MSGNO
      PAR1                             = ' '
      PAR2                             = ' '
      PAR3                             = ' '
      PAR4                             = ' '
      LOG_NO                           = ' '
      LOG_MSG_NO                       = ' '
         IMPORTING
           BAPIRETURN                        = return_rec
    EXCEPTIONS
      ONLY_2_CHAR_FOR_MESSAGE_ID       = 1
      OTHERS                           = 2
        IF SY-SUBRC <> 0.
            lv_mproj = text-011
                      ELSE.
                      ii_return = return_rec.
                      CONCATENATE                  ii_return-type '-' ii_return-message
                      INTO lv_err_msg SEPARATED BY SPACE.
        ENDIF.
      ENDIF.
    *RHCD_TAB-PROZT
       FORM fill_tabs TABLES ins_tab
                   USING ins_set ins_index.
      DATA : BEGIN OF set.
              INCLUDE STRUCTURE wplog.
      DATA : END   OF set.
      DATA: BEGIN OF h_pt1018.             "to initialize INS_TAB
              INCLUDE STRUCTURE pt1018.
      DATA: END OF h_pt1018.
      REFRESH ins_tab.
      set = ins_set.
      CASE set-infty.
        WHEN '1018'.
          h_pt1018-posnr = lv_mproj.
          h_pt1018-prozt = '100.00'.
          IF NOT ( h_pt1018 IS INITIAL ).
            CLEAR ins_tab.
            ins_tab+36(8) = lv_mproj. "h_pt1018.
            ins_tab+134(5) = '100.00'.
            APPEND ins_tab.
          ENDIF.
      ENDCASE.
    ENDFORM.

  • Problem when inserting Spry Tabbed Panels

    Hi all,
    Just lately i started to get this message when inserting spry
    tabs
    " ! The structure of this widget appears to be damaged. Go to
    Code view and repair the widget, or replace the widget."
    Anyone know why and how to fix it? At first i thought it has
    something to do with my current page, but when i tried in a blank
    html, still got the same problem.
    I have CS3 and Spry 1.6.1. I didnt touch the .js and .css
    file for this spry. I checked for Spry updates, installed and
    reinstalled spry, still get the same message.
    Please help!!!
    thanks

    Thanks Kin,
    here is the code. i created a new html and inserted tabs from
    the spry tab. no other changes are made. Still getting the same
    error.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8">
    <title>Untitled Document</title>
    <script src="file:///C|/Documents and
    Settings/xd064c/Application Data/Adobe/Dreamweaver
    9/Configuration/Temp/Assets/eam50.tmp/SpryTabbedPanels.js"
    type="text/javascript"></script>
    <link href="file:///C|/Documents and
    Settings/xd064c/Application Data/Adobe/Dreamweaver
    9/Configuration/Temp/Assets/eam50.tmp/SpryTabbedPanels.css"
    rel="stylesheet" type="text/css" />
    </head>
    <body><div id="TabbedPanels1"
    class="TabbedPanels"><ul
    class="TabbedPanelsTabGroup"><li class="TabbedPanelsTab"
    tabindex="0">Tab
    1</li><li class="TabbedPanelsTab"
    tabindex="0">Tab 2</li></ul><div
    class="TabbedPanelsContentGroup"><div
    class="TabbedPanelsContent">Content
    1</div><div class="TabbedPanelsContent">Content
    2</div></div></div><script
    type="text/javascript">
    <!--
    var TabbedPanels1 = new
    Spry.Widget.TabbedPanels("TabbedPanels1");
    //-->
    </script></body></html>
    >>>>>Also, the add panel function from the
    properties panel doesnt work correctly. the code below is what i
    get when i add a panel.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8">
    <title>Untitled Document</title>
    <script src="file:///C|/Documents and
    Settings/xd064c/Application Data/Adobe/Dreamweaver
    9/Configuration/Temp/Assets/eam50.tmp/SpryTabbedPanels.js"
    type="text/javascript"></script>
    <link href="file:///C|/Documents and
    Settings/xd064c/Application Data/Adobe/Dreamweaver
    9/Configuration/Temp/Assets/eam50.tmp/SpryTabbedPanels.css"
    rel="stylesheet" type="text/css" />
    </head>
    <body><div id="TabbedPanels1"
    class="TabbedPanels"><ul
    class="TabbedPanelsTabGroup"></ul><div
    class="TabbedPanelsContentGroup"></div><ul
    class="TabbedPanelsTabGroup"></ul><div
    class="TabbedPanelsContentGroup"></div><ul
    class="TabbedPanelsTabGroup"></ul><div
    class="TabbedPanelsContentGroup"></div><ul
    class="TabbedPanelsTabGroup"></ul><div
    class="TabbedPanelsContentGroup"></div><ul
    class="TabbedPanelsTabGroup"><li class="TabbedPanelsTab"
    tabindex="0">Tab
    1</li><li class="TabbedPanelsTab"
    tabindex="0">Tab 2</li></ul><div
    class="TabbedPanelsContentGroup"><div
    class="TabbedPanelsContent">Content
    1</div><div class="TabbedPanelsContent">Content
    2</div></div></div><script
    type="text/javascript">
    <!--
    var TabbedPanels1 = new
    Spry.Widget.TabbedPanels("TabbedPanels1");
    //-->
    </script></body></html>
    Thank you.

Maybe you are looking for