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

select a record from step loop to delete that record

Former Member
0 Likes
912

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

2 REPLIES 2
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
766

Hi Souvik

When person press remove what does get cursor returns you..?

Nabheet

Read only

Former Member
0 Likes
766

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