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

modify custom table from internal table

Bharath84
Participant
0 Likes
1,149

Hi All,

In my module pool program I am having a table control. I enter the data in the table control and save it to custom table. I used modify statement and the records are getting added in my custom table. But when I verified the data in the custom table in SE11, for each field value there is a leading space added for each field value.

I checked my internal table in debugging, and all the values are populated properly without any leading space.
Does anyone have any idea why leading space is added for my entries.


Thanks,

HT

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
937

Have you tried to use the condense before modifying the table ?

2 REPLIES 2
Read only

Former Member
0 Likes
938

Have you tried to use the condense before modifying the table ?

Read only

mangesh_parihar
Explorer
0 Likes
937

Hi,

Before calling modify statement, check in debugger if the fields are adding extra spaces in the field. If yes, use condense statement as suggested by rachid.

Thanks,

Mangesh Parihar