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

Getting junk character in structure

Former Member
0 Likes
930

Hello all,

I am using the mentioned class and method : cl_abap_container_utilities=>read_container_c , it contain exporting parameter i,e. ld_container it contain value i.e 7.

once this method will get execute the structure gs_z2krebate_report it contains junk characters ,please help me in that why this happening.

Please find attached screen shot for reference.

method.pngstruture-junk-char.png

Hello all,

I am using the mentioned class and method : cl_abap_container_utilities=>read_container_c , it contain exporting parameter i,e. ld_container it contain value i.e 7.

once this method will get execute the structure gs_z2krebate_report it contains junk characters ,please help me in that why this happening.

Please find attached screen shot for reference.

method.pngstruture-junk-char.png

1 REPLY 1
Read only

matt
Active Contributor
0 Likes
849

The junk characters are merely x00.

Beyond that there's not much to say, as you have not given much in the way of relevant information. You've not explain what you are trying to achieve, nor what result you expect.

You give the container 7. You get in gs_z2krebate_report the number 7. It's working exactly as you've programmed it.