Quantcast
Channel: SCN: Message List - Business Content and Extractors
Viewing all articles
Browse latest Browse all 5631

End Routine

$
0
0

Hello Experts

 

I want to write end routine to load 0COMP_CODE based on calmonth and 0COUNTRY as below.

 

IF calmonth is between jan 2014 to jun 2014 then it will return company code based on following conditions.

    if 0country = AX1, AX2, AX3, AX4, AX5,AX6,GH6,BH6,KU9,BN8,TG9,RT5 ; 0COMP_CODE =  C70

    if 0country = TG9,RT5                                                                           ; 0COMP_CODE = J98

    if 0country = GH7,YU9                                                                          ; 0COMP_CODE =  C68

    if 0country = KO8                                                                                  ; 0COMP_CODE =  I98

 

IF calmonth is between july 2014 to dec 2014 then it will return company code based on following conditions.

    if 0country = AX1, AX2, AX3, AX4, AX5,AX6,GH6,BH6,KU9,BN8, ; 0COMP_CODE =  C70

    if 0country = GH7,YU9                                                                          ; 0COMP_CODE =  C68

    if 0country = KO8                                                                                  ; 0COMP_CODE =  I98

 

Please help.

 

Thanks & Regards

Anuja


Viewing all articles
Browse latest Browse all 5631

Trending Articles



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