Is it possible to call multiple instances of a subroutine that has both USING and CHANGING parameters? Like so:
PERFORM FM_CHECK_INPUT:
USING INPUT_A FIELD_B
CHANGING MESSAGE_A,
USING INPUT_B FIELD_B
CHANGING MESSAGE_B,
...
USING INPUT_E FIELD_E
CHANGING MESSAGE_E.
Or do I have to call each instance separately?
PERFORM FM_CHECK_INPUT USING INPUT_A
FIELD_A
CHANGING MESSAGE_A.
PERFORM FM_CHECK_INPUT USING INPUT_B
FIELD_B
CHANGING MESSAGE_B.
...
PERFORM FM_CHECK_INPUT USING INPUT_E
FIELD_E
CHANGING MESSAGE_E.
I've used compound statements for subroutines before but only when the subroutine had only USING or CHANGING statements, and I'm not sure if I can do the same when both USING and CHANGING parameters are used.