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

cl_abap_typedescr=>describe_by_name problem with output length

Former Member
0 Kudos

Hello Friends,

I am using "CALL METHOD cl_abap_typedescr=>describe_by_name" for creating a dynamic table .

With this the table gets generated correctly. Problem I am facing is with WBS element (PSPNR)

Standard output length is 24 but in my program it is showing 21. I am interested in having the output length 24.

Any body faced this problem before. ?


Vinayak .


Former Member
0 Kudos


I used POSID instead of PSPNR.



0 Kudos

Try to debug and check what value is coming in the internal table. May be the variable which you are using to display the results and short and thats why it's not display the last 3 characters.

Former Member
0 Kudos

Hi Vinayak,

Edited by: Raj on Jul 27, 2010 12:32 PM