How to implement lookup on a flatfile in Data Integrator

Hi,
I am trying to lookup for a value in flatfile. My scenario is follows:
File-1 is my source, File-2 is lookup source. I am trying to pass column value from file-1 to lookup on File-2, but I am not able to implement a look up on file, DI is giving error on lookup does not exists.
Please let me know the way to pass path of the file while creating a lookup on flatfile.
Thanks,
Phani

what is the version of DI ?
can you give the complete lookup_ext() function call that you are using ?
did you use funtion wizard to generate the function call or typed the complete function call with arguments?
is this error coming on validation or run time?

Similar Messages

  • How to implement scroll in a list of data in a carac. RF terminal?

    Hi,
    Does anyone know how to implement some sort of scroll box in a SAPConsole context, to appear in a caracter based RF terminal?
    Thanks,
    Bruno

    I'm pretty sure there is nothing like that.  That is more of a GUI function.  You can probably to something, like paging up and down.  Of course you would have to handle this in your ABAP code.  For example,  say your screen is 20X16.  Meaning that you have 16 lines to work with.  Say that your list has 32 lines.  When presenting to the user for the first time, your screen would have the first 16 lines display,  if the user would press some FCODE, then you would refresh the screen with the next 16 lines. Make sense?  Exactly what is your requirement.
    Regards,
    Rich Heilman

  • Can please tell me how to implement expand and collapse table row data?

    i am trying implement expand and collapse table row data but i do not get any ideas..can please any one help me its an urgent requirement

    Yes, we can.   
    I think the best place for you to start for this is the NI Developer Zone.  I recommend beginning with these tutorials I found by searching on "data log rio".  There were more than just these few that might be relevant to your project but I'll leave that for you to decide.
    NI Compact RIO Setup and Services ->  http://zone.ni.com/devzone/cda/tut/p/id/11394
    Getting Started with CompactRIO - Logging Data to Disk  ->  http://zone.ni.com/devzone/cda/tut/p/id/11198
    Getting Started with CompactRIO - Performing Basic Control ->  http://zone.ni.com/devzone/cda/tut/p/id/11197
    These will probably give you links to more topics/tutorials/examples that can help you design and implement your target system.
    Jason
    Wire Warrior
    Behold the power of LabVIEW as my army of Roomba minions streaks across the floor!

  • How to call text file using Script in Data Integrator

    Dear All,
    Can any one assit me in how to call a text file using script with the help of Data Integrator.
    and one question ?
    M having 32 csv files i want to club thos 32 csv files into one table with the help of Data Integrator, can
    any one assist me.

    mary,
    since you knew the file name ,when clicked in name send to server,read the file and write to servlet outputstream.
    I think this would help you.
    If anything wrong in mycode ..forums will help you further
    BufferedInputStream bis=null;
    BufferedOutputStream bos=null;
    int bytesRead=0;
    byte buff[]=new byte[1024];
    File f=new File(test.txt);
    try{
         bis= new BufferedInputStream(new FileInputStream(f));
         bytesRead=bis.read(buff,0,buff.length);
         if(bytesRead!=-1){
              // create a BufferedOutputStream from ServletOutputStream
              bos=new BufferedInputStream(response.getOutputStream());
              do{
                   bos.write(buff,0,bytesRead);
              }while((bytesRead=bis.read(buff,0,buff.length))!=-1)
    }catch(Exception e){
         ////error handling
         }

  • Need help on how to create the simple mapping using ORACLE DATA INTEGRATOR

    Hi guys,
    am new to learn odi.. please share me or steps how to develop the simple mapping using ODI...

    Hi,
    I am a newbie to Oracle Data Integrator as well. You should have a look here first; http://www.business-intelligence-quotient.com/?p=379
    Try to play around with ODI and then come back if you have specific questions. You should better move to this ODI-forum; Data Integrator
    Good Luck,
    Daan Bakboord
    http://obibb.wordpress.com

  • How to Implement 30 days Range Partitioning with Date column. Not Interval

    Hi,
    I am using the db:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit
    Current table structure is:
    CREATE TABLE A
    a NUMBER,
    CreationDate DATE
    PARTITION BY RANGE (CreationDate)
    INTERVAL ( NUMTODSINTERVAL (30, 'DAY') )
    (PARTITION P_FIRST
    VALUES LESS THAN (TIMESTAMP ' 2001-01-01 00:00:00'))
    How can I define virtual column based partitioning with RANGE partitioning without using INTERVAL partitioning.
    And that is with Intervals of 30 days.
    For monthly I am trying as
    CREATE TABLE A
    a NUMBER,
    CreationDate DATE,
    monthly_interval date as (to_char(CreationDate,'MM-YYYY')) VIRTUAL
    PARTITION BY RANGE (monthly_interval)
    partition p_AUG12 values less than (to_date('08-2012','mm-yyyy')),
    partition p_SEP12 values less than (to_date('09-2012','mm-yyyy')),
    partition p_OCT12 values less than (to_date('10-2012','mm-yyyy'))
    Enable ROw Movement
    BUT CAN'T INSERT the data even for that:
    Insert into a (a, CreationDate)
    Values (1, '12-10-2012')
    Insert into a (a, CreationDate)
    Values (1, '12-10-2012')
    Please suggest..

    Hi rp,
    Interval Partitioned to Range. Created Daily Partitions from Monthly Part. got complicated so I am posting here.
    Basically,
    I know Interval Partitioning is a kind of Range partitioning. But explicitly for Interval Partitioned tables XML Indexes are not allowed as discussed here:
    XMLIndexes on an Interval Partitioned Table??
    I can do monthly partitions as :
    CREATE TABLE A
    a NUMBER,
    CreationDate DATE,
    monthly_interval varchar2(8) as (to_char(CreationDate,'MM-YYYY')) VIRTUAL
    PARTITION BY RANGE (monthly_interval)
    partition p_AUG12 values less than ('09-2012'),
    partition p_SEP12 values less than ('10-2012'),
    partition p_OCT12 values less than ('11-2012')
    ) Enable ROw Movement
    Insert into a (a, CreationDate)
    Values (1, '12-SEP-2012')
    Insert into a (a, CreationDate)
    Values (1, '14-SEP-2012')
    Select * from A partition (p_SEP12)
    Select * from A partition (p_AUG12)
    Select * from A partition (p_OCT12)
    Can we do it for 30 days partitions, instead of the monthly partitions. ANY suggestions..
    Thanks..

  • How to achieve poll-based scenarios in Oracle Data Integrator

    Hi ,
    Could you pleaes let me know as to how to achieve poll-based scenarios in ODI?
    I have a requirement where in, ODI has to interface with a JMS Queue for XML messages and write to a DB.
    This is not based on a schedule. The ODI interface has to poll for the messages from the queue and write to the DB.
    How would I achieve this?
    It would help if one can give the required steps to go about this.
    I have created a package containing the interface that picks the xml msg from queue and inserts into a DB table. I have generated a scenario for the package. I have modified the MAXMESSAGETIMEOUT in the LKM to 0
    then what else I have to do?
    I have launched a listener agent; but how would I associate this with the generated scenairo?
    Any insights into this would really help!!!
    Thanks,
    Manoj Nair.

    Hi,
    ODI will do a SINGLE commit after all the rows have been inserted/updated in to the target table, so dont worry about the "rollback" if the transactions fails.
    For the handling failed transactions, you need handle it using CKM by having constraints defined for the transactions and move it to E$ table if its violated.
    Hopes this helps.
    Thanks,
    Guru

  • Webinar: How to implement secure scenarios with SAP NW PI 7.1

    SAP Intelligence Platform & NetWeaver RIG APJ Expert Call
    Dear valued SAP Experts,
    Next SAP Intelligence Platform & NetWeaver RIG Expert Call Session will take place on Tuesday, August 18.
    The SAP Intelligence Platform & NetWeaver RIG Expert Call Sessions are designed to support consultants, partners and customers  during their implementation projects. The sessions cover all different aspects of SAP NetWeaver and are aimed at
    thus provide knowledge which is not available via standard training courses. The session duration is typically 60min and includes questions and answers.
    Tuesday, August 18, 2009:
    How to implement secure scenarios with SAP NetWeaver Process Integration 7.1
    Time: 2.00 - 3.00 p.m. Singapore Time (UTC +8)
    This event will feature Makoto Sugishita with the SAP Intelligence Platform & NetWeaver Regional Implementation Group.
    Makoto provides the following abstract:
    In this session you will learn more about the core security concepts that are provided with the service-oriented architecture (SOA)
    management capabilities in SAP NetWeaver Process Integration (SAP NetWeaver PI). This session will cover main use cases and
    supported scenarios of secure SAP NetWeaver PI deployments. 
    SAP Connect Link: https://sap.emea.pgiconnect.com/I016095
    (no passcode needed)
    Dial in:
    For dial in details please register here http://www.surveymonkey.com/s.aspx?sm=EFeuZl9PxrwKOW5i5W556g_3d_3d
    Kind regards,
    Sarma Sishta
    SAP Intelligence Platform & NetWeaver RIG APJ

    hi,
    I'm making this a sticky thread till August 18 so it will have better visibility
    Regards,
    Michal Krawczyk

  • How to implement Dynamic lookup in OWB mappings(10g)

    Hi,
    Iam using OWB 10g version for developing the mappings.
    Now I need to implement the Dynamic lookup in the mapping.Is there any transformations available in OWB to achieve this.
    Please give me some information about the same.
    Thanks in advance...

    Hi,
    first i have created a procedure witht he following code in the code editor...
    BEGIN
    Declare
    Cursor C_brand_col is
    Select cat from TBL_CAT_EDESC_BRAND ;
    Vbrand varchar2(240);
    Cursor C_bredesc_col is
    Select EDESC_BRAND from TBL_CAT_EDESC_BRAND;
    Vbredesc varchar2(240);
    V_Command varchar2(30000);
    Begin
    Open C_brand_col;
    Fetch C_brand_col into vbrand;
    Open C_bredesc_col;
    Fetch C_bredesc_col into vbredesc;
    loop
    V_Command := 'update sav_fc_sa_pc c set c.'||vbrand||'=';
    V_Command := V_Command||'(select d.fc_brands_sa from TEST_brand d' ;
    V_Command := V_Command||' where d.brand_edesc = '||''''||vbredesc||''''||' and c.cardno=d.cardno)';
    dbms_output.put_line('10 '||V_command);
    Execute immediate v_command;
    Fetch C_brand_col into vbrand;
    Exit when c_brand_col%notfound;
    Fetch C_bredesc_col into vbredesc;
    Exit when c_bredesc_col%notfound;
    end loop;
    commit;
    end;
    END;
    then i validate it and deply it..
    after that i create a mapping and in that mapping i first import the table TBL_CAT_EDESC_BRAND and drag and drop it into the mapping and again the i put the procedure into a transformation operator and connect the inoutgrp of the table to the transformation operator ingrp deploy it and run it...this is taking a lot of time .... so i am not sure whether i am doing the right thing...for this dynamic sql i dont need to pass any parameters. can i juz execute this procedure or should i create a mapping ???? i am totally confused... could you please help me.....how to proceed........
    if i juz execute the dynamic sql it takes only 5 min in sql but i am not sure how ti implement it in owb... can you please help...
    Thanks a many

  • How to Implement HTTP Request Status Code Processing

    I actually have two questions. First, I wondering how to add multiple status code processing to an http request. Secondly, I was wondering how to go about using alternate http requests to different servers in case the primary server is down. What kind of parameter would the program use to determine that the server is unavailable and switch to another server??
    Currently, the program I've written calls an rdf server (http://www.rdfabout.com/sparql) using a sparql query,
    the server returns an xml string, the program parses it, and calculates numbers
    from the string. The program works, but the problem is that the server is down occasionally.
    When the server is down, we need to add calls to another server to
    increase reliability. So, the next task is to call this server:
    http://www.melissadata.com/lookups/ZipDemo2000.asp
    I need to do exactly the same things I did with the rdf server. The
    difference will be constructing a request and a bit different parsing of
    the response.
    current SPARQL query is defined as follows:
    PREFIX dc:  <http://purl.org/dc/elements/1.1/>
    PREFIX census: <http://www.rdfabout.com/rdf/schema/census/>
    PREFIX census1: <tag:govshare.info,2005:rdf/census/details/100pct/>
    DESCRIBE ?table WHERE {
    <http://www.rdfabout.com/rdf/usgov/geo/census/zcta/90292> census:details
    ?details .
    ?details census1:totalPopulation ?table .
    ?table dc:title "SEX BY AGE (P012001)" .
    }current HTTP Request is defined as follows:
    import java.net.*;
    import java.net.URL;
    import java.net.URLConnection;
    import java.io.*;
    import java.io.DataOutputStream;
    import java.io.BufferedReader;
    import java.io.StringReader;
    import java.io.InputStreamReader;
    import java.io.PrintStream;
    import java.util.Scanner;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    import java.util.Arrays; 
    public class MyConnection
         static Scanner sc = new Scanner(System.in);//allows user to input zipcode
        public static void main(String[] args) throws Exception
             int zip;//zipcode is declared as integer format
            //User defines zip through input
            //proceed to put SPARQL query into string, which is then used to call the server
            String requestPart1 =
            "query=PREFIX+dc%3A++%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%3E+%0D%0APREFIX+census%3A+%3Chttp%3A%2F%2Fwww.rdfabout.com%2Frdf%2Fschema%2Fcensus%2F%3E+%0D%0APREFIX+census1%3A+%3Ctag%3Agovshare.info%2C2005%3Ardf%2Fcensus%2Fdetails%2F100pct%2F%3E+%0D%0A%0D%0ADESCRIBE+%3Ftable+WHERE+%7B+%0D%0A+%3Chttp%3A%2F%2Fwww.rdfabout.com%2Frdf%2Fusgov%2Fgeo%2Fcensus%2Fzcta%2F";
            String requestPart2 = "" + zip; // zipcode is transformed from int to string format and plugged into SPARQL query here
            String requestPart3 =
            "%3E+census%3Adetails+%3Fdetails+.+%0D%0A+%3Fdetails+census1%3AtotalPopulation+%3Ftable+.+%0D%0A+%3Ftable+dc%3Atitle+%22SEX+BY+AGE+%28P012001%29%22+.+%0D%0A%7D%0D%0A&outputMimeType=text%2Fxml";
            String response = "";
            URL url = new URL("http://www.rdfabout.com/sparql");//designates server to connect to
            URLConnection conn = url.openConnection();//opens connection to server
            // Set connection parameters.
            conn.setDoInput (true);
            conn.setDoOutput (true);
            conn.setUseCaches (false);
            // Make server believe we are form data…
            conn.setRequestProperty("Content-Type","application/x-www-form-urlencoded");
            DataOutputStream out = new DataOutputStream (conn.getOutputStream ());
            // Write out the bytes of the content string to the stream.
            out.writeBytes(requestPart1 + requestPart2 + requestPart3);
            out.flush ();
            out.close ();
            // Read response from the input stream.
            BufferedReader in = new BufferedReader (new InputStreamReader(conn.getInputStream ()));
            String temp;
            while ((temp = in.readLine()) != null)
                 response += temp + "\n";
            temp = null;
            in.close ();
            //parsing stuff is taken care of after here
    }What remains now is to:
    1) add status code processing: notify if the server is not available, ect.
    2) add ability to connect to additional server if primary server is down.
    I'm thinking an if/else statement, which I've tried a few different ways,
    but I don't quite know how to implement that...Also trying to add the
    status code processing/error handling, but I'm not sure how to do that
    for multiple/different errors, such as 404, 503, 504, ect.. try/catch statements?
    So yeah, just been scratching my head on this trying to figure out how to work it..
    If you can help me out on this, I've been going nuts trying to figure this out...

    I think your issue comes form the fact that you are not casting URLConnection to HttpURLConnection.
    Doing the cast would allow you to use getResponseCode() - among other methods - and test for a response different than 200.
    Read: [http://mindprod.com/jgloss/urlconnection.html|http://mindprod.com/jgloss/urlconnection.html]

  • How to use lookup in xquery(OSB)

    Hi
    In xquery , I have hardcoded the value and compare the hard coded value against input payload and fetch the corresponding value for hard coded value .
    In this way, I have hardcoded around 35 values in Xquery .
    But the client wants to use lookup or xref, some what like name value pair and not to use hard coding in xquery .
    Please let me know, how to implement in Xquery .

    Additionally you may refer this one also..
    http://guidoschmutz.wordpress.com/2009/12/25/implement-domain-value-maps-dvm-with-oracle-service-bus-osb-10r3/
    With custom Xpaths.
    http://beatechnologies.wordpress.com/tag/lookup-shared-dvm-in-osb/

  • How to implement metadata keyword tags

    Can someone please advise me on how to implement meta keyword tag <meta name="keyword" content="..."> for individual community page? We have a set of keywords for each community page. I know we can just add the line above to base page layout if they are common keywords to all the community page but not sure whats the best way to add unique set of meta keyword tags to individual community page? FYI - We are using UCM for managing content for our site.

    I always did this using a property on the page object.
    1. Create a new property called "meta-keywords" and associate it to the community pages object through the global object property mapper utility.
    2. Edit your community page and add any keywords you desire.
    3. Write a custom tag for said property that takes a uuid as input (this way you can migrate and the tag remains the same.
    4. same idea works for any meta tag.
    Note: you are limited to 255 characters this way.
    Or you can probably code some kind of tag that reads from UCM as well, but i always did it the above way.
    Here is a tag example:
    public class MetaPropertyCurrentPage extends ATag {
         private OpenLogger log = OpenLogService.GetLogger(
                   OpenLogService.GetComponent(PTDebugHelpers.COMPONENT_PORTAL_COMMON),
                   "customizations.tag.standard.MetaPropertyCurrentPage");
         public static final RequiredTagAttribute UUID;
         public static final ITagMetaData TAG;
         static {
              TAG = new TagMetaData("currpageproperty",
                        "Displays the value of the property in the current page from the uuid.");
         UUID = new RequiredTagAttribute("uuid", "The UUID for the property you want to open.",
    AttributeType.STRING);
         @Override
         public ATag Create() {
              return new MetaPropertyCurrentPage();
         @Override
         public HTMLElement DisplayTag() {
              log.Info("Entering meta lookup");
              String objectid;
              String classid;
              HTMLElement result = new HTMLElementCollection();
              IEnvironment env = GetEnvironment();
              AActivitySpace owner = TaskAPIUICommon.GetEnvTypeObject(env);
              //get pageid
              int pageid = TaskAPIUICommunity.GetCurrentCommunityPageID(owner);
              //check if not a community page
              if (!TaskAPIUICommunity.IsCurrentPageCommunityPage(owner))
                   return result;
              //convert to objectid
              try
                   Object[] objectAndClassId = ((IPTMigrationManager)(((IPTSession)GetEnvironment()
                   .GetUserSession()).OpenGlobalObject(PT_GLOBALOBJECTS.PT_GLOBAL_MIGRATION_MANAGER,
                   false))).UUIDToObjectID(GetTagAttributeAsString(UUID));
                   objectid = objectAndClassId[PT_MIGRATION_OBJECT_COLS.PT_MOC_OBJECTID].toString();
                   log.Info( "found objectid" + objectid);
                   classid = objectAndClassId[PT_MIGRATION_OBJECT_COLS.PT_MOC_CLASSID].toString();
                   //check to make sure its a property
                   if (Integer.parseInt(classid) != PT_CLASSIDS.PT_PROPERTY_ID)
                        return new HTMLComment("UUID does not belong to a property");
              catch (Exception e)
                   log.Error(e, "error getting the objectid from the UUID.");
                   return null;
              //now get the property from it
              IPTSession session = (IPTSession)GetEnvironment().GetUserSession();
              IPTObjectManager objMgr = session.GetPages();
              IPTPage page = (IPTPage)objMgr.Open(pageid, false);
              log.Info("Page name: " + page.GetName());
              IPTQueryResult qresult = page.GetObjectProperties().GetSinglePropertyData(Integer.parseInt(objectid), PT_PROPIDS.PT_PROPID_PROP_VALUE);
              if (qresult.Data() != null)
                   IPTObjectManager objMgr2 = session.GetProperties();
                   IPTProperty prop = (IPTProperty)objMgr2.Open(Integer.parseInt(objectid), false);
                   String propName = prop.GetName();
                   log.Info("Property name is: " + propName);
                   String value = (String) qresult.Data()[1][0];
                   if (lang.equalsIgnoreCase(propLocale) && value != null && !value.equalsIgnoreCase(""))
                        result.AddInnerHTMLString("<meta name=\"" + propName + "\" content=\"" + value + "\" />");
              else
                   log.Info("Property Value not found.");
              return result;
         }

  • How to Implement BW in IT Service Desk/IT Help Desk /IT Complain Surveillance Dept/IT Customer Support Dept?

    Hi
    If a organization have 200 to 300 daily complains of there IT equipment/Software/Network e.t.c.
    How to Implement BW in IT Service Desk/IT Help Desk /IT Complain Surveillance Dept/IT Customer Support Dept?
    Is there any standard DataSources/InfoObjects/DSOs/InfoCubes etc. available in SAP BI Content?

    Imran,
    The point I think was to ensure that you knew exactly what was required. A customer service desk can have many interpretations from a BI perspective.
    You could have :
    1. Operational reports - calls attended per shift , Average number of calls per person , Seasonality in the calls coming in etc
    2. Analytic views - Utilization of resources , Average call time and trending , customer satisfaction , average wait time
    3. Strategic - Call volumes corresponding to campaigns etc , Employee churn and related call times
    Based on these you would then have to construct your models which would be populated by data from the MySQL instance for you to report.
    Else if you have BWA you could have data discovery instead or if you have HANA - you could do even more and if you have a HANA sidecar - you technically dont need BW. The possibilities are virtually endless - it depends on how you want to drive it and how the end user ( client ) sees value in the same.

  • How to implement implicit and explicit enhancement points

    Hi,
    Can anybody please provide some technical aspects of enhancement spots. I have gone through several sap sites and help poratl but have not get much technical things (how to implement or related t codes). please do not provide link to read theories.
    Rgds
    sudhanshu

    Hi,
    Refer to this link...
    http://help.sap.com/saphelp_nw2004s/helpdata/en/5f/103a4280da9923e10000000a155106/content.htm

  • How many types of authentications in sharepoint and how to implement those authentication in sharepoint?

    Hi All,
    How many types of authentications in sharepoint and how to implement those authentication in sharepoint?
    can any one explain the above things with examples?
    Thanks in Advance!

    In addition to
    A Sai Gunaranjan you can also check this URL for Sharepoint 2010:
    http://technet.microsoft.com/en-us/library/cc288475(v=office.14).aspx
    http://www.codeproject.com/Tips/382312/SharePoint-2010-Form-Based-Authentication
    ***If my post is answer for your query please mark as answer***
    ***If my answer is helpful please vote***

Maybe you are looking for

  • A way to amend the lightbox style - all lightboxes automatically update?

    hi guys, im setting up a video portfolio site and i was initially going to have multiple thumbnails on each page each triggering a lightbox containing one video. at a later stage i might want to change the size of the black box surrounding the video

  • Re: Can't Accept Acrobat XI EULA

    Same Problem here. I was send via Twitter (@Acrobat) to this (supposed) fix: http://helpx.adobe.com/acrobat/kb/blank-eula-screen-appears-acrobat.html And it worked – until I closed and re-opened Acrobat an hour ago. The dialog is back and I can't use

  • Hosting WCF services on OSB 11G

    Hi there, I have been reading online to see if web services created through WCF can be hosted side by side in OSB 11G with Java services. I have found posts on how you can allow java web services hosted on OSB 11G to call wcf services, but i have fou

  • Adobe form barcode scanner input

    I made an Adobe form with X Pro.  The purpose of the form is to inventory equipment.  I use a barcode scanner to enter serial numbers into the form.  When I scan the barcode (Code 39) of an item the serial number entered into the form is truncated. 

  • How to approach in getting the dates for the user given periods

    Hi All, I have areuirement where the calendar would be like as 466 for a period for eg. period 1(Jan) has 4 weeks period 2(Feb) has 6 weeks period 3(Mar) has 6 weeks again period 4(Apr) has 4 weeks period 5(May) has 6 weeks period 6(June) has 6 weeks