11-21-2007 3:58 PM
Hi Folks,
does anyone know a possibility to access the number of DSEG entries from ABAP?
You can see the DSEG count while debbuging via System -> System Area -> enter "DSEG"
The idea is to check the DSEG count in a large transaction (every dialog step) to inform the user to save and restart the transaction.
Thanks in Advance
Dominik
12-12-2007 4:14 PM
Solution:
CALL 'AB_TEST_KRN'
ID 'OpCode' FIELD 11.
SY-SUBRC < 0: function is not available
SY-SUBRC > 0: SY-SUBRC = # segment entries
This function comes with Kernel Patch 2202 (46D)
12-12-2007 4:14 PM
Solution:
CALL 'AB_TEST_KRN'
ID 'OpCode' FIELD 11.
SY-SUBRC < 0: function is not available
SY-SUBRC > 0: SY-SUBRC = # segment entries
This function comes with Kernel Patch 2202 (46D)
05-19-2008 4:18 PM
I have the same problem but I have SAP version 4.6c and the function you say don't work, do you know another solution to know number of dseg entries??
10-23-2009 3:20 PM
Do we have give any specific value in Opcode..
---
CALL 'AB_TEST_KRN'
ID 'OpCode' FIELD 11.
SY-SUBRC < 0: function is not available
SY-SUBRC > 0: SY-SUBRC = # segment entries
-
Tried with 4.6c with Kernel patch as mentioned in OSS Note 925592
he access function is contained in 46D kernel patch 2202 (patch text:
Access to current count of DSEG entries").
It is giving -1 in 4.6c
and it is giving -2 in ECC 6.0
Thanks
Raghuraman S