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

QM

Former Member
0 Kudos
262

Hi Expert.

Please help me, here below i describe my business requirement and solution and problem.

Business Requirement  :  When Made Force UD through QA11 Long Text required.

Solution                       : I use Exit QEVA0007 and made code Like this

                          Code :

                                                  IF I_QAVE-LTEXTKZ <> 'X'.

                                                        *  MESSAGE 'Sorry !! Please Maintain Long Text' TYPE 'E'.

                                                          MESSAGE E002(SY) WITH 'Sorry !! Please Maintain Long Text'.

                                                   ENDIF.


Problem :              I want error message and stop to save transaction

                             BUT  system give me warning message and save transaction.


          argent please help me.



thanks and regards.


Pradip Patel.

         

1 ACCEPTED SOLUTION
Read only

Former Member
0 Kudos
169

hi Pradip,

Just read the user exit function documentation and they have mentioned that messages here will be displayed as information message. below is the info in the documentation

  • The messages that may be issued in this function module are intercepted by the calling program and issued as information messages (message type"I").

I think what you can probably do is try to get some other user exit for the validation purpose and trigger the error message as you require.

Try the below user exit and see if it helps for the validation part:

QEVA0010

Thanks,

Naveen

5 REPLIES 5
Read only

former_member210770
Active Participant
0 Kudos
169

Hi Pradip,

In Warning message are you getting the same message you have mentioned here or any other message. If yes then please try with Leave List Processing and if it is in loop please exit from loop and after directly throw error message with leave list processing.

Regards,

Sagar

Read only

0 Kudos
169

Thanks Sagar Pambhar for Reply.

Can you please correct sample code ??????.

                                                    IF I_QAVE-LTEXTKZ <> 'X'.

                                                            MESSAGE E002(SY) WITH 'Sorry !! Please Maintain Long Text'.

                                                   ENDIF.



thanks.


Pradip Patel.

Read only

Former Member
0 Kudos
170

hi Pradip,

Just read the user exit function documentation and they have mentioned that messages here will be displayed as information message. below is the info in the documentation

  • The messages that may be issued in this function module are intercepted by the calling program and issued as information messages (message type"I").

I think what you can probably do is try to get some other user exit for the validation purpose and trigger the error message as you require.

Try the below user exit and see if it helps for the validation part:

QEVA0010

Thanks,

Naveen

Read only

0 Kudos
169

Thanks Naveen George For Reply.

When I use QEVA0010 Exit and Generate Error Message, here below mention problem.


1) After generate message system not provide option  for correction error. (Eg. click on any button Error continue display).

2) This Exit is not working on SAVE UD transaction.


please Help

Thanks.

Pradip Patel.

Read only

0 Kudos
169

Can you try if the below links help:

Thanks,

Naveen