Skip to Content
0
Former Member
May 21, 2009 at 05:33 AM

Set pf-status in dialogue box

1768 Views

Dear Experts,

I have developed a report using module pools and as per my requirement a Pop-up window

with lots of selection criteria appears after the user enters the input in the selection-screen.

In my Pop-window I have a field called eqtyp ( equipment type category ) with F-4 help.

There are only 5 categories ( 'C','E','I','M','O').

as per my requirment I have created a push button on the screen,

MODULE DISPLAY INPUT.

  CASE SY-UCOMM.
    WHEN 'ENT'.
      IF EQTYP-LOW = 'C'.
        MOVE 'John Rathnaraj.V' TO NAME.
        MOVE 'Sr Executive' TO DESG.
        MOVE 'Civil' TO DEPT.
      ELSE."IF EQTYP-LOW NE 'C' OR EQTYP-LOW NE 'E'.
        CLEAR: NAME,DESG, DEPT .
      ENDIF.
  ENDCASE.

ENDMODULE.                 " DISPLAY  INPU

Now the user is asking that, if they press ENTER in key board the above event should fire.

Please advice is this possible else advice me how to set PF-STATUS in dialogue box or Pop-up window.

Please advice

KArthik