Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3323

How to restrict the input field if Region of Div. plant and Region is same ?

$
0
0

Dear Experts,

 

Hope you r doing well.

I have an requirement like this " In VK11 or VK12 tcode  if  Region of Div.Plant and Region input value will be same then it wont allow to save."

 

I wrote the below code in custom BADI   ZSD_COND_SAVE_A. but the KOMG is not recognise.

Please give me advice or send me sample code  so i can comeout from this issue.

 

 

METHOD IF_EX_SD_COND_SAVE_A~CONDITION_SAVE_EXIT.


IF RV13A-KSCHL = 'JIVC'  or RV13A-KSCHL = 'JIVP'.

    IF KOMG-WKERG = KOMG-REGIO.


        MESSAGE 'Region of div Plant & Region is Same' TYPE 'E'.


  ENDIF.

*ENDIF.

 

ENDMETHOD

 

Advance Thanks to all.

 

Thanks & regards

Ranjit


Viewing all articles
Browse latest Browse all 3323

Trending Articles



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