Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

POPUP Message

Former Member
0 Likes
489

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...

2 REPLIES 2
Read only

basarozgur_kahraman
Contributor
0 Likes
442

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.

Read only

Venkat_Sesha
Product and Topic Expert
Product and Topic Expert
0 Likes
442

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