Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

I have a module pool program, in that i have to set validation.

$
0
0

There is a field service order whenever user will enter service order number it should match with

ekko's ebeln if it doesn't then a message should come(enter correct serv order number)..how can i set validation on this??

 

I tried this in PAI..

 

when 'ENTER'.

 

if wa_data-sn1 = ekko-ebeln.
             wa_data-sn1 = wa_data-sn1.
          ELSE.
    MESSAGE 'Enter Correct Serivce Order Number' TYPE 'E'.
   ENDIF.

 

when i i am entering wright serv order no. then also it is showing error and for wrong also.

 

here wa_data-sn1(serv order number) is I/O text field.

 

what to do??


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>