Refactoring - several levels or many callnats/performs

Hi,

Does anyone have any experience using Refactoring in the applications with several levels or many callnats/performs?

How NEE (Refactoring) controls it? Look at this:

PGM1
CALLNAT ‘SUB1’
INPUT MAP ‘XXX’
CALLNAT ‘SUB2’
INPUT MAP ‘YYY’
END

SUB1
INPUT MAP ‘TTT’
CALLNAT ‘SUB3’
END

SUB2
INPUT MAP ‘PPP’
CALLNAT ‘SUB4’
END

SUB3
INPUT MAP ‘DDD’
END

SUB4
INPUT MAP ‘EEE’
END

In this scenario, how NEE (Refactoring) controls the point of the return? specially if I need to use the application for using on Web, or as Web Services.

Thank you.

Regards,

John.