Status Message problem in custom subscreen (XD01 - XD02)
I have created a subscreen in the XD01-XD02 transactions. I am calling the subscreen program from the BADI.
E_PROGRAM = 'ZTEST'.
E_SCREEN = '9901'.
In the subscreen program i wrote syntax for status message save. When user changes data on the subscreen and presses save button, data will be saved to custom DB table and status message "data saved" will be appeared. It is saving to the DB table but status message is not displaying.
MESSAGE text-002 TYPE 'S'.
Instead of my status message, SAP standard status message "No changes are made" is displaying. Its because no changes are made on the SAP screen(changes are made on the subscreen).
Is there any way to display my message when data is changed and saved on the subscreen.
Thanks & regards,