File adapter and database adapter

hello everybody,
i am using 10.1.3.1.o 10g
i would like to access the data from .txt file and insert into oracle table.
i did the following:
1. i used file adapter(synchronous read) from local system.
2. i used invoke activity to invoke the data from file adapter.
3. i used asynchronous process.
then what are the next steps i have to do?
plse tell me what i have to do.

hello andy,
thanks for reply.
Please read the following:
i did the following:
i have taken asynchronous process.
selected fileadapter from partnerlink list, named as "fileadapter".
selected synchronous read
selected physical path,clicked browse and selected the folder where it is existed, checked delete files after retrieval
typed the file name i.e. test.txt
Define schema for native format selected.
selected delimited, location of the file(F:\test\test.txt)
selected file contains only one record
enter the name as "schema", nxt, next finish.
it created test_1.xsd(schema location). finish
then drag and droped Invoke1 to the swimlane.
in invoke1, selected partner link -fileadapter
operation-synchread
input variable- clicked createinputvariable(Gloabal variable)
output variable-clicked createinputvariable(Global variable)
created onemore partnerlink, selected database adapter
named as "databaseadapter"
selected connection "oracle"( i have already created database connection with oracle 10g)
selected perform an operation on table
selected "INSERT ONLY" option
clicked import tables
clicked query, selected "mindview" table, next, ticked both the columns(slno,name), finish
and the table"mindview" has 2 rows already.
i want to insert 3rd row.
in partnerlink Myrole-"databaseadapter_role" is selected
draged and droped invoke2 after invoke1 in the swimlane
selected partnerlink as "databaseadapter"
operation- insert
Input variable - clicked torch light at right, selected "Invoke_1_SynchRead_OutputVariable"(output variable of invoke1)
on invoke2 icon an error is showing i.e.
Variable Types: {http://xmlns.oracle.com/pcbpel/adapter/file/fileadapter/}schema_msgdoes not matchOperation Input Message: {http://xmlns.oracle.com/pcbpel/adapter/db/databaseadapter/}MindviewCollection_msg
**output variable is inactive mode. i cant select create output variable**
i cant understand whats the problem? everything is right.
This is asynchronous process.
Is there any problem in above mentioned procedure?
if i add transform activity after invoke2, how i can connect without outputvariable of invoke2?
please tell me whats the problem?
Regards
Prasad
Edited by: user12251899 on Dec 3, 2009 9:11 PM
Edited by: user12251899 on Dec 3, 2009 9:20 PM
Edited by: user12251899 on Dec 3, 2009 9:23 PM
Edited by: user12251899 on Dec 3, 2009 9:52 PM

Similar Messages

  • How to generate .pdx file using File Adapter and FTP Adapter

    Hi,
    is it possible to genearate .pdx file using oracle ESB Adapters(File Adapter and FTP adapter).
    Can you anyone guide me.
    Thanks,
    Raj.

    hi,
    regarding report, there is a dedicated report forum. you should post there.
    but answer for your question is form is nothing to do with the pdf generation. you can call the report from the as usual.
    In the report you should set the properties like
    destype to 'file'
    desname to 'path with file name'
    desformat to 'pdf'

  • Difference between File adapter and FTP adapter

    hi,
    I would like to know what is the difference between File adapter and FTP adapter
    thanks
    Yatan

    Both file and ftp adapters are non-concurrent jca adaps, however we go for file adapters mostly when you have files on your local environment and do not need to wait for someone to FTP the files on a timely basis. In case of FTP Adapter, we would need an FTP Server, a remote location with access where in files pitch in for polling.
    Also, File adapter is dependent on the local folder and OS, however FTP adapter is dependent on the local as well as the remote file system/OS/folder permissions/user access.

  • When to use Apps adapter and DB adapter?

    Hi All,
    For invoking a PL/SQL API(either a custom or System API) in Oracle Applications from BPEL Process which is better to use?When to use Apps adapter and DB adapter?
    Thanks,
    ChitraDevi

    As Sen correctly states for the DB adapter you have to set the context manually using the fun_global.apps_initilize or Fnd_Client_Info.SET_ORG_CONTEXT. This is usually done in a wrapper procedure.
    I wouldn't say I'm an expert in this field as I have only used the APPS adapter for 11.5.10. I believe things have changed a bit for R12, but from my experience with APPS, things change very slow so although R12 is 10g App Server I'm sure the principles are the same.
    Sen is also correct saying that base tables are not accessible via the APPS adapter. Basically the apps adapter is there to expose services, base tables are not services.
    My recommendation would be different based on the experience of the developer(s). The APPS adapter simplifies the development but may not have the flexibility. The apps adapters sweet spot is those services that are difficult to integrate with, e.g. business services, xml gateway. If these are used heavily I would use the APPS adapter.
    What I personally do, even if I'm not using APPS, if I'm connecting to the database I will implement a function, stored procedure, or AQ. It is a little more hassle during deployment, but it treats it more like a service and you are not impacted if the tables change. This is not an endorsement for you to go down this path because it does have a requirement to have PL/SQL knowledge, and it breaks the notion of service abstraction from the DB.
    cheers
    James

  • Difference between HTTP adapter and SOAP adapter

    Hi All,
      Can any one tell me abt what is the main difference between HTTP adapter and SOAP  adapter.when we'll use these eactly?
    Thanks
    pullarao.

    Hi Rao,
    Please go through the below links to understand it:
    https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1442 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    More links for SOAP Adapter:
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/fdca3f01f33e1ce10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/frameset.htm
    More links on HTTP adapters.
    /people/siva.maranani/blog/2005/09/15/push-data-to-mvc-architectured-application-using-xi
    /people/prasadbabu.nemalikanti3/blog/2006/02/27/collecting-and-bundling-vendor-records-from-different-multiple-interfaces-file-systempeoplesoft-and-sending-to-sap-r3-system-part-2
    Regards,
    Subhasha

  • Difference between OA Adapter and DB Adapter

    Hi All,
    i am very new to SOA, Let me know the difference between OA Adapter and DB Adapter.
    thanks
    Hari

    The EBS (OA) Adapter is mainly a sort of wrapper around DB and AQ adapter supporting the different interfaces of EBS including Business Events(AQ).
    The adapter introspects the Integration Repository. And it sets the responsiblity/application context for you when connecting. The ebs-user and responsibility are set in the wsdl. Using the database adapter you should take care of that yourself.
    Honestly, if you're basically using custom-plsql api's or the pl/sql api's of ebs (eg. TCA) then you're perfectly fine with the DB-adapter. The only thing is that you should set the responsiblity in the pl/sql yourself (for example in the intialization block of the pl/sql package).
    Regards,
    Martien

  • The difference between SOAP adapter and WS adapter in PI 7.1

    Hello all,
    can anybody explain what is the main difference between SOAP adapter and WS adapter in PI 7.1?
    I have checked this [link|http://help.sap.com/saphelp_nwpi71/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm]
    but was not able to find the real difference.
    Or better, what can I do with WS adapter I can't do with SOAP adapter? What are their advantages/disadvantages?
    Thank you all, Igor.

    In addition to RM, ws adapter also support other ws standard like SAML which is not available in SOAP adatper. Beside:
    if your sender or receiver is SAP system, you can also monitor the message in the sender/receiver in addition to the PI box. This is a very good thing, because sometime the MONI in PI shows nothing wrong, but the MONI in your receiver will show you error message that's only related to the receiver system.
    However, if you define ws sender CC, and your ws client doesn't support RM, you will have issue sending ws request.
    And ws CC will generate ws runtime in PI box, if your configuration is wrong (like user name and password not correct), even if you correct it, the ws runtime sometime won't be regenated based on the correction. In this case you need to delete the ws CC/agreement, and re-create it with all correct information.
    Beside make sure your basis team configured the PI system properly regarding ws. If not, you will have lot of pain to figure the problem which was my case.
    Jayson

  • How to import seeburger adapter and mdm adapter in sap pi 7.3

    Hi all,
    how to import seeburger adapter and mdm adapter in sap pi 7.3

    Hello
    To import the Seeburger adapters, follow the instructions in the Master Installation guide and the individual guides for each of the adapters. These are available with the Seeburger software downloads.
    Regarding the MDM adapter, this is the wrong forum for that question. Try the MDM forum (but first, try searching the forum as this is a very basic question).
    Regards
    Mark

  • How to change JNDI dynamically in DB adapter and FTP adapter

    Hi every one,
    Please any one explain "How to change JNDI dynamically in DB adapter and FTP adapter" with screen shots
    Thanks in advance

    YES, very much possible. Only with CRUD operation on a table is possible.
    Please refer the below URL, where you can see the multiple check box selected under "Perform an operation on a table" under Operation Type.
    http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_db.htm#BDCGADFJ
    *7) Give points - it is good etiquette to reward an answerer points (5 - helpful; 10 - correct) for their post if they answer your question.*
    Going forward, please raise this as a separate thread. So that people will get benefited.
    Thanks,
    Vijay

  • Regarding the xif adapter and ascii adapter

    Dear experts
    I have a requirement where i have to connect the crm system to non sap systems using the xif adapter and ascii adapter could you tell me  what are the configurations steps to be followed for this.
    Thanks & Regards
    Rao

    1)  Don't use the ASCII adapter
    2)  Use the LSMW with the XIF adapter instead
    As the previous posters said, it depends on what you want to convert, which will determine how to use this.  A quick example of the XIF adapter with the LSMW is located in my blog here:
    /people/stephen.johannes/blog/2005/08/18/external-data-loads-for-crm-40-using-xif-adapter
    Plus do a search on this forum for more information on using the XIF adapter.
    Take care,
    Stephen

  • Difference between AQ Adapter and JMS Adapter

    Hi All,
    i am very new to SOA. let me know the difference between AQ Adapter and JMS Adapter.
    thanks
    Hari

    Please go thru the bellow link
    http://www.mscd.edu/~ittsdba/oradoc817/ois.817/a83729/adois07.htm#408020
    Krishna

  • Difference between XI adapter and HTTP adapter

    Hi,
    I am not very clear on the exact difference between XI adapter and HTTP adapter.
    I want to know, when should we use XI adapter and when to use HTTP adapter.
    Regards,
    Santosh

    Hi,
    We use HTTP Adapter in case of the Application is trying to post the HTTP Request message to XI and able to receive the HTTP Message from XI also.
    While using the HTTP as Sender , HTTP Sits on ABAP Stack and can able to communicate with the Integration Server Directly, No need of any Adapter here, it is adapterless communication
    In Case of Client Proxies
    Source application can directly interact with the XI by executing the report in SAP R/3 & will be able to send the XML data to IS,
    So no need of the XI Adapter in this case to post xml to XI.
    In Case of Server Proxies
    Now XI has to post the xml data to the Target Application, here some thing shld be there to establish the medium with the Target System. So we use XI adapter here.
    In the receiver case, we need XI Adaper to communicate XI integration Server with the Local Integration Engine( Which we made in SAP R/3's Business system as local IE) to post the data
    Basically XI adapter will be used in normal scenarios also to communicate Adapter Engine with Integration Server internally while delivering the msg.
    Check this Msg Flow how the XI Adapter is used in Normal Scenarios
    Understanding message flow in XI
    REgards
    Seshagiri

  • How can find the difference  between iphone 5 Real Genuine adapter and fake adapter

    Can anyone please tell me, How Can Find Difference between iphone 5 Real Genuine adapter and fake adapter....

    That's about the only way. Many of the fakes are indistinguishable from genuine without taking them apart. See: https://www.youtube.com/watch?v=wi-b9k-0KfE Note that BOTH of the adapters in this video are fake. Yet the one on the left looks identical to the "real thing".

  • Differences between SOAP Adapter and WS Adapter

    Hi Experts,
    In order to consume a service in SAP ECC by SAP PI 7.1, I´m using a service based on RFC. I tryed sucessfully to do that using SOAP Adapter and WS Adapter.
    What are the differences between using a receiver communication channel with SOAP adapter or WS adapter? Which is the better way ?
    Tks in advance.

    Hi,
    Please go through the below URLs for a discussion of SOAP  and WS adapters:
    The difference between SOAP adapter and WS adapter in PI 7.1
    WS adapter vs. SOAP adapter
    Regards,
    Rajeev Gupta
    Edited by: RAJEEV GUPTA on Jan 9, 2009 3:41 PM

  • How to get the incoming file name using JMS adapter and SOAP adapter

    Hi Everybody,
       In one of my interface i need to get the file name of incoming flat file using JMS adapter at sender side. and then i am using xslt to convert it to IDOC and then posting to  SAP IDOC.
    my incoming filname are in this form price<DateTimestamp>.txt. when i do the tranformation this incoming file name should be part of one element in the IDOC which i am posting.
    EX:
    <IDOC
    <REF>price<DateTimestamp>.txt</REF>
    </IDOC>
    Hope it is clear to everybody. I need your suggestion how i can capture this incoming file name and send it as part of IDOC.
    Thanks
    raj

    If they are passing it in message id or correlation id,
    you can access it using
    <xsl:variable name="dynamic-conf" 
            select="map:get($inputparam, 'DynamicConfiguration')" />
        <xsl:variable name="dynamic-key"  
            select="key:create('http://sap.com/xi/XI/System/JMS', 'DCJMSMessageID/ DCJMSCorrelationID')" />
        <xsl:variable name="dynamic-value"
            select="dyn:get($dynamic-conf, $dynamic-key)" />
    Check this:
    http://help.sap.com/saphelp_nw70/helpdata/en/f4/2d6189f0e27a4894ad517961762db7/content.htm
    Thanks,
    Beena.

Maybe you are looking for