Sender file adapter missingLastFields Parameter
hi all,
i have a wierd problem...
i use a sender file adapter with content conversion to read the data of a file.
all is fine until he get to a record when the last couple of fields are not in the file (and it's ok that they don't appear). i want the adapter to put no data in the last couple of fields but convert them to the XML tags.
i am using the parameters: missingLastFields and keepIncompleteFields to keep the fields although they don't appear in the file.
the parameters i am using are these:
SA140.fieldNames:
ActionCode,UpdateType,IDNumber,Filler1,RecordCode,Filler2,ExteriorColour1,Filler3,ExteriorColour2,Filler4,ExteriorColour3,Filler5,ExteriorColour4,Filler6,ExteriorColour5,Filler7,ColourArea1,Filler8,ColourArea2,Filler9,ColourArea3,Filler10,ColourArea4,Filler11,ColourArea5,Filler12,TireCode1,Filler13,TireCode2,Filler14,TireCode3,Filler15,TireCode4,Filler16,TireCode5
SA140.fieldFixedLengths:
2,2,10,4,3,41,5,1,5,1,5,1,5,1,5,1,2,1,2,1,2,1,2,1,2,1,6,10,6,10,6,10,6,10,6
SA140.keyFieldValue:
140
SA140.missingLastFields:
Ignore (i used the parameter "add" too and it still didn't work)
SA140.keepIncompleteFieids
true
the row i am trying to read is:
024018837002186 21140 1799 KW16 RW17 1010 9147 F18L19 7503 F18L19 7502 F18K27 7508
as you see a couple of the last fields are showing in the text.
could you please tell what am i doing wrong?
maybe there is another parameter i missed?
regards,
roi grosfeld
sorry but it still doesn't work...
i am getting the same error:
Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR converting document line no. 5 according to structure 'SA140':java.lang.Exception: Consistency error: last field in structure 'SA140.' is incomplete - specify 'keepIncompleteFields' parameter accordingly to allow this
regards,
roi grosfeld
Similar Messages
-
FCC Send File Adapter - missingLastFields not working
Hi
I have a flat file to capture using the sender File adapter
Parameter as follows:
Header_fieldNames : Key,Name,StaffID,Telephone
Header_fieldFixedLengths : 2,12,10,8
Header_endSeparator : 'nl'
Line_fieldNames : Key,Address,Company,LineText
Line_fieldFixedLengths : 2,20,20,40
However there are times where last field come in missing.
Hence I use the Header_missingLastFields : error
Line_missingLastFields : error
However it does not seem to be working as the adapter fails to pick the file from the FTP folder
but if I replace error with ignore, the sender adapter picked the files and process and send to the receiver adapter.
I need to flagged error in sxmb_moni if last field or last few fields are missing....any advise how could this be achieve ?
Regards
FredHi Freddy,
I think you might like to specify missingLastFields = add. then it will add the missing fields as empty. you can further check if these are empty in mapping and then fail the message or create an alert.
If you specify "ignore" then you will not get those fields in your structure and if you specify "error" then the file will not be picked up.
have a look here
http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
missingLastfields
If the inbound structure has less fields than specified in the configuration then the XML outbound structure is created as follows:
○ ignore
Outbound structure only contains the fields in the inbound structure
○ add
Outbound structure contains all fields from the configuration; the fields missing in the inbound structure are empty.
○ error
Conversion is terminated due to the incomplete inbound structure. An error message is displayed
regards,
francis -
Advance select for source file in Sender File Adapter
Hi
I am trying to utilise the parameter 'Advance Selection for source file' on a sender file adapter to pick the file from multiple folders
My problem is that this parameter that is listed on the SAP help is not getting in File accessing Parameters.
I am running PI 7.02 (NW702_07_Rel)
Service pack 07
Has anyone come across this before?
any suggestions on how to do this?Hi,
In PI7.0 the property exists. I have used it previously. I think SP was 13.
Regards,
Nutan
Edited by: nutan champia on Nov 24, 2011 10:42 AM -
Mapping problem due to FCC in sender file adapter
Hi All
I am doing File( Flat File ) to RFC Scenario.it is working fine..
the problem comes in mapping with multiple records.
FCC at sender file adapter is used
my Data Type are :
Source DT Target RFC import parameter(table).
E2ED20* ITEM*
KEY VBELN
VBELN POSNR
E2E24* CHARG
KEY
POSNR
CHARG
<b>*->>multiple occurence
E2ED20 and E2E24 are 2 segment ,KEY is used in FCC to identify E2EDL20 & E2EDL24</b>
My source text file is like this :
E2EDL20 0200
E2EDL24 xyz
E2EDL20 0201
E2EDL24 abc
E2EDL24 efg
E2EDL24 mln
E2EDL20 0202
E2EDL24 gty
so the payload should be :
0200 xyz
0201 abc
0201 efg
0201 mln
0202 gty
in <i>FCC ignoer record set= true</i>
otherwise is not called...
i try to use split by value & use oneasmany , not helpfull.
in message mapping when i checked th field VBELN -> display queue
i am getting an array 0200
0201
0202 in white fields
thanks & regards
Ashutosh Rawat<b>Source payload</b>
<?xml version="1.0" encoding="utf-8" ?>
- <ns:MT_MATNO_FILE xmlns:ns="urn:abc:xxx">
- <E2ED20>
<KZ>E2EDL20</KZ>
<FIELD1>020</FIELD1>
<b><VBELN>0083662685</VBELN></b>
</E2ED20>
- <E2E24>
<KZ>E2EDL24</KZ>
<FIELD2>020</FIELD2>
<POSNR>900001</POSNR>
<CHARG>1078629</CHARG>
<LFIMG>3200</LFIMG>
<MEINS>PCE</MEINS>
</E2E24>
- <E2E24>
<KZ>E2EDL24</KZ>
<FIELD2>020</FIELD2>
<POSNR>900002</POSNR>
<CHARG>1078630</CHARG>
<LFIMG>1895</LFIMG>
<MEINS>PCE</MEINS>
</E2E24>
- <E2E24>
<KZ>E2EDL24</KZ>
<FIELD2>020</FIELD2>
<POSNR>900003</POSNR>
<CHARG>1079145</CHARG>
<LFIMG>1883</LFIMG>
<MEINS>PCE</MEINS>
</E2E24>
- <E2E24>
<KZ>E2EDL24</KZ>
<FIELD2>020</FIELD2>
<POSNR>900004</POSNR>
<CHARG>1079146</CHARG>
<LFIMG>3195</LFIMG>
<MEINS>PCE</MEINS>
</E2E24>
- <E2ED20>
<KZ>E2EDL20</KZ>
<FIELD1>020</FIELD1>
<b> <VBELN>0083662648</VBELN></b>
</E2ED20>
- <E2E24>
<KZ>E2EDL24</KZ>
<FIELD2>020</FIELD2>
<POSNR>900011</POSNR>
<CHARG>1001450</CHARG>
<LFIMG>2946</LFIMG>
<MEINS>8PC</MEINS>
</E2E24>
- <E2ED20>
<KZ>E2EDL20</KZ>
<FIELD1>020</FIELD1>
<b> <VBELN>0083673936</VBELN></b> </E2ED20>
- <E2E24>
<KZ>E2EDL24</KZ>
<FIELD2>020</FIELD2>
<POSNR>900012</POSNR>
<CHARG>1073953</CHARG>
<LFIMG>2458</LFIMG>
<MEINS>PCE</MEINS>
</E2E24>
</ns:MT_MATNO_FILE>
<b>at target what required is</b>
<item>
<b><VBELN>0083662685</VBELN></b>
<POSNR>900001</POSNR>
</item>
<item>
<b><VBELN>0083662685</VBELN></b>
<POSNR>900002</POSNR>
</item>
<item>
<b><VBELN>0083662685</VBELN></b>
<POSNR>900003</POSNR>
</item>
<item>
<b><VBELN>0083662685</VBELN></b>
<POSNR>900004</POSNR>
</item>
<item>
<b><VBELN>0083662648</VBELN></b>
<POSNR>900011</POSNR>
</item>
<item>
<b><VBELN>0083673936</VBELN></b>
<POSNR>900012</POSNR>
</item>
in Sender FCC
E2ED20.fieldFixedLengths 7,76
E2ED20.fieldNames KZ,VBELN
E2ED20.keyFieldValue E1EDL20
E2ED20.endSeparator 'nl'
E2E24.fieldFixedLengths 7,24,13,7,3
E2E24.keyFieldValue E1EDL24
E2E24.fieldNames KZ,POSNR,CHARG,LFIMG,MEINS
E2E24.endSeparator 'nl'
ignoreRecordsetName true
source file is already there...
Message was edited by:
ashutosh rawat -
Additional Files in Sender File Adapter
Hi
I have to collect 2 files (IN.txt, IS.txt) and attach 2 files as an attachment to mail.
So I opted Additional Files in Sender File Adapter
Source Directory = D:\usr\sap\pitest\LoadTest\Output\Invoice
File Name = IN.TXT
Additional Files
File List <IS.TXT>
<IS.TXT>.namePart ".TXT"=".TXT"
<IS.TXT>.optional NO
<IS.TXT>.type TXT
But I am able to Pick only one file (IN.TXT) from the Source Directory.
IS.TXT file is not at all picking.
Please give me your suggestion.I reply just want to close this issue.
if file Name = Item.TXT and additional file name is ItemText.csv then configuration as following.
File List <Item.TXT>
<IS.TXT>.namePart ".TXT"="Text.csv"
<IS.TXT>.optional NO
<IS.TXT>.type TXT
for namePart parameter, we should give the str which need to be replaced. for your example, we could give as <IS.TXT>.namePart "IS.TXT"="IN.TXT"
replace all the file name. -
Problem in Sender File Adapter using FCC with Variable structure
Hi Experts,
Hi Experts,
I have facing an issues while using FCC in Sender File adapter. Below are the configs for the same:-
Recordset structure required is ==HEADER,1,DATA,*,TRAILER,1
Recordset per message == *
Key Field Name == Key
(Sorry i dont know how to insert screen shot here..pls tell me how can i insert screen shots here on sdn)
HEADER.fieldSeparator ,
HEADER.endSeparator u2018nlu2019
HEADER.fieldNames Key,x,y,zu2026
HEADER.keyFieldValue 1
HEADER.keyFieldInStructure ignore
HEADER.fieldContentFormatting trim
HEADER.additionalLastFields ignore
HEADER.missingLastFields ignore
DATA.fieldSeparator
DATA.endSeparator
DATA.fieldNames
DATA.keyFieldValue
DATA.keyFieldInStructure
DATA.fieldContentFormatting
DATA.additionalLastFields
DATA.missingLastFields
Using same variables for Trailer record as well.
Source CSV file which i am picking:-
ADSE ,RASD,replan Contact ,2 0080509 0 8:43:25 ,
EMPL ,0011111, S Top Up ,20080401 ,20080430 ,sdf , 00000000431250 ,2007 , , , , , ,20080414 18:07:35,
EMPL ,0222222, r Cash Award ,20070701 ,20070703 ,ded , 00000000023509 ,2007 , , , , , ,20080414 18:09:31,
EMPL ,0233333, Cash Award ,20070801 ,20070831 ,df , 00000000044057 ,2007 , , , , , ,20080414 18:10:56,
EMPL ,0244444, Cash Award ,20080101 ,20080111 ,sf , 00000000026717 ,2007 , , , , , ,20080414 18:08:29,
BTRL , 5140,
When i tested the scenario and monitored it using MDT in CC monitoring tool its giving me below mentioned error.
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
XML document must have a top level element. Error processing resource 'http://myurlname/mdt/me...
However if i change the occurence of DATA as some specific value for eg 4 instead of * it works fine.
Kindly help me in solving this problem.
Thanks,
Aditya VermaHi Madan,
Thanks a lot for giving me the way to this. But when i tested this with the below file its giving me the same error. Please let me know if i need to do any changes to the parameters mentioned above:-
ADSE ,ASDA,Sha replan Fr ont Feed Contact ,2 0080509 0 8:43:25 ,
EMPL ,0011111, Cash Top Up ,20080401 ,20080430 ,TPV , 00000000431250 ,2007 , , , , , ,20080414 18:07:35,
EMPL ,0222222, r Cash Award ,20070701 ,20070703 ,TPV , 00000000023509 ,2007 , , , , , ,20080414 18:09:31,
EMPL ,0233333, r Cash Award ,20070801 ,20070831 ,TPV , 00000000044057 ,2007 , , , , , ,20080414 18:10:56,
EMPL ,0244444, Cash Award ,20080101 ,20080111 ,TPV , 00000000026717 ,2007 , , , , , ,20080414 18:08:29,
EMPL ,0255555, Cash Award ,20080301 ,20080320 ,TPV , 00000000027870 ,2007 , , , , , ,20080414 18:08:25,
EMPL ,0266666, Cash Award ,20071001 ,20071020 ,TPV , 00000000020681 ,2007 , , , , , ,20080414 18:09:31,
EMPL ,0877777, Cash Top Up ,20080401 ,20080430 ,TPV , 00000000036000 ,2007 , , , , , ,20080414 18:07:05,
EMPL ,0888888, Leaver Cash Award ,20071201 ,20071231 ,TPV , 00000000157200 ,2007 , , , , , ,20080414 18:11:29,
EMPL ,0899999, S Leaver Cash Award ,20080301 ,20080331 ,TPV , 00000000153530 ,2007 , , , , , ,20080414 18:07:42,
EMPL ,0800000, S Leaver Cash Award ,20070701 ,20070731 ,TPV , 00000000012234 ,2007 , , , , , ,20080414 18:08:34,
BTRL , 5140,
This the original csv file which i'll get in live. Kindly suggest as ur solution worked with other file but not working with this scv file.
Thanks a lot,
Aditya. -
File renaming in Sender file adapter usins OS command
Hi Guys ,
Can anyone explain on how to use the rename command in Sender file adapter using OS command parameter.
Thanks,
KC.Hey
run the following OS command
mv <originalFileName> <newFileName>
This command will copy the <originalFileName> to a new file called <newFileName> and will delete the <originalFileName>
There is no rename command in Unix,mv is used to rename the files
Thanx
Aamir -
What is the use of additional file(s) in sender file adapter?
Hi experts,
what is the use of additional files parameter in sender file adapter?
give me some example.......
Thanks & Regards
E.Ravi Chandra ReddyHi,
please check the below link,
you can specify additional files to be included in the XI message as attachments.
http://help.sap.com/saphelp_tm90/helpdata/en/44/692ab8a4b633eae10000000a1553f6/content.htm
Regards -
Sender File Adapter : File Name Determination
Hi All,
My Scenario :
1) Im my scenario i need only the "FileName" of the File when picked up by the Sender File Adapter.
2) Rest Content of the File need not be in the XML file format.
Now what i did was developed "File Adapter Module " to get the "FileName" when picked up by the Sender File Adapter.
Outcome : When i put the developed module at first and put the file in specified folder allowint the Sender file Adapter to pick up. Now Everything is fine working when one kind of File is placed as per my Content Coversion paramaters.
Actual : My Client would place file of any kind (.jpeg -> Mostly , gif ) i need to get only the file name in the Outbound interface , which i would split it further to my Target Interface.
How could i achieve this , when i took away this content conversion , in sxmb_moni it shows error.I need only the filename in the Outbound not the Content , moreover the hit is i donot know what could be content of my file as it could be different and varing , so i could not set particular content conversion paramters:
Second Question:
Now my outbound XML interface looks as below when i test with a file , with proper content conversion paramerters:
<?xml version="1.0" encoding="UTF-8" ?>
- <MT_DMS_FINAL>
- <Record>
- <Row>
<FirstName>2323_eer_rtr</FirstName>
</Row>
</Record>
<FileName>d:\mdmtest\srinivaS\padusrini.txt</FileName>
</MT_DMS_FINAL>
Well i have designed in my MI only FirstName , how to capture this element "FileName" which i can use it in mapping , if i have to write any UDF to capture it ,please guide me.
thx in advance for u r help
with regards
SriniHi Guys ,
Can i use File Content Conversion for .pdf document , my pdf doc content is not known, means it"s a complete info doc.I may get .jpeg any picture or drawing.
I thought i can use below file content conversion paramters:
Document Name : MT_DMS_FINAL
RecordSet Name : Record
RecordSet Structure : Row,*
Row.fieldNames - FirstName
Row.fieldSeparator - ;
Row.processFieldNames - fromConfiguration
Row.additionalLastFields - ignore
Row.missingLastfields - ignore
Now i put a pdf doc of unknown content , and my assumption was some set of charater would be dumped in XML and rest would be ingonered which is least bothered part in my scenario , unless i get the filename from runtime ot Adapter module developed
But in RWB CC monitoring i see below error :Error: org.xml.sax.SAXParseException: Illegal XML character: .
Any views on this , can any one help me out with the above requirment. Hope u guys got wat am trying to put out here
thx in advance for u r help
with regards
Srini -
Sender File Adapter FCC Question
Hello folks!!
I am trying to configure a FCC for Sender file adapter and wanted to consider a Line feed Carriage return line which will look as below to be a empty tag in XML. After Line 4 there will be a blank line which identifies the start of next record. I tried using Field.MissingLastFields , Field.endSeparator etc., Perhaps I am not using the correct value. Any help appreciated.
Line1
Line2
Line3
Line4
Line1
The expected XML is as below:
<Record>Line1</Record>
<Record>Line2</Record>
<Record>Line3</Record>
<Record>Line4</Record>
<Record></Record>
<Record>Line1</Record>Hi Greg
Thanks for your feedback. I tried and it didn't work. below is the FCC i have in sender adapter
RecordSetName = RecordSet
RecordSetStructure = Dummy,*
Dummy.fieldNames = Record
Dummy.endSeparator = 'nl'
Dummy.missingLastfields = add
Dummy.ignoreRecordsetName = true
Dummy.fieldSeparator = 'nl' and also I tried with Dummy.fieldFixedLengths = 255 .
Still I don't get the empty tag for the blank line in the file, so my output is still same . Please note the blank line doesn't have a space so if I place the cursor and move to next in blank line it will go to next line ( Carriage return and line feed).
Please suggest . -
Sender File Adapter with file conversion
Hi guys,
Im using a Sender File adapter with file conversion. The message to be processed has a structure with fixed lengths and in your content are some values that needs to be ignored.
An example:
value1 <b>value2</b> value3
I want to ignore <b>value 2</b> but I cant find a parameter for that! Do I need to define dummy fields on my data type and ignore those fields during mapping? Or there is a specific parameter for that?
Thanks in advance,
Ricardo.hi,
there always is another way:)
you can import the whole line to one field
and cut it inside the adapter module
(then you can define start and stop of the substring that you need to use)
but of course it's not standard even though it's quite easy to achieve in java
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
Sender File Adapter Not Showing in Decentral Adapter Engine
Hi,
We have recently implemented a Decentral Adapter Engine on a windows box. The adapter engine seems to be working fine because my adapters show and seem to work fine in it.
However, when I define a Sender File Adapter that uses File Content Conversion message protocol instead of just File messaeg protocol, the adapter does not show up in the decentral adapter engine.
I made sure that Adapter Engine parameter in the Sender File Adapter shows the new adapter engine but that does not seem to be working. If change the Adapter Enginer parameter to show the Central Adapter Engine, then I can see the Sender File Adapter on the Central Adapter engine and it works fine. (Note: The Central Adapter Engine is installed on a Unix box)
Here are the paramters I defined for the Sender File Adapter:
- Transport Protocol: File System (NFS)
- Message Protocol: File Content Conversion
- Adapter Engine: (new Adapter Name)
Source Directory: (
server/drive/path)
File Name: purchaseOrder.txt
Quality of Service: Exactly Once
Poll Interval (secs): 60000
Poll Interval (msecs):
Retry Interval (secs):
Processing Mode: Archive
Add Time Stamp (checked)
Archive Direcotry: (
server/drive/path/archive)
Process Read-Only files: (not checked)
Processing Sequence: By Name
Fiel Type: Text
File Encoding:
Operating System Command:
Additional Files (not checked)
Content Conversion Parameters
Document Name: MT_Request_File_Data
Document Namespace: http://nxy.tots/fg_admin
Document Offset:
RecordSet Name: Purchasing
RecordSet Namespace:
RecordSet Structure: Purchase_Record,*
RecordSet Sequence: Ascending
RecordSets per Message: 1
Key Field Name:
Key Field Type: String(Case-Insensitive)
Purchase_Record.fieldFixedLengths: 8,4,2,10,10,12,18,12
Purchase_Record.fieldFixedType: char
Purchase_Record.fieldNames: Request_Action,Request_PO_Num,Request_PO_LN,Request_PO_Date,Request_Purchasing_Org,Request_Purchasing_GName,Request_Created_By,Request_Vendor_Name
Purchase_Record.fileContentFormatting: trim
Adapter Status: Active
Advanced Mode: (not checked)
Your help is much appreciated.Hi Alaa,
look into this document:
http://service.sap.com/nw-howtoguides -> Exchange Infrastructure -> Troubleshooting: Adapter Engine 3.0 (Expert Call slides)
If the File Adapter works without conversion, then you should count the number of fields in a row. If it differs from the configuration, then it runs on error.
Another idea is to check the content type of the file. When you do not enter a File Encoding, then the file adapter assumes utf-8. If the file is for example latin-1, then the number of characters in a row are not counted correctly.
Regards
Stefan -
How to pick files from multiple directories via Sender File Adapter?
Hi guys,
I have a scenario File to IDOC. The Sender File Adapter has to take all files: .xml from Source directory E://Current/.
Actually directories are like
E:/Plant1/Current/
E:/Plant1/History/
E:/Plant2/Current/
E:/Plant2/History/.
Can I have one Sender File Adapter to pick all *.xml files
from
E:/Plant1/Current/ and
E:/Plant2/Current/ and how can I write it in Source Directory of Communication Channel?
Or do I have to have a Sender File Adapter for each Plant?
Any suggestion please?
Kind regards,
Danijela ZivanovicHey
You might wanna have a look at "Additional selection for source file" parameter in sender file adapter.
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/singleSenderFileCC4MultipleDirectories
XI/PI: how to exclude files in a sender File adapter?
Even though this method works but there are some constraints,please check help.sap.com for constraints.
Thanx
Aamir -
Sender File Adapter - No error, but not generating any message
I am working on a file to RFC scenario. The sender file adapter is using content conversion to read a comma delimited file. The file is being picked up and archived correctly, and the adapter monitor does not show any errors. However, the process disappears at this point. I don't see any messages in SXMB_MONI, and there is no sign that the process is reaching the RFC adapter. Has anyone ever had this happen before?
I have four line types for Buildings, Additions, Floors, and Rooms.
I list all four in the recordset structure, and I identify a key for each with the keyFieldValue parameter. I list a fieldSeparator of ',' and an endSeparator of 'nl' for each row. And i have a list of the fieldnames in the fieldnames parameter.
The only thing i'm not sure about is the keyFieldinStructure parameter. I have specified ignore there, because I don't want that field in my XML. Do I still need that field in my sender datatype, even if I'm ignoring it, or can I leave it out?
Thanks for any help. Please don't just list blogs unless they have something you think is helpful with my specific problem. I have already read all of the blogs that deal generally with the sender file adapter and file content conversion, and I need more specific help at this point.I made one error before, it IS showing up in the Recovered Adapter Audit Log (it took that log about 10 minutes to open that particular tab so I didn't notice them there).
Here is what it says there:
2006-06-12 11:22:59 Success Channel CC_S_File_FIPM_Buildings: Entire file content converted to XML format
2006-06-12 11:22:59 Warning Channel CC_S_File_FIPM_Buildings: Empty document found. Proceed without sending message
2006-06-12 11:22:59 Success File "/interfaces/one line building.txt" archived after processing
Here are my parameters in the file content conversion:
Buildings.fieldNames RecordType,PLTXT,STORT,STREET,POST_CODE1,CITY1,REGION,PARNR,X_COORD,Y_COORD,ASSIGN_SQ_FT,BLDG_NUM,CAMPUS,GR_SQ_FT,NET_SQ_FT
Buildings.keyFieldValue 'B'
Buildings.fieldSeparator ','
Buildings.endSeparator 'nl'
Buildings.keyFieldInStructure ignore
Additions.fieldNames RecordType,ASSIGN_SQ_FT,BLDG_ABBR,CAMPUS,ADDITION,BLDG_USE,BLDG__NUMBER
Additions.keyFieldValue 'A'
Additions.fieldSeparator ','
Additions.endSeparator 'nl'
Additions.keyFieldInStructure ignore
Floors.fieldNames RecordType,BLDG_ABBR,CAMPUS,ADDITION,FLOOR,ASSIGNABLE_SQUARE_FOOT,BLDG_NUMBER
Floors.keyFieldValue 'F'
Floors.fieldSeparator ','
Floors.endSeparator 'nl'
Floors.keyFieldInStrucutre ignore
Rooms.fieldNames RecordType,SHTXT,MSGRP,ADDITION,ASSIGNED_DEPT,BLDG_ABBV,FLOOR_CAMPUS,AREA,RCD_CODE,DEPT_CODE,BUILDING_NUMBER,ROOM_COMMON_KEY
Rooms.keyFieldValue 'R'
Rooms.fieldSeparator ','
Rooms.endSeparator 'nl'
Rooms.keyFieldInStructure ignore
And here is my data type:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_FIPM_BuildingUpdate xmlns:ns0="urn:XXXXXX:FIPM:Buildings:SYS">
<Buildings>
<PLTXT/>
<STORT/>
<STREET/>
<POST_CODE1/>
<CITY1/>
<REGION/>
<PARNR/>
<X_COORD/>
<Y_COORD/>
<ASSIGN_SQ_FT/>
<BLDG_NUM/>
<CAMPUS/>
<GR_SQ_FT/>
<NET_SQ_FT/>
</Buildings>
<Additions>
<ASSIGN_SQ_FT/>
<BLDG_ABBR/>
<CAMPUS/>
<ADDITION/>
<BLDG_USE/>
<BLDG_NUMBER/>
</Additions>
<Floors>
<BLDG_ABBR/>
<CAMPUS/>
<ADDITION/>
<FLOOR/>
<ASSIGNABLE_SQUARE_FOOT/>
<BLDG_NUMBER/>
</Floors>
<Rooms>
<SHTXT/>
<MSGRP/>
<ADDITION/>
<ASSIGNED_DEPT/>
<BLDG_ABBV/>
<FLOOR/>
<CAMPUS/>
<AREA/>
<RCD_CODE/>
<DEPT_CODE/>
<BUILDING_NUMBER/>
<ROOM_COMMON_KEY/>
</Rooms>
</ns0:MT_FIPM_BuildingUpdate>
I'm going to recheck everything again, but maybe you guys will see something? I don't.
Vanda -
File Content Conversion - Sender File Adapter - Record Delimeter ~
The inbound file has file has ~ as record delimeter. I am using the FCC at sender file adapter to covert this file into XML. Somehow, the file adapter is not able to interpret "~" as my record delimeter even thoough I specified "record.endSeparator = ~" in FCC.
Would someone help me with a solution?Raju,
You can also try to use the '0x7E' as endSeperator condition.
I am not sure if the HTML tag will work but this should do the trick. This should be the HEX corresponding entry
char description hex char code html
" ~ " "Tilde" "0x7e" "~" &!tilde; (without !)
greets.
in adition to this see SAP help
http://help.sap.com/saphelp_nwpi71/helpdata/en/44/655453b48a4ddfe10000000a1553f7/frameset.htm
Special Characters in Strings for Separators
In all strings for separators (NameA.fieldSeparator, NameA.beginSeparator, NameA.endSeparator), you can specify non-printable ASCII characters. These characters can each be inserted individually in the strings in the form ´0xHH´ (including the quotation marks), where HH represents the character encoded as a hexadecimal value.
Please also ensure that the "recordSet Structure" also need to be configured Correctly
for example:
Header,1,Detail,*
Header.fieldSeperator --> %parameter%
Detail.fieldSeperator --> %parameter%
Detail.endSeparator --> '0x7e'
Greets
Maybe you are looking for
-
Magic Mouse Question (does this go on this discussion board)?
Hi - I've just purchased a Magic Mouse, and have a bit of a problem: it appears as though certain applications (ok, most, but, importantly, not all) do not recognize mouse clicks. EG, if I try to close or minimize a window in Mail (or Firefox), the m
-
IPad Screen Goes Black, But Still SOUND?!?!
Hello all, As my Title, it says The IPad Screen Goes black. But when i try to scribble around I heard a noise of unlocking it. Even i tryed Home button and Power button for 10 Sec. HHHHHELPPPPP Please Answer Quickly As Possible!
-
How excactley is is the mail software from Apple works? Twice now I have experienced guys sending replies to me without me noticing because the incomin mail have been stored in the "stack" for the conversation, you know what I mean? I have though see
-
How can I get HTML source code of dynamic Web page ?
Hi, I would like to write a program that can get HTML source code of some Web pages, but there are some dynamic Web pages that I can't do it with URL class. For example: http://www.europlex.ch/web/3schedule/showAll.jsp?context=schedule. Thank you ver
-
Where do we control VBUK -CMGST
Hi Gurus, I am presently working on Credit management and work flow.Can anyone help me where can i locate CMGST field in the sales document type.I have checked the table VBUK and was able to find cmgst filed but it is defined as Sales order Administr