on 01-30-2007 10:25 AM
Hello,
I tried to route the flat file by content conversation. I built the structure with the following parameter in the sender ftp:
recordset structure: Header,1,Content,100
Header.fieldNames MessageType,Sender,Receiver,Variant
Header.fieldFixedLengths 12,8,8,6,9
Header.fieldContentFormatting trim
Header.processFieldNames fromConfiguration
Content.fieldNames ContentString
Content.fieldSeparator 'nl'
Content.processFieldNames fromConfiguration
The file has got one header line and n content lines, but max 100.
Now I can route the file with the Receiver determination.
I thought I solved the problem: With files without any empty line its works fine.
But there is a problem: Some flatfiles contain a line with no content, just a 'nl'.
Now the destination file is without this empty line. But is has to look exactly the same.
Is there a possibility to look in the flatfile for receiver determination without changing the file?
I hope there is an very easy solution without Java-Mapping. It is a very simple task, so the solution should be easy too.
Hi,
One way is Use BPM to send message to multiple receivers.using block parforeach mode.
The second way is use in receiver determination with extended option to send it to multipe receivers.
To handle the empty line in sender data, here you have the same 'nl' is the field separator.
we have the NameA.enclosureConversion you can set it to No, then the char will be unaltered.
see below link.
http://help.sap.com/saphelp_nw2004s/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
Regards
Chilla..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your fast answers.
Best Regards or 'Liebe Grüsse'
Matthias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
matthias
pls refer to the link
<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/ae/d03341771b4c0de10000000a1550b0/frameset.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/ae/d03341771b4c0de10000000a1550b0/frameset.htm</a>
A part from the above link:
<i>Choose Handling Empty Messages
○ Write Empty File
○ An empty file (length 0 bytes) is put in the target directory</i>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Matthias,
create a BPM with a message-mapping that deals with you lines (empty or not).
The result should be a message that looks always the same, no matte if the origin message had 'nl' or not.
Send the new message from BPM back to your ID an than find the fitting receiver by a condition in the receiver determination.
Regards mario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.