on 04-20-2010 6:41 PM
Hi SapAll.
here i have got a tricky situation on Idoc to File Scenario.
in my interface of an Idoc to file ,there is requirement to create multiple files with different file names but with same content based on one Idoc Segment.
which means there will be one Zsegment with two fields in the idoc,where one field with (content refers to the name which file name should start with .so lets say if this segment is repeated for 3 times then PI should create 3 files in the same directory with same content but with different file names (from the filed).
so here for now iam using one reciever file communication channel.
can any body give me the quick answer.
regards.
Varma
What do you mean by different names?
when i make proper setting in the Receiver Channel....on how to create the filename (what to append) like add Timestamp, counter, date, messageid.....even in this case you will ahve file with different names and that too from same File channel.
You can perform multi-mapping in XI/ PI and then your File channel will place the files in the target folder with relevant names. You cannot use Dynamic Configuration with Multi-Mapping!
If you intend to use different File channels, then do the configuration as required (normal)...even over here you can follow multi-mapping.
Do not use a BPM!
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abhisek.
wat do u mean by different names ?
as i explained earlier,there will be one zsegment Z1EDRIMEDL20 with 2 fields under sender Idoc
- The shortcode will be obtained from Z1EDRIMEDL20-TITLE in order to be used to create the file name.
- There may be more than one record in this segment type. One file should be created for each record in this segment with exactly the same data.
the file name shoule b ein the format
sapimpasnddd_<datetimestamp>.xml where ddd is the short code and the datetimestamp is in the format yyyy-mm-ddThh_mm_ss.
regards.
Varma
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.