01-11-2006 1:49 AM
Hi experts,
Iam trying to pass the value(E2006Y) into va02->extras->technical object->equipmnet column.
Why this code is not working?Iam using MV45AFZZ include.
following 2 codes are not working.
code1.
RIWOL-EQUNR = 'E2006Y'.
code2.
data: lc_EQUNR like RIWOL-EQUNR.
lc_EQUNR = 'E2006Y'.
Set parameter id 'EQN' field lc_EQUNR.
Can any one give me the solution.
cheers
kaki
01-11-2006 1:54 AM
01-11-2006 1:56 AM
01-11-2006 1:59 AM
Yes Rich.
Iam using same userexit.I want to pass the value in va02->extras->technical objects->equipmnet column.
How to use SET & GET parameters to get this value?OR
Is there any way to fill this column.
Could you please give me the solution.
kaki
01-11-2006 2:09 AM
I really don't think you can use the SET/GET PARAMETER to achieve you goal. As I said, if you SET it, the program which is filling the field, must GET it, and filled the field from the value from the PARAMETER ID. If it is not doing this, then there is no way to use the SET/GET PARAMETER.
Regards,
Rich Heilman
01-11-2006 2:20 AM
01-11-2006 2:26 AM
01-11-2006 2:37 AM
within VA02 go into debug and set a watchpoint on this field. At least you should identify where the set/get occurs. If there is then an exit after this you may be able to use it to override the current value.
01-11-2006 2:54 AM
Hi Neil,
How to set watchpoint in VA02? Can you explain step by step?
Thanks
kaki
01-11-2006 4:11 AM
1. /nva02
2. /h
3. enter
4. click watchpoint button
5. click create watchpoint button
6. enter name of field in popup
I tried to do this and it didn't work for the field you are talking about. Maybe it's my site or the version I'm working on but the variable may be held in a program other than SAPMV45A. If so try and find out what it is and you can then enter that program name in the popup - try f1 while viewing the field maybe??