on 11-08-2006 12:53 PM
Hi all,
I am using a reciever File adapter and my requirement is to generate 3 different file names based on the value of an element from the Payload.For example..
Say in Payload for the first Occurence of the Data segment which contains Field-1 and Field-1 Contains value X then filename should be X.CSV,
same as
For the next occurence of the Data Segment if the Value of Field-1 is Y then File name should be Y.CSV.
Similarly For Z as well.
This is something like this...
SOurce Structure
================
IDOC
DATA SEGMENT-1
Field-1---> X
Field-2
---
---
Field 10
DATA SEGMENT-2
Field-1
Field-2
---
---
Field 10
DATA SEGMENT-3
Field-1
Field-2
---
---
Field 10
then the output and filenames should be...
X.CSV
-
Field-1
Field-2
---
---
Field-3
Y.CSV
-
Field-1
Field-2
---
---
Field-3
Z.CSV
-
Field-1
Field-2
---
---
Field-3
Kindly help, is there any way i can do this using File Adapter Configurations .Please suggest.
My problem was solved.
Thanks to all
Thanks & Regards
ANJAN P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey ,
<i><i>You have to split the messages in several messages for</i> each Data Segment.</i>
as Robin said.
So do i need to use BPM, or is there anyway to do it please suggest,could anybody guide me in detail,,,thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you can use a small business process.
There you will receiver the message in one receive step.
than you need a transformation Step with a mapping which split your message to several messages.
At least you have now a Multi Row container with one message for each data segment.
For sending each messages of this multirow container you need a block in BPM.. this you have to set to parallel processing.
Inside this block you have a sending step which send the single message.
and without BPM take a look at this Weblog(you need SP14):
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions me</a>
Regards,
Robin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You have to split the messages in several messages for each Data Segment.
In File Adapter you take the filename from the "Field1" value.
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm">File Adapter Configuration</a>
Regards,
Robin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.