FCC parameters in receiver adapter
Hi Experts,
In the receiver file adapter output file contains the fields needs to be included with quotes using fcc parameters, unable to get it
eg: field1,field2,field3
Tobe : "field1","field2","field3"
tried with many options but the required output was not coming
regards,
sai
Hi Aamir,
I tried using mapping but when i test it in mapping it is showing with quotes, the same when i drop the file in ftp the output text file is not having with the quotes
i have done the mapping as
taking constant-" and concatenated with the field and again concatenated with constant -" but when i test in mm the output was good but rather as an interface testing the quotes was not including to the field
regards
sai
Similar Messages
-
FCC parameters in Receiver Communication Channel
Hi,
I'm getting data from RFC .. so, the my file structure is also same as RFC-Response structure.. like following..
under my Receiver_DataTpe i have this structure
Receiver_DT_RFC_Response
. Pending_Order_Details
. . .Item_Details
. . . .Item_id
. . . .Item_name
. . . .Message
. Pending_Order_RETURN
. . .Item_Details
. . . .Order_No
. . . .Order_Quantity
. . . .Status
. Pending_Order_CUSTOMERS
. . .Item_Details
. . . .Customer_No
. . . .Customer_Name
. . . .Order_No
This completely as one structure only.....
so,.. for this.. now i want to load the RFC Responce in a Text file.. for this what are the parameters can i use.. please suggest me the how can i specify the parameters. for this..
Even i gone through several blogs.. but like these type of complex structures i'm not getting any idea..
Thanks
BabuHi,
Enter the substructures using the pattern Pending_Order_Details,1,Pending_Order_RETURN,1,Pending_Order_CUSTOMERS,1
and FCC parameters as :-
Pending_Order_Details.fieldFixedLengths ---20,10,20,20
Pending_Order_Details.endSeparator ---nl
Pending_Order_Details.fixedLengthTooShortHandling---ignore
Do similar for
Pending_Order_RETURN and Pending_Order_CUSTOMERS substructures.
For more elaboration u can go to
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/frameset.htm
Regards,
Amitanshu -
JMS receiver adapter configuration error
Hi All,
I am facing an issue with JMS receiver adapter. My Configuration parameters for receiver adapter are as follows.
1.Transport protocol:WebspherMQ (MQSeries) JMS provied
2.Message porotocol:JMS 1.x
3.Adapter Enigen: Integration Server
4.QueueConnecation Factory Java Class:com.ibm.mq.jms.MQQueueConnectionFactory
5.Queue Java Class:com.ibm.mq.jms.MQQueue
6.IP Address or server name:<Host Name>
7.Server port:1414
8.Queue Mannager Name:TestQM
9.channal name:Recv_Channel
10.JMS queue:SAP_PI
11.Transport/netwrok protocol:TCP/IP
12.JMS compliant:WebSpherMQ(non jms)
13.Delivery mode of message Producer:Persist JMS Messages in the JMS provider
14.Mapping of message:Message Payload=JMS Payload
In adapter monitor, the adapter status shows below error.
<b>Receiver channel. Details: (No detail information set.)</b>
I have already installed the external drivers for JMS adapter. Can someone help me if I am missing some parameter in the above configuration.
Thanks in advance
Regards,
AshishHi,
I am getting the below error in Audit Log.
Error - Exception caught by adapter framework: The JMSSender returned no JMSTextMessage to use. Must abort send process.
Error - Delivery of the message to the application using connection AFW failed, due to: The JMSSender returned no JMSTextMessage to use. Must abort send process..
Can someone please help me in resolving this issue...
Thanks in advance.
Regards,
Ashish -
FCC Parameters are required in the Receiver File Adapter
Hi ,
Sorry for posting this question again.. my Structure is
MT_CADVICE_STRING
. . Batach -
1:Unbounded (Node)
. . .Header_String -
1:1
. . .Line_Item -
1:Unbounded (Node)
. . . .LineItem_String -
1:1
for this structure I'm geting data in the XML format.. .. my scenario is simple File to File scenario.. now i want to convert this XML to a normal Text file by using FCC in the Receiver file adapter..
and in the Receiver side i want the file in the bellow format: (each field i want to get in the separate line but at presnt I'm getting the continution of all lines I'm not getting the data in a separate lines..)
Header_string
LineItem_String
LineItem_String
Header_String
LineItem_String
so, any abody can help on this...
And in the Receiver Communication channel i keep the FCC parameters like as bellow :
RecordsetStructure : Batch,LineItem
Batch.fieldSeparator: 'nl'
LineItem.fieldSeparator: 'nl'
Batch.endSeparator: 'nl'
LineItem.endSeparator: 'nl'
For more information.. My source file is like bellow
<?xml version="1.0" encoding="utf-8" ?>
- <nr1:MT_CADVICE_STRING xmlns:nr1="urn:Test.com:SD:CAdvice">
- <Batch>
<Header_String>1 B 1110300014200804108218 36892.80 03 10.000 10.000 0.00 0.00 008000021720080410558000.00 91958.40 649958.40 0.00 649958.40 2678.40 1000003461100000346110000034611000003461123456 18 18 0.00 $</Header_String>
- <LineItem>
<LineItem_String>2 B 1110300014 1 000000000001234567000000000001 5.000 0.00 45000.00 10800.00.00 16.00 279000.00 0.00 rcl/ML0080200804100000000357 200804100.00 01 02 000000002.00 860.13321.00 $</LineItem_String>
</LineItem>
- <LineItem>
<LineItem_String>2 B 1110300014 2 000000000001234567000000000001 5.000 0.00 45000.00 10800.00.00 16.00 279000.00 0.00 rcl/ML0080200804100000000357 200804100.00 01 02 000000002.00 860.13321.00 $</LineItem_String>
</LineItem>
</Batch>
</nr1:MT_CADVICE_STRING >
Regards
JainHi jain
Provide as below definitely it will work,
RecordSet Structure : batch,Line_Item,LineItem_String
batch.fieldSeparator --- 'nl'
Line_Item.fieldSeparator -
'nl'
LineItem_String.fieldSeparator --- 'nl'
All your fields will come in a separate line.
Regards,
Sasi
Edited by: sasitharan on Jul 28, 2008 11:36 AM -
File Receiver Adapter FCC parameters
Hi
I have a File to File format via PI
I have the following structure from the sender File adapter passing to receiver file adapter.
The inbound structure as follow
<CONTRACT>
<HEADER>
<X1>
<X2>
<LINE>
<Y1>
<Y2>
<Y3>
I have configured the FCC parameter at Receiver file adapter as follow
HEADER.fieldseparator - '0x09'
LINE.fieldseparator - '0x09'
I can get Header and LINE items.
But with mutiple records, I can only receive one record.
I have tried a lot of combination based on the forum thread on this matter but to no avail
I would like to seek your expert advice.
Regards
FredThe payload at the target adapter show only
<Header>
<Line>
<Line>
<Line>
occurences is 1:unbounded
I have also tried adding in Header.endSeparator - 'nl'
Line.endSeparator - 'nl'
but the output is still the same with one record.
I have check the payload at Sender adapter CC
and found it is coming as one record only
though the source file has mulitple records.
BTW, the source file structure is fixedlength with header indicator as H
line indicator as L.
Therefore I have set keyfield parameter in Sender adapter FCC as H and L -
FCC Parameters - Receiver Side
Hi All,
Is it possible to give the FCC parameters for the following complex struture at the receiver Side. What are the option are avilable to resolve the issue.
<b>deliveryOrderMessage,1,
startOfMessageSegment,1,
message,1
segmentGroupHeader,1
segmentGroupHeaderLevel1
Some fields are there
headerSegmentDatails,1,
Some fields are there
invoiceToDataSegment,1
Some fields are there
headerSegmentData2,1,
Some fields are there
shipToDataSegment,1
Some fields are there
headerSegmentData3,1
Some fields are there
headerSegmentData4,1
Some fields are there
commentSegment,*
Some fields are there
segmentGroupForDetails,*,
lineSegment,1,
Some fields are there
commentSegment,*,
Some fields are there
endOfMessageSegment,1
Some fields are there</b>
How can I provde the Recorset strcture and Content Conversion parameters???
Note: Please don't provide necessary links related to this issue not all related to file adapter.
Thanks in Advance,
Best Regards,
Vijay
Message was edited by:
Gangisetty Vijaya Bhaskarudu
Message was edited by:
Gangisetty Vijaya BhaskaruduHi,
Same structure given by you with , saparated and keep it as it is sure you will get
in record structure
just give as it is
deliveryOrderMessage,1,
startOfMessageSegment,1,
message,1,
segmentGroupHeader,1,
segmentGroupHeaderLevel1,
headerSegmentDatails,1,
invoiceToDataSegment,1,
headerSegmentData2,1,
shipToDataSegment,1,
headerSegmentData3,1,
headerSegmentData4,1,
commentSegment,*,
segmentGroupForDetails,*,
lineSegment,1,
commentSegment,*,
endOfMessageSegment,1
Regards
Chilla -
PI 7.11 - FCC Receiver Adapter
Hi
I've got a simple xml which i have to convert in a fixed length text file. Is it possible to convert it using FCC with following structure:
<root>
<data>
<record>
<name>john</name>
<surname>doe</surname>
<zip>12345</zip>
<city>abcd</city>
</record>
<record>
<name>bart</name>
<surname>simpson</surname>
<zip>131313</zip>
<city>springfield</city>
</record>
</data>
</root>
I did this conversion already with PI 7.0, but i removed the <data> element to get a simpler substructure. Is it also possible without removing this?
I found following entry [Re: File Adapter Reciver Side: FCC Convetion Problum in PI 7.1], but it didn't works for me. Any suggestions?
Thanks in advance
MichaelHi,
Are you looking for a content conversion at teh Receiver adapter or the sender adapter?
If you have defined teh structure in ur Data type as u have mentioned then don't remove anything because ur source file would be containing the following structure itself.
If you are getting the XML structure at source
<root>
<data>
<record>
<item1>
<item2>
</record>
</data>
</root>
the follow the same structure at the receiver side as well. If u want to delete the data node at teh receiver side then delete at teh source side FCC as well.
Just try and let me know. I will help you out.
Thanks
Veeru -
Target Directory & File Name parameters in Receiver File Adapter with ASMA
Hi Experts..
I have the following question....
What am I suppose to inform in the Target Directory & File Name obligatory parameters in Receiver File Adapter if I am using ASMA to fill it? Is it any dummy value?
Also, if you have any step by step guide/blog to forward on how to use ASMA in file adapter I will be greatful.
Thanks in advance,
DanielaYou can give any dummy value in dir and file name... Just go through these blogs
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
/people/madanmohan.agrawal/blog/2009/05/20/combining-three-different-aspects-of-pi-asma-af-module-and-variable-substitution-in-one-shot -
JDBC receiver adapter to call MS SQLServer stored procedure with parameters
We are trying to use the JDBC receiver adapter to call a stored procedure in MS SQLServer with parameters. According to the help documentation for the JDBC receiver adapter for action=EXECUTE, "The elements within the stored procedure are interpreted as parameters" and "The parameter names must be identical to those of the stored procedure definition". The parameters within a MS SQLServer stored procedure are required to begin with the '@' symbol. The element names within a XML document i.e. used to call the stored procedure can not contain a special character such as '@' in the first position. For all of the tests we have done where the parameter name in the XML document omits the '@' character, the parameters are not being received by the stored procedure. Is there a way around this problem?
Thank you,
HaroldHello Harold - I am facing the EXACTLY SAME problem.Pls let me know how did you fix this problem ?
This is the message I am passing on to the DB SP:
<?xml version="1.0" encoding="UTF-8"?>
<MRIRequestInbound>
<StatementName>
<prc_FC_InsertStagingJournalEntries action="EXECUTE"/>
<JournalData isInput="true" type="STRING">
<NewDataSet><Table ITEM = "" ENTITYID = "" PERIOD = "" ACCTNUM = "" DEPARTMENT = "" JOBCODE = "" AMT = "" REF = "" DESCRPN = "" ENTRDATE = "" BASIS = " " BALFOR = "N" REQUESTNUM = "" ACCTNAME = "" TYPE = "" DESCRPTN = "" GDEP_DESCRPN = "" GJOB_DESCRPTN = "" JOBTYPE = "" /></NewDataSet>
</JournalData>
</StatementName>
</MRIRequestInbound>
Out of which,
<NewDataSet> tag contains the value of the parameter in the SP. So, my value to the SP's parameter is :
<NewDataSet><Table ITEM = "" ENTITYID = "" PERIOD = "" ACCTNUM = "" DEPARTMENT = "" JOBCODE = "" AMT = "" REF = "" DESCRPN = "" ENTRDATE = "" BASIS = " " BALFOR = "N" REQUESTNUM = "" ACCTNAME = "" TYPE = "" DESCRPTN = "" GDEP_DESCRPN = "" GJOB_DESCRPTN = "" JOBTYPE = "" /></NewDataSet>
Any clue ?
Cheers,
Amrish. -
How do i extract Delimited falt file-Sender File adapter FCC Parameters
Hello,
I'm trying to extract data from a flat file. The file is built as tab delimited. I cant find the option of tab delimited in the XI Sender File adapter FCC Parameters. How do i extract tab delimited file?
Please Advice,
RajeshHI,
You can use Fieldseperator as '0X09'...
Look at this blog...........you can solve this problem...
NAB the TAB (File Adapter)
Thanks,
Madhu
Edited by: Madhu sudhan Reddy on Jul 28, 2008 9:02 AM -
FTP Receiver Adapter parameters
Hello everyone!
I have configured a scenario wherein XI sends a <b>PO.xml</b> file to a folder in an FTP server through the File Adapter (Receiver).
Right now, I'm getting an error:
<i><b>Error Category: XI_J2EE_ADAPTER_FILE
Error Code: PROCESSING_ERROR</b></i>
in the adapter engine.
Would anyone know what might be causing this?
Could you guys also confirm parameters in the receiver adapter configuration for me?
Here they are:
1. <i>Target Directory:</i>
Would this be an example of a correct entry: "<b>c:\POxmls</b>" ? Should the slashes be "\" or "/"
2. <i>Filename scheme:</i>
"<b>POXML.xml</b>"
3. <i>Server:</i>
<b>203.121.78.163</b>
4. <i>Data Connection:</i>
<b>Passive</b>
5. <i>Connect Mode:</i>
<b>Permanently</b>
6. <i>Transfer Mode:</i>
<b>Binary</b>
7. <i>Empty-Message Handling:</i>
<b>Write Empty File</b> should this be "Ignore" instead?
8. <i>File Type</i>
<b>Text</b> should this be "Binary" instead?
Anything else I missed out?
Hope you guys can help me on this!
Regards,
GlennHI,
1)<i>Would this be an example of a correct entry: "c:\POxmls" ? Should the slashes be "\" or "/"</i>
It should be '<b>//</b> xxxxx<b>/</b>xxxxx'
7)Ignore
8)Text or Binary
Rest all Ok.
Regards,
Srinivas -
Problem with Variable Substitution Receiver Adapter
Hi,
I need to use a dynamic filename so I'm using the variable substitution in my receiver adapter. BUT, the filename can't appear in the file. So i used this blog in reference --> Solution to the problem encountered using Variable Substitution with XI-SP12
The PROBLEM is I still get and extra blank line in the file. How can I eliminate this extra line?
Thanks in advance.
Using XI 7.0Hi Gaurav,
Data Type:
Lines
Line
Config
FileName
XML - example:
<?xml version="1.0" encoding="utf-8"?>
<nr1:MT_TP_TipoCambio_Detalle_ECC_Req xmlns:nr1="urn:erplatam/tipocambio:tp:ecc">
<Lines>
<Line>USDSOL0000000000003.10000013-09-200813-09-2008V</Line>
</Lines>
<Lines>
<Line>USDSOL0000000000002.50000014-09-200814-09-2008V</Line>
</Lines>
<Config>
<FileName>SIGMA_TCSAP_F081031.DAT.TXT</FileName>
</Config>
</nr1:MT_TP_TipoCambio_Detalle_ECC_Req>
Output - File, has 3 lines should have only 2:
USDSOL0000000000003.10000013-09-200813-09-2008V
USDSOL0000000000002.50000014-09-200814-09-2008V
FCC parameters:
RecordSet Structure: Lines,Config
Lines.fieldSeparator 'nl'
Lines.endSeparator 'nl'
Config.fieldSeparator 'nl'
Config.endSeparator 'nl'
Thanks in advance! -
File Content Conversion Parameters in FIle Adapter
Hi
I am doing a scenario - XML file to Text file using File content conversion parameters in Receiver File Adapter Channel.
I given FCC Parameters like:
DATA.addHeaderLine - '0'
DATA.fieldSeparator - ,
DATA.endSeparator - 'nl'
But im getting error in Receiver File Adapter as - fieldSeparator not specified.
i would be greatful if any one help me.
Regards
RajeshHi Rajesh,
There are lot of blogs which explain File Content Conversion in different scenarios:-
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
/people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
/people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
I hope this helps.
Regards.
Praveen -
Problem when doing fcc and configuring file adapter
Hi all,
I have done all my xi work in my interface task -design IR, mapping, ID.I aslo passed succesfully XML testing.Now I am going to use 2 file adapters to complete the task..
I am having problems configuring content conversions parameters in receiver.
..I want to be able to pass a text file to input and output again text file.
If someone can help me I can provide screenshots .Appreciate your help..
ThanksHi,
File Content Conversions
http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter - FCC
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns - FCC
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file - FCC
/people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp - FCC
/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy - FCC
/people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter - EOIO - File
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
/people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
/people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter
Hope it helps..
Kumar.S -
Hi Experts
i am facing the following error in the Receiver File Adapter . I am using the FCC for both the Sender and also teh Receiver.
Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter '.fieldFixedLengths' or '.fieldSeparator' is missing .
please help me out
thanx in advance.Hi,
Error says you haven't mentioned field separater in the FCC parameters.
use .fielsSeparator , or what ever your field separator that you have to mention here
Regards
Ramesh
Maybe you are looking for
-
I have Itunes on my computer, however its an older version and it says I can no longer update it. My problem is im considering buying an Iphone 5, but if it is running on a new version what will happen when I sync it to my itunes account?
-
Get filename from list of measurement files
Hi, I would like to have the user select from a list of measurement files and pass that name and path to the write to measurement file VI. Ideally, when the data is written to the measurement file the user could add comments. Any ideas? Thanks Joel
-
I have Iphone 4 it was work fine in my country (bahrain) i went to UK and i change sim card to O2 and when i came back it doesn't work in my country i think because i update the carrier in Uk its my carrier now 10.0 and the others in my country is 9.
-
Footnotes and Cross references
Hi all, I am using pages v 1.2 and I would like to know how can I insert footnotes (for bibliography purposes) such as in MS Word. I am writing a term paper, and the only way for me to include my book references is to manually writing them. Is there
-
I rented two HD movies on Apple TV, both at the same time. I was able to watch one, but the second says - "error while loading this content, try later" - well I tried later numerous times and continue to get the same message. What is my next step??