Dynamic Name for Yellow Interface Table

Hi All,
Can anybody guide me how to use dynamic name for Yellow Interface Target Table.
Eg: T_SESSIONID.
I tried
1)Refreshing the SESSIONID in a Variable V1 and using T_#V1 directly
2) Refreshing the T_#V1 in a Variable V2 and using #V2
But its not creating properly.
Please guide.

You want to create dynamic target table name right?
You can refresh a variable like #GET_SESSION
#GET_SESSION= SELECT <%=odiRef.getSession("SESS_NAME")%> FROM DUAL
My tmp table name like TMP_#GET_SESSION
then in your package refresh #GET_SESSION variable and you can use it.
I hope this can be helpful
Thanks

Similar Messages

  • Dynamic name for the physical table

    Hi Guys,
    How to setup dynamic names for the physical table? Where it is useful?*
    Pls help me out on this.
    thanks

    Check this similar post which might be of help dynamic physical table source schema
    Cheers,
    KK

  • Table Names for "Payroll Interface Tables"

    How can I find out the exact table used in "Payroll Interface Tables" section?
    Some of them are Configuration, Field Definition,Definition, Group etc.
    We had a consultant who configured the tables but now we want to move the entire "Payroll interface tables"configuration to an UAT environment and the DBA's want the exact table names so they can move/copy/export the tables.
    We are on version 9.1
    Thanks.

    The Payroll Interface PeopleBook has a section called "Cloning a Payroll Interface Definition" and it lists most of the records that contain the interface definitions. Unfortunately, the cloning process is for cloning an existing definition to a new system id within the same environment, not for migrating to a different environment. You will need to include some additional tables. In HCM 8.9, we used the following in datamover:
    SXPORT PI_SYSTEM_TBL         WHERE PI_SYSTEM_ID='XXX';
    EXPORT PI_SYSTEM_STAT        WHERE PI_SYSTEM_ID='XXX';
    EXPORT PI_SYSTEM_LANG        WHERE PI_SYSTEM_ID='XXX';
    EXPORT PI_PS_RECORD          WHERE PI_SYSTEM_ID='XXX';
    EXPORT PI_PSREC_FLD          WHERE PI_SYSTEM_ID='XXX';
    EXPORT PI_PS_REC_LANG        WHERE PI_SYSTEM_ID='XXX';
    EXPORT PI_INSTANCE_TBL       WHERE PI_SYSTEM_ID='XXX';
    EXPORT PI_INST_VALUE         WHERE PI_SYSTEM_ID='XXX';
    EXPORT PI_INSTANC_LANG       WHERE PI_SYSTEM_ID='XXX';
    EXPORT PI_PROCESS_TBL        WHERE PI_PROCESS_ID >= '800000';
    EXPORT PI_PROCESS_VAL        WHERE PI_PROCESS_ID >= '800000';
    EXPORT PI_PROC_TB_LANG       WHERE PI_PROCESS_ID >= '800000';
    EXPORT PI_PROC_VA_LANG       WHERE PI_PROCESS_ID >= '800000';
    EXPORT PI_FIELD_TBL          WHERE PI_SYSTEM_ID='XXX';
    EXPORT PI_FIELD_XLAT         WHERE PI_SYSTEM_ID='XXX';
    EXPORT PI_FIELD_LANG         WHERE PI_SYSTEM_ID='XXX';
    EXPORT PI_GROUP_TBL          WHERE PI_SYSTEM_ID='XXX';
    EXPORT PI_GROUP_LANG         WHERE PI_SYSTEM_ID='XXX';
    EXPORT PI_DEFN_FILE          WHERE PI_FILE_ID='XXX';
    EXPORT PI_DEFN_RECORD        WHERE PI_FILE_ID='XXX';
    EXPORT PI_DEFN_R_LANG        WHERE PI_FILE_ID='XXX';
    EXPORT PI_DEFN_FIELD         WHERE PI_FILE_ID='XXX';
    EXPORT PI_DEFN_F_LANG        WHERE PI_FILE_ID='XXX';
    EXPORT PI_CONFIG_TBL         WHERE PI_SYSTEM_ID='XXX';
    EXPORT PI_CONFIG_FILE        WHERE PI_CONFIG_ID IN ('YYY','ZZZ');
    EXPORT PI_CONFIG_LANG        WHERE PI_CONFIG_ID IN ('YYY','ZZZ');
    EXPORT FILE_HANDLE_LNG       WHERE FILE_HANDLE IN ('AA','BB');
    EXPORT FILE_HANDLE_TBL       WHERE FILE_HANDLE IN ('AA','BB');If you're on a different release you'll have to review the list to see if anything has changed, and set the literals according to your definitions.
    Regards,
    Bob

  • Dynamic names for I$ ,C$ and E$ tables in ODI

    Dear ODI Team,
    We have a requirement where we are loading header data and then line data in our Package.ODI internally creates work tables to load data into target tables.If multiple sessions of the same interface is executed at the same time the I$table of the previous session affects the I$ table of the next session.Hence if session1 has completed loading then it is at the stage of dropping the I$ table.Hence the second session is erroring out.Kindly let me know if there is an option to create these work table names dynamically for each session
    Thanks ,
    Anand

    Even I an getting similar error trying to use Global variable for dynamic names of the work tables
    Scripts Generated by the IKM :
    create table XDO.#global."gv_test_dynameSSTST_AN"
    ANY_NEW_ID NUMBER(22) NULL,
    ANY_NEW_ATTRIB1 VARCHAR2(50) NULL,
    ANY_CONC_ATTRIB2 VARCHAR2(150) NULL,
    DECODE_CODE1 CHAR(5) NULL,
    ANY_REF_CODE2 VARCHAR2(60) NULL,
    ANY_DATE1 DATE NULL,
    ANY_DATE2 DATE NULL,
    IND_UPDATE char(1)
    NOLOGGING
    Getting the following error on execution :
    911 : 42000 : java.sql.SQLException: ORA-00911: invalid character
    java.sql.SQLException: ORA-00911: invalid character
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
    at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:633)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1086)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2984)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3057)
    at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
    at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
    at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
    at com.sunopsis.dwg.cmd.e.i(e.java)
    at com.sunopsis.dwg.cmd.g.y(g.java)
    at com.sunopsis.dwg.cmd.e.run(e.java)
    at java.lang.Thread.run(Thread.java:595)

  • Find the sequence name for a particular table

    Hi,
    Please give query to find the sequence name for a particular table in oracle.
    Thanks

    I mean getting List of Sequence names defined in DB.
    I got the answers
    select *from user_sequences                                                                                                                                                                                                               

  • How to give dynamic name for csv export files?

    Hi,
    how we can give dynamic file name for each csv export file? ex(&item_name.csv)
    I am using apex 4.1 and IE 6,
    thanks in advance
    regards
    Chandran

    Please help me on this
    I am using report template as a csv export..
    when user click on download link on other page he will redirect to csv export temlate page and he is is directly get the open or save window
    but dynamic title name is not working for only for this.
    regards
    Chandran

  • File to mail scanario   Dynamic name for e-mail attachments

    Hi ,
    I am using standard mail package for Dynamic name in the mail attachment.
    Content_Disposition : = attachment
    Content_Type =  file name  I am taking from DynamicConfiguration
    Now I received mail , but file name have (abc.txt.dat) extension .dat  but i want it same as send by sender file adapter(abc.txt)
    Please suggest how to handle this.
    Thanks
    Mohit

    Hi,
    my pretty solution
    http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3202
    Regards,
    Michal Krawczyk

  • Need DataSource names for R/3 tables

    Hi All,
    I need the data Source names for the below 6 R/3 tables,
    EKKO , EKPO, T024 , T052U, LFA1 , LFB1
    This could be helpful for me to do a LO Extraction.
    Thanks in advance,
    Arun.M.D

    Hi Arun,
    You have given only table names, but do you know in those tables which fields data you want extract, if you know that...
    there we have predefined table called "RSOSFIELDMAP" by using this table  we can findout datasource name.
    More detailed:
    Ex:
    GoTo SE11
    Give the table name : RSOSFIELDMAP
    Click on DISPLAY
    click on CONTENTS  4th from last button
    Give the FIELDNM : MATNR (example)
    And click on EXECUTE Button
    it displays all the datasource names which are having that MATNR field. Like this you can find out the comfortable business content datasource.
    you can find out the datasource which is having the more required fields.
    if you dont have that required fields  in any datasource, then you should go for Customised Datasource.
    I hope it may help you....
    Regards,
    Yerrabelli.

  • Custom dynamic names for outbound payment files in R12

    I have asked this on a couple of forums, but somehow missed this one.
    We are upgrading from 11i to R12 and require custom dynamic file names for the Payments output files (cheques, advices, efts). I see that you can create a custom prefix and extension through payment profiles, but the functionality is very limited (i.e. no date stamp). I am thinking that others must have come across this before, and am wondering how you have handled such a requirement. Is it possible to add custom steps to the seeded payment process? Can the payment process be run as part of a request set and then a custom step added which grabs the output file and renames it based on information obtained from the batch and the process profile. Our goal is a fully automated payment process where batches are scheduled, processed and files renamed and sent out to banks and a 3rd party printer with no user interventation.
    Any advice/tips would be appreciated.
    Thanks.
    Tam.

    Hi Tam,
    Could you please let me know if you got the solution as we have a similar requirement of renaming the output file as perthe business needs fro which we need custom program.
    Thanks,
    Manas

  • Details need for yellow interfaces

    HI,
    can any one please explain about yellow interfaces in odi.
    Is there any major difference is there compare to normal interfaces.
    Regards,
    sh.

    Hi sh,
    They are temporary interfaces and a new feature in 11g to get around the need to populate temporary tables, they will produce an in line select statement (a bit like what OWB does) and will reduce log generation and disk I/O when done correctly.
    Please have a look here :
    http://odiexperts.com/how-to-create-a-temp-table-in-odi-interface
    http://www.rittmanmead.com/2011/06/odi-11g-new-mapping-and-interface-features-part-1/ (halfway down the post)
    Rgrds
    Alastair

  • Default partition name for Interval partitioned tables

    Hi ,
    Can we change the default partition names which are generated by Oracle.
    For Example :
    CREATE TABLE part_interval (
    id NUMBER,
    created_date DATE
    PARTITION BY RANGE (created_date)
    INTERVAL (NUMTOYMINTERVAL(1,'MONTH'))
    PARTITION part_01 values LESS THAN (TO_DATE('01-NOV-2007','DD-MON-YYYY'))
    Now if I insert values which doesn't fall in the 01-NOV-2007 date, a new partition is created like SYS_P43. Can I change this default partition name in the SQL statement itself . Not through procedures or functions.
    Regards,
    Raghunathan A
    Edited by: 869187 on Jun 29, 2011 6:08 AM

    869187 wrote:
    Hi ,
    Can we change the default partition names which are generated by Oracle. post SQL & results that show you can change partition names generated by YOU.

  • Dynamic names for class and variable

    Hi Folks,
    How do you make a new instance of a class with a dynamic name.
    var dynamicname = new dynamicname()
    i try something
    var this["test"]:Class = new ["Test"]()
    but offcourse its not this...
    I need this couse i have a librairy with SWC fonts they are only reference.. I get the font name from a CSS file and after i need to make a instance of the SWC file so the font is embedded.
    Thanks anyone who can help me!
    Cheer, Michierl

    Btw Murphy its not working......
    var fontRef = Class(getDefinitionByName("Arial"));
    var font = new fontRef();
    trace(font);
    The varibable definition not defined.
    I have 5 fonts as SWC Files set as reference lib in flex.
    But i dont wann to load all fonts yet cosue that will make my movie 200kb ... so i copy the fontname of the stylesheet and then make a instance of that font class.
    But how? With yours it need already a refrences to that class.

  • Getting column names for a particular Table from Connection object.

    Hi,
    Can any one suggests me a way to get column names from a particular table of a database from the java.sql.Connection object. ?
    Thanks in advance.

    Connection connection;
    DatabaseMetaData metadata = connection.getMetaData();
      String[] names = {"TABLE"};
      ResultSet tables = metadata.getTables(null,"%", "%", names);
      while (tables.next()) {
      String tableName = tables.getString("TABLE_NAME");
       ResultSet columns = metadata.getColumns(null, "%", tableName, "%");
    while (columns.next()) {
      String columnName = columns.getString("COLUMN_NAME");
        }

  • Get Table fields name for an SAP table

    hi,
    i need to pass SAP table name as a parameter to the selection screen of a Report program.
    This prog shud give me the table Fields name along with type and length.
    Is there any standard SAP report program for the same or i have to write my own logic?
    Please advise.
    regards,
    ags.

    Hi,
    For your requirement you have to write own program in dynamic manner by using field symbol concept.
    Use this FM DDIF_FIELDINFO_GET and get the field information of database table.
      call function 'DDIF_FIELDINFO_GET'
        exporting
          tabname        = <master>    u201C Table name
        Tables   
          DFIES_TAB      = <table_field> u201C here you will get field information of table
        exceptions
          not_found      = 1
          internal_error = 2
          others         = 3.
      if sy-subrc <> 0.
        message  text-005 type 'E' .
      endif.
    Loop <table_field> assignigng <field>
    *---here you have to collect the relevant information that you are going to display in your output.
    Endloop.
    Use any one of ALV or OOALV and display your records.
    Regards,
    Peranandam

  • Need help in Creating a dynamic name for a file.

    I am working on FTP Put and I have a requirement where in I have to generate the file with dynamic content in its name.I dont need any time stamp.I need to create a variable for this?
    Help in this regard would be highly appreciated.

    Take a look at File tmp = File.createTempFile("aaa", ".txt");
    String name = tmp.getpath();This will create a File with a name like aaannn.txt where nnn is a system generated number guaranteed to exists only once.

Maybe you are looking for