Can anyone please help me with following issue
I am having a list of opportunity contains 3 fields value for opportunity.
List<opportunity> listopp = new List<opportunity>( );
listopp.realdata__c = 'value1';
listopp.realdata__c = 'value2';
finalList.add(listopp);
Insert finalList;
Now from finalList how I can get the api name of values saved in it for each record. And can save it in map.
Thanks