on 10-22-2013 3:23 PM
Hello Friends,
In my requirement, I need to ignore the empty file in the receiver channel.
For this reason I use the module "StrictXml2PlainBean" in my receiver channel.
Please find the attached file "DataStructure.gif" file for my input structure.
I applied the following parameter in the receiver channel.
recordTypes - row,CHECK_HEAD,CHECK_REC
row.ContentType - text/plain
row.endSeparator - \r\n
CHECK_HEAD.fieldLengths -1,3,15,15,18,3,8,3
CHECK_HEAD.fieldLengthExceeded - cut
CHECK_HEAD.endSeparator - \r\n
CHECK_REC.fieldLengths - 1,8,13,11,15,10,8,3
CHECK_REC.fieldLengthExceeded - cut
CHECK_REC.endSeparator - \r\n
When I place the input file, the message is failiing with error "The element nesting level for the structure row is too deep".
Could you please clarify friends? How to fix using this Module? (since this is the only module to ignore empty file)
I cannot remove 'row' also since 'row' node is created based on one condition and logically grouping records.
I tried using "singleRecordType" parmeter also. It did not work.
Thanking you.
Kind regards,
Jegathees P.
Hi
The standard FCC allow only 3 levels where as in you structure you have 4 levels.
CashedCheckUploadRFEB
row
CHECK_HEAD,CHECK_REC
RECTYP,HEADNUm ...
Change your strcuture little bit. Remove that top node
CashedCheckUploadRFEB. So under message type row will be your top node. This will solve your problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In my requirement, I need to ignore the empty file in the receiver channel.
you can use below option in the receiver adapter.
10. Select Empty Message Handling:
○ Write Empty File
An empty file (length 0 bytes) is put in the target directory.
○ Ignore
No file is put in the target directory.
help link:
http://help.sap.com/saphelp_nwpi711/helpdata/en/44/6830e67f2a6d12e10000000a1553f6/content.htm
Regards,
Muniyappan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.