Sender File Communication Channel Configuration
Hi guys,
We are trying to develop a file-to-Idoc scenario and we are facing some problems in the configuration of the sender file communication channel as far as the file format is concerned. The file, which is a material master file has the following structure:
00.00 FileHeader
30.00 Material n° 1
30.01 Material n° 1
30.00 Material n° 2
30.01 Material n° 2
30.00 Material n° n
30.01 Material n° n
99.00 FileFooter
Initially, I developed 4 datatypes, FileHeader, Record1, Record2 and FileFooter, and 1 datatype to incorporate all of these, but I faced trouble in 'Recordset Structure' attribute in communication channel, where "FileHeader,1,Record1,,Record2,,FileFooter,1" did not work.
After that I thought of creating one more datatype, called Record, with 0..* cardinality, that incorporates Record1 and Record2 with 1 cardinality.
Although I have declared them correctly as "FileHeader,1,Record,*,FileFooter,1" in 'Recordset Structure', I face trouble in the table with the attributes. What shall I use: I have Record1.fieldNames and Record2.fieldNames and fieldFixedLengths, but XI requires Record...
What you suggest?
Evaggelos
Hi,
I understand your problem....
I actually didn't look at the key fields...properly..
You have said that when you had tried taking Record1 and Record2 in your structure you had problems...
I think the second way which you are trying would not work..!
Can you try this..I am not sure if it will work..
Have your structure as
MT
+Record
++Header
++Record1
++Record2
++Trailer
So your Recordset name would be :Record
RecordsetStructure would be Header,1,Record1,,Record2,,Trailer,1
and then all the other parameters like fieldNames,fixedFieldLength,keyFieldValue...for Header,Record1,Record2,Trailer
U might just try out with this
Regards,
Manjusha.
Similar Messages
-
Value for Retry Interval in Sender File Communication Channel
Hi All,
I am trying to set Retry Interval for File Adpter as null as per Help.
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm">http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm</a>
But I am getting error in Communication channel/Adapter Monitoring as invlaid configuration. How to specify null value as described.
Thanks in advance.
Regards,
SudharshanHi Michal,
I am trying this option to solve the problem in following thread.
Problem with Sender File Content Conversion Communication Channel
0 is considered to be a valid Configuration, but I dont know whether it is equivalent to null that they are describing.
Regards,
Sudharshan -
Sender file communication channel polling only when the file is written
Hi guys,
I have the following scenario:
I have developed an XI interface that takes a .txt file from SAP R/3's file system, usr/sap/trans/ and delivers it into another ftp location. The problem that we face is that the file is written into source directory from an ABAP program. As a result, XI go and polls into source directory when the file is not completely written, or when it is empty, which blocks the process.
Is there a way to force XI in order to poll the source directory only when the file is complete?
We have thought of exporting the file into a name that XI does not expect and as soon as the file is complete to rename the file from inside ABAP program into what XI expects.
However, the command inside ABAP changed the Code page of the file and we cannot see some special characters in the file that is delivered to the ftp location.
Any ideas??Hi Evaggelos,
from <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm">SAP help: Configuring the Sender File/FTP Adapter</a>:
Advanced Mode
To specify additional parameters in the adapter configuration, set the Advanced Mode indicator.
● Msecs to Wait Before Modification Check
Enter the number of milliseconds that the adapter must wait before it checks whether the files have been changed
Regards,
Udo -
Sender file comm channel shows error status when no file is in source
Hello,
I have this sender file communication channel which is picking up files using ftp. <b>Its working fine</b> but if there is no file in the source directory during polling, it shows an error status in communication channel monitor. The error message is that directory/file does not exist and also * in file name is invalid character.
I have the same settings on our dev, QA and prod system but this strange thing is happening only on the dev and prod. Its not happening on QA whereas QA access the same directory as dev.
Any idea ???Hi,
The error is strange one.
I suggest you to check Visual Admin to findout the exact trace/log file.
May be because of some connection problems etc..
Just go thru this SAP Note about File Adapter- 821267
Regards,
Moorthy -
Sender File Comm Channel Fails after system refresh
Hi,
we did a system refresh of our PI system and since then the sender file communication channels donot work with the following exception:
Error: com.sap.aii.af.ra.ms.api.ConfigException: Some of the IS access information is not available. SLDAcess property may be set to true, but SLD is not available.
I have seen many threads in this forum related to this issue but couldn't find a proper solution.
Any help is very much appreciated.
Thanks
MLSYou may do the following:
1. Perform SLDCHECK on XI.
2. Check if XIAFUSER is not locked or its password has been changed recently.
3. Goto SLD-> Business sytems-> Integration server, check Pipeline URL. It should be
http://hostname:8000/sap/xi/engine?type=entry
Regards,
Prateek -
Issue on file sender adapter communication channel
Hi All,
I have an issue on some of the file sender adapter communication channels .The channels are failing with the error :
(u201CAttempt to process file failed with com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.xi.swift.ParserException: com.sap.xi.swift.ParserException: Message does not start with character '0x1f'u201D).
Please let me know the procedure to get this message processed.
Thanks & Rgards
VishnuHi Vishu,
Find out in what encoding the file is in. for that download Notepad++ and open the file with in.
In Encoding tab you will see the encoding format.
1. If its not UTF-8 or ANSI then you should set the correct encoding in Sender File channel.
2. Check for BOM characters which will not be visible directoly.
3. Use Notepad++ to convert the content to HEX and check for hidden values. i bet there will be some Encoding BOM in the file which is creating problem while picking the file.
Since you are using SWIFT module: try to validate the XML file using Altova XML and check weather is correct.
also ref to this thread:http://scn.sap.com/thread/2134946
Regards,
Senthilprakash -
ERROR IN REciever file communication channel
helo.
iam doing a file to bapi,file scenario.
in ssender file side its showing sucess.
but when i testing in recievr side cc file under runtime workbench its showing error like
hi.
the error that iam getting in reciever file communication channel is
communication channelis correctly configured and started and its showing n green colour.
waiting for u r response.
bye.
regards.
seeta ram.Hi,
<i>the error that iam getting in reciever file communication channel is</i> -- You are not provided the error details which you are facing in Receiver CC. Provide the error details so that you can get the inputs accordingly. -
Sender FTP communication channel
Hi experts,
We have had the following problem twice with two different comm channels:
A sender FTP communication channel stops polling for no apparent reason. There were no errors and the status remained green. After I stopped and started the communication channel in the runtime workbench the adapter picked up all the remaining files and processing finished ok.
Anyone had this problem before? Any ideas for a solution?
Thx,
PhilipHi
look Similar thread
File (FTP) Adapter: stops polling
File Adapter stops working -
Error in Sender JDBC communication channel
Dear All,
We have an interface in which we are fetching data from SQL database through sender JDBC communication channel.
Last week SQL server was upgraded from 2000 to 2008 and the communication channel has stopped working and is giving the following error:
Database-level error reported by JDBC driver while executing statement 'SELECT * FROM mstemp_tbl WHERE Active='0''. The JDBC driver returned the following error message: 'java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Parameter 1 (""): Data type 0x38 is unknown.'. For details, contact your database server vendor.
Please let me know if any JDBC drivers are to be installed for SQL 2008 or how can we resolve this.
Thanks,
NJHi,
You may need to update your JDBC driver to 1.2 or 2.0. Kindly see supportability matrix on this link (question #2):
http://msdn.microsoft.com/en-us/sqlserver/cc325721
Regards,
Jenny -
Wildcarrd character in file communication channel ( Run OS Command Option )
We have problem while executing the "move ( MV ) " command with wildcard character ( '*' ) in file communication channel (Run Operating System command option ). Command is not executing properly.
e.g. mv /archive/test* /output/
have anyone experienced the same problem ?
Thanks & Regards,
Dijesh Tanna.As far as i know, that doesnt work.
In Unix environment, the below code will work
name=`test*`
target=`xxxfolder`
file_list=`find $name -type f`
for fname in $file_list ; do
echo "Moving: " $fname
mv -Eignore $fname $target
done
Edited by: Praveen Gujjeti on Apr 12, 2010 5:44 PM
Edited by: Praveen Gujjeti on Apr 12, 2010 5:46 PM -
Error at sender JDBC communication channel
Dear All,
While executing JDBC(MS-Access)-PI-RFC interface, we are getting error in sender JDBC communication channel. The error is as following:
Error during database connection to the database URL 'jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=
sappidev\Datatran\Database.mdb' using the JDBC driver 'jdbc.odbc.JdbcOdbcDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Can not establish connection:: SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified'.
I have checked various posts on forums and as per those no drivers installation is required to access MS-Access database and I am not able to find any post which could solve my problem.
Kindly guide me on what might be the problem and how this can be resolved.
Regards,
NJHi Nishu,
That error ALWAYS means your DSN name is incorrect or can't be accessed for some reason (permission). The ODBC part says that the bridge is working.
But that DSN is 100% wrong or cannot be seen by the user account that the server is running as. Make sure you have a system DSN and not a user one.
You can refer these....
http://bytes.com/topic/java/answers/625400-java-sql-sqlexception-microsoft-odbc-driver-manager-data-source-name-not-found
http://www.daniweb.com/forums/thread13092.html#
Hope this will help you....
Regds,
Pinangshuk. -
How to set errorDelay parameter in sender JMS Communication Channel?
Dear XI/PI Experts,
Do you happen to have a documentation on how to implement the errorDelay parameter and other general parameters in the sender Sender JMS communication Channel? Do you happen to have a step by step guide or pdf that I can use?
I look forward to hearing from you.
Thanks a lot in advance.
Kind regards,
GraceHi Thanks for your replies.
What I need to do is to implement this bullet point:
¡ errorDelay
The default value for this parameter is 0.
This parameter determines how long the system waits before processing further messages if an error occurs. In transactional processing, it can make sense to specify a certain time period, for example, because messages with errors remain in the queue following a ROLLBACK.
In which part of the Sender JMS Comm Channel will I implement this?
Should I put this under tab /Parameters/Processing/Error Handling Settings or should this be under /Parameters/Advanced/Additional Paremeters? -
XI: Sender JDBC Communication Channel is not getting picked the records
Hi All,
Here I 'm facing an Issue with my sender JDBC communication Channel. Previously it was working fine but It is not Picking the records from the JDBC table.
Communication Channel is in active mode only.
I have checked in RWB communication Channel monitoring there i didn't get any error or success messages but channel is showing healthy status only(Green)
But i had created the new communication channel..with the same parameters which are in the older communication channel.. and sender agreement level also i had changed.. so now new channel is working fine.... I didn't understand what is the problem with previous communication channel.
ThanksHi yadav,
do you have TWO CCs polling at the same time via JDBC?
This could be the problem --> a conflict between both CCs.
Switch off ONE CC:
Regards Mario -
HOW TO CREATE SERVICE FOR SENDER SOAP COMMUNICATION CHANNEL FOR ECC PROXY
Hi Experts,
I need generate the service for sender soap communication channel for target url to receive the inbound proxy.
my scenario is like SOAP to proxy. while using receiver proxy also we are planing using AAE method .
i am using SOAP sender and SOAp receiver communication channel .i need to provide the target url for this communication channel.
how to generate the url for this and what is the transaction code .
Please help us.
Regards
Ravinder.SHi Ravinder,
Q.my scenario is like SOAP to proxy. while using receiver proxy also we are planing using AAE method.
SOAP to Poxy in this case.
For sender SOAP system, we can generate the WSDL link in ID part.
for Reveiver proxy give the integration engine URL.
http://IP:PORT/sap/xi/engine?type=entry
how to generate the url for this and what is the transaction code
There is no transaction code for generating the URL.
i hope this will help.
Regards,
Kesava. -
End of file communication channel in win 2003
Hai All,
I have a problem when installing oracle 8i in windows 2003 server - initializing database stage -error comes - end of file communication channel. service pack 1 is exist in 2003 server. how this resolved.. Please help
ShijuI am not sure that Oracle8i supports Win 2003 platform.
Maybe you are looking for
-
Acrobat 9 no longer lets me drag and drop to create pdf
acrobat 9 no longer lets me drag and drop to create a pdf
-
I opened an iMovie 6 reference movie in QT Pro to extract the audio track and saw several "tween" tracks in the Movie Properties window. Are these tween tracks needed in any way to extract the basic audio track? I am sick of waiting for iMovie to exp
-
Make (RTL) direction function in PS cc 2014 not found!
u can see this to know what is the problem
-
Full Order Description in IW32
Hi, How can I get the full description or long text of an order in IW32? thanks james
-
Hi all, sparc newbie here. I inherited this beast (specs below) and the first thing I want to do is replace the disks (they are really loud). I understand that I can go bigger than 9 gig. Is there a limit as to how big I can go? I've searched and I c