Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ABEND while creating file in the application server

Former Member
0 Likes
687

Dear All,

Please provide the solution for the following.

REPORT ZMAIN.

SELECT BKORM UP TO 1000

EXTRACT ext.

ENDSELECT

Imagine, now the extract file having 1000 Entries

  • Reading the above EXTRACT file

LOOP .

submit ZSUB.

ENDLOOP.

-


End OF Main Program----


REPORT ZSUB.

SELECT BKORM UPTO 500

EXTRACT ext.

ENDSELECT

Here for each submit of the ZSUB, it is creating one EXTRACT file in the application server. When it reaching to create 999, it is going for ABEND.

Can anybody provide the solution to avoid going for ABEND .

Is there any restriction to create extract files in the applciation server?

Thanks in advance.

4 REPLIES 4
Read only

roberto_vacca2
Active Contributor
0 Likes
641

Instead of select/endselect, try to use a loop with internal tables..

There's no limit in the extracts you can do..

<removed by moderator>

Edited by: Thomas Zloch on Nov 2, 2010 5:20 PM - please do not ask for... -> Ok

Edited by: Roberto Vacca on Nov 2, 2010 5:29 PM

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
641

What is the abend message ?

Read only

0 Likes
641

Exception: EXTRACT_RESOURCEHANDLER_FAILED

Description: Error deleting the external database file extract

Read only

Former Member
0 Likes
641

Hi,

Are you using BDC session method ?

Regards

Bikas