Application Development and Automation 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: 
Read only

Issue! ON Input & ON Request In Dialog Progamming!

Former Member
0 Likes
1,809

Hi Guys!

Can u pls tell me when to use ON INPUT AND ON REQUEST Both seems to be same for me

what i understood is,

On input triggers & calls module when, we changes the field initial value

for eg: char field default value is blank so we need to enter data

num field default value is zeroes so if we change it, so on input calls module.

This is same as on request

where on request call a module when user changes data from the last screen display

Pls tell me their diff & scenarios with eg of using them.

Looking for your replies.

Thanks In ADVANCE.

RAHUL.

1 ACCEPTED SOLUTION
Read only

ibrahim_u
Active Participant
0 Likes
913

ON INPUT = Case 1 : if the field has not initial value, on input is triggered.

Case 2 : if the field type NUMERIC, when you enter 0 (zero), this triggered again, but if you enter space, this will NOT triggered.

If the field has initial value (space or zero) this event is not triggered.

ON REQUEST = if you change the value of the field, this event triggered.

4 REPLIES 4
Read only

Former Member
0 Likes
913

Hi,

<b>

ON INPUT</b>The ABAP module is called only if the field contains a value other than its initial value. This initial value is determined by the data type of the field: Space for character fields, zero for numeric fields. Even if the user enters the initial value of the screen as the initial value, the module is not called. (ON REQUEST, on the other hand, does trigger the call in this case.)

<b>ON REQUEST</b>

The module <mod> is only called if the user has entered something in the field. This includes cases when the user overwrites an existing value with the same value, or explicitly enters the initial value.

In general, the ON REQUEST condition is triggered through any form of "manual input".

Regards

Sudheer

Read only

0 Likes
913

HI Sudeer!

Thanks for your reply I know this apart form this, any scenarios of using on input & on request.

Thanks.

Read only

Former Member
0 Likes
913

hi,

POH - process on help request event is mainly useful for providing help to user. this event is triggered when user clicks on F1 button on the filed which is assigned to this event. useful to provide documentation to the screen fields or even to entire screens.

POV - process on value request is used for giving the option to user for selecting an value from the given list which can done using value table. this event triggers when user clicks ofn F4 function key on field which this event is assigned.

if useful reward some points.

with regards,

suresh.

Read only

ibrahim_u
Active Participant
0 Likes
914

ON INPUT = Case 1 : if the field has not initial value, on input is triggered.

Case 2 : if the field type NUMERIC, when you enter 0 (zero), this triggered again, but if you enter space, this will NOT triggered.

If the field has initial value (space or zero) this event is not triggered.

ON REQUEST = if you change the value of the field, this event triggered.