Create BTandSDCode