rwmCheckAndLoadInput function

internal function to check and load input data to mapping functions