09-04-2008 9:20 AM
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
09-04-2008 9:42 AM
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
09-04-2008 9:42 AM
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
09-04-2008 9:59 AM
I have not any parameters frist i have to get these parameter using FM OR TABLE .
any one have I idea how SAP store these value in a table or any FM that return these parameters .