NOVELTY - A heterocyclic derivative is new.    USE - A heterocyclic derivative as organic semiconductor material for organic electronic device, e.g. organic light emitting device, organic thin film transistor or organic solar cell (claimed).    ADVANTAGE - The derivative has electrochemical stability and easily functions as organic semiconductor of p-type or n-type; thus providing stability of device.    DETAILED DESCRIPTION - A heterocyclic derivative of formula (E1-((-W-)x-(X-)x-(-Y-)y-(-Z-)z))n-E2) is new.    W, Y=dioxypyrrolo derivative of formula (II);    R1, R2=H, halo, aryl, heteroaryl, or 1-20C straight, branched or cyclic alkyl (optionally substituted with F, Cl, Br, I, or CN, CH2 in alkyl which are not adjacent to each other (optionally substituted with -O-, -S-, -NH-, -NW-, -SiR'R''-, -CO-, -COO-, -OCO-, - O-CO-O-, -S-CO-, -CO-S-, -CA1=CA2-, or -CC-);    R', R''=H, F, Cl, or CN;    A1, A2=1-20C or 1-12C alkyl or aryl;    A=O, S, Se, NR3 ,SiR3R4, or CR3R4;    R3, R4=H, aryl, heteroaryl, or 1-20C straight, branched or cyclic alkyl (optionally substituted with F, Cl, Br, I, or CN, CH2 in alkyl which are not adjacent to each other (optionally substituted with -O-, -S-, -NH-, -NW-, -SiR''-, -CO-, -COO-, - OCO-, -O-CO-O-, -S-CO-, -CO-S-, -CA1=CA2-, or -CC-));    X, Z=-CA1=CA2-, -CC-, or arylene or heteroarylene (substituted with R2);    E1, E2=H, halo, aryl, heteroaryl, -Sn(R'R''R'''), -B(OR')(OR''), -CH2Cl, -CHO, -CH=CH2, -SiR'R''R''', compound of formula (IIa), or 1-20C straight, branched or cyclic alkyl (optionally substituted with F, Cl, Br, I, or CN, CH2) in alkyl which are not adjacent to each other (optionally substituted with -O-, -S-, -NH-, -NW-, -SiR'R''-, -CO-, -COO-, -OCO-, - O-CO-O-, -S-CO-, -CO-S-, -CA1=CA2-, or -CC-));    w-z=0-1, or w+x+y+z=1; and    n=1-10000.    With the proviso that when w is equal to 1, x, y and z are equal to 0; and when R1 is alkyl, E1 and E2 are not hydrogen or halogen. INDEPENDENT CLAIMS are included for:    (1) a method of preparing heterocyclic derivative; and    (2) an organic electronic device using derivative as organic semiconductor material.