FCC Parameters: KeyFieldName,KeyFieldType,KeyFieldValue,KeyFieldInStructure
Can anybody eloborate the what is the use of KeyFieldName,KeyFieldType,KeyFieldValue,KeyFieldInStructure in FileContentConversion parameters??
At which type of scenarios we are using above parameters??!!
Can anybody explain this with simple file to file scenario, it would be appreciated.
Cheers.,
Esha
Hi,
There are many blogs on SDN with regard to file content conversion.
Do a search on them and you will find good explanations with many examples.
Some of them,
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
/people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
Regards,
Bhavesh
Similar Messages
-
File with variable structure how to define the FCC parameters for it?
Hi all,
I have a scenario which is File to IDOC
and file structure is in this way
Header:
HDR|ROSS-Daily-Inv|20111104
Data :
INV|01|059EMS|107128|20111104|USD|21703|IN|1| 0.00| 0.00|60-5B-30| 600.00|VIAL|0.00|0.00|EM||NETDUE|CLINIC|Y||490000
TOT|01|059EMS|107128||USD||||0|0
INV|01|EXB001|107130|20111104|USD|02420|IN|1| 823600.00| 823600.00|| 580.00|VIAL|0.00|0.00|||NET30|COMM|N||
TOT|01|EXB001|107130||USD||||823600|823600
Trailer:
TLR| 6| 1382679.00
can any help me defining the Datatype for this structure and FCC parameters
Thanks
SaiHi,
In Sender CC, use content conversion and especially these options:
¤ RecordSet Structure = Header , 1 , Data1 , * , Data2 , * , Footer , 1
¤ Key Field Name = MyKey
¤ Namea.keyFieldValue, to distinguish your different structures (records).
for instance, like that:
Header.keyFieldValue = HDR
Header.fieldName = MyKey , xxxxx, yyyy
Data1.keyFieldValue = INV
Data1.fieldName = MyKey , xxxxx, yyyy
Data2.keyFieldValue = TOT
Data2.fieldName = MyKey , xxxxx, yyyy
Footer.keyFieldValue = TLR
Footer.fieldName = MyKey , xxxxx, yyyy
Otherwise, in SDN with term "recordset" you will find some blogs...
Regards.
Mickael -
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 -
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 -
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 -
How to define the Structure and FCC parameters for EDI file format.
Hi All,
I have a EDI file(FTP)-->XI-->IDOC
the source file content is as follows
PR H01PHUPS
FH SHP 0.0.5
H1 S0022323
W6 7752508853 D
PT 1Z58R7070341111111
PT 1Z58R7070342222222
PT 1Z58R7070353333333
N1ST ZZ 142222
N3ST 8827 D OLD
N4ST MARCY
N1WH ZZ 2070
N3WH 401 QUALITY
N4WH HARRIS
DTENT20111206
DTSHP201112061754
N9LL BN20700033333333
N9NT
CD CP UPS
IT026
P1GD VN A1111
PD Product ID 1
QTORD000000000000010CA
QTSHP000000000000010CA
AM U 000000000000000000M
AM X 000000000000000000
LTLT 1112811111
AM G 000000000000000000
AM N 000000000000000000
AM TAX000000000000000000
AM SVC000000000000000000
AM COD000000000000000000
ST 00000000100000000010000000000000000000000000008500LB
Can any body share me how to declare the structure in DataType.
The first two characters in each record is constant , so this would be the keyfields right?
ex:- PR,FH,H1,W6,PT,AM,N1,N3,N4......
In Comm channel the FCC parameters
i need to go for fieldFixedLengths?
Thanks&Regards
Sai_SHAHi.
if you need to convert an EDI to XML you need to use an Adapter specific (e.g Seeburger) because PI doesn't support EDI files.
Also if you use a FCC , this configuration is for two level Header and Detail.
Check this.
http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm
Regards
Luis Ortiz -
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,
saiHi 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 -
FCC parameters on reciever side
Hello,
I am doing IDOC-File scenario.
source IDOC strucutre is
DEBMAS06 which has the following strucuture
DEBMAS06
BEGIN
EDI_DC40
E1KNA1M
<fields>
custom_segment
<fields>
I have reciever data type as ..
new_cust
Root
<fields>
<fields>
What are the FCC parameters I can use to get '|' delimted file on the destination file?
the field delimited with empty space shud be there even if there s no source data comign in
venkat.Hi !
<b>Please look thru this one too..</b>
http://help.sap.com/saphelp_erp2005/helpdata/en/ab/bdb13b00ae793be10000000a11402f/content.htm
<b>for idoc related settings in r/3 refer the below link..</b>.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/73527b2c-0501-0010-5398-c4ac372c9692
<b>Check this:</b>
http://****************/Tutorials/XI/IDocToFile/IDocToFile1.htm
<b>See the below links to get the idea mapping</b>
idoc mapping - /people/james.guanzon/blog/2006/03/23/how-to-support-industry-standards-in-xi-part-ii-of-iii--mapping
/people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi
<b>for more details about your scenarios </b>
For any IDOC scenario u can use the corresponding link below.
/people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi --> ALE configuration for pushing idocs from SAP to XI
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/73527b2c-0501-0010-5398-c4ac372c9692
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb9bb2b2660
/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi
http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci983331,00.html
/people/raja.thangamani/blog/2007/07/19/troubleshooting-of-ale-process
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sappoint.com/abap.html---->serialization
/people/alessandro.guarneri/blog/2006/11/26/content-based-serialization-dynamic-queue-name-in-xi
/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm ->IDOC Bundling
/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters Idoc 2 file
Try to Use Idoc packaging. also see the below links
/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm - Collection of IDoc to Single File
/people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm - collecting IDocs without BPM
/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
Thanks !!!
Questions are welcome here!!
<b>Also mark helpful answers by rewarding points </b>
Regards
Abhishek Agrahari -
FCC Parameters Required ?
hi all,
I have to read the file separated by # and then I have to use UDF to seperate the various parameters.
I need FCC parameters for the same I have creatd the struct of message as follows
MT_Req
Recordset... 1.1
Record ...o..Unbounded
Row ..1.1
I want all the records seperated by # in row .
RegardsHi Amith,
http://help.sap.com/saphelp_nw70/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
For recever side adapter see below link,
http://help.sap.com/saphelp_nw70/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
For occurences....
http://help.sap.com/saphelp_nw70/helpdata/en/43/c4cdfc334824478090739c04c4a249/frameset.htm
Mapping details ......
http://help.sap.com/saphelp_nw70/helpdata/en/e4/82cf0ec8b9494db92e27e2be69524f/frameset.htm
I am hope full that this links will help u a lot .......!
Regards,
Azeez khan. -
FCC parameters for header and item
Dear All,
I am working on a File to RFC scenario. The file has the PO deatils from which Salesorder has to be created in R/3. Am using the BAPI BAPI_SALESORDER_CREATEFROMDAT1 to create salesorders. I have tested the scenario with XML message - it is working file .
The problem is with FCC.
The structure of the file is as follows
PO number,podate,deliv. date,cust. material,quantity,receiving point
message type:
-->MT_messagetype
>input
>header
po number
po date
deliv date
>item
>item
cust_material
quantity
receiving point
>partner
>partner
dummy field.
input is the recordset
i have to get the first 3 fields from the file inlto header and the rest into item.
i have created a dummy field in partner because I am mapping a constant value to sold to party in partner node .
what should be the FCC parameters ?After looking at your structure which is comma separated and doesn't have any keyfields it will be difficult to content convert it into different nodes like header and item.
I was looking at using fixed field lenght's along with field separator to split the structure, as the first 4-5 fields of u r row seem to be standard structures which will have fixed length, but then your last field "receiving point" is not a of fixed length.
so as long as my understanding goes you will have to content convert the input into a flat xml structure like this:
<input>
<header>
</po number>
</po date>
</deliv date>
</cust_material>
</quantity>
</receiving point>
</header>
<input>
Recordset name - input
Recordset structure --header,*
FCC
header.fieldNames -- po_number,1,po_date,1,deliv_date,1,cust_material,1,quantity,1,receivingpoint,1
header.fieldSeparator -- ','
header.endSeparator -- 'nl'
Since in your scenario looks like you are creating one sales order per row of file, the above structure should do the job for you.
Cheer's -
Hi,
I have the source file in the following format
USD
2345
23443
23454
234543
23456
23456
234546
23456
23454
23462
5634
USD
2345
23454
234543
234546
23456
23454
23462
I want to accept all the data as single Field
What FCC parameters do I need to place?
I placed endseperator as 'nl' and without fieldSeperator, the file s not being picked
I have declared the source file as STRING. how to I specify the maxlength to the MAX when I specify it as "............" generating me error message.
Thanks,
Nikhil.>>I would like to accept all the records at the same time as Single field
Do u mean that u need to have the total content of the file to be as a single field?
For this input
USD
2345
23443
23454
234543
23456
23456
234546
23456
23454
23462
5634
USD
2345
23454
234543
234546
23456
23454
23462
1. Do u need to create 2 records of single field each 0r
2. Do u need to create a single record with single field holding all the data.
Regards
San -
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 -
XML structure and FCC parameters
Hi Experts,
Kindly help me with the XML structure and FCC parameters for the following sample of text file
I am new to Text Files and FCC.
=================================================================================
Header
" name of the company " ,1
" abc 2,10/01/1972",4
Line items
"ADFERT",KARNATAKA,CHIPS,G,45.560000,72.190000,100.983000,76.266000,J
"GHTJEN",KERALA,BANANAS,G,1.135000,0.714850,1,0.755000,J
Trailer
DDDDDDDDD,B
================================================================================
It is a CSV
Header 1st line , first field is Variable length and 2nd field is 1 char
Header 2nd line , first field is Variable length and 2nd field is date and last field is 1 char
Line items
first field fixed length 6 char but
2nd field can be of any length
3rd field can be of any length
4th field 1 char
5th field can be of any length
6th field can be of any length
7th field can be of any length
8th field can be of any length
9th field 1 char
and then the Trailer
Please help in the structure and content conversion parameters
also following questions :
a) I have to pick up this file and pass to a proxy in AbAP on target side , so do i just create a service interface and in ECC --> Sproxy and identify my SI and do a Create Proxy ? or is there anything else required ?
b) The Date in the header needs to be passed onto ECC as a parameter so in my XML structure in the data type do i include that as a field in the mapping ..Can any one please guide me to create the Data type structure for the above file ?
c) DO I NEED A MAPPING FOR THIS ?? THERE ARE NO CONVERSIONS required ? what are the IR and ID steps required
if it is a FILE to Proxy scenario with no mappings
Please help
thanks
DevHi Dev,
Full Data type is as follows
Sender_DT
order_recordset 0..1
order_header 0..1
header-1 0..1
date 0..1
order_Item 0..unbound
item-1 0..1
item-2 0..1
item-3 0..1
item-n 0..1
order_Trailer 0..1
trailer-1 0..1
trailer-2 0..1
trailer-n 0..1
> What about the File Content conversion parameters , can you help me with those
order_header.fieldNames : f1,date
order_header.fieldSeparator : <give the fiels separater , [if it is comma])
order_header.endSeparator : 'nl' (if it is new line characters)
order_item.fieldNames : i1,i2,.....
order_item.fieldSeparator : :
order_item.endSeparator : 'nl'
order_Trailer.fieldNames : t1,t2,.....
order_Trailer.fieldSeparator : :
order_Trailer.endSeparator : 'nl'
If any of the two structures (header, item or trailer) in the field name is same then we have to use the key field
Check this link
http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417600)ID1157374550DB11273870171440820710End?blog=/pub/wlg/3228
> b) In FCC what will be the values for fieldnames ?
Check this link
https://wiki.sdn.sap.com/wiki/display/XI/XI_File_Content
Regards
Ramesh -
Hi frnds,
am doing one FCC to file Scenario my text file is like bellow please anybody help me how can i give parameters in FCC.
"A","AAAAAAAABBXXX","AAAAA01","140314","1740","14032014174013","Transaction Status Report","IN","AAAAAAA INDUSTRIES LIMITED","","","","","301, AAAAAAA HOUSE,","7/5,AAAAAAAAAAAAAAAAAAAAAAAA ROAD,","AAAA 452001, M.P., INDIA","","","","","","","",""
"D","0022125614110013","F1","Processed","C0016657","Q0202676","20140314","20140313","20140314",28893.00,"INR","INR","INR",1.000000,"","TRANSACTION ACCEPTED IN STSTPS","","","00061050264493","AAAAAAAA","AAAAAANAYAK","","","","","","","","","22205269415","AAA","","AAA00878Q0202676","",""
Regards,
RajendarHi ,
I would recommend you to blindly follow the below sap documentation.
https://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm -
FCC parameters for File to CSV
Hi ,
I am facing some problem when i am doing a simple file to CSV .the file is picked up from source directory,but i am not getting it back in the target directory.I think the problem is with the Content Conversion parameter and the receiver communication channel.Can any one tell me the FCC parameter in the receiver CC.
Thanks.Hi-
Try this parameters,I also faced the same problem earlier.
item.endSeperator 'nl'
item.fieldSeperator ,
itm.fieldNames ** give all ur fieldsnames seperated by comma
MT.fieldSeperator '0'
Record.fieldSeperaotr '0'
Hope this helps you..
Maybe you are looking for
-
Hi , I have gone through this below PDF https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0401535-f81c-2a10-0192- ffd41e8e8d59 It is Simple Adobe Form with two fields(Firstname and Last name ) not table. I am getting UI Inter
-
Compression for YouTube, to less than 100MB
Hello - I followed YouTube's instructions, and have been compressing from FCP, to MPEG-4. All's good - it looks great, client's happy. I now have quite a larger file, that another client would like to upload to YouTube, but it's well over 100MB, in t
-
RMAN incomplete recovery to new database
Hi there, we have full backup plus all the archived log backup in hand. we need to restore previous day backup until 11pm. We have full backup at 10pm and then archived log backup after that. What would be the easiest way to restore this backup to a
-
Image disappears in the RH after saving and reopening the report
Hi, I am using CR2008. I have created several reports with images but didn't get this type of problem. I inserted image in the Report header and everything is fine, after save and exit if I reopen the report there is no image. It disappeared. I trie
-
We have 2 nexus 5548UP running Layer 2. I have setup vPC between both nexus switches and have a few questions on how vPC failover works. Below is partial snippets of what I have configured for vPC,etc. During testing, I reload nx-1 and what I am se