Sy-tcode is blank when button is ticked in transaction QA11.
Where in upgrade project. We have a problem in transaction QA11 where there are 4 buttons that were not functioning as expected. In the GUI Status, this button were under the Application Toolbar, its function code is a transaction itself and its function type is in type T(transaction code) meaning when button is pressed, it should automatically call the transaction assign to it (eg.button1 = QA16, button2 = QVM2, button3 = QVM3, button4 = QVM1), but the problem is, in our system, it will not automatically call the transaction and when button is pressed, user will be redirected to the SAP initial screen.
I debug the problem through system debugging on. I found out that the sy-tcode was not automatically populated by the system. I force the value (eg. sy-tcode = QA16) and now it does call the transaction and initial screen of QA16 was displayed. Now, my problem is how to solve the issue, why sy-tcode was not populated by the system? Anyone knows? please help.