How to control loading behavior?

Hi Experts,
I have a quuestion:
for example, I want to load data from two R/3 DataSources to a DSO.
DataSource A has fields likes this:
a b c
DataSource B have field likes this:
a d e
DSO have fields likes this:
a b c d e                  a is the key filed
if we want to load data from two datasources to DSO, if DataSource A load first, then DataSource B load second, during DataSource B loading process, if it find there is a same value for key field "a" exist in DSO, it just update field "d", "e" for field "a", it will not overwrite old one.
so how to achieve this object? thank you for your suggest in advance.
Kind Regards.

Hi,
Welcome to SDN.
Just do the mappings from the rescpective data sources for the fileds which are present there.
That is map a b c from the data source A only in the tranformation
and map a d e from the data source B only in the transformation.
The data source A will only overwrite the values for b and c and not the fields which are not mapped...
similarly when data source B is loaded it will overwrite the value of d and e for the same key value in DSO and will not update the DSO or create a new record.
So it will oevwrite the old one for the mapped fields only and not all the fields
Thanks
Ajeet

Similar Messages

  • How to control loaded AS2 files

    Hi guys,
    I managed to develop one interface where I could load the AS2 version of files within my AIR application. So far the application is working great, now the next enhancement for the product is to control the loaded swf files from the AIR environment. Since these are AVM1Movie it is not stright forward and I have no idea how to achieve this.
    Appreciate if you guys can help me on this. Thanks!

    Does this help at all?
    http://gskinner.com/blog/archives/2007/07/swfbridge_easie.html

  • How to load and display the external flv video files in dynamicly and the how to control the flv fil

    How to load and display the external flv video files in dynamicly using AS 3.0
    and  How to control the flv file  add the play paus button and add seekbar.
    I have using to load the flv file following code
    var flvPlaceHolder1:MovieClip = new MovieClip();
    var vid1:Video = new Video(734, 408);
    flvPlaceHolder1.addChild(vid1);
    addChild(flvPlaceHolder1);
    flvPlaceHolder1.x = 1059;
    flvPlaceHolder1.y = 152;
    var nc1:NetConnection = new NetConnection();
    nc1.connect(null);
    var ns1:NetStream = new NetStream(nc1);
    vid1.attachNetStream(ns1);
    var listener1:Object = new Object();
    listener1.onMetaData = function(evt:Object):void {};
    ns1.client = listener1;
    ns1.play("GV-1600 TURNING.flv");
    ns1.addEventListener(NetStatusEvent.NET_STATUS, statusChanged1);
    function statusChanged1(ns1:NetStatusEvent):void
             trace(ns1.info.code);
            if (ns1.info.code == 'NetStream.Buffer.Empty')
                 trace('the video has ended');
                 removeChild(flvPlaceHolder1);
                 //trace('removeChild');
                gotoAndPlay(1786);
    then how to add the play,paus ,full screen button    and   seekbar,volumebar.

    I have to Create the flash presentation for our company product
    In this presentation the left  side the text animation are displayed then right side the our product video is displayed.
    In this presentation i need the following option :
    1, The first product video and animation is finished then the next product is played
    2, then the video displayed  (size width and height 400x300) , I click this video to increase the size(ex:1000x700)
    3, then the playing video i control  it play, stop, paus button and volume bar, seek bar.
    4, then this presentation is displayed on 42 inches LCD TV so this full presentation is run full screen.
    I have finished first two steps 1 and 2
    the following are the screen short and code:-
    code :-
    var count=0;
    var flvPlaceHolder2:MovieClip = new MovieClip();   
    var vid2:Video = new Video(734, 408);
    flvPlaceHolder2.addChild(vid2);
    addChild(flvPlaceHolder2);
    flvPlaceHolder2.x = 1059;
    flvPlaceHolder2.y = 152;
    var nc2:NetConnection = new NetConnection();
    nc2.connect(null);
    var ns2:NetStream = new NetStream(nc2);
    vid2.attachNetStream(ns2);
    var listener2:Object = new Object();
    listener2.onMetaData = function(evt:Object):void {};
    ns2.client = listener2;
    ns2.play("GS-4000.flv");
    this.addEventListener(Event.ENTER_FRAME, BtnFadeIn2);
    function BtnFadeIn2(event:Event):void
        if (this.currentFrame == 387)
            /*flvPlaceHolder2.x = 30;
            flvPlaceHolder2.y = 140;
            vid2.width=1800;
            vid2.height=800;
            trace('Screen size is changed');*/
            if(count==0)
            flvPlaceHolder2.x = 30;
            flvPlaceHolder2.y = 140;
            vid2.width=1800;
            vid2.height=800;
            count++;
    ns2.addEventListener(NetStatusEvent.NET_STATUS, statusChanged2);
    function statusChanged2(ns2:NetStatusEvent):void
        trace(ns2.info.code);
        if (ns2.info.code == 'NetStream.Buffer.Empty')
                trace('the video has ended');
                 removeChild(flvPlaceHolder2);
                 //trace('removeChild');
                gotoAndPlay(433);
    flvPlaceHolder2.buttonMode=true;
    flvPlaceHolder2.addEventListener(MouseEvent.CLICK,home2);
    function home2(e:MouseEvent):void
        if(vid2.width==734 && vid2.height==408)
            flvPlaceHolder2.x = 30;
            flvPlaceHolder2.y = 140;
            vid2.width=1800;
            vid2.height=800;
        else
            flvPlaceHolder2.x = 1059;
            flvPlaceHolder2.y = 152;
            vid2.width=734;
            vid2.height=408;

  • How can I load a graphic in SOFFCONT1 into an SAP picture control?

    At my customer site, GOS attachments to PM notifications are stored in SOFFCONT1, so I can't use cl_bds_document_set to get a URL that I can pass to the load method of the SAP picture control.
    How can I load the actual graphic in SOFFCONT1 into an SAP picture control?
    Or do I have to configure IW22 so it stores in BDS content servers, not SOFFCONT1?
    If this is the case, how do configure IW22 so GOS knows to store attachments as BDS documents rather than in SOFFCONT1 ???
    Thanks
    djh

    This explains how to make sure your PC and bin documents are saved on your HTTP content server, instead of in the database:
    http://help.sap.com/saphelp_nw04/helpdata/en/c0/1aca5823ee11d3a2db00a0c943858e/content.htm

  • How can I load a screen in a splitter control?

    Hello!
    How can I load a screen in a splitter control?
    g

    Hello Gerald
    You cannot. It is the other way around:
    You can display a splitter container on a screen.
    For an example see How to handle two hot spot clicks on one screen
    Regards
      Uwe

  • How can Image sliding work in flash cs4 on mac using mx.controls.loader

    Hi i started working in flash after a long time. i am creating a virtual catalogue DVD for my client. to work on it quickly, i used mx.controls.loader component to call jpg images in my movie.i just gave contect path in component inspector. my working OS platform is windows xp. and everything is working perfectly fine. i used actionscripting on buttons to slide images left and right. when my client opened it in mac everything else was fine but images were not loading. although the directory path everything is right and working here but not in mac.

    Hi Mate - I'm using CS4 Extended Ps v11.0.2, according to the Adobe site photoshop instals a 32 bit version only. How can I find out exactly by checking out preferences etc? I'll have to go hunt out the box.
    Thanks for the reply.

  • How to control a loaded flash movie? Please help!!!

    Hello everyone
    I'm creating a web site with multiples swf files, the navigation is controlled via drop down menu, i have resolved the script for the drop down menu main buttons and i need to control the timeline of the movies loaded with the drop down menu main sub buttons to navigate into specific frames
    this is what i got:
    stop();
    var myrequest:URLRequest=new
    URLRequest("HomeSonny.swf");
    var myloader:Loader=new Loader
    myloader.load(myrequest);
    stage.addChild(myloader);
    //main buttons
    menu.nosotros.addEventListener(MouseEvent.CLICK, clickmouse);
    //menu.islas.addEventListener(MouseEvent.CLICK, clickmouse);
    //subButtons
    menu.historia.addEventListener(MouseEvent.CLICK, subMenu);
    //event listener main buttons
    function clickmouse(evt:MouseEvent):void {
         trace("click")
         myloader.load(new URLRequest("swf/"+evt.target.name+".swf"));
    //listener loaded movie
    myloader.contentLoaderInfo.addEventListener(Event.COMPLETE, subMenu);
    //event listener sub buttons control loaded movie
    function subMenu(evt:MouseEvent):void {
         trace("clickSub")
         var mycontent:MovieClip=evt.target.content;
         mycontent.gotoAndStop("historia");
    the problem is when i click the drop down menu sub button, does not go to the label frame of the loaded swf fil.
    What am i doing wrong?
    sample in the file....
    thanks for watching.........

    See code and comments below. I don't guarantee that it will fix all your troubles though - you have big flaws in the logic:
    stop();
    // declare this var here so that is accessible
    var mycontent:MovieClip;
    var myrequest:URLRequest=new URLRequest("HomeSonny.swf");
    var myloader:Loader = new Loader();
    // you need to add listener here - before you start loading
    // also you shouldn't mix loading with mouse click
    myloader.contentLoaderInfo.addEventListener(Event.COMPLETE, onFileLoad);
    myloader.load(myrequest);
    // since your content changes - you shouldn't add it here
    // stage.addChild(myloader);
    //main buttons
    menu.nosotros.addEventListener(MouseEvent.CLICK, clickmouse);
    //subButtons
    menu.historia.addEventListener(MouseEvent.CLICK, subMenu);
    function onFileLoad(e:Event):void {
         // remove previous content
         if (mycontent) {
              removeChild(mycontent);
              mycontent = null;
         mycontent = evt.target.content as MovieClip;
         addChild(mycontent);
    function clickmouse(evt:MouseEvent):void {
         trace("click")
         myloader.load(new URLRequest("swf/"+evt.target.name+".swf"));
    function subMenu(evt:MouseEvent):void {
         trace("clickSub")
         mycontent.gotoAndStop("historia");

  • How can I load data into table with SQL*LOADER

    how can I load data into table with SQL*LOADER
    when column data length more than 255 bytes?
    when column exceed 255 ,data can not be insert into table by SQL*LOADER
    CREATE TABLE A (
    A VARCHAR2 ( 10 ) ,
    B VARCHAR2 ( 10 ) ,
    C VARCHAR2 ( 10 ) ,
    E VARCHAR2 ( 2000 ) );
    control file:
    load data
    append into table A
    fields terminated by X'09'
    (A , B , C , E )
    SQL*LOADER command:
    sqlldr test/test control=A_ctl.txt data=A.xls log=b.log
    datafile:
    column E is more than 255bytes
    1     1     1     1234567------(more than 255bytes)
    1     1     1     1234567------(more than 255bytes)
    1     1     1     1234567------(more than 255bytes)
    1     1     1     1234567------(more than 255bytes)
    1     1     1     1234567------(more than 255bytes)
    1     1     1     1234567------(more than 255bytes)
    1     1     1     1234567------(more than 255bytes)
    1     1     1     1234567------(more than 255bytes)

    Check this out.
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96652/ch06.htm#1006961

  • How to control the shared libs when creating an new OC4J  in AS 10.1.3.4

    Hi there
    I experience some wired behavior in AS 10.1.3.4!
    I Have 2 different installation of AS 10.,1.3.4 (Win 2003 server).
    When I create an OC4J instance (using the manager) at virtual server 1 I got 28 global libraries
    When I create an OC4J instance (using the manager) at virtual server 2 I got 30 global libraries, (+ apache.webservices & oracle.ifs.client )
    Why this difference ?
    And how to control it?
    Note the default instance "Home" has 28 libraries on both servers!!
    Why is it sometime possible possible to use <instance>applib for the jar, and sometime I need to create an <instance>\shared-lib\global.libraries\1.0 library ?
    Regards HAns

    Hi there
    I experience some wired behavior in AS 10.1.3.4!
    I Have 2 different installation of AS 10.,1.3.4 (Win 2003 server).
    When I create an OC4J instance (using the manager) at virtual server 1 I got 28 global libraries
    When I create an OC4J instance (using the manager) at virtual server 2 I got 30 global libraries, (+ apache.webservices & oracle.ifs.client )
    Why this difference ?
    And how to control it?
    Note the default instance "Home" has 28 libraries on both servers!!
    Why is it sometime possible possible to use <instance>applib for the jar, and sometime I need to create an <instance>\shared-lib\global.libraries\1.0 library ?
    Regards HAns

  • How to control the data  in data selection

    Hi,
    how to control the data  .
    in the transfer structure I am having 10 fields and and the file which is to be loaded contains 7 fields only.where can I control  the other 3 fields and how .
    thanks in advance
    karna

    If your source file is flat file, add extra three fields with blank (just add field separator say comma for each extra field) and then load. It should be ok.
    Hope it helps..

  • How can I load a CMYK jpeg image

    How can I load a CMYK jpeg image (originally saved from Photoshop) and then
    turn it into an rgb BufferedImage, in order to display it on screen in an
    applet?
    I first tried ImageIO.read(), but that does not work for cmyk jpegs. I then
    looked into the com.sun.image.codec.jpeg package, and tried methods like
    decodeAsBufferedImage() and decodeAsRaster().
    The first one (decodeAsBufferedImage) returned an image, but it seems that
    it was interpreted as an ARGB, and the colors were incorrect.
    I then read the documentation which (amongst many other things) stated that
    "If the user needs better control over conversion, the user must request the
    data as a Raster and handle the conversion of the image data themselves."
    This made sense, so I took to decodeAsRaster(), only to find that I could
    not figure out how to carry out the desired conversion.
    Of course, I have looked into the documentation for BufferedImage, Raster,
    ColorModel, ColorSpace etc, but after a while I was lost. (Before I got lost
    I read that you can convert images with the help of methods like toRGB,
    toCIEXYZ.)
    I have a feeling that this is probably pretty simple if you just know how to
    do it, but I sure would need some directions here.
    Any help would be appreciated. Thanks.

    You can either use the "Place" command from the main menu, under "File", or you can just open it, select the move tool "V", the click in the image and drag it to the other file's tab.

  • How to control the processing of the request?

    I have something like this:
    <h:inputText value="#{sessionController.currentRowData.settlementId}"/>
    <h:inputText value="#{sessionController.currentRowData.remark}"/>
    <h:inputText value="#{sessionController.currentRowData.fromDate}">
         <f:convertDateTime pattern="yyyy-MM-dd"/>
    </h:inputText>
    The currentRowData object is the currently selected row of a data model.
    Problem is, the model is updated with the value of the components whenever the form is submitted,
    and regardless of whether the value of the components has changed or not.
    (Actually, the behaviour depends on the type of the property, as ie. Date is treated differently from String or int.)
    This causes unwanted changes to the model, and, if a new row is selected, it will at once
    be updated with the values of the previous row (from the current state of the components).
    I want the above components to update the model only if the user wants to, ie. only if a
    specific command button is pressed.
    How to control this?
    Let a PhaseListener check the request, and do renderResponse on the FacesContext if
    the "selectRow" request is found in the request parameter map?
    This is not very elegant, and it does not seem to work either. If setting PhaseId to APPLY_REQUEST_VALUES, the action itself (selecting row)
    will not be executed, and if using UPDATE_MODEL_VALUES, the value of the components is set from the request (even if unchanged), and not updated according the the new data in the model (the rendered values does not reflect the values of the properties of the object the components are bound to)
    Another solution might be to let the "disabled"-attribute of the inputText tags be dependent on whether
    a specific "edit"-button has been pressed (disabled inputText tags are rendered correctly after a row change).
    But a better solution would to have the ability to control the behaviour, something like
    "for these components, no updating of state should be done unless the condition c is true"
    (I'm not sure what condition this could be, though).
    Whatever solution I may end up with, the real problem seems to be that the state (and hence the model)
    is updated from the request also in the case where the value in the request is the same as the current value of the component.
    Or maybe there is something I have missed here?
    erik

    This one is a tricky problem - a side-effect of JSF doing a lot of things automatically is that sometimes it does too much.
    I don't have a great solution, but here's a couple of ideas:
    (1) Try using multiple <h:form>s on your page (not nested one inside the other, but separate). Data will only get updated in the form that contains the button that got pressed.
    (2) Use an intermediate model layer, and discard updates as appropriate.
    Neither of these are beautiful solutions - the second is way ugly - but they might help. Long-range, I'd love to see something like "subforms" supported in JSF that can provide finer grained control over what gets processed (validations, model pushes, etc.) and what doesn't without resorting to the blunt hammer of multiple HTML forms.
    I'm a little confused about "the model is updated with the value of the components whenever the form is submitted, and regardless of whether the value of the components has changed or not.", because JSF is checking the old value and using ".equals()" to see if its changed. Note, however, that it's not caching the old value across the request, but simply going back to the model on the subsequent request, which may (or may not) explain the behavior you're seeing.
    -- Adam Winer (EG member)

  • Control load order of third-party menulets / menu extras at startup

    Does anyone know how to control or adjust the load order of third-party menulets / menu extras at startup? I am using the latest update to Tiger.

    There are two types of third-party menulets: those that use Apple's sanctioned "NSStatusItem" (which is not as full featured as Apple's menulets) and those that use the reversed-engineered (and unpublished) "NSMenuExtra" which is exactly what Apple's menulets use. The method for arranging these in your menubar depend on the type:
    1) Apple and "NSMenuExtra" menulets: hold down the command key (and keep it down) and you can click and drag these in the order your like.
    2) "NSStatusItem" menulets: these are added to left side of the the other menulets in the order they are launched. If these applications are in your "Login Items" then OS X launches these simultaneously, which means those that launched "quicker" will end up towards the right, and others will end up towards the left. The only real solution to controlling this order is to control the launch order by writing an AppleScript for each one that puts in an artificial delay before launch. Then, use these AppleScripts as your Login Items instead.

  • (AS3) Controlling Loaded SWF

    I am trying to control a loaded .swf with the parent .swf. I
    do not know how to call the loaded .swf. I know how to control the
    parent with the child, but not the other way around. any
    suggestions would be great. thanks!

    call on the Loader object where the movie is being held.
    You'll need to typecast like this....
    MovieClip(Loader.contentLoaderInfo.content). My recommendation is
    to store that path to a variable
    var myLoadedMovie:MovieClip = MovieClip(
    varNameOfMyLoader.contentLoaderInfo.content);
    change out the varNameOfMyLoader with the proper variable
    name and you should be able to target the movieclip as you would
    have done in AS2.

  • How to control adobe flash files with sliders and buttons

    Hi,
    I am trying to make a front panel for a vehicle completely designed in flash, and control it through labview.  I can load a flash file into an activex container successfully.  I have followed this thread here http://forums.ni.com/ni/board/message?board.id=170​&message.id=351719  and gotten everything working. 
    But my question is, how can I send data to the flash file from labview?  Some examples of things I need to do:  Interpret a CAN signal and have some text appear on the screen, Make buttons flash, etc.
    I understand how to load the swf, Im just not sure how to communicate with it.  One thing to mention is that the front panel for the vehicle will be fully custom coded.  However in the meantime, I am trying to figure out how to control it from labview.  Like if there is a clock.swf out on the net, how can I change the time from labview?  Is there a way to see what parameters are available for changing?
    Thanks in advance

    Hello,
    What specific Active X framework are you using to embed the container? The thread you referenced mentions Shockwave's Active X API, does this set of Active X functions expose methods for object control? 
    Could you elaborate as to the driver behind a fully Flash based front panel embedded within LabVIEW? Is this application inevitably going to be deployed as thin client software? 
    For interaction with custom flash applications aside from Active X, LabVIEW has an integrated Web Services feature to allow data transfer from custom thin client applications to the LabVIEW environment for processing and instrument control. A detailed discussion of the Web Services feature may be found via the links below:
    LabVIEW Web Services FAQ (Detailed)
    http://zone.ni.com/devzone/cda/tut/p/id/7747
    Web Services in LabVIEW (Overview)
    http://zone.ni.com/devzone/cda/tut/p/id/7350
    Please post back any further questions, or information on the system design.
    Cheers!
    Patrick Corcoran
    Application Engineering Specialist | Control
    National Instruments

Maybe you are looking for

  • External Hard Drive can't be opened and alias cannot be deleted or fixed

    I've just got a new iMac with Snow Leopard, but my external hard drive won't open. 1. I have the message *"The alias XXX can't be opened because the original item can't be found"* with the options to delete the alias, fix the alias or OK. I can't del

  • Shift+command+b not working for bold

    I just updated to cs6 and my "bold" key command is not working. (shift+command+b on mac) I am using a font that has BOLD. I can select bold from the character palette and it works fine but the key command will not work. I checked my key command list

  • Can someone explain what I am doing wrong? Windows Boot manager error.

    Okay, I've literally searched EVERYWHERE and can not find a reasonable answer to this question. Everytime I try to load windows on bootcamp, I get this error: Windows failed to start. A recent hardware or software change might be the cause . to fix p

  • Interested in the song in the orig iPhone Commercial???

    I remember reading a couple of threads a little while back where some people were curious to know what that song in the first iPhone commercial was. A few of us were even interested in using it as a ring tone. Well, I found the answer (not sure if an

  • Getting Abnormal program termination error.

    I tried to install Oracle HTTP Server using Oracle Companion cd 10g. But as I inserted the cd, before the universal installer start screen it displayed an error "Abnormal program termination. An internal error has occured. Please provide the followin