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.
cancel
Showing results for 
Search instead for 
Did you mean: 

Changing Table Control Properties in a report

vinotha_m
Participant
0 Kudos
99

Hi ,

Whenever a table control is filled with data from an internal table, the rest of the rows becone uneditable.

Is there any way i can still add rows to the same internal table ie. using the Table control.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
80

Vinotha,

Yes you can do this by <table control name>-lines property.

Get the max number of lines in itab, add it by 1 and then set the new value to <table control name>-lines in your PBO.

code will look something like this in PBO

Describe table itab into w_lines.

<table control name>-lines = w_lines + 1.

Hope this helps.

Ravi.

3 REPLIES 3

Former Member
0 Kudos
81

Vinotha,

Yes you can do this by <table control name>-lines property.

Get the max number of lines in itab, add it by 1 and then set the new value to <table control name>-lines in your PBO.

code will look something like this in PBO

Describe table itab into w_lines.

<table control name>-lines = w_lines + 1.

Hope this helps.

Ravi.

0 Kudos
80

Thank You so much Ravi.

It worked

Former Member
0 Kudos
80

This is by far the simple and great answer for this question.

Thanks a bunch.

Regards

Shiv