Issues with File Adapter
Hi!
I am working on File(source.csv)->Xi->File(Target.csv) Scenario.
In my Source File i have 4 fields which are mapped to the target file which contains 2 additional fields with constant values mapped. So, I should get 6 fields at receiver end.
<b>Source structure</b>
CharacterName
Lowerlimit
Upperlimit
Targetvalue
<b> Target Structure</b>
CharacterName
Lowerlimit
Upperlimit
Targetvalue
Plant (constant value -1000)
Status (Constant value - Released)
But, While using file adapter it showing only 4 fields of my Source file at the receiver end , not the ones which have been mapped with constant values(It is with out Using FCC) .
When i use FCC under File Adapter, XI is not picking the file. These are the parameters I am defining at Sender Adapter:
Document Name : file_rece( Not sure whether it should be similar as of my Msg Type name)
RecordSet Name :Record (not sure abt naming conventions)
Recordset Structure : main,1
In parameters:
main.fieldNames:CharacterName,Lowerlimit,Upperlimit ,Targetvalue
main.fieldSeparator: ,
main.endSeparator : 'nl'
Receiving Adapter:
Recordset Structure : main,1
main.fieldSeparator :,
main,endSeparator : 'nl'
---I gone through some previous posts but cant able to resolve it.
Regards
Parth
<b></b>
Hi! Bhavesh
<b>This is the source Data type xml format generated in IR:</b>
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http:
bSU1" targetNamespace="http:
bSU1">
<xsd:element name="bsu_source" type="Bbsu_target_dt" />
<xsd:complexType name="Bbsu_target_dt">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
853e43e0755211dba7bf001560a58e89
</xsd:appinfo>
</xsd:annotation>
<xsd:attribute name="CharacterName" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
a9f9a8a073a911db9df8f654ac1116d8
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="LowerLimit" type="xsd:integer">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
a9f9a8a173a911dbaaabf654ac1116d8
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="UpperLimit" type="xsd:integer">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
a9fb2f4073a911db868ef654ac1116d8
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="TargetValue" type="xsd:integer">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
a9fb2f4173a911db9ed2f654ac1116d8
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:schema>
Similar Messages
-
Issue with Apps adapter for Create_Cust_Account API
Hi ,
I need to invoke this package from apps adapter in BPEL(10.1.3.5).
Create Customer: HZ_CUST_ACCOUNT_V2PUB. create_cust_account. This is a Over loaded procedure. Look for the Procedure with these Parameters.
PROCEDURE create_cust_account (
p_init_msg_list IN VARCHAR2:= FND_API.G_FALSE,
p_cust_account_rec IN CUST_ACCOUNT_REC_TYPE,
p_organization_rec IN HZ_PARTY_V2PUB.ORGANIZATION_REC_TY
PE,
p_customer_profile_rec IN HZ_CUSTOMER_PROFILE_V2PUB.CUSTOMER
PROFILEREC_TYPE,
p_create_profile_amt IN VARCHAR2:= FND_API.G_TRUE,
x_cust_account_id OUT NUMBER,
x_account_number OUT VARCHAR2,
x_party_id OUT NUMBER,
x_party_number OUT VARCHAR2,
x_profile_id OUT NUMBER,
x_return_status OUT VARCHAR2,
x_msg_count OUT NUMBER,
x_msg_data OUT VARCHAR2
But I’m getting the following error,
An error occurred while running Jpublisher.missing method
· I’ve tried with Database adapter. But in the runtime I’m not able to pass oracle apps initialization parameter in spite of using transaction and idempotent property in partnerlink.
· Then I’ve tried to invoke fnd_global.apps_initialize first then call the package from database adapter, but it fails again, apparently its not able to execute both DBadapter in same database session although they are in same BPEL transaction.
When I’m passing the initialization parameters in adapter created wrapper procedure then its working fine and customer got created.
Please let me know where I’m going wrong or issue with apps adapter.
It’s urgent …
Thanks in Advance,
ShreekantaThanks for the reply.
I'm able to execute the BPEL flows using DB adapter in same session and customer got created.
But I'm wondering why I cant invoke the API using Apps adapter though its standard one.
wsdl file is not getting generated as the adapter wizard not get completed.
Do u have any idea why its giving ' error occurred while running Jpublisher.missing method' error?should I conclude that apps adapter does not support overloaded procedure. -
Issue with file to file in PI 7.3 (Splitting huge files)
Hi All,
Need your help in fixing the issue with file splitting
We are doing some sample scenarios(file to file) on PI 7.3 server.
We are trying to split a 10MB file by using the 'Advanced Mode' option in the sender file adapter. We gave max split file size as 2MB. The file got split into 5 chunks and was successfully sent to receiver file adapter. In receiver adapter we are able to see that. But in the target folder only 1 file was seen with size 2MB. All other chunks were missing. We need to have the whole data sent from source to target.
How to fix this issue? please provide your inputs.
Thanks and Regards,
Lakshmi NarayanaPI 7.3 has capable of processing larger size files.
Questions:
Have you picked EOIO quality of service? Hope you dont do mapping or content conversion for this file?
have you seen this link
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a06d79f3-d094-2e10-1a81-f4d802d0bcf1?QuickLink=index&overridelayout=true
http://help.sap.com/saphelp_nw73/helpdata/en/44/682BCD7F2A6D12E10000000A1553F6/frameset.htm -
Hi
We r facing typical problem with file adapter.
Lets say there are 30 files to be processed by placing an copy in arichive folder by file adapter based on pooling
parameters.
All the 30 files are picked up and we can see the copies in archive folder.
But when we go to RWB and check the audit log,
there we could see only 25 files , the 5 files are missing.
no trace found therre about the 5 files.
This is happening only some times and not to all the files placed in the FTP. Later when the same file is placed back from the Archive folder to the Source folder, the file is being picked and processed succesfully.
unfortunately this is happening on Production server
Any pointers which could trouble shoot this issue.
Regards
shekar chandraHi,
Couple of thing which you can try....
1. Use EOIO QoS and check if you still face the issue.
Is some program or application writing files to the directory? If yes I would recommend the use of a temporary name to write the files and then rename them.
Sometimes when an external application connects via FTP and transfers the files...
The file could be picked up by the adapter poll even before the transfer of data is done.
Which is why you will find that the file is archived but there is no xml message created for the same in the Integration engine.
Try increasing the poll interval. This helps sometimes.
Regards,
Sidharth -
How to process large input CSV file with File adapter
Hi,
could someone recommend me the right BPEL way to process the large input CSV file (4MB or more with at least 5000 rows) with File Adapter?
My idea is to receive data from file (poll the UX directory for new input file), transform it and then export to one output CSV file (input for other system).
I developed my process that consists of:
- File adapter partnerlink for read data
- Receive activity with checked box to create instance
- Transform activity
- Invoke activity for writing to output CSV.
I tried this with small input file and everything was OK, but now when I try to use the complete input file, the process doesn't start and automatically goes to OFF state in BPEL console.
Could I use the MaxTransactionSize parameter as in DB adapter, should I batch the input file or other way could help me?
Any hint from you? I've to solve this problem till this thursday.
Thanks,
Milan K.This is a known issue. Martin Kleinman has posted several issues on the forum here, with a similar scenario using ESB. This can only be solved by completely tuning the BPEL application itself, and throwing in big hardware.
Also switching to the latest 10.1.3.3 version of the SOA Suite (assuming you didn't already) will show some improvements.
HTH,
Bas -
Issue with File Download(messageDownload) on Search Page.
Hi,
I created a custom OAF search page which fetches values from one table. The document in getting stored in my custom table in a BLOB colums and NOT in FND_LOBS.
The table has 3 collumns along with others:
1st is primary key (Record_Seq) ==> number data type
2nd to store actual file name (File1Name) ==> varcahar2 data type
3rd to store the actual uploaded data (File1Data) ==> BLOB data type
The reason for having the “File1Name” is so that I can display the original file name of the document that was uploaded, instead of just the “view” in the search page results .
On the File1Data BLOB and created a messageDownload for that under query results table with following details:
ID : File1Data
ItemStyle : messageDownload
FileMIME Type : pdf
Datatype : BLOB
View Instance : LacEmpExposureVO1
view Attribute : File1Name
File View Attribute : File1Data
When I click on the "File1Name" data hyperlink, it is opening only the first document corresponding to the first record in the search page results.
For example, If my search page returns 10 rows then when I click on the file1name on any row, It is open the first row file name only.
I have a primary key column(RECORD_SEQ) in the Table / EO / VO which is displayed in the search page results.
Also one weird thing is happening:
If I try to do this more than 2 times then it is opening the update page with the first record from the search page results…
I tried to print the context and it is nul the first time, But the second time then context is changing to "update". Dont know how this is happening????
Any advice is greatly appreciated as it is very crucial for me to get this resolved ASAP. I have looked at several forums and did a lot of things as advised in the forums . But nothing seems to work for me.
Thanks,
Mir
CO code for the search page
===========================
if (pageContext.getParameter("Create")!= null)
System.out.println("Into LacEmpExposureCO in PROCESS FORM REQUEST with Context of CREATE");
pageContext.setForwardURL
("OA.jsp?page=/lac/oracle/apps/lac/lacempexposure/webui/LacEmpExposureCreatePG",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
null,
true, //Retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
OAWebBeanConstants.IGNORE_MESSAGES);
else if ("update".equals(pageContext.getParameter(EVENT_PARAM)))
System.out.println("Into LacEmpExposureCO in PROCESS FORM REQUEST with Context of UPDATE");
System.out.println("LacEmpExposureCO ==> RecordSeq in PROCESS FORM REQUEST is: " + RecordSeq);
HashMap params = new HashMap(1);
params.put("RecordSeq", RecordSeq);
pageContext.setForwardURL
("OA.jsp?page=/lac/oracle/apps/lac/lacempexposure/webui/LacEmpExposureUpdatePG",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
params,
true, //Retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_NO, // Do not display breadcrumbs
OAWebBeanConstants.IGNORE_MESSAGES);
else {
String strEvent = pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM);
System.out.println(strEvent);
System.out.println("Into the last ELSE part in LacEmpExposureCO.java");Duplicate post -- Issue with File Download(messageDownload) on Search Page.
-
Issue with DB Adapter involving multiple tables
Hi,
Am facing an issue with DB Adapter with multiple tables. Here are the details.
I have 4 tables. Header, Details,Products and Devices. The relationship is defined as follows:
Header has 1:M relationship with Details.
Details has 1:M relationship with Products.
Products has 1:M relationship with Devices.
I want to select the details from all the tables for a particular header_id and detail_id. Defined 2 parameters and query is created with parameters.
SELECT DISTINCT t0.FILE_NAME, t0.UNIQUE_SEQUENCE_NUMBER, t0.HEADER_COUNT, t0.TOTAL_DEVICE_COUNT, t0.FILE_DATE, t0.FILE_SEQ_NUMBER, t0.DEVICE_COUNT, t0.PHONE_TYPE, t0.PHONE_OWNERSHIP, t0.TRANSACTION_TYPE, t0.PURCHASE_ORDER_NUMBER, t0.CUSTOMER_ID, t0.CUSTOMER_DEST_SUFFIX, t0.LOCATION_DESTINATION, t0.MASTER_FACTORY_ORDER, t0.MASTER_FACTORY_ORDER_LINE_NUM, t0.ENT_ORDER_NUMBER, t0.DELIVERY_IDENTIFICATION_NUM, t0.UEDF_REVISION_NUM, t0.STATUS, t0.INBOUND_BPEL_INSTANCE_ID, t0.ERROR_DESCRIPTION, t0.INBOUND_FILE_VERSION, t0.CREATED_BY, t0.CREATION_DATE, t0.UPDATED_BY, t0.UPDATE_DATE FROM EDF_HEADER_STG_INT t0, EDF_DETAILS_STG_INT t1 WHERE (((t0.FILE_NAME = #file_name) AND (t1.EDF_SERIAL_TYPE = #prod_type)) AND (t1.UNIQUE_SEQUENCE_NUMBER = t0.UNIQUE_SEQUENCE_NUMBER))
I expect the DB Adapter to retrieve the records for the parameters passed. i.e only those records from details table which matches with the parameter I passes in (t1.EDF_SERIAL_TYPE = #prod_type) . But I see that the DB Adapter retrieves all records from the details table for a particular unique_sequence_number(unique_sequence_number is primary key for headers table and foreign key for details table). Could you pls tell me how can I retrieve only selected records from the details table?
Regards,
MeenuYes. When I run this query in DB, I get one record . While defining DB Adapter, I have imported 4 tables and also defined the relationship between the tables. In my case, column unique sequence number is primary key of headers table and foreign key of details table.The above select query is generated by the DB Adapter for the parameters I have passed in.
My data is as follows:
Headers table:
file_name uniq_seq_num
file_1.xml 220
Details table
product_id unique seq num edf_prod_type
111 220 A
112 220 B
113 220
Now, I call DB Adapter with parameters 'file_1.xml' (file_name)and 'A'(prod_type). I expect the DB adapter to retrieve only one record with product_id 111 in the detailscollection. But I see that the adapter retrieves all records from the details table without considering the value of prod_type.
Edited by: user13276819 on Mar 19, 2012 6:32 AM -
Hi All
I am facing some problems with XI system. XI production server was restarted couple of days back. From that time, 1 file is not reaching its destination. When i go to communication channel monitoring, i see this message for all the communication channels with file adapter "No adapter registered for this channel".
But, communication channels with SOAP adapter are working fine, and the corresponding files are reaching its destinations. So, what should i do to rectify this probelm? Do we have to restart XI server onceagain? Is there anything pirticular, to be careful about, while restarting XI system?
Many Thanks in Advance
Chandra SekharHi Chandra shekar,
Plz try to do the following steps:
1)Try after restarting the Java Stack.
2)Try after SLD cache.
To clear the SLD cache, from the Integration Builder main menu, choose Environment ® Delete Cache for SLD Data.
Once we have deleted the cache for SLD data, accessing objects in the SLD may take longer than usual initially.
This will help you to find SP Level
http://help.sap.com/saphelp_nw2004s/helpdata/en/1f/c45b4211aac353e10000000a1550b0/frameset.htm
http://hostname:5/CPACache/refresh?mode=full
Regards,
Vinod. -
Interpreting Multibyte data with File Adapter in BPEL Process
Hi all,
I am trying to interpret multibyte data file using native schema file.The file is defined as below:-
<?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
targetNamespace="http://TargetNamespace.com/ftpinbound"
xmlns:tns="http://TargetNamespace.com/ftpinbound"
elementFormDefault="qualified"
attributeFormDefault="unqualified" nxsd:encoding="MS932" nxsd:stream="bytes" nxsd:version="NXSD">
<xsd:element name="root">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Header" minOccurs="1" maxOccurs="1">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="RecType" type="xsd:string" nxsd:style="fixedLength" nxsd:length="5"/>
<xsd:element name="OperMode" type="xsd:string" nxsd:style="fixedLength" nxsd:length="1"/>
<xsd:element name="SendSideCompCode" type="xsd:string" nxsd:style="fixedLength" nxsd:length="12"/>
<xsd:element name="RecvSideCompCode" type="xsd:string" nxsd:style="fixedLength" nxsd:length="12"/>
<xsd:element name="BPID" type="xsd:string" nxsd:style="fixedLength" nxsd:length="8"/>
<xsd:element name="InfoTypeCode" type="xsd:string" nxsd:style="fixedLength" nxsd:length="4"/>
<xsd:element name="CreateDate" type="xsd:string" nxsd:style="fixedLength" nxsd:length="12"/>
<xsd:element name="SendSideSysCode" type="xsd:string" nxsd:style="fixedLength" nxsd:length="12"/>
<xsd:element name="RecvSideSysCode" type="xsd:string" nxsd:style="fixedLength" nxsd:length="12"/>
<xsd:element name="Preliminary" type="xsd:string" nxsd:style="fixedLength" nxsd:length="458"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Lines" minOccurs="1" maxOccurs="unbounded" nxsd:style="array" nxsd:arrayTerminatedBy="(">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="DataProcessNo" type="xsd:string" nxsd:style="fixedLength" nxsd:length="5"/>
<xsd:element name="InfoClassCode" type="xsd:string" nxsd:style="fixedLength" nxsd:length="4"/>
<xsd:element name="DataCreateDate" type="xsd:string" nxsd:style="fixedLength" nxsd:length="6"/>
<xsd:element name="SellerCode" type="xsd:string" nxsd:style="fixedLength" nxsd:length="12"/>
<xsd:element name="OrderRecvPartyCode" type="xsd:string" nxsd:style="fixedLength" nxsd:length="12"/>
<xsd:element name="PODeptCode" type="xsd:string" nxsd:style="fixedLength" nxsd:length="8"/>
<xsd:element name="ProductNo" type="xsd:string" nxsd:style="fixedLength" nxsd:length="19"/>
<xsd:element name="CorrectionCode" type="xsd:string" nxsd:style="fixedLength" nxsd:length="1"/>
<xsd:element name="SupplyClass" type="xsd:string" nxsd:style="fixedLength" nxsd:length="1"/>
<xsd:element name="Buyer" type="xsd:string" nxsd:style="fixedLength" nxsd:length="7"/>
<xsd:element name="MatStdDimension" type="xsd:string" nxsd:style="fixedLength" nxsd:length="20"/>
<xsd:element name="Package" type="xsd:string" nxsd:style="fixedLength" nxsd:length="7"/>
<xsd:element name="Remarks" type="xsd:string" nxsd:style="fixedLength" nxsd:length="30"/>
<xsd:element name="ConTaxClass" type="xsd:string" nxsd:style="fixedLength" nxsd:length="1"/>
<xsd:element name="SuppDeptCode" type="xsd:string" nxsd:style="fixedLength" nxsd:length="8"/>
<xsd:element name="SuppProdName" type="xsd:string" nxsd:style="fixedLength" nxsd:length="30"/>
<xsd:element name="SuppProdNameCode" type="xsd:string" nxsd:style="fixedLength" nxsd:length="25"/>
<xsd:element name="SuppUnit" type="xsd:string" nxsd:style="fixedLength" nxsd:length="3"/>
<xsd:element name="SuppUnitPrice" type="xsd:string" nxsd:style="fixedLength" nxsd:length="13"/>
<xsd:element name="PODeptName" type="xsd:string" nxsd:style="fixedLength" nxsd:length="20"/>
<xsd:element name="Buyer_K" type="xsd:string" nxsd:style="fixedLength" nxsd:length="14"/>
<xsd:element name="MatStdDim_K" type="xsd:string" nxsd:style="fixedLength" nxsd:length="40"/>
<xsd:element name="Remarks_K" type="xsd:string" nxsd:style="fixedLength" nxsd:length="60"/>
<xsd:element name="SuppDeptName_K" type="xsd:string" nxsd:style="fixedLength" nxsd:length="40"/>
<xsd:element name="SuppProdName_K" type="xsd:string" nxsd:style="fixedLength" nxsd:length="60"/>
<xsd:element name="PODeptName_K" type="xsd:string" nxsd:style="fixedLength" nxsd:length="40"/>
<xsd:element name="CountingMTHs" type="xsd:string" nxsd:style="fixedLength" nxsd:length="4"/>
<xsd:element name="SuppProdNvAmount" type="xsd:string" nxsd:style="fixedLength" nxsd:length="10"/>
<xsd:element name="SupProdSingleItem" type="xsd:string" nxsd:style="fixedLength" nxsd:length="12"/>
<xsd:element name="SupProdWIP" type="xsd:string" nxsd:style="fixedLength" nxsd:length="12"/>
<xsd:element name="SupProdSpoiledQnty" type="xsd:string" nxsd:style="fixedLength" nxsd:length="12"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Trailer" minOccurs="1" maxOccurs="1">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="RecType" type="xsd:string" nxsd:style="fixedLength" nxsd:length="4"/>
<xsd:element name="NoOfRec" type="xsd:string" nxsd:style="fixedLength" nxsd:length="5"/>
<xsd:element name="Preliminary" type="xsd:string" nxsd:style="fixedLength" nxsd:length="526"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
This schema works fine and data is produced as expected when I am using "chars" as the stream option.However I can't use "chars" as the stream option and need "bytes" as the stream option. However when mentinong "bytes" option the following exception is generated:
Charset "MS932" not supported.
Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.
at oracle.tip.pc.services.translation.xlators.nxsd.ByteReader.<init>(ByteReader.java:87)
at oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl.createScanner(NXSDTranslatorImpl.java:800)
at oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl.translateFromNative(NXSDTranslatorImpl.java:440)
at oracle.tip.adapter.file.inbound.ProcessWork.doTranslation(ProcessWork.java:504)
at oracle.tip.adapter.file.inbound.ProcessWork.processMessages(ProcessWork.java:266)
at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:179)
at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:272)
at java.lang.Thread.run(Thread.java:595)
Please let me know can I at all read a file in byte format with File adapter using a desired encoding style?This is littile urgent.
ThanksHi James,
Yeah I tried that too and it gave the same error. And I need to encode with MS932 only since the data will contain Japanese characters and this encoding is identified both by windows and non-windows OS.
Please can you advice what can I do since the requirement is urgent.
Thanks -
Hello,
I am only a few weeks old into BizTalk so I am new to this application.
The pieces I have for my development environment consists of the following:
FTP Server ---[SFTP Adapter]---> BizTalk 2013 ---[FILE Adapter]---> Internal Network Share Drive
I currently configured a simple PassThru, One way Receive/Send in BizTalk where the Receive Port receives a file via SFTP
Adapter from our FTP server and the Send Port sends the file via the FILE Adapter to our Internal Network share drive.
The setup works great with small files. However, when I receive a large file on the FTP server, the Send Port sends multiple instances of the file on the FTP server because the Receive Adapter sees that the file is there, but not yet
fully uploaded.
Can someone please guide me as to how I can determine when a file is fully uploaded to the FTP server before the Receive Adapter fires?
Thanks,
MitchYap BizTalk does not have control over locking the file during read/write Operation and its the third party which need to take care of this (by rename the file after upload ) .
If the file size is too large I would suggest to bypass the message box as it has performance bottleneck during peak hours
Apart from being repetitive, this is not good advice. There is no indication that the file is too large or will cause any "performance" issues.
The concurrency problem can happen with a file of any size. -
Get additional file attachements with file adapter
Hello,
Has anyone ever had the following situation:
A Sender interface sends a little bit of data to XI.
This data contains the filenames of some files on a FTP server.
Based on these filename the file needs to be retreived from a FTP server and further handled as an attachement of the XI message?
Is it possible to trigger a sender file adapter with a variable directory and filename from XI, in a BPM or Mapping?
Warm Regards,
Leon Boeijenhi,
>>>>Is it possible to trigger a sender file adapter with a variable directory and filename from XI, in a BPM or Mapping?
no it's not possible to start a file adapter from BPM
you can use a java proxy that will do the trick
we've used a solution like this many times with no big issues
remember that it's better to use an async java proxy
(with correlation) then a sync one...
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
Production issue - Sender File adapter not picking up the files from folder
Hi Guys,
Ever since the upgrade from XI 3.0 to PI 7.1, we have come acrossinstances of weird error.
Thsi time again - now the 3rd time - tandom basis, in our production PI server, we have teh file slying in the source directory folder in the server.
I can see the files lying there in AL11.
However, it looks like that the file polling has just stopped and the channel is going blank in channel monitoring.
I have checked in SXMB_MONI and there are no messages since the morning.
I have tried craeting a replica of the current channel but it is not working.
This is teh production server and thsi has alraedy created production issues.
I ahve checked in the SDN forum but am not able to find the details.
Plaese help me.
I am anyway going to raise the issue with SAP now.
Regards,
Archana
<REMOVED BY MODERATOR>
Edited by: Prateek Raj Srivastava on Jun 8, 2010 4:50 PMHi Prateek,
I have trying all sorts since the morning and then just checked teh file permissions.
The file permissions were incorrect as compared ot the other files that were processed successfully today.
Somehow the permissions were changed on the server and the interface channel was not able to poll the files.
I got teh permissions changed back to 666 and all the files were pikced up in a minute.
I got the folder checked and it seems like that the permissions were changed somewhere very early in the morning and we are trying to find out how it happened and who did that.
However, another question i had - this sender file adapter was polling the source directory and deleting the files from there.
I would have expected that if the channel had issues with the file permission because of which it was not able to access the file, it would have thrown an error something like the file permissions error.
But there was not a single error in the channel monitoring.
How can we configure it in a beter way so that we at least soem kind of error indication?
Please advice.
Regards,
Archana -
Convert XML to flat file with File adapter
Hi all.
Trying to configure a file adapter according to the following link.
http://help.sap.com/erp2005_ehp_04/helpdata/EN/d2/bab440c97f3716e10000000a155106/frameset.htm
What i want it to do is the following.
I have the following incoming message:
<header>
<h_field1></h_field1>
<h_field2></h_field2>
</header>
<data>
<d_field1></d_field1>
<d_field2></d_field2>
<infotext>
<i_field1></i_field1>
<i_field2></i_field2>
</infotext>
</data>
I want this to become a flat file that looks as follow.
h_field1¤h_field2
d_filed1¤d_field2
i_field1¤i_filed2
Every field in each segment should be concatenated with the ¤ char as separator.
I've done the following:
Content Conversions Parameters
Record Structure: header,data,infotext
header.fieldSeparator ¤
data.fieldSeparator ¤
infotext.fieldSeparator ¤
The adapter just gets into wait mode.
Does anybody know why?
BR
KalleHello kalle,
As per your source structure, if you perform FCC on it you should have 2 level hierarchie, Your RecordSet will be your root node.
and the RecordSetStructure is : header,1,data,1,
Since the node infotext is in the data, you can not refer this node and is not appropriate.
<header>
<h_field1/>
<h_field2/>
</header>
<data>
<d_field1/>
<d_field2/>
<infotext>
<i_field1/>
<i_field2/>
< /infotext>
</data>
Change The above strucutre to like this
<header>
<h_field1/>
<h_field2/>
</header>
<data>
<d_field1/>
<d_field2/>
</data>
<infotext>
<i_field1/>
<i_field2/>
< /infotext>
Your RecordSet will be your root node.
and the RecordSetStructure is : header,1,data,1,infotext,1
This resolves your issue..
Regards,
Prasanna -
Hello,
I m facing issues using the FTP adapter. I am using 10.1.3.1 standalone installed in my desktop.
1) The FTP adapter doesnt poll continuously for the files. It dies off as soon the folder is empty. If there are incoming files after sometime, the BPEL process fails to pick them. I created an empty BPEL process that has a recieve activity from an FTP adapter as partner link
2) The files are fetched and deleted but are never archived, despite setting the archive files. Can we not archive those files in another folder of same FTP server ?
3) Sometimes, the files are deleted, but there is no activity or process shown in the BPEL console.
Can you please help me with these issues
Thanks
Harinath GandhiAre you able to upgrade to 10.1.3.3. A lot of issues with adapters are solved in this release.
Marc
http://orasoa.blogspot.com -
Problem with file adapter (FTP) created under business service
Hi
I am using file adapter in my receiver communication channel. I dont know the physical existance of the system so i have created one business service. Under this business system i have created a file adapter with FTP protocol. I have given all the parameters. But when i am trying to execute my scenarion i am getting the following error in SXMB_MONI.
com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_SQLMediaCodeToCRMCapaign_: RuntimeException in Message-Mapping transformatio~
In RWB i am getting the following error.
Mapping Error
Execption_During_Execution
In Communication Channel monitoring I am not getting any information regarding receiver file adapter. Its not showing any message either error or sucessful. How to find whether my receiver communication channel FTP parameters configured correctly or not.What is the error. Please help me.
Regards
SowmyaSomya,
Error clearly indicates that issue is with mapping....so there is no point of checking receiver adapter..
BTW for checking whether the FTP site is working properly or not , you can use any ftp client softwares or command prompt of windows also.
---->In Communication Channel monitoring I am not getting any information regarding receiver file adapter. Its not showing any message either error or successful.
Message has not reached up to that level so no point of looking at receiver communication channel.
Regards,
Maybe you are looking for
-
Elements 5.0 Organizer Freezing when I try to download photos from camera
I am trying to download pictures from my vacation. I plugged in my camera like usual, and when I select for my pictures to be downloaded in photoshop, everything freezes. Then I went into organizer - which I could open - but when I go to get photos
-
hi Somebody can tel me common list of outputs in MM , that has to be developed in SAP. And what are the configuration has to be done for the same with support of ABAp consultant.????? Explain with more details in short ... Thanks
-
I have had FCP 7 installed on my Mac Pro since May 2011, It has worked flawlessly up until a couple weeks ago. The "share" option has quit working on me. Also, I am unable submit any jobs in compressor, the button is greyed out. This has come enti
-
JDBC Adapter - One Connection prior to SP20
From my understanding a JDBC adapter can only establish one connection prior to SP20. Given the above, does this mean that in can only process one message at a time? Thanks in advance. Duke
-
Oracle10gR2 - TAF setup in RAC environment (Pls close this thread)
Hi, I wish to setup TAF in my RAC environment. 1. Can I harness TAF advantages without doing any Application changes? 2. How much useful can TAF be if application changes are not done? Thank you. Regards.