Академический Документы
Профессиональный Документы
Культура Документы
Cuando creas la primera field exit, sta es a nivel global, es decir actuara sobre cualquier campo que est
definido con el elemento de datos sobre el que has creado la field exit.
Si lo que se pretende es que la field exit slo actue a nivel de determinados dynpro, se ha de seleccionar la
field exit, y seleccionar Asignar prog/dynpro, entonces aparecer una ventana en la que te pedir un n de
funcin y el programa / dynpro sobre el que quieres que actue la field exit. Si se declara alguna field exit
a nivel de dynpro, no funcionar la field exit a nivel global.
Cuando ya se ha haya definido la field exit, se debe activar para que funcione.
0029377
0015 from 28.10.1999
Released for customer
SAP AG on 28.10.1999
Language
Short text
EN
Questions and answers: field exits (CMOD)
Administrator
SAP AG
Component
BC-DWB-CEX Customer Extensions
________________________________________________________________________
Long text
Symptom
Problems with, and questions concerning field exits
Additional key words
SMOD/CMOD, field exits
Cause and preconditions
..
Solution
1. Field exit was created with CMOD, but is not processed when calling
the screen.
o
Since the field exit is not processed until PAI, an action must be
triggered on the screen (Return, Save, ...).
Using SE51 -> Field list, check that the screen field does have a
reference to a data element. In the name of the field exit use the
name of the data element and not the field name.
After transport, field exits are marked as active but will not be
processed. Tip: First try deactivating the field exit once more
and then afterwards, activate it again.
Page 2
update. The user should not notice any difference because screen
generation is very fast.
3. Can you read the contents of other screen fields in the field exit?
o
In principle, every field exit can store its value in the global
variables of the function group (TOP) and hence make them
available to other field exits. Note here that field exits are
always called and not only if an entry is made in the field or if
the field is empty. In addition, it is not possible to make any
assumptions about the order in which the field exits will be
called in the future.
After the user has entered data, the field exit is called in PAI
as often as there are visible fields in the step loop. The system
variable SY-STEPL is incremented each time. If a new value is
assigned to the field, it is displayed in the module between LOOP
and ENDLOOP. This module is also called once for each visible step
loop line.
The field exit is called after the conversion exit. This means
that the INPUT field receives the data in the same format as the
ABAP/4 program also receives it.
invisible.
o
Field exits can only be executed for fields that are directly
related tothe dictionary. If the relation is indirect, i.e. via an
ABAP declaration ( <fieldname> LIKE <dictionary element>), no
field exit can be executed.
Field exits are only intended for input fields. As check buttons
count as graphical elements, you cannot install field exits on
them.
40A - 40B
300 - 31I
22A - 22J
________________________________________________________________________
Reference to related notes
Number
Short text
____________________________________________________________
0144261
Error in the field transport on screens
0158983
8 Days Validation
________________________________________________________________________