2007 Jun 20 9:02 AM
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.
2007 Jun 20 9:14 AM
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.
2007 Jun 20 9:06 AM
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
2007 Jun 20 9:09 AM
HI Sudeer!
Thanks for your reply I know this apart form this, any scenarios of using on input & on request.
Thanks.
2007 Jun 20 9:12 AM
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.
2007 Jun 20 9:14 AM
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.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |