I tried to create a custom Genil object and followed by creating a bsp component. There I created a form view which will allow me create and save the data in the custom table referred in genil object.
I used the following scn document as a guide to create it.
1) I have added the code what u mentioned in eh_oncreate in Do_init_context method as well as in event eh_oncreate.
when i run the application first time, everything works fine, i am able to enter the values in the field and clicking on save button, saves the data in the table zmast_cust.
but the new data that is saved is now displayed on form view in greyed out mode. clicking on create button, doesnt initialize the fields,..the fields still remains greyed out.