Response File adapter configuration
Hi Experts,
My scenatio is syncronous scenario ( File to sync SOAP to File). It picks up a file , calls syncronous web service using SOAP adapter , get the response and we need to create a file of teh response.
My problem is to the service response into file.
In IR i have done following things:
1. Oubound synchronous input Message interface
2. Inbound synchronous service Message Interface
3. Message mapping for both request nad response
4. Interfce mapping for the one Message Mapping
In ID
1. file sender Comm channel
2. SOAP reciver comm channel
3. one recvr determination for file to service inbound message
4. One interfcae detmination for service inbound message and interface mapping
5. one sender agreement and one recvr agreement.
Now i am not sure how use the second file adapter for writing file.
kindly help.
thanks for your replies, the link was really helpful but I am getting error in my File sender channel:
Error: com.sap.aii.af.service.cpa.CPAException: Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=SHDCLNT100;TS=SICCEB_DocService;AN=;ANS=;
becuase of this error, file receiver channel is not getting triggered.
I have checked all the agrrements and and interface detmination. Kindly suggest what can be the reason .
Thanks a ton for your replies.
Similar Messages
-
File adapter configuration parameter for "hexadecimal conversion"
(File adapter for XI 2.0)
Does anybody know the exact File adapter configuration parameters for reading a file with hexadecimal control characters as seperators. My file has
3 types of seperators - i.e "2F", "05" & "0D2F"
Eg: xml.fieldSeparator= "2F"
When I specify this the file is getting split into fields
at all the seperators in the file. I guess I am not using the right format in my defination ?
DoraiIs there any special format for reading a file containing hexadecimal control characters?
The file to be processed has hexadecimal separators:
Field Delimiter : '09' or '05'
End of record delimiter: '0A' or '25'
End of Table delimiter : '07' or '2F'
Initially i would like to read the file into XI as it is i.e without any split by using "xml.fieldFixedLengths= "
However, everytime I process the file(with hexadecimal contol characters), I have noticed that my file is getting split, even when I did not specify anything for field separator(i.e when i used fixed field length).
Thanks,
Dorai -
File name naming convention in File Adapter configuration in ID
Hi All ,
I have a query related to xml filename created in IDOC-XI-FILE scenario based on value of one of IDOC field .
The scenario is like this :
I have to send one xml file per store for material master . In this case how can I define my file name with store name in File adapter configuration in ID .
Naming convention should be
<b><storename>_date_masterdataname.xml</b>where store name is one of field of IDOC .
Plz help me .
Thanks in Advance
Regards
Prabhat RanjanHi Prabhat,
take a look at this weblog:
/people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii
you have to specify variable substitution
(in the file adapter)
and give the path to the store name (in the variable sustitution table)
you <b>file name schema</b> (from the file communication channel can look like this)
%storename%_date_masterdataname.xml
Regards,
michal
Message was edited by: Michal Krawczyk -
How to automate File Adapter Configuration
I am configuring a File Adapter manually then it generates WSDL file and jca files which contains File Adapter configuration. I have XSd file through the XSD can I generate these files (WSDL & jca)?
I have XSd file through the XSD can I generate these files (WSDL & jca)?No. Only adapter wizard should generate these files. Can you let us know more about your use case and tools you are working with?
Regards,
Anuj -
Need help in file adapter configuration
Hi,
i am working on sps13 . while i am configuring the file adapter for sender communication channel i got a compulsary field "Queue Name" in processing
parameters . what should i make entry in that field ? plz....do reply.
Thanks in advance.Hi Lakhman ,
The parameter QualityOfService specifies how the Integration Engine should process a message. The following values are permitted:
1)BE(Best Effort: synchronous processing). If QualityOfService is BE, the client is sent the final status for the processing.
2)EO(Exactly Once: asynchronous processing with guaranteed execution exactly once). If QualityOfService is EO,processing occurs asynchronously and the client only recieves a confirmation of reciept with HTTP status '200'.
3)EOIO(Exactly Once in Order: asynchronous processing using queues, that is, guaranteed execution exactly once and maintaining the sequence of successive messages). If QualityOfService is EOIO,processing occurs asynchronously and the client only recieves a confirmation of reciept with HTTP status '200'.
Since u had choosen EOIO ,You must also define a queue name for EOIO:
XI.QueueId=<QueueName>
This queue name is used in the Integration Engine to process messages in the same sequence that they arrived in.
This QueueName can consist of a maximum of 16 characters. If the first 8 characters contain 'SAP_ALE_', these r removed since this value is reserved by SAP and used internally.
If a value is not specified for QualityOfService , the default value 'BE' is used.
These r following websites which u wil find helpful:
http://help.sap.com/saphelp_nw04/helpdata/en/0d/00453c91f37151e10000000a11402f/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/8f/d906d01f77fa40a4c84683c3f8326f/content.htm
http://documentation.softwareag.com/crossvision/xie311/admin/config.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a8424011-0d01-0010-e19d-e5bd8ca52244
Reward Points if u find it useful.
cheers!
gyanaraj
[email protected] -
SP9 on PCK - file adapter configuration or Messaging System Test
Hi,
I have upgraded my XI 3.0 PCK from SP1 to SP9. This is fine but now I do not have the Messaging System Test JSP
(I could not install the old one).So I would like to
configure the file adapter to send to my adapter some outbound messages.
I have tried configuring the file adapter as
I do on full XI server but the file adpater on PCK
just doesn't want to recognize the binding. No error logs, nothing. Any ideas what could be wrong ?
Sincerely,
Maxim NaidenovThe configuration of the PCK is different to the XI.
You need:
Communication Channel:
-> for Sender (File)
-> for Receiver (XI) (Here you enter the URL of the XI)
sender agreement (matching sender channel and interface)
receiver agreement (matching receiver channel and interface)
As the XI needs the same configuration for partner and service as the PCK, you should create two partners for PCK and XI and assign the sender channel to the service belonging to the partner PCK and the receiver channel to the service belonging to the partner XI.
I hope that helps
Stefan -
Path in File Adapter Configuration [XI 3.0]
Hi,
when providing a relative path in the file adapter, which subdirectory will be used as parent directory?
Furthermore, how can I address a network file system on a unix based host. Is it similar to
hostname\dirfoo\dirbar\... like in a Windows environment?
Thanks,
ChrisHi Chris,
The path provided to the File adapter should be the path on the sender/receiver system. For example, if your file is written to d:/usr/sap/trans/tmp this is the detail you should be providing to the file adapter.
Note the use of '/' instead of backslash '\' used in the windows environment.
Hope this helps.
Kind regards
Colin. -
Hi ,
In file adapter, when we use quality of service:EOIO ,it asks for Queue name,what do we have to give there?
ThanksHi Guys
When I use EOIO it gives me the below error,it works fine with EO for quality of service.What is causing the error.I am using in file sender adapter.
Thanks
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter -->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIAdapterFramework</SAP:Category>
<SAP:Code area="MESSAGE">GENERAL</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error> -
Reciever file adapter configuration for Deep structure
Hi Experts,
I have a idoc to file scenario in which i used a data type for file in below format:
DT_Test
-->Recordset(0.unbounded)
>E21DPU1(0.unbounded)
>field1
>field2
>E21DPU5(0.unbounded)
>filed 3
>filed 4
>E21DP03(0.unbounded)
>filed 5
>filed 6
Here DT_test is datatype name,Recordset is a structure name which contain E21DPU1, E21DPU5,E21DPO3 stucture inside it.Now,E21DPU5 and E21DPO3 structures are under E21DPU1.
I am confused in creating content conversion parameters i.e what we have to mention in Recordset Stucture .
I used E21DPU1,,E21DPU5,,E21DP03,* .should it work for deep structure.
Thanks
DeepakHi,
file adapter does not handle 2 level deep structures
the easiest way to do it now is to go for abap or java mapping
and create a line for each of the output lines and handle this in the file adapter
so like <line> </line>
<line>E21DPU1(0.unbounded) with fields </line>
<line>E21DPU5(0.unbounded) with fields </line>
<line> etc. </line>
Regards,
Michal Krawczyk -
SAP PI File Adapter Configuration
Hi
When i configured and executed one simple file to file scenario , the following error is displaying in Adapter Monitoring..can any one help me in this case..
Sender Adapter v2307 for Party '', Service 'Test_BussSys1':
Configured at 2007-10-31 17:42:47 GMT+05:30
History:
- 2007-10-31 17:45:00 GMT+05:30: Retry interval started. Length: 60.000 s
- 2007-10-31 17:45:00 GMT+05:30: Error: ConfigException: Some of the IS access information is not available. SLDAcess property may be set to true, but SLD is not available.
- 2007-10-31 17:45:00 GMT+05:30: Processing started
- 2007-10-31 17:44:00 GMT+05:30: Error: ConfigException: Some of the IS access information is not available. SLDAcess property may be set to true, but SLD is not available.
- 2007-10-31 17:44:00 GMT+05:30: Processing started
Thanks in Advance
Srihi Ram,
this thread will help you to solve
XI Error SLDAccess set to true, but not available.
regards
Ramesh P -
Enable FTPS, SSL, File Adapter, Configuration, Certificates
Hi All,
Right now I have some file to file (FTP_XI_FTP)scenarios that are working fine. With SP14 we got a option to use FTPS(FTP over SSL).
1. Can any one tell me the exact steps we need to follow to use FTPS?
2. What is the config we need to do in RZ10.
3. What is the confing we need to do in the Visual admin?
4. What are all the steps we need to do with the ftp server.
4. How to test the configuration.
1. We are on sp14/XI3.0/kernal640/Solaris/oracle
2. Installed SAP Cryptographic Software.
3. Right now i could be able to connect to FTP server at a secure port 32, using PUTTY software.
Thank you
Raj AkulaHi,
There is a blog on SSL- have look at that-
/people/aniket.tare/blog/2005/03/22/ssl-certificate-installation-procedure-for-sap-j2ee-engine-630-150-steps-in-visual-administrator
I hope you have gone thru following link-
http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
May be useful
Regards,
Moorthy -
Dynamic File adapter configuration
Hi All,
Is it possible in XI give source directory dynamically?
If I move my XI development objects into quality or production, there would not be the same directories available. So we need to modify the source directory name again?
Could anyone clarify these issues?
Thanks,
Venu.Hi Venu..
It's possible to give source directory a dynamic name..
Just type %directoryname% in the source path..
and in the adapter paramaters (variable substution) access the value dynamically..
Ex:
variable
directoryname
Refernce:
payload:messagetype,level,.........etc
Regards..
Satya.. -
XI/PI: File Adapter Configuration
HI ,
I required to generate multiple files(same format) based on the 5 unique combinations of particular fields.
At receiver side I required ,files should have different names and should be placed in different directories.
Please suggest me how can i achived this.
Thanks
Mohit
Edited by: Mohit Verma on Mar 3, 2012 4:54 PMHi Mohit,
One suggestion is that you can create as many receiver channels as the number of files you want.
Specify the file names and the respective directories for the files.
Note: This is how I was asked to do as my solution architect suggested this method.
This can also be achieved through UDFs.
Cheers,
Vivek. -
Problem in configuring the File adapter communication channel in ID
Dear All ,
Scenario : <b>IDOC to Xml file</b>
While configuring File adapter configuration channel , I mentioned the following :
"File" in Adapter Type
" File system (NFS) " IN Transport Protocol
" File " in Message Protocol
but nothing appears in Adapter Engine ???
Can anybody help me to solve this problem . What could be the reason .
Thanks in Advance
Regards
PrabhatHi Prabhat
Please elaborate as to in which format you need the file at the receiver's end.
also, please go through this link:
/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
Also there may be some error in sending Idocs, to review that, please go through this link:
http://help.sap.com/saphelp_nw04/helpdata/en/6a/e6194119d8f323e10000000a155106/frameset.htm
I hope it helps,
Thanks & Regards,
Varun Joshi -
i,
When I post a XI message via SAP PI 7.10 SP7 integration server to a J2SE adapter engine to a file adapter, then when I use mode "XMB2FILE" in the receiver file adapter configuration on the J2SE Adapter Engine then the XML file is delivered into the appropriate folder with the correct XML format and content (As expected). However when I change the mode to XMB2FILEWITHCONVERSION then message fails in the integration Engine on the PI server.
With:
<Trace level="2" type="T">Addressing mode: url</Trace>
<Trace level="3" type="T">Host = "HOST"</Trace>
<Trace level="3" type="T">Port = 8111</Trace>
<Trace level="3" type="T">Transport protocol = HTTP 1.0</Trace>
<Trace level="3" type="T">Message protocol =</Trace>
<Trace level="3" type="T">Path = /file/receiver?action=execute&pipelineid=Receiver</Trace>
<Trace level="2" type="T">Auth mode: basicNonSAP</Trace>
<Trace level="3" type="T">Conversion of language from char2 to char1</Trace>
<Trace level="3" type="T">User = rip</Trace>
<Trace level="3" type="T">Client =</Trace>
<Trace level="3" type="T">Language =</Trace>
<Trace level="3" type="T">Creating HTTP-client</Trace>
<Trace level="3" type="T">HTTP-client: creation finished</Trace>
<Trace level="3" type="T">Security: Basic authentication</Trace>
<Trace level="3" type="T">Serializing message object...</Trace>
<Trace level="3" type="T">HTTP-client: sending http-request...</Trace>
<Trace level="3" type="T">HTTP-client: request sent</Trace>
<Trace level="3" type="T">HTTP-client: Receiving http-response...</Trace>
<Trace level="3" type="T">HTTP-client: response received</Trace>
<Trace level="3" type="T">HTTP-client: checking status code...</Trace>
<Trace level="3" type="T">HTTP-client: status code = 500</Trace>
<Trace level="3" type="T">Deserializing message object...</Trace>
<Trace level="3" type="System_Error">Error while sending by HTTP (error code: 500, error text: Internal Server Error:java.lang.NullPointerException)</Trace>
</Trace>
</Trace>
<Trace level="3" type="System_Error">Error exception return from pipeline processing!</Trace>
<Trace level="1" type="T">Persist Message in Retry State</Trace>
A file is created in the target folder with no content and each time PI retries a new file is created.
If I look at the J2SE adapter trace file the following error is displayed:
Apr 3, 2009 3:05:03 PM ...i.messaging.adapter.XMB2FileProcessor [Thread[Thread-1145,5,main]] Error: Message processing failed with
java.lang.NullPointerException
at com.sap.aii.af.sdk.xi.adapter.Conversion.convertXML2Plain(Conversion.java:621)
at com.sap.aii.messaging.adapter.XMB2FileProcessor.persistFile(ModuleXMB2File.java:1658)
at com.sap.aii.messaging.adapter.XMB2FileProcessor.onMessage(ModuleXMB2File.java:1346)
at com.sap.aii.messaging.adapter.ModuleHttpServer$ListenerDetails.onMessage(ModuleHttpServer.java:448)
at com.sap.aii.af.sdk.xi.net.HTTPRequest.run(ServerHttpImpl.java:437)
Please can you assist in the resolution of this problem?
Regards
Willie HugoHi Stefan,
Thank for the prompt reply. I am sending the XI message to a plain J2SE Adapter Engine. As I under stand the process, the XI message XML to flat file conversion will take place in the J2SE Adapter Engine in the File Adapter, configured there. If I under stand correctly we need to deploy a patch to the J2SE Adapter Engine and the note refers to XI 3.00 & 7.00, these Adapter Engines I can only assume is J2EE. Also the scenario described in the note is from csv to XML and not the required XML to CSV.
Please can you assist further?
Regards
Willie Hugo
Maybe you are looking for
-
Not able to get the whole output from BBP_PROCDOC_GETLIST FM
Hi I am using the BBP_POCDOC_GETLIST FM to display the Shopping Cart details in the ALV report. But when Date range is large (suppose 1 month) in the FM then it is not displaying the every SC details in the Report. For small range it is working fine
-
How to debug "pipelined parallel enable table function" ?
Dear All, Normally we can retrieve output from a "pipelined parallel enable table function " by using SQL statement, such as select output from table(pipelined_function(arg1)); Can anyone alight me how to call this function purely using PL/SQL statem
-
Hello Folks, Is there any Badi to authorize the usage of PNPCE Logical Database. Thanks & Regards, Nishanth Kumar
-
PDF Scrollbar and Browser Scroll Bar
Hi, My application open a pdf inside the browser and because the pdf has more than one page I have to scroll down or up. My Issue is that, I have tow scroll bar one for PDF file and one for the Browser how i cancel or hide one of them. BR, Ali
-
Connecting non-Oracle databases
Hi... I have several databases (Sql Server, DB2 and AS400), and I need to connect them simultaneously. I see in documentation that I can connect Sql Server and DB2 via ODBC, but how can I connect my Discoverer with AS400? I need access simultaneous t