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: 

Maintenance Transaction Table

Former Member
0 Kudos
67

Hi guys,

I have created a maintenance transaction for a custom table. It is using an SAP standard. It has an initial screen of showing 2 fields that is used to filter data.

If there is no value placed in the second parameter, the cursor should automatically go to the blank text field.

Is this possible? I used

SET CURSOR FIELD 'FIELDNAME'.

but not successful.

<b><REMOVED BY MODERATOR></b>

Thanks in advance.

Benedict

Message was edited by:

Alvaro Tejada Galindo

1 REPLY 1

Former Member
0 Kudos
36

Is this what you are looking for:

  field  your_field   module validate_your_field    on request.

*&---------------------------------------------------------------------*
*&      Module  VALIDATE_your_field  INPUT
*&---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
module validate_your_field input.

  IF your_field IS INITIAL.
    MESSAGE E000.
  ENDIF.
endmodule.                 " VALIDATE_your_field  INPUT