2006 Feb 20 5:19 PM
Hi,
I use a dialog program that calls various dynpros and transactions. Funnily after calling these programs the system parameter sy-dynnr shows incorrectly still the old dynpro number of the calling dialog program instead of the new one.
Does anyone know a function module or a C call that returns the actual and correct dynpro number?
Thanks in advance.
Yours Johannes
2006 Feb 20 5:51 PM
Hi,
did you check the recording..
from where you took the screen number while coding,
is it from SHDB recording. is there any errors while recording, if so do it again.
fill the BDC data properly,..
Regards
vijay
2006 Feb 20 5:34 PM
Hi Johannes
Check out the attributes of your original Screen..
In Attributes ...Under settings if HOLD DATA check box was checked...then it retains this screen data even if it branches to next screen....
But I haven't tested..Just a Guess. Please check and test the same and let me know the results...
Suresh B Mannem
2006 Feb 20 8:37 PM
Hi, in the moment cannot reproduce this problem. I really do not know what I had debugged?! Thank you very much for your answers; I love especially the one with HOLD DATA which might come useful some time.
Regards Johannes
2021 Nov 03 2:17 PM
Excellent! It is working for me! Thanks alot. And just want to share one more point - in PBO we will get correct dynpro number
2006 Feb 20 5:35 PM
Can you also let us know the T-code in which youre trying to upload.
Thanks
Message was edited by: Saquib Khan
2006 Feb 20 5:51 PM
Hi,
did you check the recording..
from where you took the screen number while coding,
is it from SHDB recording. is there any errors while recording, if so do it again.
fill the BDC data properly,..
Regards
vijay