IBM BAW — Convert object to similar type object

In many scenarios we want to convert one business object (BO) into another BO with a similar structure in IBM BAW, using JavaScript within…