on 10-30-2008 9:47 AM
Hi,
I have an input file shown below.
US16DCUSAJ05061UC010007042
US16DCUSAY90011UB010007057
US16 USB490011UC010007059
US16DCUSAJ06061UC010007068
US16HQUSAY90011UB010007099
We have to split the fixed length file based on the field from 7th to 10th character of each line (ie USAJ,USAY,USB4) and place them in separate folders.
These characters are dynamic.
We do not want to use BPM.
Can anyone please suggest an alternative way to split accordingly.
thanks
Pratichi
You can split the file using java code, i writen one java map for my interface to split based on one ID input data, You can develop java code
but u have to expertise in java
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
One way is that you can have a shell script to do this.
Or create a java proxy in the receiver side to do this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
there are two ways you can try:
1. Multi-Mapping without BPM - Yes, itu2019s possible!
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
2. you can create an adapter module that will do the split on any conditions and then
use standard conditions in directory to show to which folder the file needs to go
(sap does not recommend message splitting on adapter module but it's possible and works if done correctly)
Regards,
Michal Krawczyk
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 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.