I am facing one issue in Upgrade program. We have copied function group "SO04" to Z Functin group. In side our Function group we have 5 Function modules. During activating custom function group it is showing Syntax error as REC_TAB is not declared as DATA. But when I check standard function group and when i click on REC_TAB it navigate me to function module "SO_DYNP_OBJECT_SEND" . In our case we have a copy of this function module "ZSO_DYNP_OBJECT_SEND" and when i click on REC_TAB it is asking me to declare .and this error is coming from subroutine "address_possible_number_show" and this Subroutine is called from module "MODULE D0100_OKCODE" of screen 1000. and "Call screen 1000" statement is there in Function module "ZSO_DYNP_OBJECT_SEND".
In Z function Group program is not able to access the variables of "ZSO_DYNP_OBJECT_SEND" in screen 1000 but in standard it is able to access. Please suggest me how to fix this issue.