Optical Codes Division Multiple Access is a multiplexing approach in which the transmitter a distinguishable optical code is assigned to each user in the communication channel. OCDMA is designed for radio frequency (RF) communication systems and it is a variation of the CDMA system. Subsequently, to develop all OCDMA communication systems, the success of CDMA in wireless networks, as well as the full benefits of fibre optics, such as good security, extremely high bandwidth, low attenuation, and long-haul transmission. In this research Spectral Amplitude Coding-Optical Code Division Multiple Access is proposed. Initially, Modified Double Weight and Zero Cross-Correlation (MDW-ZCC) is proposed in this research to construct the code design of SAC-OCDMA, it produces the best possible autocorrelation and cross-correlation values. Subsequently, a combined Single Photodiode (SPD) and Direct detection technique is introduced to decode the transmitter information and it reduces the noise. Accordingly, a Gaussian approximation technique is presented to estimate the Bit error rate from the eye diagram of BER and Q-factor. Accordingly, the proposed method is simulated using Python software. The performance metrics are Q-factor, and bit error rate and the proposed method is compared with the existing Three-Dimensional Single Weight Zero Cross-Correlation (3D-SWZCC) Code, Two Dimensional Spectral/Spatial Cyclic Shift (2D-SSCS), and Permutation Matrix Zero Cross-Correlation (PM-ZCC) Code. Subsequently, these results exhibit that the proposed method produces the best performance than the other methods and it estimates the BER. Consequently, future work is based on the study of 3D codes with m-sequence code in the spectral/time/spatial OCDMA domain. The approach has elegantly integrated the design of an encoder and a decoder, allowing the system to efficiently create code in 3D bipolar mode, respectively.