File to file scenario problems
Hi all,
not so far ago I install XI and it was seems to me that I did all post installation steps.
But when I try to do <a href="https://wiki.sdn.sap.com/wiki/display/XI/FLAT%20FILE%20TO%20FLAT%20FILE">File to File scenario</a>, I receive error in audit log:
SOAPFault received from Integration Server. ErrorCode/Category: XIServer/IN_BIND_WRONG_ADPT; Params: File; AdditionalText: ; ApplicationFaultMessage: ; ErrorStack: Sender agreement found belongs to adapter File; however, current adapter is 'XI'
Transmitting the message to endpoint http://<xiserver>:8001/sap/xi/engine?type=entry using connection AFW failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 500 : Error during conversion of XI message.
(<xiserver> - name of my server)
Please help. Any ideas?
Maxim.
HI,
HTTP response code : 500 Internal Server Errors
Description: The server encountered an unexpected condition which prevented it from fulfilling the request.
Possible Tips: Have a look into SAP Notes 804124, 807000
From Notes :
<i>The problem can be solved in most cases by forcing the XI self-registration to use fully qualified host names.
For XI Integration Builder, Integration Engine and Runtime Workbench, you accomplish this by entering fully qualified host names in the XI Exchange Profile, then initiating a new self-registration (restarting the J2EE engine).
For the Adapter Engine, the approach is different: Change the properties "SLD.selfregistration.httpPort", "SLD.selfregistration.httpsPort" and "SLD.selfregistration.hostName" of the J2EE service SAP XI AF CPA Cache. Enter the fully qualified host name under which the Adapter Engine can be reached from all relevant network domains. Do this in the Visual Administrator of the J2EE Engine. Then restart the applications "com.sap.aii.af.cpa.app" and "com.sap aii.af.app", or restart the complete J2EE engine. This triggers a new Adapter Engine self-registration.
Go in the Integration Server (IS) to transaction "SXI_CACHE -> Goto -> Adapter-Engine-Cache" and delete the old Adapter Engine cache entries. After that the cache is refreshed from SLD as soon as a new message in sent to the respective Adapter Engine.
Check: After restart, navigate in SLD through "Content Maintenance -> XIAdapter Framework" to your Adapter Engine. As part of the "associated instances" you find e.g. at "XI Adapter Service XIRA -> Associated Instances -> Port for XIRA of af.<SID>.<hostname>" the new URL with the fully qualified host name</i>
Regards
Chilla..
<i>Points rewarded if it id usefull..</i>
Similar Messages
-
I am trying to do FILE TO IDOC scenario, i am getting error called, UNABLE TO CONVERT SENDER SERVICE TO AN ALE LOGICAL SYSTEM.?
could anybody solve this problem?Murali,
You get this error when Adapter specific attributes are missing..
Maintain Adapter Specific Attributes for business system in Integration directory.
Select your business system...Then select Service-->Adpater Specific identifiers.
from right hand window..
Set Logical System ID(of R/3 system), R/3System ID and client.
Let us know if you need more details.
Nilesh -
File to File scenario using Transport Protocol FTP Problem
Hi,
my scenario is a file to file scenario using Transport Protocol FTP
there are 3 systems involved
a. computer 1 ( My system-source)
b. computer 2 (XI server)
c. computer 3 (Target system)
I want XI to pick file from computer 1 and post it to computer 3
I am logging on to XI server from computer 1(thro SAP GUI),
<u><b>Sender communication channel :</b></u>
Transport protocol:FTP
Messsage protocol: file
<u><b>In FTP connection Parameters:</b></u>
Server: computer 1 IP address
port:21
User name and PW---> I have given computer 1 Username and password.
Connection mode: permanently
Transfer mode: Binary
Folder: C:\ftproot\output
filename : given
<u><b>In Receiver Communication Channel</b></u>
Transport protocol:FTP
Message protocol: file
<u><b>In FTP connection Parameters:</b></u>
Server: computer 3 IP address
port:21
User name and PW---> I have given computer 3 Username and password.
Connection mode: permanently
Transfer mode: Binary
Put File: Use Temporary File
Folder:
eccserver\saploc\tmp
filename scheme: given
When I activate the scenario file is not getting picked from the source
In Adapter Framework: Message says up and running No message processing now
How to check FTP server is up and running on computer 1 (source system)and Computer 2 (XI server)?
What could be the problem ?
Thanks
dushanthHi
Consider that I dont have FTP installed on my computer. According to this blog
/people/shabarish.vijayakumar/blog/2006/08/01/along-came-a-file-adapter-mr-ftp-and-rest-of-the-gang
I have configured.
In sender comm channel I have given Ipaddress of computer 1 (which has a file to be picked)
In Receiver Comm channel I have given IP address of computer 3 (in which file to be posted)
and computer 2 is the XI server
Computer 1 has FTP installed
1. XI server should have FTP installed or not ? IF yes is it FTP client or FTP server or Guild FTP (according to the blog is enough)
2. Computer 3 should have FTP installed or not ?
Please help me I am really confused.
Thanks
dushanth -
Problem with Sender service in File to IDOC scenario
Hello All,
Am doing a file to IDOC scenario.
I have configured the sending system as a party and added a business component, to the BC attached the service interface and also configured the sender Communication channel(CC) as file.
On the receiving end configured the R/3 system from SLD as the business system and configured the receiver CCl. Can see the R/3 logical system in the Adapter specific identifiers at business system.
Pushing the file get an error "Unable to convert the sender service to an ALE Logical System". But choosing "Take sender from Payload" in the receiver CC is resolving the problem, however the sender partner number remains the same as what I have mapped to the control record in message mapping (which is like hard coding).
My questions are:
1. Am I doing the correct config in terms of the scenario. (like using "Take sender from Payload")
2. I tried using identifiers at the party level to convert the sending system, but nothing seems to work. But sending system remains the same as the constant from mapping.
Suggestions would be very much helpful..
--Prashanth
PS: Have gone through many blogs and posts on the forums, but may be I did not see the correct thread. Apologies if I am asking this again.Hi Prashanth,
refer the below discussion i think it will solve your problem.
File To Idoc scenario
Thanks -
Problem in executing File to IDoc Scenario in XI
Hello,
I am Working in HR Payroll module and new to XI.We are implementing File to IDoc Scenario in XI.When I place the flat file in the application server the file is read but the contents of the flat file is not getting posted to the IDoc.The constant values defined for IDoc in Mapping program is getting posted .I am not able to trace the error.
kindly help me out in resolving this problem.IF there is any way of debugging the entire process please let me know.
Thanks & Regards,
Malathi V.hi,
check this blog to test your mapping,
/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
Next, check your INBOUND MESSAGE in SXMB_MONI and check if the content conversion has been perfromed as expected.
these steps will help you reason out the cause of your problem.
Regards,
Bhavesh -
Problem in file content conversion, file 2 xml scenario
Hi,
Could some one help me in finding out the error in my file to xml scenario, please do consider the following things what I did for this scenario.
1.My sender file structure is flat file with , seperated 4 fields. On receiver end expecting xml file.
2.Did file content conversion at sender file adapter and given parameters as follows.
Document name : MT_FileInput
DocumentnameSpace : http://file/praveenworkshop
Recordset Name : DT_Record
Recordset Structure : DT_Row,*
KeyfieldType : String( default)
DT_Row.fieldnames : FirstName,LastName,City,PostCode
DT_Row.fieldSeparator : ,
DT_Row.processConfiguration: FromConfiguration
Dt_Row.endSeparator : 'nl'
3. I did check in Adapter Monitor that Both Sender and receiver adapter are showing green and It was showing 'Adapter is up and running: But no messages processed'
4. I did check the SXMB_MONI which was showing " Scheduled for Outbound processing"
5. In SXMB_MONI outbound processing payload was picking up the file and also inbound processing showing the same.
6. my source folder and destination folder are very simple c:/praveenfiles/input and c:/praveenfiles/output
files are source file praveen.txt and destination file praveenOP.xml
Please help me in finding out the error to see the output file in my output folder.Hi Praveen,
Hope these bloga are useful to you..
File content conversion sites
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
/people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
Thanks,
Satya -
Problem with file to file scenario........
Hi
I have done file to file scenario.... I have created all data types,message types and message interfaces in Integration Repository..... and i have created reciever determitaion,interface determination, sender aggrement and reciever aggrement....and comunication channels....
In Source CC i have given
10.7.1.201\soruce
In Target CC i have give
10.7.1.201\target
I have created one source directry for source file and target directory for destination file....
Finally i have created source xml file and placed in source directory but its not going to target directory.... pls help me....
Best Regards
Ravi Shankar B
Message was edited by:
RaviShankar BYou may need to extendthe trace file in the Java Adminsitration console to find the exact problem.
Log on J2EE Admin Console
Select Cluster
Select <SID>
Select Server
Select Services
Select Log Configurator
Select Locations tab
In Log Controller:
Root Location > Com > SAP > aii > Adapter > File
Change severity to Debug
Click Save and "Apply to all server nodes"
Run the interface again
Check in \usr\sap\<SID>\DVEBMGS00\j2ee\cluster\server0\log
for full trace file.
Best viewed in Log Viewer:
\usr\sap\<SID>\DVEBMGS00\j2ee\admin\logviewer-standalone\logviewer.bat (.sh) -
File Mail Scenario Problem ( V.V.Urgent)
Hi ,
I am Using PI7.0.
I have a file in FTP ( xyz.rtf) and i want to attach the file and send to the mail.
I configured the scenario.
But I can pick the file and make an attachment and sending to the mail.
My problem is my file xyz.rtf is converting into .xml file and attaching.
I need the same xyz.rtf file to attached to the mail.
And i am using PI 7.0 and i am not finding any options in the file adapter.
Help me and do the needful.
points will be awarded.
Regards,
Jayasimha JangamHi Jayasimha ,
When n sender side you will read the file it will be converted to xml format. If you wish to send it to Mail adapter as an attachment with same .rtf format, then refer below scenario. Here Image file is send as the way you wish to send your rtf file.
Sending an Image File Through Exchange Infrastructure in a File-to-Mail Scenario
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6d967fbc-0a01-0010-4fb4-91c6d38c5816
Thanks
Swarup -
Problem with File RFC File scenario without using BPM
Hi all,
I am trying a File RFC File scenario without using BPM with the help of the following thread:
File - RFC - File without a BPM - Possible from SP 19.
The XI system is PI 7.0 sp 12. When I am trying to acheive the above scenario, I am getting wierd results i.e., when I observe in SXI_MONITOR, the message is showing as processed successfully, but when I watch the message status in communication channel monitoring, I am getting the following error:
"Attempt to process file failed with com.sap.aii.af.service.cpa.CPAException: Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=DEV120;TS=Test_Service;AN=MI_Invoice;ANS=urn:sap.com:test;"
I am not able to understand what the problem is. By the way, one more thing, is, I have kept the File processing mode as "Delete" in the sender file adapter. But the file is not getting deleted. I think the reason could be because of the above error.
Can any body help me out in getting my problem resolved?
Thanks,
Adithya KCPA Cache Refresh from the Adapter Engine To trigger a cache refresh from the individual Adapter Framework, open a browser window and enter the following
URL: http://<host>:<port>/CPACache/refresh?mode=<b>delta|full</b>
The Monitoring url is like this: http://<host>:<port>/CPACache
Thanks & Regards,
Farooq. -
File to RFC scenario - receiver determination problems
Hi ,
Im trying to work out a flat file to RFC scenario, and am facing problems in configuring the receiver determination .
While creating my receiver determination, in the configured receivers, when i click on the F4 help to select service, i do not see the business system that i configured in SLD .
This system i have configured as an WAS ABAP system and provided all relevant data. I can also import objects from this system into IR, so i dont think i have set it up wrongly. I have also created RFC destination .
Is there some setting that has to be made that im missing ? Could somebody point out why im not able to see this system in the list of business services available at receiver configuration time ?
Thanks,
Joe
I also cleared the SLD cache by the way.. that didnt work either .
Message was edited by:
Joe SteinThanks a lot for you replies guys , but problems still not solved ;
1. I looked at the blog given and ive done everything pretty much as given . My problem lies in not finding the business system itself in the list of services for the configured receiver. How to implement this has not been shown in the blog.
2. I tried refreshing the cache and checking again, but it still doesnt show me the necessary step.
SOS !
I checked in the inbound system , and found that an RFC wasnt created for the XI system . I created that but i still cant see this system as a business system when i try to create the receiver determination . Do i need to recreate the technical system in the landscape to incorporate this change ?
Any pointers at all ??
Message was edited by:
Joe Stein -
Problem in Simple file to file scenario
Hello,
I am new to SAP PI 7.3. I am doing a simple file to file scenario. The source file contains key,name,id,gender,role & location field. I have done a simple mapping to create the same file in the target side. I have done all the configuration in ESR & ID.
But the problem is that in the target file ( Destination File ) i am getting only key field and the other fields are missing.
Note: In communication channel monitoring, the communication channel is functioning properly and in message monitor also, the status is 'delivered'.
The source payload also contains all the fields correctly. In message mapping (in ESR) also, the target payload is also generating correctly. But in the destination file I am getting the key field only and the rest fields are missing.
Can you please suggest me what to do and where is the problem?
Thanks & Regards,
MoumitaHello,
Do u have any MT name above Record node? If yes, then u have to change ur structre little bit. Check my reply in the thread pasted below.
problems with MessageTransformBean SimpleXML2Plain
BTW, if i am not wrong Iñaki has also suggested the same.
Thanks
Amit Srivastava -
Writing file scenario problem on XI / PI
Hello folks,
I have a regression on a simple XI scenario : File => XI => File (asynchronous).
It worked well last week but it doesnu2019t since monday : my return file isn't create on the shared directory (I re-check the target path and the directory rights on Windows but everybody have "total control").
In the Runtime Workbench (monitoring under web browser), I can see the sender communication channel reads the file with no problem but the receiver doesnu2019t seem to be called.
The messages monitoring in transaction SXMB_MONI shows that messages are well processed.
Does someone already have the same problem ? Any idea ?
Thanks in advance.
Regards,
Michael.Hello Ravi,
Thanks for your response. The status I have : "To be delivered" but I don't know why it isn't "successfull".
If I choose the status filter "All Containing Errors", I have no entry ...
Regards,
Michael. -
Idoc File to File scenario mapping problem
Dear All,
I am working on File to File scenario in which my source xml file is having multiple deliveries Idoc structure to which I want to convert into output structure as required.
In my source file there is possibility that there can be multiple delivery idocs for the same delivery number so i want to pick all the data for the unique deliveries and if same delivery number repeats then the delivery created last should only be picked without considering others.
Please guide me in mapping this scenario.
Regards,
NJHi,
Use the below UDF.
Set set = new HashSet(Arrays.asList(var1));
String[] array2 = (String[])(set.toArray(new String[set.size()]));
Arrays.sort(array2);
for (int i = 0; i < array2.length; i++) {
result.addValue(array2<i>);
Map like below:
source fieldremove contextUDF--Target(delivery number )
Regards,
Prakasu.M
Edited by: prakasu on Jun 2, 2009 6:43 PM -
Problem in storing data in BAPI in File to RFC Scenario
Hi everyone,
I m doing File to RFC Scenario.......I completed design and configuration part and actived the Communication Channels.....
Now when I check in Runtime workbench I am getting succefully executed both at outbound and Inbound Channels.......but
data is not updated in BAPI...........
I m getting following error when I check in Component monitoring......
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: RfcAdapter: receiver channel has static errors: configuration exception caused by: com.sap.aii.af.rfc.core.config.RfcChannelInactiveException: channel has status inactive: com.sap.aii.af.rfc.afcommunication.RfcAFWException: RfcAdapter: receiver channel has static errors: configuration exception caused by: com.sap.aii.af.rfc.core.config.RfcChannelInactiveException: channel has status inactive
Please help me out.......
Regards,
Sudheer.Hi
"I took Business Service as Service but not Business System.....Will it effect the scenario???......"
I suggest While dealing with the SAP Systems we should use Business systems.
Pls check the foolowing Threads for the above Query
RFC - Business Service
Re: business service for file to rfc
Regards
Abhijit -
Facing Problems in File to JDBC scenario
Hi Folks,
I am trying to configure a file to jdbc scenario where I'm getting the below error.
Error during database connection to the database URL 'jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=D:\usr\sap\PRD\SYS\global\Receive\Student.mdb' using the JDBC driver 'sun.jdbc.odbc.JdbcOdbcDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:odbc:Driver={Microsoft Access Driver (.mdb)};DBQ=D:\usr\sap\PRD\SYS\global\Receive\Student.mdb'*: SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified'
I Have done the below configuration for the receiver JDBC adapter
Driver : sun.jdbc.odbc.JdbcOdbcDriver
Connection : jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=D:\usr\sap\PRD\SYS\global\Receive\Student.mdb
tried to provide the user id & password as well as the password and also tried with with keep them blank. My Ms access 2007 database table is in the application server itself.
I've also checked with the below blogs & forums:
MS ACCESS 2007 to PI 7.01
/people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn
http://www.riyaz.net/blog/jdbc-adapter-configuration/technology/1200/
Thanks Experts.Hi Santosh,
If also could be possible that, you have not added proper JDBC dirver and hence i think you are getting following error:
Data source name not found and no default driver specified'
So first add the JDBC driver( .jar) to the SAP PI JDBC library and redeploy the .sda file and then retest your scenario. Here is a link to PDF which explain how to add external drivers to use new DB drivers in the JDBC adapter.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f04ce027-934d-2a10-5a8f-fa0b1ed4d88f?quicklink=index&overridelayout=true
Regards,
RK
Maybe you are looking for
-
How can I get my brush size to appear in Photoshop CC?
I just upgraded to Photoshop CC and I cannot see my brush size, especially when I make the brush size larger. A small circle appears when the brush is very small, but at larger sizes it disappears such that I have to guess at my brush size, which do
-
Sample code for creation of contact
Creation of contact using the java api does not work as it should for me. I think i dont have the correct format for the vcard will someone help me with this!! A sample code example will be very helpfull§. I am using calander version 9.0.4. any addit
-
I have updated my software on both the my macpro, as well as my itunes account supposedly.....but I am still being told my iphone 4 is not compatible with the software I am currently using, and that I need to go to itunes to download the latest versi
-
Emails addressed to me under different/aliased names unrecognised
Hi, I have a family email account for me & my wife. We use one email address, but people sending email to us give us different names: ie Jack Citizen <email@address> Jill Citizen <email@address> Jack & Jill <email@address> Jack & Jill Citizen <email@
-
Hi All, I place word file text into InDesign, know i want to change the fonts using JS For Example: Find Font Type = Arial Bold Change Font Type = Helvetica Bold Can any help. Hurix