Skip to Content
0
Former Member
Apr 20, 2010 at 06:21 AM

DDIC-Structure -> Need Byte Length of a DDIC-STRUCTURE!!!

729 Views

Hello,

how can I write a Report/ Function that becomes in Input each DDIC-Structurename and gives the user an Output back, that contains the whole Byte Length of the STRUCTURE.

For Example, we have an DDIC-Structure with name structure_example:

Name TYPE c LENGTH 15,

Firstname TYPE c LENGTH 10,

Street TYPE c LENGTH 30,

ZIP-Code TYPE int2 LENGTH 5.

Their must existing a Functionality which can used the structurename and gives the user the Byte Length of the Structure back.

In our example the user gets for "structure_Example" the Output "60" Bytes back.

Input: structure_example

Output: 60

I hope someone can give me a solution to solve this problem.

Thanks for all help in this forum.

With kind regards

ETN