function returning record called in context that cannot accept type record
[Description]
[System Processing]
Processing aborts
[Action]
To investigate the cause of the occurrence from the message, and remove cause.