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: 

How I can change row in Table Control

Former Member
0 Kudos

Actually I am trying to select only one row in a table control when the table control is blank. In that Table control radio button column is present..

1 ACCEPTED SOLUTION

horst_keller
Product and Topic Expert
Product and Topic Expert

The trick is, to append an initial line during PBO.

13 REPLIES 13

horst_keller
Product and Topic Expert
Product and Topic Expert
0 Kudos

And what's the question?

Former Member
0 Kudos

I want to remove all rows except 1st row...

horst_keller
Product and Topic Expert
Product and Topic Expert
0 Kudos

And what hinders you?

former_member182550
Active Contributor

Hi Horst,

The original question holds the answer:

"Actually I am trying to select only one row in a table control when the table control is blank."

Well....it strikes me that if the table control is blank, there is not a row to select. If there is not a row to select you cannot select it. Seems a bit tautological to me. Unless of course you are running on a quantum computer where all possibilities are available until you the observer make an observation......

ohhh my.... I should never read questions to my collegue across the desk.

Apart from the immediate "Well it's beeeeeeep blank so how does he expect to delete a beeeeeeeeeeeeeep line" he then goes on with "But whilst the table itself is blank, the table control object will display as many rows as is defined in the screen for the table control but since the table is empty....lets get all existential about this"

😞

former_member182550
Active Contributor

<wonders absentmindedly if this question will dissappear>.....

Hmmmm.......

horst_keller
Product and Topic Expert
Product and Topic Expert
0 Kudos

Something like this,

an empty table control with one line selected?

Seems that that is possible in ABAP without quantum computer ...

former_member182550
Active Contributor
0 Kudos

yes....but you can't delete it because it doesn't exist...... as such....

horst_keller
Product and Topic Expert
Product and Topic Expert
0 Kudos

That's what you think ...

The trick is, it's an initial line appended during PBO.

And that's what you have to do, if you have such a use case.

But I guess, the guy wants something else.

former_member182550
Active Contributor

I learn something new every day.

Former Member
0 Kudos

Thank you..Its working.

horst_keller
Product and Topic Expert
Product and Topic Expert

The trick is, to append an initial line during PBO.

horst_keller
Product and Topic Expert
Product and Topic Expert

Wow, I put it into an answer ...

Jelena
Active Contributor
0 Kudos

In such case maybe you could close the question?