Q:

Field is not writeable when insert new record

Please i need a help to resolve my problem:
i need to insert a new record but i have the error message  => Field is not writeable: Report. Name
that's my function to insert a new record 
public static void initReport(){
    Report R =new Report(Name='Survey with Questions and Responses',Format='Summary',OwnerId='00l40000001ACJdAAO' );
    insert R; 
}

A:

You just generally can't insert a Report through code.   You will get that same error on every field.   It just says Name because that is the first field you are specifying.