‎2007 Apr 24 9:23 AM
Hi Guys/Dolls
I have a ABAP program that uses a PNP Logical database.
When the application is launched the <b>"Other period"</b> is automatically selected I want <b>"Today"</b> to be the default.
Any ideas how I can do this programmatically?
Many thanks in advance.
Raj
‎2007 Apr 24 9:33 AM
‎2007 Apr 24 9:26 AM
‎2007 Apr 24 9:30 AM
Hi,
Though it appears as Other period if you wants to use the ToDays date as default in program
in the start of selection
write
if pnptimr6 = 'X'. (check whether that button for other period is correct or not)
pnpbegda = sy-datum.
pnpendda = sy-datum.
endif.
reward points if useful
regards,
Anji
‎2007 Apr 24 9:33 AM
‎2007 Apr 24 9:35 AM
Add following in your INITIALIZATION event.
pnptimed = 'D'.
Regards,
Amit
Reward all helpful replies.
‎2007 Apr 24 10:10 AM
Hi
The following statement worked like magic
pnptimed = 'D'.
As a matter of curiosity how would I make the current month the default or any other selections the defaults?
‎2012 May 29 12:30 PM