‎2008 Oct 07 7:27 AM
I have macro as follow.
DEFINE ++.
READ TABLE TEXTP WITH KEY ID = 'I'
KEY = &1 BINARY SEARCH.
CLEAR TXT.
IF SY-SUBRC = 0.
TXT+0(TEXTP-LENGTH) = TEXTP-ENTRY.
ENDIF.
END-OF-DEFINITION.
SORT TEXTP.
But in ECC 6.0 IT'S NOT SUPPORTING.
WHAT SHALL I DO SO THAT THIS WILL WORK IN ECC 6.0.
THANKS IN ADVANCE,
REGARDS,
MANOJ
‎2008 Oct 07 8:17 AM
Hi,
It is because in Unicode programs the + symbol cannot appear in names, rename your macro and change all references to use the new name.
i.e.
DEFINE plusplus.
READ TABLE TEXTP WITH KEY ID = 'I'
KEY = &1 BINARY SEARCH.
CLEAR TXT.
IF SY-SUBRC = 0.
TXT+0(TEXTP-LENGTH) = TEXTP-ENTRY.
ENDIF.
END-OF-DEFINITION.Then in your code replace ++ with plusplus (or whatever name you give it).
Darren
‎2008 Oct 07 8:17 AM
Hi,
It is because in Unicode programs the + symbol cannot appear in names, rename your macro and change all references to use the new name.
i.e.
DEFINE plusplus.
READ TABLE TEXTP WITH KEY ID = 'I'
KEY = &1 BINARY SEARCH.
CLEAR TXT.
IF SY-SUBRC = 0.
TXT+0(TEXTP-LENGTH) = TEXTP-ENTRY.
ENDIF.
END-OF-DEFINITION.Then in your code replace ++ with plusplus (or whatever name you give it).
Darren