How to perform merge operation using Data services designer?

I am new here and new to Data Services Desinger as well.
And currently, I want to do a merge operation using query transform or table comparison transform. But sadly, neither one of them is giving me what I want.
So, wonder if you could help clarify if either one of them could achieve MERGE operation between and source and target tables?
if positive, then how?
PS:
by MERGE, i mean, if data exists in target table, then only do update, else, do insert. same with the standard MERGE operation of oracle.
If you need any more info, let me know!
Thanks in advance.

You can do this.
You don't need the Tabe_Comparison transform actually.
Just query the data you need and output the flow from your query to your target table.
Then, you'll have to check the "Auto correct load" option: this will insert new lines and updates old ones. One checked, you can ckeck the "Auto correct load" checkbox.
By default, BODS will know a line already exists based uppon the primary key columns of your target table. If you want to change the columns used to determine if a line should be inserted or updated, use the "Use input key" checkbox (and define some PK column in your query).
Hope this helps
Guillaume

Similar Messages

  • I want to use data service,Idon't know how to download it

    I want to use data service,Idon't know how to download it,if you have data service please send me thanks a lot!

    Hello Long,
    you can download it here:
    http://service.sap.com/bosap-support
    (around middle of the screen:) “Browse Analytics Downloads: Installations, Upgrades and Support Packages”
    (on top of the page:) “Installation and Upgrade”
    SAP Data Services.
    Regards,
    Laszlo
    Message was edited by: Laszlo Badovszky

  • How to write python code in Data Services ?

    I read that you can use python programming to do tasks that custom SAP Data Services Designer components cannot do. Here is the link for that -
    SAP Data Services/BODS equivalent of Microsoft SSIS Script Task
    I don't know where I can type my code in DS / BODS. I see a script in the designer window, but it has nothing to do with python. Can someone show me
    where it is and how to do programming in SAP DS ?
    In SSIS, creating a script with programming language is very easy. Just drag and drop the Script component and start coding right away.
    Unfortunately, SAP does not seem to be so simple.

    Hi Terry,
    There is simple solution provided by Ramesh Murugan then why do you want go for hard way !! Not sure your intention
    For your questions
    Can we do the ENTIRE etl in python ?
    Not sure but  I didn't get any complicated scenarios so for  and also we need to consider performance as well
    Challenge with some complicated scenarios with BODS !! We happy to provide solutions
    But every tool has unique capability !!
    Regards,
    Manoj

  • Error while loading data into BW (BW as Target) using Data Services

    Hello,
    I'm trying to extract data from SQL Server 2012 and load into BW 7.3 using Data Services. Data Services shows that the job is finished successfully. But, when I go into BW, I'm seeing the below / attached error.
    Error while accessing repository Violation of PRIMARY KEY constraint 'PK__AL_BW_RE_
    Please let me know what this means and  how to fix this. Not sure if I gave the sufficient information. Please let me know if you need any other information.
    Thanks
    Pradeep

    Hi Pradeep,
    Regarding your query please refer below SCN thread for the same issue:
    SCN Thread:
    FIM10 to BW 73- Violation of PRIMARY KEY -table AL_BW_REQUEST
    Error in loading data from BOFC to BW using FIM 10.0
    Thanks,
    Daya

  • Push Data in SAP Tables using Data Services

    Hi
    Lets suppose that I have used Data Services 4.0 to pull data from KNA1 table , and loaded into the MDM where data cleansing , enrichment and deduplication has been done, and then MDM writes to a file.
    How can Data Services then push the cleansed data back into the SAP table ( KNA1) ? [or it cannot be done due to multiple reasons ]
    Rishi

    Hi
    To update an SAP table, import the metadata for the relevant BAPI or IDoc and call it via a query transform.
    M

  • 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.

  • Extract data from ECC to Oracle using Data Services 4.0

    How to extract data from ecc6.0 Business content extractors  to oracle using sap bo data services 4.0

    Are you trying to use the SAP BW Business Content to extract data out of ECC and load into Oracle tables with Data Services? If that's the case, then you cannot do that. The SAP BW Business Content was developed to only be used in conjunction with SAP BW. When using Data Services to access the extractors in ECC, it has to have an SAP BW InfoPackage associated with it to execute. In this architecture, Data Services is only a pass through from ECC to BW and allows the ability to do some transformations of data prior to loading into the EDW layer (staging tables basically) on SAP BW.
    To connect ECC to Oracle, you're going to have to have all of the SAP BusinessObjects supplied Function Modules loaded onto ECC, along with a non-dialog logon account that has the ability to pass dynamic ABAP programs, generate the programs and schedule them. Depending on how you want to process the output, you may also have to have the ability to write to files on the ECC application servers and have an FTP account created on the application servers that can GET flat files and potentially DELETE them (you're going to need to delete periodically, otherwise your jobs will crash when the file space allocation has been consumed).

  • How to perform system copy using standard sap method (sapinst)

    Hi guys
    pls tel how to perform system copy using standard sap method (sapinst) and to perform enterprise portal RESTORSTION.
    thanks
    kamal

    Hi Kamal,
    I have done a system copy of the production portal to a sandpit system before. The system copy export import method works very well, and is easy. For my portal, the whole procedure took me less than 6 hours.
    1. Go to this page: System Copy and Migration
    2. See the videos "Demo: How to Perform a System Copy Export" and "Demo: How to Perform a System Copy Import".
    This should give you the basic idea.
    I did a systemcopy using sapinst. If I remember right, this is the steps I performed:
    1. On target host, Installed a new Central services.
    2. On source host: Ran sapinst system copy export for Central Instance and Database instance. This created two export files (depending on your database size).
    3. Used the export files created in previous step to run the import step in target host.
    4. Some post processing steps, like configuring sso, creating systems in system landscapes, configuring WD JCos etc.
    Let me know if you need more help.
    Cheers
    Rishi

  • Using Data Services (AMF) with Android

    Hello,
    I'm working on Android application which needs to invoke existing AMF service.
    I've read the following post:
    Creating an Android application that invokes Data Services
    ...which states that you need flex-messaging-client-android.jar as part of your build to be able to use Data Services.
    This took me to the following post:
    Create a Data Services application for the Experience Server that returns data
    From there I managed to set up Expesience Server and connect to the Packages, but nowhere can I find the "dataservices-sdk-pkg.zip" which is suppose to contain the flex-messaging-client-android.jar. All I can find is "dataservices-pkg.zip" which does not have "flex-messaging-client-android.jar", but has bunch of other JARs. I've also spend reasnoble amount of time seraching through Package Share, but no luck.
    I've also Googled and read through all other posts relaetd to this topic and none of them seem to lead to success
    So my question is:
    when connecting Android application to AMF backend, do we still need to use the "flex-messaging-client-android.jar" or is there a new JAR that has replased this?
    If "flex-messaging-client-android.jar" needs to be used, could you help me find it.
    Thanks

    Found it...
    In the Package Share found the following package: es-sdk-pkg
    Downleaded that, then saved to local drive, then unzip.
    In "es-sdk-pkg" package you can find "dataservices-sdk-pkg" in the following location:
    ...\jcr_root\etc\packages\adobe\aep\platform\sdk
    Unzip "dataservices-sdk-pkg" and the "flex-messaging-client-android.jar" is in the following location:
    ...\jcr_root\etc\aep\sdks\riaservices\dataservices\4.5.1\android
    Hope this helps someone else.

  • Extract data from a BW 7.0 cube to a SQL DB using Data Services XI

    Hi Gurus,
    We are trying to extract data from a BW 7.0 cube to a SQL DB using Data Services XI, the issue is that we can not read text without making "joins" between SID in the fact table and the master data tables. Do you know if it is posible to read text in a natural way?
    Best Regards

    Thanks Wondewossen,
    As you know, the DataStores (Data Services) provide access to:
    1.-Tables
    2.-Functions
    3.-IDOCs
    4.-Open Hub Tables
    We are trying to extract data using the first one (Tables), not using Open Hub.
    Best Regardas

  • Can we perform Join operation using SQLCall with Datatabae Query

    Hi,
    I am working on Toplink SQLCall query. I am performing join operation but, it is giving error.
    so please, any can tell me . we can perform join operation using SQLCall with Database Query
    Thanking You.

    You can use joining with SQLCall queries in TopLink, provided your SQL returns all of the required fields.
    What is the query you are executing and what error are you getting?

  • HT4995 I lost my ipod touch--how do i find it using location services?

    I lost my ipod touch-how do I find it using Location services?

    Joel Zimmerman wrote:
    I lost my iPod touch in a club last Saturday. Was on, had a passcode on it but I didn't have Find My iPhone installed. I'm not sure if this is correct information, but an Apple store clerk said that I would still be able to track it if I had registered it with iCloud, which I have done
    What you needed to have already done was to have went to Settings>iCloud and turned FindMyiPod on.
    . The problem is, though, even if this information is true, how will I be able to find it? It's an iPod touch with no GSM/CDMA capabilities. Therefore, it cannot be found unless it was connected to Wi-Fi.
    For location the iPod uses the location of nearby wifi routers that are in Apple's database. Thus, wifi has to be on.
    But how would that be possible unless the person who found it knows my passcode?
    Wifi just has to be on and connected to report its postition to you by going to icloud.com as explained in a previous reply.
    I'm guessing that if the person wipes and restores the device, I will have no way of finding it... unless it works off the serial number?
    If the iPod is restored, you can no longer find it via icloud.com. I uses turning FIndMyiPod on, not the SN,.
    Thanks.

  • Unable to support application while using data services

    I have a curve9220
    all time good product
    but unable to use any application while using data services 
    but i can browes from explore. 

    Yes, if you want to use them on mobile network you must have a BB data plan.
    1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
    2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you!

  • 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 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.

Maybe you are looking for

  • I have a POP account set up in Mail, has been that way for years. Today it isn't working.

    I have a POP email account that's been set up in Mail for years. Today it won't send or retrieve email, continually asks for my password but doesn't keep it. My iCloud email is fine. According to an Apple Support document, "Mail: Troubleshooting send

  • SRM 5.0: CLEAN_REQREQ_UP, BBP_REQEQ_TRANSFER and Webmonitor

    Hi SDN, we are on SRM 5.0 SP15. Classic Scenario with MM Backend. We have some issues with the webmoitoring. We have the clean job clean_reqreq_up running in 10 minutes intervals. Also we have bbp_get_status_2 every 20 minutes. Quite often we have re

  • Swap 15" iMac flat screen monitor for 17" one?

    My mom has 2 older G4 iMacs, the one with the hemispherical base. One of them has a 15" monitor (that's the one that works); the other iMac has a 17" monitor, but the power supply on that one is dead. Can we swap out the 15" monitor for the 17" one?

  • Monitoring Doubt in Gentran

    Hi All, this doubt is in my mind for quite some time. I was in Xi before and I was extensively using the monitoring tool SXMB_MONI. I sometimes used the same transaction in my SAP ABAP system to look for messages. Right now I am into a project that u

  • Party Shuffle with Shared Music

    I saw this question posted a few times (all of which are archived and do not allow posting of replies). Does anyone have any good info as to why Party Shuffle can't pull from a shared music library? The only real "workaround" is to play the library a