2012 Nov 15 7:06 PM
Hi Experts,
I got requirement that is,
At the time of Customer Save using transaction code XD01 or XD02 , a check has to be done to see if the field KNVV-KVGR5 is populated .
If KNVV-KVGR5 is Initial , then – Do Not Save and return to customer screen with a pop up message stating : “Please specify Customer Group5 field”.
I have USEREXIT for this, it is
: EXIT_SAPMF02D_001
and the include is ZXF04U01.
what code I have to write for this?
Please help me...
Hi Experts,
I got requirement that is,
At the time of Customer Save using transaction code XD01 or XD02 , a check has to be done to see if the field KNVV-KVGR5 is populated .
If KNVV-KVGR5 is Initial , then – Do Not Save and return to customer screen with a pop up message stating : “Please specify Customer Group5 field”.
I have USEREXIT for this, it is
: EXIT_SAPMF02D_001
and the include is ZXF04U01.
what code I have to write for this?
Please help me...
2012 Nov 15 9:53 PM
Hi Vinod,
Try below,
if i_knvv-kvgr5 is initial.
MESSAGE ID 'MILL_SD' TYPE 'E' NUMBER '031'
DISPLAY LIKE 'I' WITH 'Please specify Customer Group5 field'.
endif.
2012 Nov 16 6:50 AM
You can also do this way
if i_knvv-kvgr5 is initial.
MESSAGE E646(DB) DISPLAY LIKE 'I' WITH 'Please specify Customer Group5 field'.
endif.
Hope this helps
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |