2016 May 13 7:12 AM
method initialize
AT SELECTION-SCREEN ON VALUE-REQUEST FOR abc.
me->GET_FILE_NAME_PRESENTATION(
CHANGING
abc = abc)
endmethod.
I call the above method as
obj->initialize
changing
abc
I get error as statement endmethod missing.Can we not use at selection-screen statement inside a method?
2016 May 13 7:32 AM
You cannot use ABAP events inside method implementation. First implement your methods, then call your events like below:
method initialize.
--------
endmethod.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR abc.
me->GET_FILE_NAME_PRESENTATION(
CHANGING
abc = abc).
2016 May 13 7:18 AM
2016 May 13 7:32 AM
You cannot use ABAP events inside method implementation. First implement your methods, then call your events like below:
method initialize.
--------
endmethod.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR abc.
me->GET_FILE_NAME_PRESENTATION(
CHANGING
abc = abc).