Yes, the output should be the ERNAM field of MARA table.
Key of the object is MATNR of MARA.
I want to insert the material number via se80 program but I am not able to find what needs to be done for passing the material number from se80 program i.e. which function module should I use for passing the material number via se80?