in

MODULE POOL PROGRAM – ON INPUT

<strong>Data : N1 type i, </strong>
<strong>    N2 type i,
    ok_code type sy-ucomm.</strong>

<strong>moduleSTATUS_9000output.</strong>
<strong>*SETPF-STATUSxxxxxxxx.</strong>
<strong>*SETTITLEBARxxx.</strong>

<strong>endmodule.STATUS_9000OUTPUT</strong>

<strong>moduleUSER_COMMAND_9000input.</strong>
<strong>CASEOK_CODE.</strong>
<strong>WHENSHOW.</strong>
<strong>CALLSCREEN9001.</strong>
<strong>ENDCASE.</strong>
<strong>endmodule.USER_COMMAND_9000INPUT</strong>

<strong>moduleSTATUS_9001output.</strong>
<strong>*SETPF-STATUSxxxxxxxx.</strong>
<strong>*SETTITLEBARxxx.</strong>
<strong>N2=N1.</strong>
<strong>endmodule.STATUS_9001OUTPUT</strong>

<strong>moduleUSER_COMMAND_9001input.</strong>
<strong>CASEOK_CODE.</strong>
<strong>WHENBACK.</strong>
<strong>CALLSCREEN9000.</strong>
<strong>ENDCASE.</strong>
<strong>endmodule.USER_COMMAND_9001INPUT</strong>

<strong>moduleCHECK_N1input.</strong>
<strong>N1=N1+10.</strong>
<strong>endmodule.CHECK_M1INPUT</strong>

<strong><u>FLOW LOGIC OF SCREEN 9000</u></strong>

<strong>PROCESSBEFOREOUTPUT.
MODULESTATUS_9000.</strong>

<strong>PROCESSAFTERINPUT.</strong>
<strong>FIELDN1MODULECHECK_N1ONINPUT.</strong>
<strong>MODULEUSER_COMMAND_9000.</strong>


<strong><u>
</u><u>FLOW LOGIC OF SCREEN 9001</u></strong>

<strong>PROCESSBEFOREOUTPUT.
MODULESTATUS_9001.</strong>

<strong>PROCESSAFTERINPUT.</strong>
<strong>MODULEUSER_COMMAND_9001.</strong>

  • Execute the program and if you give any value to the input field (n1) then only CHECK_N1 module will execute.

  • Now Click the SHOW & BACK button many times to see the change. If it search any value in the input field (n1) then every time CHECK_N1 module will run & it will add up 10 to its value.

What do you think?

-1 Points
Upvote Downvote

Written by admin

Leave a Reply

Your email address will not be published. Required fields are marked *

Simple MODULE POOL PROGRAM

MODULE POOL PROGRAM – ON REQUEST