Question:
HI,
Can anyone help with this ?
I have a simple table control transaction that displays a list to the screen.
What I need to do is delete a 'Selected Row' from the list.
How do I recognise the selected row , from my PAI flow logic and then in my ABAP module ?
Regards,
Joe
Answer:
Include a field at the somewhere in your table. Call it 'SEL' perhaps, defined as XFELD.
Then when you create your table using the table wizard (You are on 4.7 aren't you only you don't say and I've a cold today that's affecting my telepathic abilities. Even my tie has uncurled...... ?) Add all the fields to the table control except the SEL field.
Then where it asks you for a selection field enter 'SEL'.
In your PAI the details of the table control are transferred back to your internal table that holds the data to display on the screen. If the user selects a row in the table control by clicking the 'Select row' button then the value of SEL for that row will be 'X'.
You can then carry out any processing you need by looping at your itab WHERE SEL = 'X'.
_________________
Regards
R
Abap KC
SFMDR
Answer:
Hi
Use internal tables and sy-stepl system field
regards
ravi