Unable to clone File Adapter receiver channel for parallel processing
Hi Experts,
I am using variable substitution for File - RFC - File with out BPM scenario(using request response, oneway bean).
While i placed the file in the sender FTP folder, the file didnt get picked up, but in communication channel monitoring, i am getting error ' Unable to clone File Adapter receiver channel for parallel processing'.
Can anybody provide me suggestions to solve this error.
Note : without variable substitution , the interface is working good.
Is it due to, i am trying the source structure field in response file adapter?
Hi,
In your CC, do you use some additional paramaters ?
like these one of point 47/48 of [Oss note 821267 - FAQ: XI 3.0 / PI 7.0/ PI 7.1 File Adapter|https://service.sap.com/sap/support/notes/821267]
Maybe there is conflict with a parallel connexion and the bean used to do asynch-synch bridge...
Mickael
Similar Messages
-
File adapter receiver channel is not initialized.
Hi
iam wrking idoc-file scenario, as per the requirement i have created 4datatypes 4 mapping in IR with 4 communaction chanles in ID. the scenarios is working fine with 3 mappings.but in 4 the scenario
the file genaraing properly , i have cheked in SXMB_moni payload but it is not creating in destination system
in runtimeworkbench->message-monitaring-> adpater
i have find the below issues
1) File adapter receiver channel CC_DDPWCS_US_TO_101 is not initialized. Unable to proceed: null Error 2) Exception caught by adapter framework: File Adapter configuration not initialized:
3) Error Delivery of the message to the application using connection AFW failed, due to: File Adapter configuration not initialized:.
please tell me how can i reslove the issue
thanks
niruHi
i have checked the content convertion and changed as below
the structure is
Row.fieldNamesTrans_Id,Order,Item,Product_Id,Product_desc,Lot_nr,Ship_via,Exp_qty,Carousel_loc,compart,Destination,Label
Row.fieldSeparator ,
Row.fieldFixedType char
Row.endSeparator 'nl'
Row.addHeaderLine 4
Row.headerlineTrans_Id,Order,Item,Product_Id,Product_desc,Lot_nr,Ship_via,Exp_qty,Carousel_loc,compart,Destination,Label
even though iam facing the issue. iam wondering "_i have used in the similar structure for other 3 mappings in same scenario those are working perfect "_ but based on condition if 4 th mapping is executed iam facing the problem
error message in RWB/Adapeters
File adapter receiver channel CC_DDPWCS_US_TO_101 is not initialized. Unable to proceed: null
Error Exception caught by adapter framework: File Adapter configuration not initialized:
Error Delivery of the message to the application using connection AFW failed, due to: File Adapter configuration not initialized:.
please help if any of you face the similar situation , i struck-up long ago here
regards
niru -
File Adapter receiver channel : change encoding attribut in xml file
Hi,
How can I change the XML encoding attribut
from:
<?xml version="1.0" encoding="UFT-8"?>
to:
<?xml version="1.0" encoding="ISO-8859-1"?>
in my File Adapter, receiver channel ?Hi,
plz chk the following link:
http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
● Select the File Type of the document:
○ Binary
○ Text
Under File Encoding, specify a code page.
The default setting is to use the system code page that is specific to the configuration of the installed operating system.
The content of the message is converted to the corresponding code page before the message is saved as a file.
Permitted values for the code page are the existing Charsets of the Java runtime. According to the SUN specification for the Java runtime, at least the following standard character sets must be supported:
Regards -
Unable to configure file adapter using FCC for Multilevel hierarchy
Hi Experts,
Can anyone help me in configuring the Receiver file adapter with FCC for the structure given below
<Root>
<Level1>
<Ele1>
<Ele2>
<Level2>
<Ele2_1>
<Ele2_2>
<Level2a>
<Ele2a_1>
<Ele2a_2>
</Level2a>
</Level2>
</Level1>Hi dineshmale,
I have do this Multilevel hierarchy before. FCC can directly configure this scenario. But I don't know you output format. What my format shown below(here i use '#' instead of space):
Level1_Field1##Level1_Field2##Level1_Field3##Level2_Field1##Level2_Field2##Level3_Field1##Level1_Field2
#################################################################Level3_Field1##Level1_Field2
#######################################Level2_Field1##Level2_Field2##Level3_Field1##Level1_Field2
#################################################################Level3_Field1##Level1_Field2
Level1_Field1##Level1_Field2##Level1_Field3##Level2_Field1##Level2_Field2##Level3_Field1##Level1_Field2
#################################################################Level3_Field1##Level1_Field2
#######################################Level2_Field1##Level2_Field2##Level3_Field1##Level1_Field2
#################################################################Level3_Field1##Level1_Field2
#################################################################Level3_Field1##Level1_Field2
FCC Parameter:
Recordset Structure: Level1,Level2,Level3
Level1.fieldSeparator = (2 spaces)
Level2.beginSeparator = (some spaces according to the length of the fields in Level1)
Level2.fieldSeparator = (2 spaces)
Level3.beginSeparator = (some spaces according to the length of the fields in Level1and Level2)
Level3.fieldSeparator = (2 spaces)
Level3.endSeparator = \n
There are some points:
1. the endSeparator for Level1 and Level2 doesn't work.
2. the first begin separator in Level2 and Level3 doesn't work.
3. The last field of super node and the first field of child node is separated by the (child).fieldSeparator.
4. ....
What's more, I have write a blog of FCC For Hierarchical Structure in Receiver Channel just now. So it need two days for Approval. Let me know for any issues.
Edited by: guKidd on Dec 14, 2010 7:52 AM
Edited by: guKidd on Dec 14, 2010 7:54 AM -
Hi All,
File to File (CSV)
At the receiver side i am not getting the file it is showing problem in runtime workbench: File Adapter Receiver Channel is not initilaized Unable to proceed : null.
Thanks,
Satish.<i>File Adapter Receiver Channel is not initilaized Unable to proceed : null.</i>
>>>
1. check if your adapter is active
2. in case you have FCC just remove the same for the time being and check if it can pass the XML version (without FCC). this will confirm if it was a problem with your FCC parameters.
Let us know the proceedings !!!!! -
A problem with the File adapter receiver
Hi people,
In the Integration Monitoring the system represent this problem:
File adapter receiver channel Mainframe_FA_StructureAch_CC_RC is not initialized. Unable to proceed: null
Any body can help me!!
Thanks!!Hi ,
Just check is it Activated ? Go to RWB->Adapter Monitoring
Check the status there ..
To more- Go to service market place to view the Adapter Monitoring PDF
https://websmp103.sap-ag.de/~sapdownload/011000358700002757652005E/HowtoMintorAF.pdf
Hope this helps.
Regards,
Moorthy -
Issue about IDoc Adapter Receiver Channel's Performance
Hi Everyone,
Currently, I am working on a scenario of File -Integration Process - IDoc in XI 3.0 with patch level 16. The scenario works fine when it process one/two/three files in parallel, and the IDocs arrive R/3 system quite fast. But when I try four files in parallel, the whole XI server blocks, I can not do anything even logon Integration Builder, and the IDocs arrive R/3 brokenly, sometime with the invterval to 10 minutes. When the XI comes back, I found all the four integration processes finish successfully and each transaction works fine and fast. What's more, after I change the IDoc Adapter receiver channel to a File Adapter receiver channel, it works fine for even 20 files in parallel. So I think it is some issue about IDoc Adapter receiver channel. Does anyone have the same experience as me? Any comments will be appreciate.
Regards,
NickHi Nick,
Can you check this Blog-
/people/sreekanth.babu2/blog/2005/01/05/delayed-xi-message-processing
May be useful.
How are you picking the files .. You can try with EOIO options while picking the file.
But if you use BPM, it is not applicable. It will act as a EO only.
Check this SAP Note- 833740
Thanks,
Moorthy -
ALERT MAIL FOR FILE ADAPTER COMMUNICATION CHANNEL ERRORS
Hi,
I need to send an alert by mail to a list of configured receivers if any error( Application as wel as System Errors ) occurs in the FILE ADAPTER Communication Channel .
Please suggest how to do it......
Regards,
SriparnaCan anything be configured in the communication channel to run a mail unix script if the communication channel is throwing
error.Other than alert rule can we configure this.
Why do you intend to use script? Define Alert....create Rule....set parameters using SCOT.....you will get the alert as email (if you need it)
Can you please help with how do I create this rule specific to File Adapters only ?
Other than selecting FILE as Adapter Type in RWB --> Alert Rule definition we dont do anything special....this setting should help.
Regards,
Abhishek. -
Adapter moduler in file adapter receiver - get Target Directory from param
Hi everybody,
We are in PI 7.1
I need in an adapter module (file adapter receiver) to access to the Target Directory comming from parameters
I foound the code in a weblog
/people/sap.user72/blog/2005/07/15/copy-a-file-with-same-filename-using-xi
Here is the code I found
public ModuleData process(
ModuleContext moduleContext,
ModuleData inputModuleData)
throws ModuleException {
Object obj = null;
Message msg = null;
try {
Channel ch = new Channel(moduleContext.getChannelID());
obj = inputModuleData.getPrincipalData();
msg = (Message) obj;
XMLPayload xmlpayload = msg.getDocument();
String path = ch.getValueAsString("file.targetDir");
if (!path.endsWith("
") && !path.endsWith("/"))
if(path.indexOf("
")!=-1)
path+="
else
path += "/";
if (xmlpayload != null) {
convert(xmlpayload.getContent(), path);
inputModuleData.setPrincipalData(msg);
} catch (Exception e) {}
return null;
private void convert(byte[] bs, String path) throws Exception {
String bs_out = new String(bs);
String filename =
bs_out.substring(
bs_out.indexOf("<FileName>") + 10,
bs_out.lastIndexOf("</FileName>"));
bs_out =
bs_out.substring(
bs_out.indexOf("<Base64>") + 8,
bs_out.lastIndexOf("</Base64>"));
byte bb[] = com.sap.aii.utilxi.base64.api.Base64.decode(bs_out);
File f1 = new File(path + filename);
FileOutputStream fos = new FileOutputStream(f1);
fos.write(bb);
fos.close();
The object Channel come s from the package import com.sap.aii.af.service.cpa.Channel;
The jar is in the build path (com.sap.aii.af.service.cpa.jar);
When I write in NWDS
Channel ch = new Channel(moduleContext.getChannelID());
NDWS gives me an error "Cannot instantiate the type Channel".
Can somebody help me about that, please?
Does that code dosn't work in pi 7.1?
Thanks in Advance for your help.
Best Regards.
E. Koralewski
Edited by: Eric Koralewski on Feb 3, 2011 1:40 PM> When I write in NWDS
> Channel ch = new Channel(moduleContext.getChannelID());
> NDWS gives me an error "Cannot instantiate the type Channel".
it should be:
Channel ch = (Channel) LookupManager.getInstance().getCPAObject(CPAObjectType.CHANNEL, moduleContext.getChannelID());
(taken from sample module ConvertCRLFfromToLF)
http://help.sap.com/javadocs/pi/pi711sp03/index.html?com/sap/aii/af/service/cpa/Channel.html
Edited by: Stefan Grube on Feb 3, 2011 2:02 PM -
Mapping Error - Dump source message to file adapter comm channel
Hi
Does anyone know of a way to dump the source message to a file adapter comm channel if - and only if - the message fails during mapping. For example, we receive a message from a trading partner that lacks an element that is mandatory during the mapping. When the mapping fails, the source message is sent - as is - to a file adapter comm channel.
I don't need anything more than the source message i.e. no need for any errors etc... to be included.
The kicker.. I would like to do this without using BPM if at all possible.
Any ideas greatly appreciated. Thx, DuncanHey Ram,
Go to Integration Directory and open the Receiver Determination for your scenario.
Check the configured receiver services. They are in a table-like area in the middle of the screen.
In this table of configured receiver services for that particular Sender Service/Interface, you should have the system that normally receives that message (your ERP or any other application system) and the service that contains the receiver file comm channel that will receive the message in case of error.
Check help.sap.com for help on condition editor on receiver determinations.
Now, the issue. You can only check whether a field exists, you can't check whether it doesn't exist (There's only a "EXIST" operator, and no negative operator). Thus, you can only do the following: always send messages to File, but you can avoid messages that dont have field from being sent to App System. Yeah, that sucks...
But don't fear, young padawan! There is a possible workaround. =D
In your message mapping, do the following for that particular field:
If field exists (check with Exist and IF standard functions) just bypass the field. Else, map the field with an impossible value (like string "$CREATED$"). Then, in your receiver determination, you will do the following conditions:
for App System: If field =/= $CREATED$
for File Receiver: If field = $CREATED$
Now, if the field doesnt exist, it will have value $CREATED$, thus the message will be sent to File and not to App System. If the field exists, the message will be sent to App and not to File.
Try that out.
Regards,
Henrique. -
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 -
File Adapter: Advanced selection for source file
Hi Experts,
I am doing file(Idoc format) to IDoc scenario. In my scenario I am getting files in three different formats (ex: abc.dat, xyz.dat, 123.edi). My communication channel (sender file adapter) should poll for every 30 mins, picks up the files and map them to Idoc without any mapping.
Need following clarifications:
1. Should I create 3 communication channels to pick up 3 different type files? Or should I use the Advanced selection for source file to pick up them with only one CC?
2. If there is no mapping how should I proceed in this case?
Regards,
Rams>>1. Should I create 3 communication channels to pick up 3 different type files? Or should I use the Advanced selection for source file to pick up them with only one CC?
Not required.. if all the files are from the same directory then u can specify . in the file name parameter.. but make sure that only these 3 file types are places in the directory... if this is not the case you can use Advannced Selection... check my Wiki [Single Sender File CC For Multiple Directories|https://wiki.sdn.sap.com/wiki/display/XI/SingleSenderFileCCForMultipleDirectories]
>>2. If there is no mapping how should I proceed in this case?
Mappiing is required only if the source and the target structure are different.. if u send the file with the IDocc XML format mapping is not required...
~SaNv.... -
Hi,
I am facing some problem in FCC for Receiver adapter. It has to convert from XML to CSV File.
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:PaymentFull_Target xmlns:ns0="http://sdn.com/Payment">
- <RECORDSET>
- <Header>
<LineItem>1</LineItem>
<SaleNumber>102</SaleNumber>
<TransNumber>105</TransNumber>
<Store>1326</Store>
<variant>Z6</variant>
<TransType>NEW</TransType>
<Adjustm_Type />
</Header>
- <Header>
<LineItem>2</LineItem>
<SaleNumber>102</SaleNumber>
<TransNumber>105</TransNumber>
<Store>1326</Store>
<variant>Z6</variant>
<TransType>NEW</TransType>
<Adjustm_Type />
</Header>
- <Header>
<LineItem>3</LineItem>
<SaleNumber>102</SaleNumber>
<TransNumber>105</TransNumber>
<Store>1326</Store>
<variant>Z6</variant>
<TransType>NEW</TransType>
<Adjustm_Type />
</Header>
</RECORDSET>
</ns0:PaymentFull_Target>
Output File is coming only with lineitem values , remaining fields are not coming.
*1,2,3*
FCC Used...
RecordSet Structure -- Header
Header.fieldNames -
LineItem,SaleNumber,TransNumber,Store,variant,TransType,Adjustm_Type
Header.fieldSeparator----- ,
Header.endSeparator----- 'nl'
Did I miss anything.. any idea whats going wrong?
Thanks
DeepthiHi Deepthi,
Mention the occurrence of header in Recordset
You specify like this:
Recordset: Header, *
Header.fieldSeparator : u2018Field Separatoru2019
-->For FCC on Receiver side you donu2019t have to mention the field names.
-->The u2018endSeparatoru2019 parameter needs to given for substructure only
Check this links:
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
/people/shabarish.vijayakumar/blog/2007/08/03/file-adapter-receiver--are-we-really-sure-about-the-concepts
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
Rgds,
Akhila -
How to use File Adapter Receiver to write attachments
Hi,
i have a scenario, in which our own XInotes adapter sends an XIMessage from an IBM Lotus Notes database into XI. This XIMessage contains an XML document as application main document and several PDF files as additional attachments
On the receiver side, i must use a File Adapter to write both the XML documents and the PDF attachments into a directory.
The problem is i don't know how to use the file adapter receiver to write the attachments. In the Channel Monitoring, i can see that all PDF files are transferred to the file receiver. But the file adapter writes only the XML document into the directory.
I've also tried the AF_Modules/PayloadSwapBean, but it can only swap one PDF file into the application payload. And the file name must be hard coded in the module configuration as swap.KeyName.
Could anyone give me any ideas?
thanks a lot in advance
Xianghi,
receiver file adapters do not supprt attachments.
Only File Sender adapter is capable of handling attachments not the receiver.
http://help.sap.com/saphelp_nw2004s/helpdata/en/4b/a20c4cfea96b498b1e1af3f32f0670/frameset.htm
Configuring the sender FILE adapter
The sender file adapter is configured to pick the normal payload (file1.xml), which is specified in the File
access parameters, and the additional image file (file1.jpg) that is to be sent as an attachment is configured
under the Additional File(s) as shown in the screenshot below. The file type would still remain binary.
Since, by default, XI sends payload and attachments in XML format, we need to call two beans, namely the
MessageTransformBean and the PayloadSwapBean to help us is transforming the content to jpeg format
and also change the file extension.
The PayloadSwapBean module is used to replace the application payload of the XI message that holds the
data with another payload which is appended to the message as an attachment. In our case, the payload
would be file1.xml whereas the attachment would be file1.jpg
The swap module is denoted in our scenario with the module key swap. It has two parameters from the
MIME header.
regards,
pradeep. -
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
Maybe you are looking for
-
Does iPhone OS 3.1 has many problems?! I heard from Apple reseller~
I met my friend who works in an Apple Re-seller today, and he warn me not to upgrade to OS 3.1 for my iPhone 3GS. Anyone can tell me is his words true or not. Beside, I read from other sites, and the result are same, "Not to upgrade first." Should I
-
I'm all a bit new to the Devs corner so please be gentle In my excitement, (or stupidity) I've installed iOS 5 beta on my iphone 4, forgetting like a chimp to add my UDID to my devices list. Only is I can't access it now via iTunes for obvious reason
-
hi dudes, i am having crucial problem that our process had been configured according to MTS scenario and having manual batch management where the batches for materials created in such a way that will represent the variants of that material. we are no
-
Replace Function in Cold Fusion
Hello All, The code below does the following: It finds an item in Spanish (in this case it's GetBasket.options, 2) and add `SPA` to the SKU code. <cfif ListContains(GetBasket.options, 2)><option value="2"><cfset basketsku = GetBasket.SKU & "SPA"></op
-
Moving VM guest from one Server to another.
I have a 2 OVM 3.0.2 servers, on server has a a VM guest that I want to move to the other server. Currently the 2 servers are in separate pools, as the 2nd pool is using a different/more permanent cluster storage 12GB slice of disk. Also, the servers