Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Compare

Hi all,

I want to compare two Sub routine parameters (Using, Changing table ). Any FM or table that can return these parameter .

Thanks in advance for all your help.

Regards,

Anukool

Tags:
Former Member
Former Member replied

Hi,

You can compare using Field Symbols.

Do like this.

data:

field-symbols:

<fs1> type any,

<fs2> type any.

get the subroutine1 parameter in <fs1> and

get the subroutine2 parameter in <fs2>.

if <fs1> eq <fs2>.

write:

/ 'Both parameters are equal'.

else.

write:

/ 'Both parameters are not equal'.

endif.

Regards,

Rama.P

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question