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

Clearing entries from DSEG table (global data segments) programatically

former_member195698
Active Contributor
0 Likes
789

Hi All,

Is there any way to clear the global datasegment DSEG table programatically.(Through ABAP code or using any FM )

In an internal mode, a maximum of 32768 global data segments can be managed. The administration is done by global segment table DSEG. So, if this limit is exceeded, runtime error GETWA_TOO_MANY_SEGMENTS is triggered.

I want some way to clear the entries from DSEG to prevent the Dump.

Regards,

Abhishek

5 REPLIES 5
Read only

Former Member
0 Likes
668

DSEG is a global segment table which you cannot control (or 'cleanup' via abap).

analyze the dump. does it always appear in the same application? then search service.sap.com/notes with GETWA_TOO_MAY_SEGMENTS and your application. this will be solved by applying the appropriate notes, for example 524562.

the dump analysis might also lead to your basis-guys having to apply another kernel patch like mentioned in note 925592.

Read only

0 Likes
668

Hello Mylene,

I have already checked all the Notes related to GETWA_TOO_MANY_SEGMENTS but none of the note provided any help.

I need some way to remove the entries from DSEG

Regards,

Aj

Read only

0 Likes
668

i told you that this error can have various reasons.

find them and analyze them.

you cannot access DSEG - this is not in the nature of this 'table'. please re-read my answer.

Read only

0 Likes
668

I have done the analysis at my side. After that only i came to the forum.

Thanks for the Reply.

Regards,

Aj

Read only

former_member195698
Active Contributor
0 Likes
668

Not possible. Work around using call function in a new task