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

Table Width

MariaJooRocha
Contributor
0 Likes
2,560

Hi SCN,

According note https://launchpad.support.sap.com/#/notes/355898:

Table width <= 1962 bytes (<= 4030 bytes as of Release 6.20 SP25)

Where, exactly, can we see the value of the table width?

Is it, for example, SE11\Extras\Table Length?

Here we have the strcuture witdh:

- Dictionary

- ABAP

Should we consider the Dictionary value or the ABAP value?

Thanks.

Regards,

1 ACCEPTED SOLUTION
Read only

Sandra_Rossi
Active Contributor
2,214

Easy and fast to check yourself.

Just checked with HANA database, ABAP 7.52, I created a transparent table with several character fields and it's 4030 characters/bytes at ABAP dictionary (SAP considers for this restriction that 1 character = 1 byte).

6 REPLIES 6
Read only

Sandra_Rossi
Active Contributor
2,215

Easy and fast to check yourself.

Just checked with HANA database, ABAP 7.52, I created a transparent table with several character fields and it's 4030 characters/bytes at ABAP dictionary (SAP considers for this restriction that 1 character = 1 byte).

Read only

GManousaridis
Participant
2,214

Hi Maria,

I will try to answer your question, in pieces:


1) How can I check a table's length?

I believe your answer is described in note 2458652.

Taken exactly as it is from the note:

Please note that, the check result via SE11-> Extras -> "Table Length..." is just for your reference, but not accurate.

To check the exact length for one individual table, you can use report ZOSS_TAB_LEN_GET attached in this KBA by specifying the table name in screen field "IV_TABNM".

PS. For your convenience I attached the report mentioned above, which of course can be found int the note, mentioned above.


2) Should I consider Dicitonary or ABAP length, when opening SE11-> Extras -> "Table Length..."?

Well, although SAP itself, emphasizes the instability of this tool, if you still want to consider it, you should keep the Dictionary values, because the ABAP ones are relative to the runtime. So if your quest would be to find the size of the relative runtime object (internal table), the ABAP values would be the ones you would be looking for.

PS. Check the info button at SE11-> Extras -> Table Length -> Info, for more information.

BONUS

You may need to consider the include RADTBCON, where you can check (through se38), if the length limits have been specifically changed for your system or the defaults have been kept.

Cheers,

George

zoss-tab-len-get.txt


George Manousaridis -- Break on through to the ABAP side
Read only

0 Likes
2,214

Thanks for the answer. Unfortunately SCN just accept 1 correct answer.

Regards,

Maria João Rocha

Read only

2,214
mariajoopaulo.rocha You may change the "best answer" at any time.
Read only

2,214

In this case I'd like to have 2 best answers!

Thanks.

Read only

0 Likes
2,214

Points and missions are ok, but the real deal is sharing knowledge! So no worries for having to choose an answer. The best redemption would be to try and answer the question of another community fellow. Cheers!!


George Manousaridis -- Break on through to the ABAP side