Ignore FieldSeparator and FixedfiledLength in receiver FCC
Hi Experts,
My target structure is
DeliveryAdvoice
ControlRecord
HeaderRecord
Items
And ControlRecord , HeaderRecord and Items contains multiple fields.
My requirement is target file should have following structure.
ControlRecord
HeaderRecord
Items
And I also dont have any fieldseperator.
So, I have to avoide both filedSeparator and fieldFixLength.
Can any one suggest me solution....
Thanks,
ABDUR
yeah u r correct.......
After mapping my structure is
ControlRecord
(Fields..)
HeaderRecord
(Fields...)
Items
(Fields)
Now, I have to create file with following structure
ControlRecord(ALL Fields in row with no field seperator)
HeaderRecord(ALL Fields in row with no field seperator)
Items(ALL Fields in row with no field seperator)
What will be FCC parameters.....
Similar Messages
-
Receiver FCC: Ignore first field
Hi Experts,
Is it possible to ignore only the first field in receiver fcc?
Thanks,
VishalHi Vishal,
Always the best option is in this case to create a new segment and use it for varibale substituion and trim it in communication channel
else
Pass the value to a segment and you can use that in communication channel.
Regards,
---Satish -
Receiver FCC Structure For Header and Trailer
Hi Guys ,
I need to go for receiver FCC for header and trailer in PI .How the FCC in communication channel needs to be configured if I am taking a separate node for header and trailer in mapping .Output of the file should be as the file attached.
Thanks.
Regards.Hi,
If you are using File communication channel as a reciver you can go with FCC.
Use record set structure as : Header,detail,trailer.
https://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
Otherwise if you are going for SFTP to create the file ... follow the Indrajit suggestion..
Still facing any issue.. Please let us know..
Thanks,
Sreenivas... -
Tab Delimited File Using Receiver FCC
Hi Experts,
I need to generate a Tab Delimited File Using Receiver FCC. I have achieved the same by copying the tab length from a notepad and used the same in name.fieldSeparator parameter.
The other below mentioned values for name.fieldSeparator didnu2019t produce the expected result:
name.fieldSeparator=u2019htu2019
name.fieldSeparator=u2019\tu2019
name.fieldSeparator=u2019 0x09u2019
So just need to know if my approach for achieving this is fine or not.
Thanking you in advance.
Aditya.Verma,
name.fieldSeparator=u2019 0x09u2019
I see a space after the first comma. Try removing it and give a try.
'0x09' with no spaces.
Regards,
---Satish -
Put Date Before Header Line in Receiver FCC
Hi,
I have to create a csv file with format :
Date : dd/mm/yyyy to dd/mm/yyyy
PRODUCT_CODE,NAME,ADDRESS
123,ABC,xyz
123,ABC,xyz
123,ABC,xyz
123,ABC,xyz
123,ABC,xyz
How should i achieve putting the date before header line?
What should be my target structure format?
What parameters to enter in receiver FCC?Hi,
have you tried..
Have you tried:
(http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm)
● NameA.enclosureSign
Specify a string that acts as a text delimiter.
Text enclosed by such delimiters is transferred to the target structure unchanged, although the default setting is to remove all text delimiters. Separators within such texts are ignored.
This parameter is optional. The default setting is an empty value (no text delimiter).
● NameA.enclosureSignEnd
If the text delimiters for the beginning and end of the text are different, specify the text delimiter for the end of the text here.
If you do not make an entry here, the entry from NameA.enclosureSign is used.
● NameA.enclosureSignEscape
Specify a string that replaces the text delimiter if it occurs within a text that it delimits.
When the text is transferred the string is replaced by the value specified in NameA.enclosureSign .
● NameA.enclosureSignEndEscape
Specify a string that replaces the text delimiter for the end of the text if it occurs within a text that it delimits.
When the text is transferred the string is replaced by the value specified in NameA.enclosureSignEnd.
● NameA.enclosureConversion
To remove the delimiter upon transfer, or to replace it with escape characters, enter YES. This is the default value.
To transfer the characters unchanged enter NO.
Note
If you specify xml.enclosureSign= and xml.enclosureSignEsc=, text enclosed in quotation marks is transferred unchanged and the quotation marks are removed.
If the escape character for a quotation mark () occurs in the text itself, it is replaced by the quotation mark during the transfer.
Thanks,
Vijaya. -
Diplaying segment name in output file using receiver FCC
Hi,
we have a idoc to file scenario. we are using FCC at the receiver. the flat file generated should have the segment names before the values .
for example, if the structure is something like this
<root tag>
<serment1>
field1
field2
<segment2>
field1
field2
<segment2>
field1
field2
the output should be in the below format
segment1 field1value,field2value
segment2 field1value,field2value
segment2 field1value,field2value
can some one guide me how to achieve the same. Also if the segment repeats, in the output also it shoukld appear
Best Regards
DeepikaIn mapping, output structure, create an extra field at the beginning and
map that field to a constant value same as the source segment name.
In Receiver FCC, use following configuration.
Recordset Structure: segment1,segment2(specify all segments seperated by comma)
segment1.fieldSeparator : , (it is comma)
segment1.endSeparator :'nl'
segment2.fieldSeparator : ,
segment2.endSeparator :'nl'
specify the same fieldSeparator and endSeperator for the other segments also -
Receiver FCC: endSeparator now working
Hi,
I am having an issue while doing file content conversion at receiver side.
My XML structure is as below:
<ROOT>
<MASTER>
<DATA1>data1</DATA1>
<DATA2>data2</DATA2>
</MASTER>
<MASTER_DETAIL>
<DATA3>data3</DATA3>
<DATA4>data4</DATA4>
</MASTER_DETAIL>
<MASTER>
<DATA1>dataA</DATA1>
<DATA2>dataB </DATA2>
</MASTER>
<MASTER_DETAIL>
<DATA3>dataC</DATA3>
<DATA4>dataD</DATA4>
</MASTER_DETAIL>
</ROOT>
Now entries in Receiver FCC were
ROOT,MASTER,MASTER_DETAIL
MASTER.fieldSeparator=|
MASTER_DETAIL.fieldSeparator=|
MASTER.endSeparator='nl'
MASTER_DETAIL.endSeparator='nl'
ROOT.endSeparator='nl'
ROOT.fieldSeparator='nl'
Output got:
data1|data2|data3|data4
dataA|dataB|dataC|dataD
Expected output :
data1|data2
data3|data4
dataA|dataB
dataC|dataD
Please let me know what to specify?
Regards, Anirudh
Edited by: Anirudh Vyas on Sep 17, 2008 3:05 PMProblem solved!
I was supposed to do 2 stage mapping to map the parent and child segment of Idoc to Parent and child XML structure and then do mapping to have parent and child nodes as siblings of ROOT.
As below
MAP1: Idoc to XML1
MAP2: XML1 TO XML2
XML1:
<ROOT> *
<MASTER>
<DATA1>...</DATA1
<MASTER_DETAIL>*
<DATA3>...</DATA3>
</MASTER_DETAIL>
</MASTER>
</ROOT>
XML2:
<ROOT>*
<MASTER>
<DATA1>...</DATA1>
</MASTER>
<MASTER_DETAIL>
<DATA3>...</DATA3>
</MASTER_DETAIL>
</ROOT>
I was doing content conversion with XML1.
I didn't add MAP2 in interface mapping.
Now my output is as expected.
Thank you all for your help.
regards,
Anirudh. -
Just did a Firmware Update and can't receive or send mail
I just did a firmware update as recommended by Apple:
2008-04-13 18:30:24 -0400: Installed "Aluminum Keyboard Firmware Update" (1.0)
2008-04-13 18:30:32 -0400: Installed "iMac EFI Firmware Update" (1.3)
I had restarted my iMac and noticed that my Mail 3.2 will no longer connect to my mail servers and send or receive mail.
My internet connection is fine when using my browser. I closed and restarted "Mail" and this didn't help and even restarted my computer but that didn't help either.
Anyone else that just did this update have a similar issue? Anyone know of a fix? I don't think I can undo the Firmware update now, so what do I do?
ThanksTry a reset: Simultaneously hold down the Home and On buttons until the device shuts down. Ignore the off slider if it appears. Once shut down is complete, if it doesn't restart on it own, turn the device back on using the On button. In some cases it also helps to double click the Home button and close all apps BEFORE doing the reset.
Delete and re-add the email accounts. -
Hi Experts,
We need to do a file content conversion in the Receiver File Adapter for a fixed length file, format of which is like:
MT_Message
Shipment..........1..1
field1
field2
field3
Order.................1..1
field1
field2
field3
Tare..................0..unbounded
field1
field2
field3
Item...............0..unbounded
field1
field2
field3
occurrence of all field level elements are 0..1. Shipment, Order and Tare are at the same level and Item is under Tare, which can occur multiple times.
I have tried using the normal File receiver FCC, the localejbs/AF_Modules/MessageTransformBean bean and the StrictXml2PlainBean but am not getting the desired output, where each segment is to occur on a separate line.
Any help would be highly appreciated.
RegardsHi Sarkar,
I think the structure you are using is not correct. It should have one root node above all these Segment, Order nodes etc.
Probably like this:
MT_Message
<Recordset>
Shipment..........1..1
field1
field2
field3
Order.................1..1
field1
field2
field3
</Recordset>
check this blog as well
File Receiver with Content Conversion
Sachin -
Removing the empty line during Receiver FCC!
Hi, Guys,
I used file content conversion in receive FCC. My data type is like this:
<TextFromSAP_DT>
<FileName>
<FileName>abc.txt</FileName>
</FileName>
<Record>
<TEXT>dasfafaf</TEXT>
</Record>
<Record>
<TEXT>qqqqqqqq</TEXT>
</Record>
<Record>
<TEXT>fgfffff</TEXT>
</Record>
</TextFromSAP_DT>
I need to get file name from <FileName> and output a flat file with the value in <TEXT>. But I always got an empty line at the file beginning. And I tried to move <FileName> to the end. And I got an empty line at the file end. My custom said they are having trouble to read the file with the empty line no matter it is in the beginning or end.
I followed sample as link below but does not work.
https://wiki.sdn.sap.com/wiki/display/profile/2007/07/30/Removing%20the%20empty%20line%20during%20Receiver%20FCC!
Does any body can give a help?
Thanks a lot!
Meiying
Edited by: Meiying Yang on Aug 14, 2009 11:16 PMHi Yang,
You create the value udf GetFileName with one input value say a. Add this code:
Imports: java.*;
Add this code:
//write your code here
DynamicConfiguration conf = (DynamicConfiguration)container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http:" + "/" + "/" + "sap.com/xi/XI/System/File", "FileName");
conf.put(key, a);
return "";
Map like this:
FileName --> GetFileName(udf) --> target_mt
Map other fields like:
Record --> Record
TEXT ---> TEXT
Save it and activate it. When you test in mapping you will get an error so dont worry. I go the error like:
RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ns0:Target_MT. The message is: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._TestFileName_ method file1$[abc.txt, com.sap.aii.mappingtool.tf3.rt.Context@32dcebf1]
Dont worry about this activate and do the rest of the configuration.
In your receiver communication channel for file name put as FileName and check the file name in adapter specific message attributes. Then test it and it should work and you will get the file with file name abc.txt. I tested the whole end to end scenario and I am getting the file name abc.txt and the output what you want. If you still could not get it send me a m ail to my i d from my business card. I will send you the screen shots.
Regards,
---Satish -
my daughter has changed her phone from an iphone to a nokia but kept the same number but when i send her a message from my iphone it still comes up as an i messsage and she doesnt receive it can anybody tell me how to fix this please
She needs to remove that device from the iMessage database, or if she still has the phone, she can go into Settings, Messages and turn off iMessage. If she still has the phone, she just needs to put the SIM back in for a couple of minutes to turn that off.
If she does not have the phone any more, she will need to go to her Support Profile, if she registered the phone and delete the phone from the profile. -
I have a Galaxy SIII and recently stopped receiving visual notification for text messages. How do I correct it?
Hmmm that's strange TopDiver. Let's get to the bottom of this. Have you checked the notification settings on the device? To verify the notification setting on the device click on menu>settings>sound>notification sound, then test device notifications.
Thank You,
MichelleL_VZW
VZW Support
Follow us on Twitter @VZWSUPPORT -
My iPhone (and iPad) will receive .msn e-mails but will not allow me to respond or forward, giving an error message that says the username or password are incorrect for the SMTP, but the same configuration allows me to receive AND send from my MacBook - what can I do to correct this?
Alright, I'll take a mea culpa on this. I just recalled the one thing I didn't try which was establishing an application-specific password for the phone:
http://www.google.com/support/accounts/bin/static.py?page=guide.cs&guide=1056283 &topic=1056286
This seems to have worked. Yay! -
I have three different e-mail addresses, and need to receive the incoming e-mails from the three sources into my iPhone (it's presently receiving msgs from only one of them). How do I enable my iPhone to do it? Tks in advance.
Many thanks for your help!
-
I have 3 mail accounts in apple mail. One of them has had the spinning ball going for several days and I cannot receive mail in this account or delete messages etc. For some reason, I CAN send mail on Apple mail using this account, although it takes several minutes. I can receive mail in this account on my iPad and by signing into aol on safari and internet explorer on my office PC. It's obviously a glitch in Apple's Mail. I've deleted this account and reopened it in Mail on my Mac Pro with no difference. Any suggestions would be greatly appreciated, this E amil account is major to my business.
http://support.apple.com/kb/TS3276
sounds like a corrupt database or index
the glitch is your home folder and mail folder, esp look at syncservices
I'd post in the mail or Lion forum where you will find similar issues being discussed.
http://www.apple.com/support/mail
Maybe you are looking for
-
EHP4: Education & Previous employment in ESS
Hi, We have implemented EHP4, according to SAP their should be new iviews for Education & Previous employment in ESS. Anyone could share his/her experience implementing this new iviews? Looking forward to your reply. Regards, Onno
-
Purchase info record and Contract are not reflected in SC
Hi... while i am creating a shopping cart in SRM for a particular product... i am not able to find the Purchase info record or Contract in SC - Source of supply tab... I maintained the Purchase info record and Contract for the particular material
-
Nokia lumia 510 wifi network searching problem
Recently I have got Nokia lumia 510......nice phone......but it fails to search any WiFi network......somtimes shows notifications at top of the display but doesn't wrk at ol..........So what to do.........help help
-
Compressor Job Fail Quicktime Error -120
The program quits before it even starts compressing after I click "Submit" There is no error message or any indication of why the attempt failed. Except a grey message to the side that says QuickTime Error -120 I'm using the presets. Trying to con
-
Output raw (CR2) to Photoshop 5.1 from LR4?
(On OS X 10.7) Lightroom 3 had (and has) no problems outputting CR2's to photoshop for editing. I want to do it this way because I hate messing about with all the pointless Tiff's and PSD - in short, I have my own system. LR4 doesn't do this yet, it