Smallest consumer unit is denoted by BUOM in SAP , for Example- 25 gm packet of potato chips, 1 leaflet of tablets etc. You can input EAN type and EAN/GTIN code for each BUOM in Material Master data Basic data 1 view and in Additional Data view. This can be later printed on EAN128 label used for Pallets.