File access parameter in file adapter at receiver side
Hi Experts,
1- i am using file adapter at receiver side. i want to create my file with time stamp for that i have given the file construction mode = add time stamp and put file directly .but it is showing time in file name????????
2. i want my file name as TimeSheet_Country_Date_time.csv so for this what value i have to give in file Name Scheme parameter.
Regards
1- i am using file adapter at receiver side. i want to create my file with time stamp for that i have given the file construction mode = add time stamp and put file directly .but it is showing time in file name????????
The addtime stamp will add timestamp as the last part of the filename before the extension.
2. i want my file name as TimeSheet_Country_Date_time.csv so for this what value i have to give in file Name Scheme parameter.
You can achieve this using dynamic file naming UDF in mapping and using ASMA in file adapter.
Use current date function and generate the current date. Then use substring to pick date,time from it and format it according to your requirement (TimeSheet_Country_Date_time).Else you can write a UDF to generate the file name as per your requirement and then pass it to the dynamic filenaming UDF in the mapping.
Search SDN for dynamic file naming.
Similar Messages
-
File content Conversion in j2se at the receiver side
Hi ,
I need to do a file content conversion using j2se adapter at the recevier side.
my structure is something like
<name>
<name1>
<name2>
</name>
<address>
<address1>
<address2>
</address>
and the output should be like
#tname1$name2
#sadress1.address2
Please do the needfull
Thanks & Regards,
HamsaHi Hamsa,
#tname1$name2
#sadress1.address2
Lot of # and $, so can you paste the FCC parameters that you have tried in the File adapter?
In j2se also we can use the same. If you are not sure on how to use, paste the FCC parameter here and someone will be able to make the J2SE version out of it
Regards
Suraj -
Acknowledgment not possible ..File adapter ..receiver side
Hi XI Friends
In my Simple IDOC to File Scenario...
i am getting successfull meessage in SXMB_MONI.but in sxmb_moni ,the acknowledgment status is not possible.
my inbound inteface is of file and asynchrounous type.
how can i get acknowledgment .
please guid me.
thanks and regards
RamHi,
File adapter does not support Application Acknowledgements.
In your case, turn of the Acknowledgements, by adding the entry in the table <b>IDXNOALE</b> in XI for the Sender Port and idoc type. After this, the Acknowledgement column in MONI will be empty.
Regards,
Bhavesh -
File- XI- J2EE application(HTTP adapter as Receiver)
Hi all!
My question is What else to be given in ID i.e., in my outbound communication channel: I have given the following:
Adapter Type: HTTP
Receiver
Transport Protocol: HTTP1.0
Message Protocol:XI payload in HTTP body
Adapter Engine:Integration server
Addressing Type: URL Address
Targer Host: localhost(My J2EE application resides here)
Service number:7001
Path:/InvokeJ2EE/SendName
Authentication Type:
Username:xiappluser
password:xxxxx
Lonon language: EN
Content type: text/xml
XML code: UTF-8
I have tried many blogs, but i didn't get get correct response!HI
GOOD
GO THROUGH THIS LINKS
/people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping
/people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping%3Fpage%3Dlast%26x-maxdepth%3D0
http://www.sun.com/third-party/global/sap/collateral/SunSAPWP_final.pdf
http://help.sap.com/saphelp_nw04/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/content.htm
THANKS
MRUTYUN -
Error: Unable to create socket(While using Mail Adapter in receiver side)
Hi Experts,
I have tried the File to Mail scenario. While component monitoring the Sender communication is working fine but the receiver communication is giving error like Unable to create socket. Please help me to solve this error.
Regards,
NutanHI,
before using the mail adapter have you specified all the attributes porperly as well as have setup the SMTP Exchange Server address
For FAQs about the mail adapter, see SAP Note 856599.
Please read the below thread, it might be helpful/
SOAP Receiver java.io.IOException: unable to create a socket
Thanks
Swarup -
IDOC Adapter on receiver side- Third party non-SAP
Hi,
I have never worked on IDOC scenario.can we use idoc at receiver end to send data to receiver third party which is non SAP
Plz answer quickly
Regards,
SriparnaHi,
What is the Third-party application you are working on? Is it a web service, a database , file system. etc?
-Supriya. -
FIle content conversion on receiver side
Hey guys
i m getting and XML file of the following form on the receiver side
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_sender xmlns:ns0="urn:Nov:FileToFile">
<Emp_name>mark</Emp_name>
<Emp_Age>25</Emp_Age>
</ns0:MT_sender>
and i need to convert this into a CSV format.
what parameters will i use?
i am using the following
Recordset Structure: Emp_name,1,Emp_Age,1
Emp_name.fieldSeparator=,
Emp_Age.fieldSeparator=,
i guess this is wrong coz i m not getting any file on receiver side,in MONI its chequered flag but i dont see any file on receiver side
thanx
ahmadFigured out by myself,i need to add Root elements in the XML,so that it looks like
<Root>
<Subroot>
<Emp_name>Mark</Emp_name>
<Emp_Age>25</Emp_Age>
</Subroot>
</Root>
it's working for me this way
thanx
ahmad -
Creating Multiple Files with different name at Receiver side
Gurus -
Can anybd tell me how to generate multiple files at the Receiver side in the given target directory with different file names?
One source message will contain number "N" using which we have to generate files "N" number of times at the Receiver side.
Kindly help.hi,
are you following this blog?
provided you have SP>14 and no IDOC/HTTP involved.
and have you got the error you mentioned when testing with sample payload?
from where did you take the payload? if is from SXMB_MONI make sure you dont have <MESSAGE> tags in the payload,generally systems adds <MESSAGE> tags when you do multi mapping.
get the payload from SXMB_MONI right click ->view source payload(this is raw data) and test it.
it should be ok now.
and refer my discussion in the thread ,as I got he same error.
Split mapping created no messages -Mluti Mapping -
Command Line Parameter in File Adapter in SAP PI
Hi
Can any body explaine me what is the purpose of 'Command Line' parameter in File Adapter (Sender/Receiver).
Regards,Hi,
Refer below two links for more help!
SAP XI File Adapter OS Command Line Feature
https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/sapXIFileAdapterOSCommandLine+Feature
More with the File Adapter
https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/morewiththeFileAdapter
Regards,
Jilan -
FTPEx: 501 Syntax errors in parameter in File Adapter
Hi All,
I have a scenario idoc to file when I try sending file through the FTP connection I got the below error
An error occurred while connecting to the FTP server 'ftp-gw.dx.dxxxx.com:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 501 Syntax errors in parameter. usage: %[recipient id]%[APRF] where either [recipient] or [APRF] can be omitted. (to change your current default SEND relationship). %% (places you in your 'HOME' TR). &['s'|'single'] ('get' command gets single file). &['m'|'multiple'] ('get' command gets multiple files). '. For details, contact your FTP server vendor.
I have gone through the forum below which is also unanswered
FTPEx: 501 Syntax errors in parameter - Any Ideas...
Note: Luis Melgar and Satish Reddy please let me know if this problem is solved and also please share with me if any discussion you have in offline
Regards,
Senthil.Hi Anand,
Not sure whether I need to used the variable substituion but the user as specified to send file as
PUSHING FILES TO FTP Server
put localfilename %localfilename%CITISECUFLATNA%CITIGPASSIN%%B
currently I specified in comm. channel as
File Access parameters
Target Directory %xi_output.txt%CITISECUFLATNA%CITIGPASSIN%%B
Unchecked the checkbox Create Target Directory
File Name Scheme xi_output.txt
Please let me know if any more details required.
Regards,
Dhill -
I can't get new version of itunes to install on Windows 7 64 bit computer. Receive message that reads insufficient privileges to access c:\program files\ipod\bin. I've followed several threads I've read here but nothing is working.
For such situation, I'd suggest the following:
1. Remove current installed office with the fix-it tool in
KB2739501, and follow the "Remove Office manually" section to make sure there are no remaining files
2. Either download a trial version of Office 2013 from
http://office.microsoft.com/, or from
http://technet.microsoft.com/en-us/evalcenter/jj937170
3. Reboot your computer in clean boot mode, and run setup again
Max Meng
TechNet Community Support -
Problem in Receiver side File Adapter using FTPS mode
Hello,
Here I am facing some problem in receiver side while using FTPS mode in the channel configuration.
The error message which i could see in the audit log is,
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: java.lang.NullPointerException
Can anyone help me out in solving this issue ASAP?
I am using Per file transfer mode ni the reciever channel.
Thanks in advance,
Yours
SooryaHI Surya,
First check wether server started or not and then check you are connecting to FTP server by
go to run -> cmd and write ping and ipaddress which is used and see whether u r getting reponse from teh FTP server.
Try to login to the ftp server which you have mentioned in CC using the user name and pwd, to chk whether you have the permissions to login to the server.
Also the check whether the folder you are trying to access is having permission for delete/read/write.
Restart the FTP server and try it again.
Regards
Sridhar Goli -
Encoding in Receiver side file adapter
Hi All,
I have special characters in message structure. While writing the message to output file the special characters are not getting printed(getting replaced by '?'); I have tried using UTF8, ISO-8859-1 and other code pages related to latin characters; Still facing an issue. I have tried using Binary mode also.
I tried using similar encoding formats in sender adapter. It was working fine and all the special characters are visible.
Is this problem in receiver side file adapter? Any inputs on the same will be a lot more help ful.
Thanks in advance
NikHi
I have é, à and some other characters in my source message structure. The same characters are visible in message monitoring. While writing to file, they are being replaced by ?
This type of character are generated using UTF-8
use the same for receiver
The default setting for code page is the system code page that is specific to the configuration of the installed operating system.The content of the message needs to be converted to the corresponding code page before the message is saved as a file.
You should use this conversion only for plain text and not for XML documents. If you want to change the encoding of an XML document, then select the File Type as Binary and apply XMLAnonymizerBean as an additional module in the Module tab page.
Thanks
Gaurav -
Alright, this have been a painful day trying to solve this and I am pulling my hair out.
So I decided to download the FB4.7 trial for some test with AIR13, and after an indecent amount of hours trying to install the latest player and android sdk (why the hell isn't it like in the IDE?), I have 2 major issues and so far not impressed at all by FB4.7.
I have developped a project using the Flash IDE. Everything works perfectly BUT the workers. I don't get any error message, and my app doesn't trace the messages I'm supposed to receive from a worker. To be sure I coded that properly, I created a test project in FB4.7, copied pasted my code and my worker is working and I can trace messages sent and received from the worker to my main app. Why don't i see these traces when I fire my app from the IDE ? If i can't test workers in the IDE, this is a major issue. It doesn't even throw any error, just doesn't trace anything.
Sooooo because It wouldn't work in the IDE, I copied my files to another location, created a project in FB4.7. If I run/debug in FB4.7 the worker works, but now I am unable to access embedded files in the app. In Flash IDE, I embed a folder that contains a bunch of files, and can access the file with 'app:/folder/file', which was very usefull because I have a ton of assets and this is the softest solution not to have a stupid class with 200 [Embed.. ] ******** hardcoded lines.
So question 1 : how to have worker working in Flash IDE ?
And question 2, if question 1 is a no go : since I do not want to modify my working code (in the IDE), how can I have the same behavior debugging from FB4.7 when it comes to using 'app:/' ?
Also, just a notice about this sketchy forums, If I go back to my own post, the view count increment (lol). Let me know if this is coded in CF cause it looks like someone doesn't know about sessionsDid you find a solution for this?
-
FTP file adapter: file access permissions do not allow the specified action
Hi,
I have the File to JDBC scenario. The file is extracted in AL11 folder of the Sending (BW) system.
The folder is FTP enabled and the Unix admin says he has given full authorization to both the folder and ftp user.
But in the File CC I get the following error "Could not process due to error: com.sap.aii.adapter.file.ftp.FTPEx: 550 TSMSACAIX5350.tar.gz: The file access permissions do not allow the specified action."
Can some one advice what is wrong. Im pretty much sure it has to be a problem with the UNIX permission. But the unix admin person says he has given a full permission.
I need to know what permissions needs to be given?? Is there different permissions for application level and OS level??
Pls advice
Thanks
Prasanna>
Prasanna Shanmugasundaram wrote:
> Hi,
> I have the File to JDBC scenario. The file is extracted in AL11 folder of the Sending (BW) system.
> The folder is FTP enabled and the Unix admin says he has given full authorization to both the folder and ftp user.
> But in the File CC I get the following error "Could not process due to error: com.sap.aii.adapter.file.ftp.FTPEx: 550 TSMSACAIX5350.tar.gz: The file access permissions do not allow the specified action."
>
> Can some one advice what is wrong. Im pretty much sure it has to be a problem with the UNIX permission. But the unix admin person says he has given a full permission.
> I need to know what permissions needs to be given?? Is there different permissions for application level and OS level??
>
> Pls advice
>
> Thanks
> Prasanna
In CC you set ON the delete mode, after processing file? Maybe, the file have read only permission....
Maybe you are looking for
-
How to use ImaqViewer with mfc
Hi, I would like to use the IMAQViewer in my mfc application made with VC++ 7.1 , with measurement studio 7.1 for VC++ , and IMAQ Vision 8.0. I did try to " add class from an ActiveX " , look for the " cwimaq.ocx " , and select the " _CWIMAQViewer "
-
JDK 1.4 UnsatisfiedLinkError while starting GUI - Solaris
I get the folling error when starting the JUNIT test GUI on Solaris. [java] Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /export/j2sdk1.4.1_01/jre/lib/sparc/motif12/libmawt.so [java] at java.lang.ClassLoader.loadLibr
-
How do I get the red explicit sign next to the explicit songs in my library?
My friend's macbook has the explicit tag next to the songs that are explicit and mine don't. I've searched for some time now, and can't figure out how to get it on there!
-
Need VZW to deal with this, very uphappy customer
I’m submitting this complaint, hoping Verizon Wireless management can help me out in a situation in which I feel Verizon Wireless mislead/deceived me. My wife and I have been Verizon Wireless customers for approximately 7-8 years, we always pay our b
-
AE: pc won't connect, mac will
I've been searching both this(pc) forum and the Mac forum to find help with my pc/mac airport extreme issue. My exact issue: I connect to the internet through my AP card/AP/DSL modem. Not sure if my settings are what they need to be, but I can connec