‎2005 Aug 27 10:08 AM
see i am ok with the subroutine end.
But how can i call it from the layout? what should i define there in parameter option.
I am doing this coding
DEFINE &SPELL-WORD& = '&mysymbol&'
PERFORM AMT_WORDS IN PROGRAM ZSUBROUTINE1
USING ®UD-SWNES&
USING &SPELL-WORD&
ENDPERFORM
&mysymbol&
i am not getting the required result
‎2005 Aug 27 10:25 AM
see i am ok with the subroutine end.
But how can i call it from the layout? what should i define there in parameter option.
I am doing this coding
DEFINE '&mysymbol&' = &SPELL-WORD&
PERFORM AMT_WORDS IN PROGRAM ZSUBROUTINE1
USING ®UD-SWNES&
USING &mysymbol&
ENDPERFORM
&mysymbol&
i am not getting the required result
‎2005 Aug 27 10:33 AM
It seems you have to rewrite the DEFINE statment as follows
DEFINE &mysymbol& = &SPELL-WORD& (with out quotes)
For more information please read
http://help.sap.com/saphelp_46c/helpdata/en/d1/803279454211d189710000e8322d00/content.htm - PERFORM
http://help.sap.com/saphelp_46c/helpdata/en/d1/8031d0454211d189710000e8322d00/content.htm - DEFINE
Thanks
Vinod