I need your expert opinion on how to create a map with multiple conditions.

Hello.
I need your expert opinion on how to create a map with multiple conditions.
I have a procedure (which i cannot import or re-create in OWB due to the bug), so i am trying to create a map instead :-(
How can i create a cursors within the map?
My function creates table and cursor.
Then it will have to check for duplicates in the tables (the one created and another table) - the criteria for finding duplicates is a number of fields.I then need to place few different conditions (if some attributes are not available) and it has to load cursor based on this conditions. The next step is to fetch the data into the cursor based on what attributes are missing.
The next thing it will do is insert the data into table (if record doesn't exist), output the error in separate table is record is corrupted, or update the record with changed information.
In short i need to re-create match / merge but with conditions, iterations etc 'built into' it.
I can read up on available functions - it's just what would be the best options? and what would be the best approach to do so?
In my function i use %rowtype - but cannot use it in owb - so what would be the alternative? i don't really want to create a lot of variables and then have a nightmare of maintaing it. are there any tips regarding this?
having looked through Oracle dedupe - it's not really what i need because it is just DISTINCT.
I would appreciate any help / advise on this.
Thank you very much

thanks a lot for your reply - i will look into this option :-)
it is a bit more complicated now as i have to re-create the match / merge and then somehow 'tweak' it to achieve the result i need.
At the moment i am looking to breakdown the package into smaller chunks 'functions' and try creating the map that way.
Anyway, thank you very much for your suggestion.

Similar Messages

  • How does create a server with multiple Clients ?

    Any people can lead me .
    How does create a server with multiple Clients ?
    Thanks

    For a multithreaded server you will need a thread to listen and at least one thread per client. If the conversation is half duplex, one thread per client works very well, if it's full duplex you will find one thread to send and one to receive much easier to program.
    I posted a Simple Socket Server that uses 1+2*clients threads.

  • How to create list items with multiple attachment files using rest api javascript

    In one of user form I am using javascript rest api to create a list item with multiple attachment files. So far I am able to create list item and once created uploading an attachment file. But this is two step process first create an item and then upload
    a file.
    It create an additional version of the item which is not desired. Also I am not able find a way to attach multiple files in a go. Following is the code I am using.
    createitem.executeAsync({
                    url: "/_api/web/lists/GetByTitle('UserForm')/items(1)/AttachmentFiles/add(FileName='" + aFile.name + "')",
                    method: "POST",
                    contentType: "application/json;odata=verbose",
                    headers: {
                        "Accept": "application/json;odata=verbose",
                        "X-RequestDigest": $("#__REQUESTDIGEST").val()
                    binaryStringRequestBody: true,
                    body: fileContent,
                    success: fnsuccess,
                    error: fnerror
    So somehow I need to combine item attributes along with attachment files in body: param. I visited https://msdn.microsoft.com/en-us/library/office/dn531433.aspx#bk_ListItem but no success.
    Appreciate any help.

    Thanks Mahesh for the reply and post you share it was useful.
    But this does not solve the core of the issue. You are uploading attachments after creation of item and multiple files are being attached in loop. This is kind of iterative update to an existing item with attachments. This will end up creating multiple versions. 
    What I am trying to achieve is to create an item along with multiple attachments in a go. No item updates further to attach a file.
    Please suggest how this can be done in one go. SharePoint does it when one creates an item with multiple attachment.
    Thanks for your reply.

  • How to create a table with multiple select on???

    Hi all,
            I am  new to webdynpro and my requirement is to create a  table with multiple selection on.I have to add abt 10 rows in the table but only 5 rows should be visible and moreover a verticalscroll should be available to view other rows.Can anybody explain me in detail how to do that.Please reply as if you are explaining  to a newcomer.Reply ASAP as i have to do it today.
                                                                           Thanxs

    Hi,
    1. Create a value node in your context name Table and set its cardinality to 0:n
    2. Create 2 value attributes within the Table node name value1 and value2
    3. Goto Outline view> Right click on TransparentUIContainer>Apply Template> Select Table>mark the node Table and it's attributes.
    you have created a table and binded its value to context
    Table UI properties
    4.Set Selection Mode to Multi
    5.Set Visible Row Count to 5
    6.ScrollableColCount to 5
    In your implemetaion, you can add values to table as follow:
    IPrivate<viewname>.ITableElement ele = wdContext.nodeTable().createTableElement();
    ele.setValue1(<value>);
    ele.setValue2(<value>);
    wdContext.nodeTable().addElement(ele);
    The above code will allow you to add elements to your table node.
    Regards,
    Murtuza

  • How to create a mapping with text file as my target

    I need to create a mapping with source as a table and target as a text file.
    I am using OWB 10g R2. with database Oracle10g.
    Any one can help me to create a mapping with a text file as target.

    Hi,
    just create a File-Location and File-definition and use this file-operator as target object inside your mapping.
    Regards jwehner

  • How to create Item Codes with multiple Item Description

    Hi,
    for one of my client, we need to create Item Codes with multiple Item Description.
    e.g.,
    Item Code - M00285
    Item Description 1 - Blue Paint
    Item Description 2 - Red Paint
    Is that possible in SAP Business One? If "Yes" kindly provide a solution. Else recommend an alternative method.
    Regards,
    Ammheya U. Naaik

    Ammheya,
    I just wanted to add that there is an Add-On that handles "Style, Color, Size" situations like yours.
    It allows you to define a "master" item, (Paint, for example) and then setup the various styles, colors and sizes it comes in. 
    This creates sub-items for each with the master in the ItemCode (Paint-Blue, Paint-Red, etc)
    It's called MatrixOne from Navigator.  You could find it on the partner portal with other Add-Ons.
    Hope thathelps,
    Brad Windecker

  • How to create a dashboard with multiple prompts ?????

    Dear All,
    I need to design a dashboard with multiple prompts, which has been desined from webi.
    Ex: i have a prompts of year,sales manager and promotions has prompts in webi report.
    I am trying to create a dashboard on top of this webi report; i am also using live office.
    how can i design this dashboard with mutiple prompts.
    any doc's are links which is related to this topic will be a great help.
    Thanks in advance.
    Regards,
    Suman

    Dear Praveen,
    Thanks for your suggestion; i hope we need some third party tool for multiple selection.
    But i need to know which kind selectors i can use from the components for multiple selection.
    question 1:
    Ex:
    I have prompt for year;
    scenario 1: i need to filter the year by 2001,2002,2003.
    or
    scenario 2: need to filter the year by only one year 2001.
    question 2:
    I have created a dashboard on top of webi report; but i have filter for the year in from to value's.
    Ex:
    Year is from 2001 - 2009.
    when i am enabling this prompt in xcelsius i cannot see from and to option; how should i design this one.
    Regards,
    Suman

  • How to create a ListDefinition with multiple ContentTypes

    Hi,
    i need to create a list definition with two contenttypes. When is use the Visual Studio SharePoint ListDefinition from ContentType, i am only able to add one contenttype to the list. But i have two contenttypes. I don't know how to add them to a ListDefinition
    (DocumentLibrary).
    This is my Contenttype:
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <Field ID="{1D6C3BF2-5269-4892-B147-659A5EE36BED}" Name="MyChoiceField" DisplayName="MyChoiceField" Type="Choice" Group="MyBox" Hidden="False" Required="False">
    <CHOICES>
    <CHOICE>-/-</CHOICE>
    <CHOICE>Choice1</CHOICE>
    <CHOICE>Choice2</CHOICE>
    </CHOICES>
    </Field>
    <!-- Parent ContentType: Document (0x0101) -->
    <ContentType ID="0x010100d7d016b413b244e8a6a185cf8b0afd3b"
    Name="MyBox Document"
    Group="MyBox"
    Description=""
    Inherits="False"
    Version="0">
    <FieldRefs>
    <FieldRef ID="{1D6C3BF2-5269-4892-B147-659A5EE36BED}" />
    <FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Hidden="TRUE" Required="FALSE" DisplayName="_hidden" />
    </FieldRefs>
    </ContentType>
    <!-- Parent ContentType: Folder (0x0120) -->
    <ContentType ID="0x012000cdce40c9703b4b5aa7a84044a040c005"
    Name="MyBox Folder"
    Group="MyBox"
    Description=""
    Inherits="False"
    Version="0">
    <FieldRefs>
    <FieldRef ID="{1D6C3BF2-5269-4892-B147-659A5EE36BED}" />
    </FieldRefs>
    </ContentType>
    </Elements>
    Is there a way to create a minimal schema.xml with these contenttypes manually or what are the steps to build a listdefinition with multiple contenttypes?
    Best Regards
    Bog
    Developers Field Notes | www.bog1.de

    You can define them in the schema.xml of list definition.
    <?xml version="1.0" encoding="utf-8"?>
    <List xmlns:ows="Microsoft SharePoint" Title="Something" Direction="$Resources:Direction;" Url="Something" BaseType="1" xmlns="http://schemas.microsoft.com/sharepoint/" EnableContentTypes="TRUE">
    <MetaData>
    <ContentTypes>
    <ContentTypeRef ID="0x0100707A19136D594D7784D9E30A5FBA58C1002D7898DEE60A4FDEBD3CD1EFAB442000" />
    <ContentTypeRef ID="0x0100707A19136D594D7784D9E30A5FBA58C1002D7898DEE60A4FDEBD3CD1EFAB4427A000678E9CDB185C4DCEAC41F865393A1234" />
    <ContentTypeRef ID="0x0100707A19136D594D7784D9E30A5FBA58C1002D7898DEE60A4FDEBD3CD1EFAB4427A0007A4D2F6526CA4D8F8B5AD2BD64C3A123" />
    </ContentTypes>
    <Fields> </Fields>
    <Views> </Views>  </MetaData>
    </List>
    --Cheers

  • How to create a Mapping with Input Parameter?

    Hi,
    I have a target table where the primary key column should be loaded with an Input parameter value. How can we implement this? Let me know if any examples are available?
    Regards
    Kishan

    Use a map input operator in your mapping. In the outgroup add an attribute, mapp the attribute with the column and then you can start the mapping with an extra input parameter.
    Bye
    Detlef

  • How to create sales return with multiple invoices

    Hi ,
    I am creating a sales order return with reference of billing document using FM SD_SALESDOCUMENT_CREATE, if i give one Billing document as a reference document it is creating document perfectly.
    But my Requirement is to create one Return sales order with multiple invoices.
    I tried to pass reference document no's in Item level , but it take first reference document number only , for that reference document only return is creating.
    Can you any one help me how to create this.
    Thanks in advance
    Swapna.

    Hello Venkat,
    As I know it is not possible to create a single return order for multiple invoices in the background.
    It is possible in the foreground by following the below steps.
    1) Goto VA01 --> enter the Sales order type and Sales area.
    2) Press F8 or click on create with reference, provide the first invoice.
    3) Now the main screen would appear, displaying line items from Invoice1.
    4) Without going back, again goto path, Sales document -> Create with reference
    5) Enter second invoice2. and the items from invoice2 will also appear in the Sales order line item.
    ------ Enter as many number of invoices by repeating the above step--------------------
    6) Press save, so one sales order is created for multiple invoices.
    Regards,
    Thanga

  • How to create a VI with multiple windows/displays?

    Hi, I'm new to LabVIEW and just trying to increase my understanding so please bear with me.I want to write a VI where the user is presented with a series of windows and depending on the button, different windows are displayed. What would be the best way to implement this? Is there a way to change the Front Panel all in one VI? Or would it be better to do it using SubVIs? Or separate VIs for each window? I've looked at the Open VI Reference and Invoke Node VIs and can see a possible implementation that way, but I'm still curious if this is the best way. I also considered using tabs, but I want the different "windows" to be unique and not tabs. By "windows" I mean when the user clicks a button, a completely different Front Panel is displayed and the previous one is hidden/closed. Thanks for any help.

    First.  Yes the property "FP Open" is writable during run time.  So you can programatically show and hide the front panels of several sub vis that your main "launcher" can control.  Another option is to launch sub-vis that are "Modal" so that they act like dialog pop-ups and float to the top until the user performs some action that closes the sub-vi execution.  Personally I use this method frequently for actions like setting test options, selecting test vectors or displaying error information to the user.
    But I do want to add a caution,  Make sure your user can understand what is going on!  By that I mean that you must take into account that most applications have one main interface and, your user is used to this behavior in the applications that they run, so this MUST affect your UI design.  Unless you want all of your users to start using the phrase "Well, this is a sdsdsding mess!" you can't get very far away from the typical application UI paradigm.  If I ran an app that changed panels, and kept closing where I came from, throughout its normal functions I would become frustrated as a user.  As the Developer of that App I would know how I coded it and therefore the switching would make sense to me but, the target user is the person that must deal with it.  (And you never know when even the code you develop as a "development aid" will have reuse potential and need to be adapted for a large target  audience).
    Jeff

  • How to create a search with multiple criteria

    Hi
    I've a table that contain staff information. (name, dept. position, ext, email...etc)
    I've created a search page that allow the user to search any field. The result should appear in the same page
    first i've created the form:
    enter staff First_Name:
    enter Dept. :
    select position:
    submit button
    Then I've created the record set that select all the feilds from the table, now i need a help in the criteria, This is what I used:
    SELECT *
    FROM tblstaff
    WHERE First_Name LIKE %colname% AND Dept = coldept
    for both colname and coldept
    default = 1
    runtime value = $HTTP_POST_VARS['First_Name']    -    $HTTP_POST_VARS['Dept']
    It seems to work fine when i enter all the values in the search form. but what if i left some fields empty? In other word how can I add (All in the drop down menu and accept empty value for the text search)??
    can anyone help me?

    The simplest way to do this is to add a wildcard character to the end of coldept and make the field optional.
    SELECT *
    FROM tblstaff
    WHERE First_Name LIKE %colname% AND Dept LIKE coldept%
    If the department field is left empty, it will match all departments.
    By the way, you should not be using $HTTP_POST_VARS or $HTTP_GET_VARS. It's obsolete code, and will break on a modern installation of PHP. Use $_POST and $_GET instead.

  • How to create a group with multiple data fields

    Post Author: RichS
    CA Forum: Formula
    Using CR XI.  Using CSV input from ODBC text driver.  No problems here.
    There are 3 fields that I want the same group by action.  Is this possible?) 
    If any one of these 3 fields change I want some header information and column fieldnames to display.  The header information I only want displayed on the first page (on the change) and the column fieldnames to display on every page.  I have played around with things like "InRepeatedGroupHeader" and "report group header on each page".  I am not getting all the results that I am looking for though.
    I want report to look like:
    Page header stuff  (to display on every page)  This data consists of some fields that will have static data and will display on every page.  And it consists of 3 non-static fields that I want to group on. 
    Group header stuff that I only want displayed on the first page on a change from one of the 3 fields mentioned above.
    Column headings that I want displayed on every page.
    Details data
    Group footer stuff (details not important for this)
    I get the expected output (column headings displayed on every page, and group header stuff display on the first page on each group change) with one group field.  But I want the group change to happen for all 3 fields.
    It seems simple but I can't find a way to create a "group" so if "field1 or field2 or field3" change, I get the same "group by" action.  I just need to know how to get the expected action.
    I expect that I might have some terms mixed up and/or some important information that would aide you in helping me.  If that is the case please re-post and I will add any missing or mis-stated information.
    Thanks,

    Post Author: V361
    CA Forum: Formula
    I am slightly confused, but perhaps you can create a formula
    Then group on the formula.  If this is not what you want, could you post some sample data, with the desired results.

  • How to create Interactive PDF with multiple .mp4 videos– without lagging on playback?

    I'm creating a long document with no real effects-- just a "fade" transition from page to page-- and multiple videos. These videos are all formatted as .mp4s, and I have had no issues with the actual process of getting them embedded and playing back on export.
    My real issue is that the videos are all extremely laggy on playback. Since this is a presentation document, I'd like to know if there are any options for making the playback a bit smoother. Each video, by itself, plays with no issues. Would the combined filesize of all the videos be causing this? There are about eight 30-second videos and one 2-minute video, which makes the filesize quite large.
    Filesize is not an issue, so is there some way to completely embed the videos or create an external folder the PDF document can draw the videos from on playback...? Hopefully I won't be stuck with laggy videos.

    My suspicion is that computer setup has more to do it than anything. How much RAM, whether other apps are loaded, what kind of graphics chip, stuff like that.
    I don't know of a setting, though you can look at the Flash Player settings in Acrobat. There is certainly nothing in InDesign that would affect it.

  • How to create a DVD with multiple video projects

    I want to burn a DVD with several short video projects so that it will run without stopping in between.

    Hi
    *Play all resp one chapter at a time*
    Play All Button
    1. There are NO - Play All - button in any version of iDVD
    2. It can be faked in several ways
    • Easies and most fault proof way is to make a doublet movie containing All and with
    Chapters set to match. It will take up x2 space but is easy to understand and produce.
    • It's said that one can put all movies into a Photo/SlideShow and this will also
    give the function of a Play All button - Never tested though.
    • Using another program to do this eg. Roxio Toast™ where there ia a Play All button option.
    Mike Evangelist1
    You might be able to get close to what you want by using a slideshow in iDVD. (It's not widely known, but you can put videos in a slideshow.) If you set the slide duration to manual, playback will pause after each movie/slide, and you can continue with the 'next' button.
    Yours Bengt W

Maybe you are looking for

  • Update form when table is updated

    Hi experts, I am quite new to apex and i have come across an issue. I have created a table with 10 columns and from that created a form/report.i have to update my table by adding new columns but i can't get my report updated. i have manually included

  • Blank Screen in Message Window of Solution Manager SPS 13

    Hi Gurus, We have SolMan SPS 13 and we have very strang Issue at the ABAP side : The Message Windows ( Most of them ) appears as just plain white Blank Screen i.e. there's a header in the message window but, no msg text as the entire window is pure w

  • A non-numeric character was found ...  iAS 8 & ora 8.1.6

    I have a problem in iAS 8 and Oracle 8.1.6 under windows 2000. The problem is calling nested packages using plql gateway, I mean I call one package and it call's another package, this operation throws " a non-numeric character was found where a numer

  • I want to separate my audio tracks

    I have two different tracks, one with handheld mic and the other on camera mic but I can select or delete only one... how can i separate them?

  • Satellite X200 and Windows7 (32bit) - Card Reader is not working

    Hi All, Hope someone can help. My X200-219 has recently been upgraded to Windows7 and although it is running well, (better than with Vista for now anyway), the card reader is not working. Do I need a driver installed?? Looked at various but can't fin