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: 

Module Pool Programming

Former Member
0 Kudos

Hello All,

I wanna know the screen number which we can used in module pool-screen painter being an abaper and what is the difference between

FIELD M1

MODULE X1 ON INPUT . and

FIELD M2

MODULE X2 ON REQUEST??

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

In the Module Pool Program you can you the screen numbers till 9000. Screen numbers greater than 9000 are reserved by SAP for SAP System Customers.

Also the Screen numbers from 1000 to 1010 are reserved for the maintainence for ABAP Dictionary Screens.

FIELD F1 MODULE M1 ON INPUT.

If you use the ON Input addition in a MODULE Statement after FIELD, the MODULE is only called if the field contents have changed their initial values.

FIELD F2 MODULE M2 ON REQUEST.

If you use the ON REQUEST addition in a FIELD Statement, the MODULE is called only if the user enters a new value in the field.

Thanks and Regards,

Samantak.

Rewards points for useful answers.

2 REPLIES 2

Former Member
0 Kudos

Hi,

In the Module Pool Program you can you the screen numbers till 9000. Screen numbers greater than 9000 are reserved by SAP for SAP System Customers.

Also the Screen numbers from 1000 to 1010 are reserved for the maintainence for ABAP Dictionary Screens.

FIELD F1 MODULE M1 ON INPUT.

If you use the ON Input addition in a MODULE Statement after FIELD, the MODULE is only called if the field contents have changed their initial values.

FIELD F2 MODULE M2 ON REQUEST.

If you use the ON REQUEST addition in a FIELD Statement, the MODULE is called only if the user enters a new value in the field.

Thanks and Regards,

Samantak.

Rewards points for useful answers.

Former Member
0 Kudos

Hi

U can use every number u prefer from 0001 to 9999.

Anyway it's better not to use number 1000 because it's usually used to generate the dynpro for the selection-screen.

MODULE ON REQUEST: this module is triggered as soon as the value of the field is changed.

Max