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: 

cursor , Exit

Former Member
0 Kudos

<b></b>

Where can the SET CURSOR command be executed? What is its effect?

What is the purpose of the 'AT EXIT-COMMAND'?

How can you check if the changes to the database were successful?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Joy,

Where can the SET CURSOR command be executed? What is its effect?

- it is used in BDC's as well as in TABLE CONTROLS. It will put the cursor at the specified field.

What is the purpose of the 'AT EXIT-COMMAND'?

- When you want to EXIT from a particular screen after the error message..you can write it in this event

How can you check if the changes to the database were successful?

just by checking the value of sy-subrc. IF it is 0 then it is successful.

Reward points if useful.

Regards,

Atish

2 REPLIES 2

Former Member
0 Kudos

Hi Joy,

Where can the SET CURSOR command be executed? What is its effect?

- it is used in BDC's as well as in TABLE CONTROLS. It will put the cursor at the specified field.

What is the purpose of the 'AT EXIT-COMMAND'?

- When you want to EXIT from a particular screen after the error message..you can write it in this event

How can you check if the changes to the database were successful?

just by checking the value of sy-subrc. IF it is 0 then it is successful.

Reward points if useful.

Regards,

Atish

Former Member
0 Kudos

Hi,

it is used in BDC's as well as in TABLE CONTROLS. It will put the cursor at the specified field.

AT EXIT-COMMAND, only checks for the function code which is marked as 'E' in PF-STATUS, and the module below that is executed whenever you press that key associated with the function code.

<b>Reward points</b>

Regards