How to create an EIT in Oracle apps with custom table?

Hi,
I have a custom table in APPS schema where training information is loaded everyday by running a control file.
I've to pick the training end date and status of 5 particular trainings and create an EIT.
When I try to create an EIT which is basically a DFF, in value set I'm not able to find my table.
Please guide me through this as I'm doing this for the first time.

Hi Rajesh,
You can do the below steps to achieve your requirement (Code may vary to suit your needs, these are just a hint to approach your solution) :
1. Extract the zip file payload from the incoming module data
         Object obj = inputModuleData.getPrincipalData();
         Message msg = (Message)obj;
         Payload attachment = msg.getMainPayload();
2. Construct a new outgoing payload using DOM resembling the structure that you defined in your design.
       XMLPayload xmlpayload = msg.getDocument();
       DocumentBuilderFactory factory;
       factory = DocumentBuilderFactory.newInstance();
       DocumentBuilder builder = factory.newDocumentBuilder();
       Document document = builder.newDocument();
<Create your xml structure using DOM APIs>
// Transforming the DOM object to Stream object.
       TransformerFactory tfactory = TransformerFactory.newInstance();
       Transformer transformer = tfactory.newTransformer();
       Source src = new DOMSource(document);
       ByteArrayOutputStream out = new ByteArrayOutputStream();
       Result dest = new StreamResult(out);
       transformer.transform(src, dest);
       byte[] docContent = out.toByteArray();
3. Set the newly created xml structure as the new main payload
        xmlpayload.setContent(docContent);
        msg.setMainPayload(xmlpayload);
4. Add the original document (zip file) as an attachment to the main payload.
        msg.addAttachment(attachment);
5. Set the modified message to the inputModuleData and return it to the messaging system
         inputModuleData.setPrincipalData(msg);
         return inputModuleData;
Regards
Bikash

Similar Messages

  • How to create a omniportlet for oracle portal with apex

    Hello everyone!
    Is there someone who knows how to create a omniportlet?
    This is for openning an application in apex from oracle portal using single sign on.
    Could you explain me step by step how to do this please?
    Thank you.
    Regards

    Hello Erik,
    Please check if the following can help you - http://www.oracle.com/technology/products/database/application_express/howtos/omniportlet_index.html .
    Regards,
    Arie.

  • How to Create Buyer in the Oracle apps

    Hi
    How can we create a buyer because i want to give a particular buyer for Purchase order which has to be created so that i have to find the list of values of buyer in purchase order creation form...
    Please can any one help to create a buyer.It will be very helpful if you do me this favor.
    Thanks in advance..

    hi,
    this is an example of Buyer Setup:----
    1) In HRMS ‘People > Enter and maintain’,Create New Employee whose Last name must be same as User name Which we are logged in. Go to Assignment, Enter Org,Position and Job.Save the record.
    2) In Sysadmin ‘Security > User > Define’,Query for the user & enter ‘person’ field with employee name created in HRMS.Save the record.
    3) In PO ’ Setup >Personal > Buyers ‘, Create new buyer for our user. Now we can create a PO
    4) In PO ’ Setup >Approvals > Approval groups ’, Create an approval group.
    5) Go to ‘Setup >Approvals > Approval Assignments’ , Select the position ( as given in HRMS) and assign approval group for different document types. Now we can approve Documents
    thanks.

  • How to add invoices while creating Batch Payment in Oracle Apps R12

    Hi all,
    how to add invoices while creating Batch Payment in Oracle Apps R12
    Thanks

    Can you elaborate your problem in detail ?

  • How to delete a project in Oracle apps R12

    Hi
    OS RHEL 5.5
    Database 11.1.0.7
    Applications R12
    Initially I have created a project in oracle apps from wrong template and modified the template then created a project with the same modified template.
    Now the wrong project needs to be deleted so how to delete the project which had been created from wrong template in oracle apps R12 and integrated project with MSP.
    Both the wrong and correct projects are referring to the same template.
    Please help me to delete the project as it is done in production database.
    Rgrd
    Edited by: 955685 on Feb 4, 2013 8:10 AM

    955685 wrote:
    Hi
    OS RHEL 5.5
    Database 11.1.0.7
    Applications R12
    Initially I have created a project in oracle apps from wrong template and modified the template then created a project with the same modified template.
    Now the wrong project needs to be deleted so how to delete the project which had been created from wrong template in oracle apps R12 and integrated project with MSP.
    Both the wrong and correct projects are referring to the same template.
    Please help me to delete the project as it is done in production database.
    Rgrd
    Edited by: 955685 on Feb 4, 2013 8:10 AMPlease see these docs/links.
    Delete Project Functionality not Working [ID 1060648.1]
    PRC: Delete Project Performance Reporting Data Completes With Error ORA-12838 ORA-6512 [ID 748674.1]
    How Can the PA Period Type Be Changed if It Has Been Entered Incorrectly? [ID 881424.1]
    PAXPREPR Unable To Delete Project [ID 874642.1]
    http://www.oracle.com/pls/ebs121/search?word=Delete+AND+Project&format=ranked&remark=quick_search
    Thanks,
    Hussein

  • How to create a user in oracle.

    how to create a user in oracle level.i know how to create from front end.can any body suggest.how to create oracle user from backend.
    Thanks,
    Dave

    Hi,
    We can use the 'hr_user_acct_internal.create_fnd_user' API to create the users. The sample code is as follows:
    BEGIN
    apps.hr_user_acct_internal.create_fnd_user
    (p_user_name => 'XXX',
    p_password => 'XXX',
    p_employee_id => 1234(This is the person id from per_all_people_f),
    p_user_id => x_user_id,
    p_user_start_date => SYSDATE,
    p_email_address => 'XXX',
    p_description => 'XXX',
    p_password_date => NULL
    COMMIT;
    END;
    and to add the responsibility to the user, we can use the following code.
    BEGIN
    fnd_user_pkg.addresp
    (username => 'XXX',
    resp_app => user_res_rec.application_short_name,
    resp_key => user_res_rec.responsibility_key,
    security_group => 'STANDARD',
    description => 'DESCRIPTION',
    start_date => SYSDATE,
    end_date => NULL
    END
    Best Regards
    Arun Kumar S.R
    Apps Associates

  • How to setup JNDI Name for Oracle Apps adapter?

    Hello,
    I am learning Oracle SOA 11g and trying to do some tutorial on Oracle Application Adapter.  I know how to configure JNDI for DBadapter and I did that successfully. I followed same steps to create New JNDI for Oracle Apps Adapter.
    1. I Created new data source using Path Services->Data Sources -> New Genric Data Source. Connection to database was successful and created new JNDI Name: jdbc/PKDTAPPS.
    2. Then Deployment-> OracleApps Adapter-> Configuration-> Outbound Connection Pools -> New and created JNDI Name eis/Apps/PKDTAPPS.
    However I did not find newly created JNDI Name in step 2 under Deployment-> OracleApps Adapter-> Configuration-> Outbound Connection Pools -> javax.resource.cci.ConnectionFactory.
    Please let me know if am I following correct steps to create new Oracle Apps Adapter JNDI Name or not.
    Since above approch did not work I created new JNDI for DBAdapter with same database connection details. And then latter on use that JNDI Name while creating Oracle Application Adapter in JDeveloper composite. And it allowed me to access Oracel Apps open interface. However while deploying the application it gave me following error.
    <Feb 16, 2015 10:50:59 AM CST> <Error> <oracle.integration.platform.blocks.deploy.servlet> <SOA-21537> <Sending back error message: There was an error deploying the composite on AdminServer: [JCABinding]
    [adapter-Apps-101-JournalImport.InsertJournal/1.0]Unable to complete unload due to: Cannot locate Java class oracle.tip.adapter.apps.AppsTableWriteInteractionSpec: Cannot locate Java class
    oracle.tip.adapter.apps.AppsTableWriteInteractionSpec..>
    Since I have no past experience kindly suggest me what is right way to do this.
    Thanks,
    Shri

    Hi shri,
    Can you check the targets of oracle apps adapter that is it deployed on both cluster and admin server both.
    Deployment-> OracleApps Adapter-> Targets
    Regards,
    Anshul

  • How to create ODBC connection between Oracle 10g and MS SQL Server

    Hi,
    Can someone help us with the steps to create an ODBC connection between Oracle APPS using Oracle 10g database and MS SQL Server.
    Requirement is to extract the transactional data from MS SQL Server on a daily basis and dump it into Oracle tables for an interface to be run. Currently it is being done through Dataloader tool which we feel is causing the data issue with Arabic characters. We want to create the ODBC directly between Oracle and MS SQL Server and check if the data is being pulled correctly.
    The data is in sql server 2000 which has data in Arabic_CI_AS character set which is moved to Oracle 10.2.0.3 database with characterset AL32UTF8. The table data is moved to oracle using the dataloader 3.6 standard edition licensed version. We cannot change the character set of Sql Server 2000.
    Please help
    Thanks
    Shanil

    Hi,
    If you're trying to PULL data from SQLServer into an Oracle database, you wouldnt use Oracle ODBC driver for that, so you may want to post in the Heterogeneous Services forum instead:
    Heterogeneous Connectivity
    If you're trying to PUSH data from SQLServer into an Oracle database, you could use ODBC but most folks use OLEDB for that, and the following note on MOS should help:
    How to Create a Sql Server Linked Server With The Oracle Provider for OLE DB     (Doc ID 191368.1)
    As with any NLS related issue, the first thing to do is dump the codepoints of the data in the Oracle database to see if it is stored validly, rather than relying on what the data "looks like" from some tool or other. It's best to check a single row, with only a few characters in it if you can, and you can do that via
    SELECT DUMP(<columname>,1016) FROM <tablename> WHERE ...
    Hope it helps,
    Greg

  • How to create a wallet in oracle RAC environment

    How to create a wallet in oracle RAC environment.
    While running following command "alter system set encryption key identified by "thalesdata4";
    I am getting error message "cannot auto create wallet" or "failed to open wallet.
    Please suggest correct way to create a wallet in RAC environment.
    Thanks
    Sudhir

    hi,
    please refer for detailed explanation
    Master Note for SSL Configuration in Fusion Middleware 11g [ID 1218695.1]
    regards

  • How to create a database in ORACLE 8i

    How to create a database in ORACLE 8i

    hello ...
    enter in
    http://www.oracle.com/pls/db102/portal.portal_db?selected=2 between demand and type in "create database"
    or read others docs ORACLE.
    AF

  • How to create xml file from Oracle and sending the same xml file to an url

    How to create xml file from Oracle and sending the same xml file to an url

    SQL/XML (XMLElement, XMLForest, XMLAgg, etc) and UTL_HTTP.
    Whether that works for you with the version of Oracle you have, your requirements, and needs is another story. A little detail goes a long way.

  • How To create Connection Pooling in Oracle 10.1.2.0 Application Server

    Hi,
    How to create Conncetion Pooling in Oracle 10g Application Server. I am using 10.1.2.0 version.
    Thanx
    Dhans

    Hi,
    How about these tutorials?
    http://www.oracle.com/technology/tech/java/newsletter/articles/oc4j_data_sources/oc4j_ds.htm
    http://www.oracle.com/technology/products/jdev/tips/duff/mysql_and_oc4j3.html

  • How to enable soa gateway in oracle apps r12?

    how to enable soa gateway in oracle apps r12?

    Installing Oracle E-Business Suite Integrated SOA Gateway, Release 12(Doc ID 556540.1)

  • How to Read Attached Document In oracle apps.

    Hi All,
    how to read attached document in Oracle apps.
    Select * from   fnd_attached_documents.
    Regards,
    Mohan Reddy

    Hi Husseein,
    how to read pdf file in blob data type column
    i have tried below query but in this part utl_file.fopen asking directory name i don't have directory name.
    could you give any another solution.
    DECLARE
      l_file      UTL_FILE.FILE_TYPE;
      l_buffer    RAW(32767);
      l_amount    BINARY_INTEGER := 32767;
      l_pos       NUMBER := 1;
      l_blob      BLOB;
      l_blob_len  NUMBER;
    BEGIN
      SELECT FILE_DATA
        INTO   l_blob
        FROM   fnd_lobs
         where file_name = 'est-1.pdf' and FILE_ID = 332810;
      l_blob_len := DBMS_LOB.getlength(l_blob);
      -- Open the destination file.
      l_file := UTL_FILE.fopen('IRB','STD_FlipBook_Religion2013.doc','wb',18306);  --(Here I don't have Directory name)
      DBMS_LOB.read(l_blob, l_amount, l_pos, l_buffer);
      UTL_FILE.put_raw(l_file, l_buffer, TRUE);
      l_pos := l_pos + l_amount;
      -- Close the file.
      UTL_FILE.fclose(l_file);
    END;
    Regards,
    Mohan Reddy

  • How to access virtual folder in oracle apps 11i?

    Hi,
    how to access virtual folder in oracle apps 11i?
    Version=11.5.10.2
    please help
    Thanks,

    I'd use BI Publisher (XML Publisher) Bursting.
    Regards,
    Gareth
    http://garethroberts.blogspot.com
    http://www.virtuate.com

Maybe you are looking for

  • Help required in configuring telnet

    Hi, We have two PIX 515E firewalls working in HA mode. I wanted to configure telnet access to firewalls from outside interface. PIX version is 6.3(5) I kept PC outside to outside interfaces. PIX outside IP is 10.10.200.3, inside IP is 10.10.202.5 cor

  • Sun Java Application Server, Apache and OS X

    I have a couple questions that I was hoping someone could help me out with. Background info. I'm running OS X 10.4, the default OS X install of apache HTTP server and I've installed NetBeans with Sun Application Server. I'd like to configure the appl

  • How to send videos through email on iphone 4

    How would you send a video saved in your pictures through email on iphone 4?

  • Posting Links on my Blog

    I am new to iWeb. I am trying to start a blog. In blogs I have seen, often on the right side there is a column of topics and links to sites of those various topics. I can't see how to do that via iWeb. Is this possible? Thanks for any help, Ross

  • Is CTSS will take care of Day light Saving changes

    Hello, In our enviornemt we used CTSS(cluster time synchronization service) in 2 node RAC,NTP services is stopped on Linux nodes. DST will going to happens on 27-Mar-2015, so is CTSS will take care of DST changes automatically,if not what needs do to