2010 Mar 05 12:25 AM
SImilar i have issues ..
In my code :
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield. "001- Ext Ck
CASE r_ucomm.
WHEN '&UPDATE'.
CLEAR ts_fieldcat_bdc.
REFRESH ts_fieldcat_bdc.
CALL SELECTION-SCREEN '1002' STARTING AT 40 40.
WHEN '&BACK' OR '&EXIT' OR '&CANC'.
LEAVE TO TRANSACTION 'ZCHR'.
WHEN OTHERS.
MESSAGE e005(zmesg) WITH text-023.
RAISE error.
ENDCASE.
Extended sytnax check error:
Field string RS_SELFIELD is not referenced statically in the program
The message can be hidden with "#EC *)
But if i comment it I am geting dump.
kindly help
2010 Mar 05 12:32 AM
Hi,
Extended Check in unable to find dynamic calls - that is why you get all the messages.
It is sure, you can not comment it, because it is a part of the form interface.
You can ignore ExChk sugestions, or use this field in the way, it will be never used.
IF (something which is false). <use the field> ENDIF.
Regards,
--
Przemysław
SImilar i have issues ..
In my code :
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield. "001- Ext Ck
CASE r_ucomm.
WHEN '&UPDATE'.
CLEAR ts_fieldcat_bdc.
REFRESH ts_fieldcat_bdc.
CALL SELECTION-SCREEN '1002' STARTING AT 40 40.
WHEN '&BACK' OR '&EXIT' OR '&CANC'.
LEAVE TO TRANSACTION 'ZCHR'.
WHEN OTHERS.
MESSAGE e005(zmesg) WITH text-023.
RAISE error.
ENDCASE.
Extended sytnax check error:
Field string RS_SELFIELD is not referenced statically in the program
The message can be hidden with "#EC *)
But if i comment it I am geting dump.
kindly help
2010 Mar 05 12:32 AM
Hi,
Extended Check in unable to find dynamic calls - that is why you get all the messages.
It is sure, you can not comment it, because it is a part of the form interface.
You can ignore ExChk sugestions, or use this field in the way, it will be never used.
IF (something which is false). <use the field> ENDIF.
Regards,
--
Przemysław
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |