2010 Feb 12 4:19 PM
Hi,
I use the instruction SUBMIT to call the standard program RFHABU10.
The submit contains the document number as a range.
For few document number there is no problem but for one year I have more than 31000 document number in this range and the standard program dump at the selection on BKPF.
I do not have the ST22 and it seems to be a "Oversize of the range.".
How can I catch the exception or how can I determine that the range is too big?
Thanks for your help.
David
Edited by: David31 on Feb 12, 2010 5:20 PM
2010 Feb 12 4:30 PM
Do you know the document numbers? So you could loop at the numbers and build packages before SUBMIT.
Do you know the document numbers? So you could loop at the numbers and build packages before SUBMIT.
2010 Feb 12 4:30 PM
Do you know the document numbers? So you could loop at the numbers and build packages before SUBMIT.
2010 Feb 12 5:41 PM
I know the document numbers but i can not split them.
I will may try to catch the exception CX_SY_OPEN_SQL_DB from the program. But not sure.
Is there a way to determmine max size of a range? I find any solution...
Thanks
Edited by: David31 on Feb 15, 2010 11:37 AM
2010 Feb 16 8:05 AM
Hi,
I do not find a solution.
There are some informations about ranges in the OSS note 635318.
The question will still opened until a solution will be found.
David31
Edited by: David31 on Feb 16, 2010 9:06 AM
2010 Feb 16 8:19 AM
Hi,
The range table's size is limited by the database system.
Alternatively, you could write a logic that puts all the data in ranges into an internal table.
Do watch out for 'I', 'E', 'BT', 'EQ' and others.
Come up with a logic where you can populate all these data into an internal table.
Submit this internal table to your called program.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |