2009 Jun 01 11:21 AM
There is a message which is being called from a standard program(message class VL,number 198).
( Item &: Only &2 &3 from material &4 are available )
I need to change this message ,the variable 4 above.
I got the enhancement points just at the start of the perform as below:
form message_senden using ms_msgno like sy-msgno
ms_msgty like sy-msgty
ms_msgid like sy-msgid
ms_msgv1 type clike
ms_msgv2 type clike
ms_msgv3 type clike
ms_msgv4 type clike.
Enhancement Start .
*****
Enhancement End.
ms_msgv4 currently has the material number only . I need to change this to material number and the batch number.
But I am not able overwrite ms_msgv4 .
The program gives a dump saying:
A new value is to be assigned to the field "MS_MSGV4", although this field is
entirely or partly protected against changes.
Please let me know how to achieve this.
There is a message which is being called from a standard program(message class VL,number 198).
( Item &: Only &2 &3 from material &4 are available )
I need to change this message ,the variable 4 above.
I got the enhancement points just at the start of the perform as below:
form message_senden using ms_msgno like sy-msgno
ms_msgty like sy-msgty
ms_msgid like sy-msgid
ms_msgv1 type clike
ms_msgv2 type clike
ms_msgv3 type clike
ms_msgv4 type clike.
Enhancement Start .
*****
Enhancement End.
ms_msgv4 currently has the material number only . I need to change this to material number and the batch number.
But I am not able overwrite ms_msgv4 .
The program gives a dump saying:
A new value is to be assigned to the field "MS_MSGV4", although this field is
entirely or partly protected against changes.
Please let me know how to achieve this.
2009 Jun 02 1:25 PM
Hi,
Could you provide the exact context of this issue?
Regards
Sabu.
2009 Jun 02 1:30 PM
Hi,
You will have a Implicit enhancement point at the end of FORM statment, there overwrite the value. for this you need to create the implicit enhacement point, to know more Look at the link here --> http://www.sapdev.co.uk/enhance/eframework/ef_implicit.htm
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |