Receiver server definition for file adapter
Hi,
I am trying to create a scenario where the data from SAP system goes to XI through ABAP proxy and has to write the data in the file.
My Question...
In the Integration directory my sender system is ABAP Proxy and receiver system is File adapter.
When I try to create a distribution channel of type XI adapter, I cannot select it as sender. By default it comes as receiver. How Do I go about doin this scenario.
Also, since I have to write to a file, it is my receiver(outbound adapter). Please can anyone tell me what would be the service definition for this as I am writing to a directory!!!
Thanks in advance.
Hi ,
That is what I have done.
XI Adapter(ABAP Proxy) is my sender system.
File adapter is my receiver adapter.
But I am unable to make a distribution channel with XI adapter as sender. The radiobutton of receiver is only active and I am unable to select the sender radio-button. Is this some sort of error.
Actually when I select XI, HTTP, IDOC and RFC adapter in communication channel, the receiver radiobuttion is selected by default and I am unable to select on sender radiobutton.
Have we missed out on any configuration?
thanks in advance
Similar Messages
-
How to set DEBUG severity for File adapter in J2SE AE
Hi,
Can anyone help me in setting the severity level to DEBUG for file adapter?
I have tried to set in logging.properties file as given below,
formatter[Trace] = TraceFormatter
formatter[Trace].pattern =%24d [%t] %-6s %l - %m
log[Trace] = FileLog
log[Trace].pattern = swb_%g.log
log[Trace].limit = 2000000
log[Trace].cnt = 5
log[Trace].formatter = formatter[Trace]
com.sap.aii.messaging.adapter.severity = DEBUG
logging components
#com.sap.aii.axis.logs = +log[Trace]
#com.sap.aii.axis.severity = DEBUG
#org.apache.axis.logs = +log[Trace]
#org.apache.axis.severity = DEBUG
Please correct me if I have did anything wrong and sugest me hot to set the DEBUG level as soon as possible.
Best Regards,
SooryaHi Sejoon,
when we changed the host of XI server in one of our projects one of the things we had to change was the exchange profile entries
http://server:port/exchangeProfile/index.html
to see how your adapter engine is configured
http://server:port/sld
SLD -> Content Maintenance
then
Subset: landscape description
Class: XI Adapter Framework
buth check the exchange profile entries first
Regards,
michal -
Dynamic UserID/Password for file Adapter
Hi,
How to use dynamic UserId/Password for file adapter ?
(Sender/Receiver)
In our case the Id/Pwd of FTP Site changes freguently.
Can anyone help.
Thanks in Advance
Regards
ChemmanzHi Chemmanz,
>>>>In our case the Id/Pwd of FTP Site changes freguently.
but do you have those passwords in the message payload?
if not then you will still have to fill it somewhere right?
BTW
the only way would be to use java proxies and write a simple ftp adapter inside it (or your own adapter)
but this is not possible in standard I believe
Regards,
michal -
How to have Secure Connection for File Adapter.Pls help
Hi All,
For File to File Scenario
How to have Secure Connection for File Adapter.
Pls send links/blogs explaining this scenario.
Regardshi rich
go through these links
FTPs connection failed - error ".. certificate rejected by ChainVerifier"
Re: What is SFTP, FTI channels
http://help.sap.com/saphelp_erp2005/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm
FTPS implementation question.
http://help.sap.com/saphelp_nw04s/helpdata/en/43/0e16bfd7b021aee10000000a1553f6/frameset.htm
Server certificate rejected by ChainVerifier:FTPS server(Points Guaranteed)
/people/krishna.moorthyp/blog/2007/07/31/sftp-vs-ftps-in-sap-pi
File adapter
thanks
Kunaal -
Time stamp is not getting updated for File Adapter in communication channel
Hi All,
Since yesterday, I am observing that the time stamp of communication channel for File adapter is not gettingupdated some times.
I had to stop and start the communication channel to update the time stamp.Please let me know if anyone has come across such issue or any useful notes on this.I could not find any related notes on Market place.
Regards,
DinakarHi,
This is happening only with one communication channel which is sender in derection.Any reason why it is happening like this?since the restart of the communication channel it is getting update now.I really do not know how to delete/create the communication channels as this was done our PI consultants.Pls guide me.
Regards,
Dinakar -
Directory specification for File Adapter
Hello,
I would like to ask if it is possible to determine a directory where message is saved for file adapter based on message content.
E.g. I have general directory (GD) under which I would like to save a messages in directories with are called based on vendor number what is part of a message.
So a message would be saved in
...\GD\vendor number\file name.
In case that vendor number directory is not created yet I need to create it.
I know that in file adapter a directory name is constant and file name can differ based on settings.
This behaviour is in Business Connector enabled through possibility to write an "user-exit" in Java for directory determination.
Is something similar possible in XI ?
We are currently running on XI 3.0 with external adapter engine version 2.0 but to use internal adapter engine is no problem for me.
Thank you for your advice.
Marian MorzolHi Marian,
You can do this with content based routing in the interface determination, but then you have to create a new interface/channel for every extra directory.
Cheers,
Frank -
Problem receiving acknowledgement: abap proxy == file adapter
Hi experts,
I am developing an asynchrone interface using PI 7.0. The scenario is: SAP ==> FILE.
In SAP I have created an abap proxy in wich I requested an acknowledgement when calling from the abap code. In PI I have created an Integration Process with a receive step, and a send step. In de send step I am asking for a transport acknowledgement.
When I test the interface and I look in the SXMB_MONI in PI, I see the acknowledgement given back to the IP, but in the SAP backend system I don't receive anything in the abap proxy which had send the original message. In de SXMB_MONI from SAP I see a "?" Still awaiting acknowledgement.
Can anyone help me with this scenario? I really need an acknowledgement from the file adapter in the calling abap proxy.
Regards, JeroenYou need to crate a REceiver Agreement for this sender...
The Integration Server sends an acknowledgment message back to the sender (CENTRAL_BACK). It uses the name of the sender system for logical and technical backward routing.
If the sender is addressed using an ABAP proxy, you must define a corresponding receiver agreement for this sender.
http://help.sap.com/saphelp_nw04/helpdata/en/29/345d3b7c32a527e10000000a114084/content.htm
-SM -
How to create a module for File Adapter
Hi,
I read somethings about module in Adapters.
What I need to create a EJB? I need to generate a jar? Where I put it?
Do they have anything about this or a step by step? I want to create a module fpr File Adapter
Tks.Hi,
>>>What I need to create a EJB?
If you have NDS or Ecclipse you can create them automatically.
>>>I need to generate a jar?
Yes you need to generate a .Jar for that Ejb.
>>>Where I put it?
Put that .Jar in .Ear file. and then deploy it on to the Xi server or PCK or Decentralised Adapter Engine where ever u want to use.
>>>Do they have anything about this or a step by step?
Yes.Step by step procedure for creating module is available.You can get them at the links given above by others.
Regards,
Gowtham K. -
Reciever content conversion for File adapter.
Hi ,
I am doing Idoc to file scenario,it is working fine without any FCC in the reciever file adapter but its failing when I use FCC.getting the error like
"Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter 'STRUC.fieldFixedLengths' or 'STRUC.fieldSeparator' is missing "
I know this error is because of FCC problem.
I am getting this xml structure without FCC in the rec file adapter
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:DataRec_MT xmlns:ns0="http://xyz.....">
- <SET>
- <STRUC>
<PERNR>0000185</PERNR>
<ENAME>xyz m xyz</ENAME>
<NACHN>xyz</NACHN>
</STRUC>
</SET>
</ns0:DataRec_MT>
I want to get 00000185||xyz m xyz ||xyz format
I am using these FCC parameters
STRUC.fieldNames fld1,fld2,fld3 etc
STRUC.fieldSeparator ||(do I need to put this in ' ' ?)
STRUC.endSeparator 'nl'
do I need to add any more parameters or not supposed to use any parameters.
please help.
I tried with different combinations but no luck.
i have DT created with stucture like
DT_xyz
Recset
Record set structure.
and I maintained all with the same case for field names,recordset structure,record set etc
I searched blogs and links,and I will keep on.
and what if if we dont get a value for a field in the record structure?whole FCC gonna fail?
thank you,
BabuRamana and Raj,
I tried both options but,still getting error.
Recordset structure : STRUC
STRUC.fieldSeparator ||
STRUC.endSeparator 'nl'
or
Recordset Structure: STRUC
Try with these parameters
STRUC.addHeaderLine=0
STRUC.fieldSeparator = ||
STRUC.endSeparator = 'nl'
I get this error in File CC
<b>Channel has not been correctly initialized and cannot process messages
Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter 'STRUC.fieldFixedLengths' or 'STRUC.fieldSeparator' is missing </b>
and when I furthur click on the message ID in CC I get this error
<b>Success File adapter receiver: processing started; QoS required: ExactlyOnce
2007-08-01 08:02:57 Error File adapter receiver channel CC_File_RECV is not initialized. Unable to proceed: null
2007-08-01 08:02:57 Error Exception caught by adapter framework: Channel has not been correctly initialized and cannot process messages
2007-08-01 08:02:57 Error Delivery of the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Channel has not been correctly initialized and cannot process messages</b>
any suggestions?
thank you. -
How do I map a drive for file adapter
I am using a File adapter in XI, and would like to read files from a different server.
In the file adapter, there is no place for a username/password, so I need to map a drive first, then use the drive letter in the file adapter.
eg Source Directory = G:\FTP-Data\sapgms\GMSToXI
On the source server (call it DATASERVER), there is a local user created with rights to the appropriate data directory.
I can logon to the XI server as the XI user (eg xidadm) and map a drive, entering username of DATASERVER\username, put in password, and marking as "Reconnect at logon"
The problem is that when logging back in, the system prompts for the password. This is no good for the XI application service.
A NET USE command in the startup directory works when I log on myself (eg net use Z:
dataserver1\CorpData /USER:dataserver1\xid_user password1) , but still does not make the drive available for the XI application.
The XI user (eg xidadm) is local to the XI server, so cannot be given access on the data server.
I have been using FTP successfully, but have suddenly found that the administrators do not want FTP running on the production data server...
So my question is:
is there any place I can map a drive with a specified username/password, and make that drive available to the file adapter in XI?
Thanks
Michael
Message was edited by: Michael InglisHi Michael,
We are trying to configure similar scenario using Sender File (NFS) adapter from SAP server directory to XI.
We have done the following steps:
1) Map the SAP drive (
SERVER\interface\ACH) <b>in XI system</b> windows explorer. It created an entry "Ach on SERVER\interface" and I can see all files in SAP directory from XI.
2) Created SAPServiceXID user <b>in SAP system</b> with the same password as in XI.
We tried all source directory names, but in Adapter Monitoring we still get error saying that Directory doesn't exist.
What is the sharename in the directory you mentioned?? (In
servername\sharename\path)
In our SAP system (SERVER) files are under following directory d:\interface\ACH and in XI we mapped it under G drive which shows as "Ach on SERVER\interface"
Are we missing anything here??
Hi Wouter,
Did you guys make this thing work?? We are having the same problem. If you figured it out..please let me know.
Thank You,
Indrasena Janga -
Is a record ID field required for File Adapter (Header, Body, Trailer)?
Hi,
File to File scenario. The sender file is a text file i.e. .txt which needs a conversion on the sender file adapter. There are three structures in the file namely header (one), body (many) and Trailer (one). From what I can see I need a record Id field (with the same name) in all the structure types, can anyone confirm this for me?
Thanks,
LeanneThat is correct. If you have a variable number of records of a particular type, then you need a way to accurately identify each type of record... and that is done via the key field (or Record ID) which is present in each record type.
Extract from SAP Online Help:
<i>Key Field Name
If you specified a variable number of substructures for Recordset Structure, in other words, at least one substructure has the value *, then the substructures must be identified by the parser from their content. A key field must be set with different constants for the substructures. In this case, you must specify a key field, and the field name must occur in all substructures.
Specify the Key Field Type to be used to compare the predefined values. This entry is used if the key field name is defined.
NameA.keyFieldValue: Specify the value of the key field for the structure. This entry is mandatory if the key field name is set. Otherwise, the entry is ignored.</i>
For more info, refer to the SAP Help:
http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/frameset.htm -
Dynamic update to Inbound Directory for File Adapter Read
I've seen references to others asking similar questions but never a good answer.
I have a process that outputs files into daily dated directories. In other words, my Inbound Direct name is dynamic. I would like BPEL to be able to pick up these files but the Directory Spec for the inbound file adapter seems to be set at design time (or in the case of a Logical Directory Deployment time).
The directory names are in YYYMMDD format. So it would be:
importdir/YYYMMDD
for each day.
Is there a way I can monitor an entire subtree, or have some event that triggers the directory name to be updated (for instance, a process watches the parent directory and kicks off when a new directory is created), or any other method I can inform the FileAdapter to begin polling a different directory.
Thanks.Hi,
Look at this document : [Oracle JCA Adapter for Files/FTP|http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10231/adptr_file.htm#CIAFJCCE]
Romain. -
Command Order in FTPS for file adapter
Hi,
I am trying to configure file adapter using FTPS.
Can anyone please explain what the commands AUTH TSL, USER, PASS, PBSZ & PROT stand for?
How can i choose the correct order?
Thanks
ChandraHi Sekhar,
See this help which will give you an idea about them and its usage:
http://www.enterprisedt.com/products/edtftpnetpro/doc/manual/theessentialsofftpsecurity.html
http://www.enterprisedt.com/products/edtftpnetpro/doc/manual/ftpscommands.html
http://www.enterprisedt.com/products/edtftpnetpro/doc/manual/ftpsusage.html
Also Retain the default setting. Please check this sap help for order:
http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
Regards,
---Satish -
BPM to get rid of polling for file adapter
Hello,
nice scenario here:
We want to trigger a scenario for file to file transfer via an aRFC to be independent from the polling.
Looks like this needs a BPM, which could be started via an aRFC (save e.g. the content of the RFC in a directory on the XI machine if necessary).
But how to trigger now the sender adapter to pick up the prepared file (no relation to the content coming with the RFC) to deliver it?
Looks like we do not really understand how to use the BPM? Any idea to solve that is welcome!
Best regards
DirkHi Dirk,
take a look at this weblog by siva:
/people/siva.maranani/blog/2005/05/22/schedule-your-bpm
schedule your BPM and then you can use pooling
for the file adapter cause the message will stay in BPM
and you can control from the BPM
Regards,
michal -
How to create Headervariable for File adapter in 11g SOA Suite?
Hi All
My process in reading file and I wanted to know the exact name of the File.
In 10g, we have fileAdapterInboundHeader.wsdl and create HeaderVariable using message type used in this wsdl and can get file and directory name in this variable But in 11g we dont have any wsdl like this.
Can anybody give me some idea how to create Headervariable for Inbound file adapter to get file name?
Thanks
VibzzHi,
Look at this document : [Oracle JCA Adapter for Files/FTP|http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10231/adptr_file.htm#CIAFJCCE]
Romain.
Maybe you are looking for
-
MacBook Pro won't start after installing new hard drive and me
I changed the hard drive and also upgraded the memory on a mid 2010 13 inch Mac and then used the disks that came with it to reinstall the OS that came on that disk. It worked fine and installed and then the screen came on to transfer from the time m
-
How to release Parked vendor invoice to post
Hi Gurus, We have checked posting release box in obwa so system trigger workflow. We want to use park and post for FV50 and FV60 both. But we dont want automated mails for FV60. Now whats happening is that system is working fine for FV50 and generati
-
J2me maximum response bytes size (http)
Hi, i am developing a end to end application using j2me and servlets. iam getting the response as xml from the servlet and parsing it in my j2me client. i am getting error- if the total bytes return from the server exceeds..2000bytes. is there any ma
-
Uploading and downloading files in webdynpro java
how to upload and download xl files in webdynpro java application .
-
Photo library pics have been duplicated
Since my last update to iOS6.0 I'm having problem with pics in the Photo Library where all pictures have been duplicated and also most of the pics that wrere sitting in my Mamera Roll have been deleted! Any way to fix both problems? How can I get ba