FCC Receiver side
Hi Experts,
Im working with the file to file scenario with FCC receiver side parameters ( sender xml with receiver text).
I want my fields with comma separated values...like... abc,xyz,mno.. so on...
Im giving the parameters as :
HEADER1.fieldSeparator: 'nl'
HEADER.fieldseparator: ,
Where the structure is Header1--->Header.
Im getting the error as :
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Channel has not been correctly initialized and cannot process messages
Channel has not been correctly initialized and cannot process messages.
Please help.
Hi Robin,
My sender xml file structure is :
DT_FCCRec-->HEADER1->HEADER--->lastname,name,middle,company...so on till 10 fields.
My output file should be a text file with comma seperated values.
I need 5 rows...with 10fields seperated by comma:
name,lastname,firstname.....10 fields
name1,lastname1,firstname1...10fields
name5,lastname5,firstname5...10fields.
Similar Messages
-
Problem with FCC @ Receiver Side (Reg., Shab's FCC blog)
Hi,
I have gone through the shab's FCC blog...https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3228. [original link is broken] [original link is broken] [original link is broken] [original link is broken]
I have configured the same in sender communication channel its working fine.
And have configured the FCC @ Reciver communication channel also with the following parameters.
RecordStructure= Header,Body,Trailer
Header.fieldSeparator = ,
Header.endSeparator= 'nl'
Body.fieldSeparator = ,
Body.endSeparator= 'nl'
Trailer.fieldSeparator = ,
Trailer.endSeparator= 'nl'
And, when I ran this interface its generating blank output file. So, what would be the problem
Can anybody can help me for the same....
Thanks n Advance.,
AbhiHi,
Refer this..
http://help.sap.com/saphelp_nw2004s/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
vasanth -
FCC in receiver side in idoc to file scenario
Hi all,
I am doing an idoc to file scenario using FCC .I am using FCC in receiver side ,but i am getting my output file in only one line while i want structre to be seprated by new line.for more information i am giving muy file structre.
Record
header(1to1)
data (0 to unbounded)
footer (1to 1) header, data, footer are three structre which contain various fields.I have to use fieldFixedLengths as filed separator. I am also using endseperator as 'nl' but its not coming in new line.Please share ur views on this issue.
Regards
Nehahi neha,
In your scenario
Recordset Structure header,data,footer
header.fieldFixedLengths = 1,2,3, whatever it is
data.fieldFixedLengths = similar to header
footer.fieldFixedLengths = similar to header
header.endSeparator = 'nl'
data.endSeparator = 'nl'
footer.endSeparator = 'nl'
I guess you dont have to do any thing else.
Regards
Pushkar
Message was edited by:
Pushkar Anand -
Regarding FCC in receiver side
HI friends, i need help regarding FCC. my input file is a text file on which some of fields doesn't have data so i want to display pipe symbol in that empty field in receiver side. what i have to do in the sender channel parameters side.
points will be awarded.Can you give some example?
You can use message mapping with condition that if some input tag is blank then use that symbol (pipe |).
You can that pass the message at reciever side....
What is your output format?
Regards, -
Help with FCC on receiver side
Hey guys
i have an XML structure on the receiver side as follows
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_Invoices xmlns:ns0="urn:NOVInvoiceToSCO">
<Invoice>
<InvoiceProperties>
<InvoiceNumber>sdds</InvoiceNumber>
<InvoiceDate>dsd</InvoiceDate>
<VendorNumber>dsd</VendorNumber>
<InvoiceTypeCode>rer</InvoiceTypeCode>
<PrimaryCurrency>
<CurrencyCode>dd</CurrencyCode>
<ExchangeRate>dsd</ExchangeRate>
</PrimaryCurrency>
<PaymentTerms>sd</PaymentTerms>
</InvoiceProperties>
<InvoiceDetails>
<InvoiceLineItem>
<WorkOrdernumber>dsd</WorkOrdernumber>
<LineItemNumber>dsd</LineItemNumber>
<InvoiceQuantity>
<Quantity>ds</Quantity>
<UnitOfMeasureCode>ds</UnitOfMeasureCode>
</InvoiceQuantity>
<LineItemInformation>
<LineItemMaterialNumber>sds</LineItemMaterialNumber>
<LineItemDescription>dsd</LineItemDescription>
</LineItemInformation>
<Pricing>
<UnitPrice>
<MonetaryAmount>dsd</MonetaryAmount>
<UnitOfMeasureCode>dsd</UnitOfMeasureCode>
<CurrencyCode>sds</CurrencyCode>
</UnitPrice>
</Pricing>
<LineItemtotal>
<MonetaryAmount>sd</MonetaryAmount>
<CurrencyCode>ds</CurrencyCode>
</LineItemtotal>
<Requisition>
<Number>ds</Number>
<LineItemNumber>ds</LineItemNumber>
</Requisition>
<Status>sd</Status>
</InvoiceLineItem>
</InvoiceDetails>
<InvoiceSummary>
<TotalLineItems>ds</TotalLineItems>
<InvoiceTotal>
<MonetaryAmount>ds</MonetaryAmount>
<CurrencyCode>ds</CurrencyCode>
</InvoiceTotal>
<Tax>
<TaxTypeCode>sd</TaxTypeCode>
<TaxAmount>
<MonetaryAmount>ds</MonetaryAmount>
<CurrencyCode>s</CurrencyCode>
</TaxAmount>
<TaxReference>ds</TaxReference>
</Tax>
</InvoiceSummary>
</Invoice>
</ns0:MT_Invoices>
<InvoiceProperties> is the header
<InvoiceDetails>is the data
<InvoiceSummary>is the trailer
i am using the following on the receiver side under FCC
Recordset Structure: Invoices,Invoice,InvoiceProperties,PrimaryCurrency,InvoiceDetails,InvoiceLineItem,InvoiceQuantity,LIneItemInformation,Pricing,UnitPrice,LineItemTotal,Requisition,InvoiceSummary,InvoiceTotal,Tax,TaxAmount
Invoices.fieldSeparator 'nl'
Invoice.fieldSeparator ,
Invoice.endSeparator 'nl'
InvoiceProperties.fieldSeparator ,
InvoiceProperties.endSeparator 'nl'
PrimaryCurrency.fieldSeparator ,
PrimaryCurrency.endSeparator ,
InvoiceDetails.fieldSeparator ,
InvoiceDetails.endSeparator 'nl'
InvoiceLineItem.fieldSeparator ,
InvoiceLineItem.endSeparator 'nl'
InvoiceQuantity.fieldSeparator ,
InvoiceQuantity.endSeparator ,
LineItemInformation.fieldSeparator ,
LineItemInformation.endSeparator ,
Pricing.fieldSeparator ,
Pricing.endSeparator ,
UnitPrice.fieldSeparator ,
UnitPrice.endSeparator ,
LineItemTotal.fieldSeparator ,
LIneItemTotal.endSeparator ,
Requisition.fieldSeparator ,
Requisition.endSeparator ,
InvoiceSummary.fieldSeparator ,
InvoiceSummary.endSeparator 'nl'
InvoiceTotal.fieldSeparator ,
InvoiceTotal.endSeparator ,
Tax.FieldSeparator ,
Tax.endSeparator ,
TaxAmount.fieldSeparator ,
TaxAmount.endSeparator ,
Now i want the output of the following form
Header
Data
Trailer
Note:Data has occurence 0--* and both header and trailer have occurence 1
i m unable to get the CSV file on the receiver side,can anbody cross check my parameters and lemme know whr i m wrong?
thanx
ahmadHi Ahmad,
give recordsetstructure : InvoiceProperties,1,InvoiceDetails,*,InvoiceSummary,1
and in key-value pair give:
InvoiceProperties.fieldFixedLengths : length of fields of InvoiceNumber,InvoiceDate..etc similarly for InvoiceDetails and InvoiceSummary
InvoiceProperties.fieldSeparator , similarly for InvoiceDetails and InvoiceSummary
Then you will get your req CSV file.
Thanks,
Rajeev Gupta -
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 -
Step by step Scenario for using FCC at receiver side
hi -
I would like to implement the File >XI>File using file content conversion at receiver side.
Can anybd help me doing this.
I would like to use the following xml file at the sender side :
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT1_FCC xmlns:ns0="http://accenture.com/xi/F2F">
<FullName>
<Name>
<FName>abc</FName>
<MName>bcd</MName>
<LName>cde</LName>
</Name>
<Name>
<FName>def</FName>
<MName>efg</MName>
<LName>fgh</LName>
</Name>
</FullName>
</ns0:MT1_FCC>
would like to have the target file as txt with following structure...
abc#bcd#cde
def#efg#fgh
Kindly guide...HI Jeswani,
If this is what you want then take your datatype like this:
Full Name
name
--FName
--MName
--LName
Then map it up. Then in reciever file content conversion you should take like this:
Recordset Structure: Name
name.fieldSeperator = #
name.endSeparator = 'nl'
This should get your file layout what you are expecting.
Cheers..
Vasu
<i>** Reward Points if found useful **</i> -
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 -
Problem with file contnet conversion in receiver side.
Hi All,
I have a source strucuture as below.
Header-1.1
Item..1..unbounded.
footer..1..1,
As i am using PI 7.0 , can you any one tell me ..how do i mention item segment is occuring multiple times in the reciever content conversion.If only one segment is comming then the scenario is working but if the item segment is comming with multiple times, it is throwing error.
Can any one let me know how do we achieve this.
Regards,
Chandu.hi,
There is no need of giving * in receiver side FCC
give the structure as
header,item,footer
try with this one,it will work....
and give corresponding
header.feildSeparator
header.fieldNames
item.feildSeparator
item.fieldNames
footer.feildSeparator
footer.fieldNames
default endSeparator is 'nl'
if fixed length give fixed lengths -
FCC:Receiver File Adapter
Hi
This is regarding a FCC in receiver File Adapter
My requirement is as follows :
I have the following source structure
DT_Source
Structure
Field 1
Field 2
Field 3
The target file to be created will contain all the 3 fields mapped directly from the source.
but in additional to these 3 fields it will also contain 3 constants ..which aren't coming from the source.
Do I need to include that in the Target data type and map them as constant values in the mapping or can the addition of constant values be taken care of in the File Content conversion ?
thanks
DevThanks Shabarish
So you mean once i get a sample file , according to the blank spaces in the resultant i should have a corresponding field in my target Message type and map it toa constant white spaces ??
ok I have one last question
Can the FIle(on the receiver side ) be a mix of values which are fixed as well as variable lenghs ??
i.e
a typical line item in the file will be like this
Field1,Field2,Constant1, ,Constant2,Field3, ,Constant3,Field4,Constant4
where Field1 and Field3 are fixed length fields with the constants and field 4 and field5 are of variable lengths ????
thanks
Dev -
File Content Conversion on the Receiving side
Is there a way in which if I want a Pipe Delimited File as a result, after the last field also I get a pipe with next record starting in the next line.
Hi,
For | (Pipe), use corresponding hex code as fieldSeparator i.e. 0x7C as fieldSeparator.
For FCC on receiver side refer -
[Simple FCC|http://www.riyaz.net/blog/index.php/2008/02/19/xipi-file-content-conversion-for-simple-structure/], [Complex FCC|http://www.riyaz.net/blog/index.php/2008/02/20/xipi-file-content-conversion-for-complex-structures/]
For separotor at the end of line you can try using a dummy field or use combination of pipe and newline i.e. '0x7C' and '0x0D' (stands for carriage return) or 'nl' as endSeparator
Edit: You might consider using 'nl' as beginSeparator parameter and 0x7C as endSeparator. This will do the trick. However, this would add a blank line in the beginning of the file.
Hope this helps.
Regards,
Riyaz
Edited by: Riyaz Sayyad on Aug 21, 2008 3:00 PM -
Append the data in file at receiver side
Hi All,
I want dump the data frm SAP tables. the data is hughe so we are sending the data in slots from ECC like 50K recoerds at a time and after that to collect that i using the append parameter at file receiver side and records are getting appended in file only that is correct
but my one doubt is
let say monday the records get append into file at receiver side and on tuesday again the records will get appended in same file....it will be problem for this i used create parameter with overrite my question if i am using create then we can not use append ........
please suggest...........
RegardsHi gangadhar,
Append will work like this..
if there is no file ..create the file and if file already exists then appends the data to the existing file..
in your case when you create the file with day i.e file_day ..first time when you send 50K records file will get created..
if you send another 50k in the same then will get appended to the same...
in case if you send the another 50K set another day..then a new file will get create as there is no file available with taht file name
i.e filename_nextday...
Hope this clears all your queries
HTH
Rajesh -
Problem with Stored Procedure exection in Sender and Receiver side of JDBC
Hi All,
I am facing problem while executing Stored Procedures using sender and receiver sides of JDBC adapter.
Here is my SP in Oracle DB :
PROCEDURE EMP
( ID IN VARCHAR2,NAME IN VARCHAR2,PROCESSED IN VARCHAR2 ) AS
BEGIN
INSERT INTO EMPLOYEE VALUES (ID, NAME, PROCESSED);COMMIT;END EMP;
Now I want to execute this SP using sender JDBC channel and receiver JDBC channel.
Can anyone please help me executing this SP?
Regards,
SooryaHi Soorya,
The receiver Data type should be like this:
<StatementName>
<storedProcedureName action=u201D EXECUTEu201D>
<table>realStoredProcedureeName</table>
<param1 [isInput=u201Dtrueu201D] [isOutput=true] type=SQLDatatype>val1</param1>
</storedProcedureName >
</StatementName>
Check the link http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/frameset.htm
Which DB are you using?? The sender structure will be like
<resultset>
<row>
<field1></field1>
<field2></field2>
<field3></ field3>
</row>
</resultset>
Search SDN you will get lot of examples
Regards
Suraj -
Mandatory fields in receiver side
Hi Experts,
Is there any easy way to find out, what are the mandatory fields(receiver side) we have to map during mapping?
Regards
SaraBasic question
Sender side :
1. Sender1_Root
2. Sender1_Child1
3. Sender2_Root
4. Sender2_Child1
Receiver Side:
1. Receiver_Root
2. Receiver_Child1
3. Receiver_Child2
1. Sender1_Child1 is mapped to Receiver_Child1
2. Sender2_Child1 is mapped to Receiver_Child2
In this case, Do we need to map the Sender1_Root and Sender2_Root to Receiver_Root?
Regards
Sara -
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
Maybe you are looking for
-
How to find out the invoice value from a sales order
Hi All, Please can any one hlpe to solve the beloq query. Is there any report in SAP , which give you the following. Sales order , Total cost incurred , Total revenue recoganised , Total Invoiced , Total collected . Thanks , Rajesh
-
NEW web browser, Digia @Web
A mobile browser with touch interface based on Qt and WebKit. Browser UI features: Full finger touch UI Accelerated panning Automatic full screen browsing via auto-hiding controls Multiple browser windows Page rotation for portrait and landscape brow
-
We have Netware 6.5 SP8. What is the command line syntax for using LOGINW32 when our server context has a period in it? From what I have read, a period is what distinguishes the user name, context and tree. So having a period in our context name caus
-
Is exFAT Ok for OSX - 10.9 Maverick. Ive just got my first macbook (thankyou Santa) and want to set up a wireless hard drive to serve both my PC and MacBook. I know FAT will work but understand there are issues with file size >4gb and it would be g
-
Flashplayer 16 causes unresponsive script , mozalloc plugin container crashes
Salute all , I have latest Firefox v.35 since I downloaded latest version of flashplayer 16.0.0257 I have been experiencing unresponsive scripts on web pages with flash animation. After entering such a page ( e.g. http://helpx.adobe.com/flash-player.