Question:
Hi,
I have a requirement in which I have to put in a condition
depending on the value of a selectionscreen parameter
in the user exit J_1I7_USEREXIT_J1I5_VALIDATE.
However, only the MSEG structure is passed to the
function moduel J_1I7_USEREXIT_J1I5_VALIDATE.
Could someone help me with this ?
and also could someone tell me in general
1) How do we pass more parameters to a userexit
(than what is decided by SAP in the interface of the function module)
2) If no such change to function module interface is
possible how do we go about providing a solution / workaround ?
Regards,
Darshan.
Answer:
FIELD-SYMBOLS to the rescue . Search on the forum, there should be some examples of using them in user exits.
_________________
Only sheep and Tuly Idiots need a leader
Answer:
This seems to be a very vague reply.
I had asked for how to pass extra parameters
to a function module (in this case a userexit J_1I7_USEREXIT_J1I5_VALIDATE) from the
calling program.
Both the calling program and the interface
between the calling program and the function module
are controlled by SAP and cannot be changed by us.
It is in such a case that I want to pass an extra
parameter to the FM.
Could someone pls help me ?
Answer:
I did help.That was not a vague reply, but a total lack of understanding on your part. Just because you don't want to follow it up, doesn't mean it is rubbish.
Both the calling program and the interface
between the calling program and the function module
are controlled by SAP and cannot be changed by us.
Wrong. For the last time, look up on the possible (ab)use of field-symbols, especially in user exits. You can change variables in (caller)programs
Good luck
_________________
Only sheep and Tuly Idiots need a leader