on 11-09-2009 8:22 AM
Hi,
I am doing a IDOC to file scenario, where I am using BPM to collect Idocs for 3 minutes and then generate a file whith those many idocs.
File is getting generated at receiver side with one ot rwo Idocs, But when I am triggering more than two Idocs then I am getting a error String index Out of range :9 in one certain field of file.
Why is it so?
Please help me out.
Regards,
Sachi
I am getting a error String index Out of range :9 in one certain field of file.
zunor---->substring(6...9)---->codmdlveh
Check the field length....i feel that the string (zunor) ends before the 9th position.....so the substring is failing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This may happen when some length-limit is exceeded.....check if any field/ process is having any limit defined.
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks abhishek for your response.
But still I am not able to resolve the problem.
I am trying to map field ZUONR(of idoc) having max length 18 with field CODMDLVEH(of file) with max lenth 8 using substring.
as zunor-->substring(6...9)-->codmdlveh
with one or two idocs mapping works fine..
I am not able to understand why it fails in BPM with String index out of range:9 when more than two idocs are triggerd.
Sachi
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
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.