on 08-17-2006 5:14 PM
hi friends,
my task was one file to one idoc the file has large no of records Condition is that if the number of items in the idoc after conversion crosses 999 it should report as error.
i did some work for usual file to idoc procdure,ie. normal mapping and stuff,now what changes do i make.
does the idoc field document item number help in this regard.
for a trial i mapped one of the item number as index.
can any one help me please.
thanks in advance
thank you friends i will try all your advises, many many thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi kutumba,
Why do you want to check if your files as more 999 lines?
Is is due to a business rule ? or because you have a technical dump if file has 1000 lines?
I ask you that, coz if this the 2nd case, there are some OSS notes to correct a such error. Personnaly, I send regurlaly files with 10.000 lines without problem.
For the count, another way is to manage the count directly in your Message Mapping:
1. add a field called "nbr_lines" in the target Message Type
2. use function "Count" between the root of your source Message Type and this field "nbr_lines".
3. In your BPM (or directly in the Interface determination) add your check condition.
Mickael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think you should use BPM. You have to Receive the file and then find the count of records in the file and if the count is greater than 999 throw an exception.
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.