2014 Feb 20 1:21 PM
Hi Experts,
I have a few records in my step loop out of which i want to delete just one record using set cursor/get cursor. In screen there is no check box or radio button. So i have to read particular record through cursor. Please help me with exact code.
That is the particular screen when user presses 'REMOVE' the particular record is deleted where cursor is placed.
i already went through F1 help but i am unable to figure out how to do it
Regards
Souvik Sen
Hi Experts,
I have a few records in my step loop out of which i want to delete just one record using set cursor/get cursor. In screen there is no check box or radio button. So i have to read particular record through cursor. Please help me with exact code.
That is the particular screen when user presses 'REMOVE' the particular record is deleted where cursor is placed.
i already went through F1 help but i am unable to figure out how to do it
Regards
Souvik Sen
2014 Feb 20 3:32 PM
Hi Souvik
When person press remove what does get cursor returns you..?
Nabheet
2014 Feb 21 3:20 AM
Hi,
At PBO you can set the cursor on a specific field of a specific row of a table control.
SET CURSOR FIELD f LINE lin [OFFSET off].
Using the optional addition OFFSET, you can enter the offset of the cursor in the field as described under setting the cursor position.
At PAI you can read the current cursor position.
GET CURSOR FIELD f LINE lin ...
Refer to this standard program: DEMO_DYNPRO_SET_CURSOR
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |