Picking the abc.B file if abc.A file is present in source location.
Hi All,
I need to pick a file using SFTP adapter.
In the source location two files abc.A and abc.B are placed.
abc.A is placed only after abc.B is fully processed and complete.
I need to pick and process the file abc.B ,only after finding abc.A in source location.
only abc.B should be picked ,as abc.A file is just a indicator that abc.B is fully loaded and ready to be processed.
How this can be done in SFTP adapter?Please help.
Thanks,
Akkasali.
Best way to handle this is write some Unix Sxripting program at OS level copy the file B wheneve A file present in Folder,and create one more folder on FTP to store only B file,and connect to new folder using SFTP adapter .
it will avoide burden on implementing logic in PI side.it is bit simple too,as per my exp.
no standard feature available to acieve this type of requirement i think .
Regards,
Raj
Similar Messages
-
How to pick the fields of ABC table in Payslip
How to pick the fields of ABC table in Payslip, So i want to add the calender days(absent days) in my payslip
You can do it through PE51_CHECKTAB
Yogesh -
What determines the file encoding for
${C:file.txt} = 'abc'
I'm always getting ASCII as the encoding for file.txt after executing that assignment.Thanks so much. I'll keep looking for the MSFT doc on this. I scanned Bruce Payette's book and did not find anything there.
It turns out to be one of those "by rote" things you have to learn about PowerShell.
My concern about the lack of documentation is that MSFT might change the underlying code in the future to use Unicode and that might break some existing code. If there was some MSFT provided documentation declaring ASCII as the intended encoding they
might provide plenty of warning if they do a switch in encoding.
I note also that if you try to write characters outside the ASCII set (see example below) that character substitution happens to find an ASCII character to use in place of the one outside the ASCII set. In the example below a 'v' is substituted for
the '√' character:
${C:xo.txt} = '√' -
No receiver agreement for the sender "xyz" to receiver "abc" found
in SXMB_MONI i am getting the following error message when the data has been sent from the IDOC
No receiver agreement for the sender "xyz" to receiver "abc" found
I have specified 3 receiver agreements and a Default receiver (in configured receivers)
so in any case, it should pick it as the receiver
but, still I am getting the above error message
any one faced same kind of issue?
regards,
nikhil.Hi Nikhil,
Correct me if I understood it wrongly.
You need to copy the IDOC xml data and copy it for testing. XSD is the definition for your XML data.
You should not copy the XSD as the input to the Mapping program.
Follow this steps:
- Go to your Mapping Program
- Click on Test tab
- Click on the SRC tab and copy your XML data here not XSD.
Thanks
Srini
Thanks
Srini -
Pick the file from FTP Server and place it on the App. Server of R/3
Hi Guys,
I had a requirement where i need to pick the file from the FTP Server and place it on the Application Server in R/3. If anybody has an Idea on acheiving this or if anybody has the piece of Code Snippet to acheive the same, Help me out.
Regards,
Kittu Chowdary.hi kittu,
chk the demo programs RSFTP00* if they can help u -
PI is not able to pick the file from the FTP folder
This is the FILE TO IDOC scenario. We have configured the file adapter. But its not able to pick the file from the specified directory. We have tried changing the transfer mode from Binary to Txt & also we have tried to put advance selection for source file but it didn't work. Its throwing the below error:
PI Adapter Log:
An error occurred while connecting to the FTP server '10.130.150.21:8529'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 451 Unexpected reply coderequested action aborted: local error in processing'. For details, contact your FTP server vendor.
Also we have contacted the FTP team & they told that PI is sending an unsupported command. So instead of taking the file TLOG.txt, its treating this file name a s a directory. Please find the logs from FTP end below:
FTP Log:
(207197)2/5/2013 14:48:25 PM - sysisappi (63.130.82.16)> 230 Logged on
(207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> FEAT
(207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> 211-Features:
(207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> MDTM
(207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> REST STREAM
(207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> SIZE
(207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> MLST type*;size*;modify*;
(207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> MLSD
(207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> AUTH SSL
(207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> AUTH TLS
(207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> PROT
(207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> PBSZ
(207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> UTF8
(207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> CLNT
(207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> MFMT
(207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> 211 End
(207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> PBSZ 0
(207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> 200 PBSZ=0
(207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> PROT P
(207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> 200 Protection level set to P
(207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> CWD /Qas
(207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> 250 CWD successful. "/Qas" is current directory.
(207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> CWD SAP_ORION
(207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> 250 CWD successful. "/Qas/SAP_ORION" is current directory.
(207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> CWD Inbound
(207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> 250 CWD successful. "/Qas/SAP_ORION/Inbound" is current directory.
(207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> CWD IRIIN04
(207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> 250 CWD successful. "/Qas/SAP_ORION/Inbound/IRIIN04" is current directory.
(207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> CWD TLOG.txt
(207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> 550 CWD failed. "/Qas/SAP_ORION/Inbound/IRIIN04/TLOG.txt": directory not found.
(207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> QUIT
(207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> 221 Goodbye
It should list *TLOG.txt* but instead it is trying to get into a directory named *TLOG.txt*. same for other interface.
So me & my team is struggling for last couple of days to fix this issue.Please share your suggestionHi Sisir
The screen shot of your config doesn't seem to correspond to the FTP log. I say this because the * is dropped from file name pattern "*TLOG.txt" (comparing your config and the FTP log). Can you share an updated FTP log?
Sisir Das wrote:
"/Qas/SAP_ORION/Inbound/IRIIN04" is current directory.
(207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> CWD TLOG.txt
(207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> 550 CWD failed. "/Qas/SAP_ORION/Inbound/IRIIN04/TLOG.txt": directory not found.
(207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> QUIT
Also, like Rajesh suggested, have you tried to manually check permissions by logging in, traversing the directory, and getting the file?
By the way, we always use backslash \ instead of forward slash in our configs. Not sure this would make any difference for you though. Also, I don't normally use a trailing \ at the end of the source directory path. -
Error in picking the file from folder
If I have 100 files in a folder, if XI comes and picking the files from the folder, while picking 50 files connection was lost in between and they are remaining 50 files are there to pick, in this scenario what happens after connection established XI will collect remaining 50 files or again it starts from first.
Can anyone answer this question with explanation.This depends on what you have configure in
Processing parameters for File Sender communication channel:
Processing mode:
1. Archive : if you have set processing Mode as Archive then after reading the file, PI will transfer the file to Archive dir mentioned and will not consider in future for reading.
2. Delete : if you have set processing Mode as Delete, Then after reading the file PI will delete the file from FTP.
3. Test : If you have set processing Mode as Test ,then PI will keep the file as it is after reading so it will read the same file in future.
Thanks
Bhupesh -
B2b unable to pick the file from xml gateway
Hi All,
I am taking a scenario where B2B picks the files from xml gateway and drop the files in FTP folder. I modified the XML gateway inbound and outbound, i has given my user credentials(unmae, host ,pwd ,sid, port). In agreement in the place of internal delivery channel i has given XML gateway outbound.
Still its unable to pick the files from xml gateway.
Clarify my understanding please
While b2b picks the files from xml gateway, It will pick from ECX_Inbound or ECX_Outbound?
Here i am attaching the logs:
2010.01.15 at 07:32:51:101: B2BStarter thread: B2B - (DEBUG) B2BStarter - Context Initialized
2010.01.15 at 07:32:56:366: B2BStarter thread: B2B - (DEBUG) B2BStarter - Start B2B
2010.01.15 at 07:32:56:369: B2BStarter thread: B2B - (DEBUG) B2BStarter - Starting B2B
2010.01.15 at 07:32:56:392: B2BStarter thread: B2B - (DEBUG) B2BStarter - configuration obtained
2010.01.15 at 07:32:56:395: B2BStarter thread: B2B - (DEBUG) B2BStarter - clear global cache
2010.01.15 at 07:32:56:547: B2BStarter thread: B2B - (DEBUG) XEngine not running. So no need to clear cached objects inside XEngine.
2010.01.15 at 07:32:56:821: B2BStarter thread: B2B - (INFORMATION) Repository:print: [0] HL7 over MLLP Exchange
2010.01.15 at 07:32:56:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [1] EDI X12 over AS1
2010.01.15 at 07:32:56:826: B2BStarter thread: B2B - (INFORMATION) Repository:print: [2] Custom Document over Generic Exchange
2010.01.15 at 07:32:56:829: B2BStarter thread: B2B - (INFORMATION) Repository:print: [3] EDI EDIFACT over Generic Exchange
2010.01.15 at 07:32:56:832: B2BStarter thread: B2B - (INFORMATION) Repository:print: [4] RosettaNet over RNIF
2010.01.15 at 07:32:56:835: B2BStarter thread: B2B - (INFORMATION) Repository:print: [5] EDI X12 over Generic Exchange
2010.01.15 at 07:32:56:837: B2BStarter thread: B2B - (INFORMATION) Repository:print: [6] Custom Document over MLLP Exchange
2010.01.15 at 07:32:56:840: B2BStarter thread: B2B - (INFORMATION) Repository:print: [7] Custom Document over AS1
2010.01.15 at 07:32:56:842: B2BStarter thread: B2B - (INFORMATION) Repository:print: [8] EDI EDIFACT over AS1
2010.01.15 at 07:32:56:845: B2BStarter thread: B2B - (INFORMATION) Repository:print: [9] HL7 over Generic Exchange
2010.01.15 at 07:32:56:848: B2BStarter thread: B2B - (INFORMATION) Repository:print: [10] Custom Document over Internet
2010.01.15 at 07:32:56:851: B2BStarter thread: B2B - (INFORMATION) Repository:print: [11] Custom Document over ebMS
2010.01.15 at 07:32:56:853: B2BStarter thread: B2B - (INFORMATION) Repository:print: [12] EDI X12 over Internet
2010.01.15 at 07:32:56:856: B2BStarter thread: B2B - (INFORMATION) Repository:print: [13] EDI EDIFACT over Internet
2010.01.15 at 07:32:57:649: B2BStarter thread: B2B - (DEBUG) Repository:constructCertSQL SELECT cert.ID, cert.CLASSTYPE FROM TIP_Certificate_ra cert, TIP_Party_ra party, TIP_DocumentExchange_ra docex WHERE cert.ID = docex.signingcredential AND cert.tradingpartner = party.ID AND party.ishosted != 'Y'
2010.01.15 at 07:32:57:785: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:initialize Enter
2010.01.15 at 07:32:58:077: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:initialize Exit
2010.01.15 at 07:32:58:824: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize Enter
2010.01.15 at 07:32:58:827: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize resetListener = true
2010.01.15 at 07:32:58:831: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize initdcx = true
2010.01.15 at 07:32:58:891: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize initialize TPAProcessor
2010.01.15 at 07:32:59:010: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize Clear TPA Cache
2010.01.15 at 07:32:59:013: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize initialize DataContext. Pool Size 0
2010.01.15 at 07:32:59:038: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:initialize Treat Response as Request = false
2010.01.15 at 07:32:59:041: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:initialize Exit
2010.01.15 at 07:32:59:043: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize initialize Transport
2010.01.15 at 07:32:59:046: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:initialize Initialize Transport Logger.
2010.01.15 at 07:32:59:059: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:initialize Transport LogLevel = ERROR
2010.01.15 at 07:32:59:294: B2BStarter thread: B2B - (DEBUG) Repository:Repository:getDeliveryEndPointList() Wallet Location /apps/elshad4/aelshad4/elshad4_OracleB2B/Apache/Apache/conf/ssl.wlt/default/ewallet.p12
2010.01.15 at 07:32:59:297: B2BStarter thread: B2B - (INFORMATION) Repository:getDeliveryEndPointList: No Archive dir
2010.01.15 at 07:32:59:300: B2BStarter thread: B2B - (INFORMATION) Repository:getDeliveryEndPointList: marker :false
2010.01.15 at 07:32:59:314: B2BStarter thread: B2B - (INFORMATION) Repository:getDeliveryEndPointList: Putting ftp://elshad1.emerson.com//ftpdata/elshad1/ice/infile/850/PO
2010.01.15 at 07:32:59:322: B2BStarter thread: B2B - (INFORMATION) oracle.tip.adapter.b2b.transport.TransportInterface:initialize: Props: ftp://elshad1.emerson.com//ftpdata/elshad1/ice/infile/850/PO file.receiver.wallet_location = /apps/elshad4/aelshad4/elshad4_OracleB2B/Apache/Apache/conf/ssl.wlt/default/ewallet.p12
file.receiver.wallet_password = *****
file.receiver.polling_interval = 5
file.receiver.path = /ftpdata/elshad1/ice/infile/850/PO
file.receiver.marker = false
marker = false
ccc = false
file.receiver.channel_mask = None
file.receiver.minimum_age = 0
filename_format = %FROM_PARTY%_%TIMESTAMP%.dat
file.receiver.van = false
file.sender.channel_mask = None
file.receiver.user = eiced1
PROTOCOL_ENDPOINT = null
file.receiver.password = *****
file.receiver.preserve_filename = false
transport_callout_waittime = 30
preserve_filename = false
file.receiver.ccc = false
van = false
polling_interval = 5
2010.01.15 at 07:32:59:491: B2BStarter thread: B2B - (DEBUG) initialize TransportReceiver: [Emerson_Robin_FTP_TransportServer < ftp > < Emerson >]
2010.01.15 at 07:32:59:858: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.AppTransportInterface:initialize Initialize AppTransport Logger.
2010.01.15 at 07:32:59:864: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.AppTransportInterface:initialize AppTransport LogLevel = ERROR
2010.01.15 at 07:32:59:949: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 07:32:59 GMT+00:00 2010 Outbound - initialize
2010.01.15 at 07:32:59:953: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 07:32:59 GMT+00:00 2010 Obtaining outbound connection...
2010.01.15 at 07:32:59:956: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 07:32:59 GMT+00:00 2010 outbound connect string: jdbc:oracle:thin:@essdbdu31.emrsn.com:36001:ROBIND1
2010.01.15 at 07:32:59:960: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 07:32:59 GMT+00:00 2010 outbound username: apps
2010.01.15 at 07:33:04:319: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 07:33:04 GMT+00:00 2010 Outbound - initialize exit
2010.01.15 at 07:33:04:322: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:startListen Enter
2010.01.15 at 07:33:04:326: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:startListen Exit
2010.01.15 at 07:33:04:329: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run Thread start
2010.01.15 at 07:33:04:332: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize Exit
2010.01.15 at 07:33:04:335: B2BStarter thread: B2B8:15:32:157: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 08:15:32 GMT+00:00 2010 inbound username: apps
2010.01.15 at 08:15:33:757: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 08:15:33 GMT+00:00 2010 inbound initialize exit
2010.01.15 at 08:15:33:761: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 08:15:33 GMT+00:00 2010 Outbound - initialize
2010.01.15 at 08:15:33:764: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 08:15:33 GMT+00:00 2010 Obtaining outbound connection...
2010.01.15 at 08:15:33:767: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 08:15:33 GMT+00:00 2010 outbound connect string: jdbc:oracle:thin:@essdbdu31.emrsn.com:36001:ROBIND1
2010.01.15 at 08:15:33:770: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 08:15:33 GMT+00:00 2010 outbound username: apps
2010.01.15 at 08:15:34:473: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 08:15:34 GMT+00:00 2010 Outbound - initialize exit
2010.01.15 at 08:15:34:476: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:startListen Enter
2010.01.15 at 08:15:34:479: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:startListen Exit
2010.01.15 at 08:15:34:481: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run Thread start
2010.01.15 at 08:15:34:484: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize Exit
2010.01.15 at 08:15:34:487: B2BStarter thread: B2B - (DEBUG) B2BStarter - B2B initialized
2010.01.15 at 08:15:35:928: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run initialize Enter
2010.01.15 at 08:15:36:132: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run initialize B2BListen turned off, will not listen on IP_OUT_QUEUE for messages
2010.01.15 at 08:15:36:139: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run start listening on message
regards
cnuAnuj,
The log which i placed on top, thats the complete log and DC log is given below
2010.01.18 at 12:58:06:117: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:58:11:130: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:58:16:143: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:58:21:153: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:58:26:169: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:58:31:164: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:58:36:173: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:58:41:182: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:58:46:194: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:58:51:210: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:58:56:217: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:59:01:244: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:59:06:254: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:59:11:256: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:59:16:283: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:59:21:276: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:59:26:285: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:59:31:297: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:59:36:314: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:59:41:324: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:59:46:327: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:59:51:341: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:59:56:352: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 13:00:01:359: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered -
File Adapter as Sender not picking the files
We configured the File Adapter as Sender, Transport Protocol =NSF and message protocol as FCC.
In OS we have folder to read the file, but SAP XI unable to read the file.
To trouble shoot this issue we copied that file into another location and reverted back to the same location then XI File adaptor is able to read the file.
Now we have compared the Attributes of the path
the only difference in file attributes
Coded character set ID . . . . . . . . : 819
CCSID 819 (decimal)
0333 (hex)
Name ISO 8859-1 ASCII
Description ISO 8859-1: Latin Alphabet Number 1Latin-1 countries and regions
Notes Related CCSID with euro is 923
able to read the file attributes:
Coded character set ID . . . . . . . . : 1252
CCSID 1252 (decimal)
04E4 (hex)
Name MS-WIN LATIN-1
SC Co-existence/Migration
FMS Subset
Registration Date
Description MS Windows, Latin-1
Notes CCSID for this code page with euro is 5348
We have tried to chage the File type as Text and File Encoding with ISO-8859-1even then its not picking the files.
Please suggest me where i am doing wrong here
Thanks,
Venkat.Hi,
Check the file path & file name , Check the processing mode parameter which you have set?
Check the folder properties & provide all the permission ...
Finally check the communication channel status in RWB, If the problem persist try to stop & start the communication channel again..
Hope it helps...
Regards,
Kumar. -
Sender file adapter is not picking the file from windows server
Hi Experts,
We have a sender file adapter running on Unix server. Now we have changed the source directory path from Unix to Windows in file access parameters. It is not picking the files from windows directory and not showing any error.
In this scenario, input file for sender adapter is *.xml and no content conversion.
Could any one please let me know is there anything needs to changed in file adapter.
Thanks in advance,
Sridhar. MSridhar,
What do you have in the directory path?
If it is a shared drive in unix then the directory in windows should also be a shared drive from XI system. Else if it is FTP check the address.
Regards,
---Satish -
Sener file adapter has read/pick the files first in first out method.
HI
In my Interface I am Using Sender as File adapter. As per my requirement Sender file adapter has to read the file from file directory. This directory having 1000u2019s of files with some files are same name (time stamp is different) and some files are different name here file adapter has to pick the file with mentioned name in File sender adapter like ZMPSMSGSTATUSMST-.xml .
But source file name is like <TABLENAME>-<TIME_STAMP>.XML (ZMPSWRKFLOWHIST-20090527-150522-628) in file directory.
The file adapter in XI will poll to this directory and picks the file in first- in first-out by sorting according to timestamp.
To do this configuration what I have to do in sender file adapter please give me your valuable inputs.HI Abhi,
Thank you for your spot replay.
I tested now but i am geting below error.
Putting message into send queue failed, due to: com.sap.aii.af.ra.ms.api.DuplicateMessageException: Message ID f4ca4f86-9c5d-4bdd-1fb1-a6bd7cda99a8(OUTBOUND) already exists in database: com.sap.sql.DuplicateKeyException: [NWMss][SQLServer JDBC Driver][SQLServer]Violation of PRIMARY KEY constraint 'PK__XI_AF_MSG__491A1D0B'. Cannot insert duplicate key in object 'dbo.XI_AF_MSG'..
Could not archive file 'E:\file\in\ZMPSMSGSTATUSMST-20090527-150522-628.xml' after processing
but i am able to see this file in Archive foleder. once file is archivied sucessfully the same file is delted from source directory?
I given processing parametes queue name is TEST.
Thanks
srinivas
Edited by: srinivasreddy p on May 28, 2009 8:43 AM
Edited by: srinivasreddy p on May 28, 2009 8:52 AM -
Sender File adapter not picking the file ABCD.PRN extension file
Hi
Am doing File to Abap Proxy scenario. My source will be in text format of fixed length of fileds 7.
My souce file will be generated by a third party machine with the extension EEE150809.PRN. In my scenario my file adapter should pick the file and update the same in ECC via a Proxy.
I have configured the Sender File adapter with Message Protocol - Content Conversion but file adapter is not picking the file. I have checked the Communication channel and status is fine. But the same Communication Channel works for .XML file.
What are the parameters that I have to consider with the file extension .PRN using File adapter?
Thanks.
S.Hi Swarna,
You dont need to worry about the extension when picking the file. You can try using EEE* so that is picks all the files starting with EEE. If you have the fixed name then you can try giving EEE150809.*. Also EEE150809.PRN should not have any issue. Try to see in sender commu ication cahnnel for anyerrors. Probably there might be some network issues or authorisation issues. If you are reading with NFS then ask them to give necessary permissions. If you are reading through FTP check the user id and pwd you are using.
Regards,
---Satish -
Sender File Adapter picking the same file twice
We are facing a weird issue with File Sender Adapter
We are using PI File Adapter ( NFS ) to read files for a NFS folder and
processing those in PI.Normally it works fine. But for a scenario we
are noticing it sometimes process the same file twice before archiving,
thus duplicating the financial postings.
What we have is :
File Sender Adapter - NFS, Polling interval 60 secs, and Processign
mdoe Archive. File name includes Wildcards - JE_Upload*.txt
what we are noticing is that :
when it picks up a file, it immediately polls again to check for
another file, and sometimes the file is not yet archived so it picks up
and reprocess the same file.
If you see the message below, both belong to the same file, and it
picked up the same file again in 12 secs after processing it the first
time
Successful 02.11.2009 15:01:00 02.11.2009 15:01:01 APMANUAL urn:bl:i2g:003:100
SI_SKF_FIDOC_OB XI Message
Successful 02.11.2009 15:00:49 02.11.2009 15:00:50 APMANUAL urn:bl:i2g:003:100
SI_SKF_FIDOC_OB XI Message
Anyone seen this behavior before?Hi,
Please check the script which creates file in source NFS Folders. There is possibility that script is making change in file when PI is picking up the file.
When PI picks the file first time it creates one message ID in system. After that if script is making any change in file without file name change (This need not necessary data change), for PI it becomes new file and new message gets generated in PI for same file.
This error normally comes when File adapter is not able to archive file succesfully. For eg. file with same name alredy exists in Archive folder.
File adapter generates the new message id whenfile get modified(eg.change in its length or data change) even though
the file name is same and when file get change ,XI file adapter thinks that its new file and hence generate the new message id for same file.
If file has same name and notmodified then XI adapter will not generate new message id and will keep on throw the error till you remove that file with same name from the
archieve directory.
-Warm Regards,
Gouri -
File Adapter Not picking the files
Hi All,
We have a process wherein the file adapter picks up the file from a particular location and it processed thereafter. We get the files once every month. We noticed that if the files that are being dazzled are of the same, i.e if the same nomenclature is there for the file that was dazzled the previous month, the adapter does not pick up the file. Only after renaming the file, it picks the file and processed them.
Any idea why the files that are dazzled with the same name are not being picked up.
Thanks in Advance...!!Hi,
While configuring file adapter to pick up the files cross verify with file name putting in the directory location against the
"Includes files with name pattern" "Excludes file with name pattern" file name..
let say if u kept .*txt if picks the files txt with any name and one more think once after picking up the file from particular location are u enabling (delete file once read) option in configuration(It all depends on ur req)..
cross check the schema element of the file pattern. -
I want to Pick the Single file from The source Directory
Hi,
My Scenario is File to RFC .. I'm getting the files in the source Directory.. File names are SENDER_(TIMESTAP).XML .. but the problem is... When ever Files are available in the Source Directory Immediately XI was picking all the files at a time.. But I want to to Pick a single file at a time..
for Making this what we have to do.. After Processing the first file then only my Sender adapter should pick the next file... (even though Multiple files are available in my Source Directory)
Regards
JainHi,
the other option was use Adapter specific attributes in the Sender Communication channel..
or
while droping the files ask them to drop using time stamp in another directory and an external validation is required .. and after validation push single file to Source directory using batch file..
i.e use a batch file using run time operating system or make that batch file to run at OS level ..
where the batch files needs to validate the time interval of the file and needs to push a single file to the source directory.. where from there we can directly pick a single file and process..
regards,
Kishore
Maybe you are looking for
-
How do I disable imessage on my new iMac?
I have tried quitting the app but when messages come to my phone they still come up on the desktop and are retained by the app
-
Accounting documnet not getting generated !
hi When I process VF01, the invoice is getting generated but no accounting documents are generated. I checked the error log it says" delivery is not relevant for transporation planning". Where is the control for transporation planning? Pls help. Than
-
Custom seach help for standard field in Web dynpro application
Hi All, I have a requirement in SRM portal where in I have a to add a custom search help to the 'WBS_ELEMENT' field in the the 'ACCOUNT ASSIGNMENT' tab of the Shopping cart creation screen with some input parameters on the search help. As the SRM Sho
-
Display Currency field in Ad Hoc Query
I done enhancment in Infotype 23 for Last Salary drawn as currency field and ref type as PA0015 WAERS in Ad Hoc Query. But I am not able to display the same field with value. Its always shows me blank. Is there any settings to be done to display c
-
Oracle BPEL Designer with JDev
Can I suggest that the JDev BPEL designer checks for process name validity BEFORE all other error checking? Otherwise, a poor developer might find that their entire project is unusable because they've introduced a period in the project name... Still,