02-10-2010 6:27 PM
Hi guys,
i am developing a module pool program. In this program i populate the date field with sy-datum in the PBO block. I want user to able to change the date. hence i set the property as input for the text field. Now when i enter all the fields in the form and click on the calculate button on my form. the date changes back to the system date i want to remain as the date entered by the user. plz help me on the same
02-10-2010 6:56 PM
02-10-2010 6:44 PM
Hi,
Instead of passing the default date value in PBO try to pass in LOAD OF PROGRAM event of the module poo.
02-10-2010 6:51 PM
i am not sure of LOAD OF PROGRAM event in module. I am just aware of PBO, PAI, POH, AND POV
02-10-2010 6:56 PM
02-10-2010 8:02 PM
that's because the flow of the program executes PBO ->PAI -> PBO (again...and in this step you are passing the sy-datum again....add a break-point in the module and you will see)
try to use the INITIALIZATION event .
regards, sebastian
02-11-2010 8:30 AM
Thanks for the helpful response. I could resolve the issue with your helpful advice and help.