Tuesday, March 25, 2014
Logical database PNP field PNPTIMED is used to set default values for the period radio buttons on selection screen at INITIALIZATION event.
Possible values for the field PNPTIMED.
  • D     =    Today (key date)
  • M    =    Current month
  • Y     =    Current year
  • P     =    To current date
  • F     =    From today (from current date)

INITIALIZATION.
  pnptimed = 'Y'.
You can also the below code at PBO event of selection screen

AT SELECTION-SCREEN OUTPUT.
  MOVE:
         space TO pnptimr1, "Today
         space TO pnptimr2, "Current Month
         space TO pnptimr3, "Current Year
         space TO pnptimr4, "Upto Today
         space TO pnptimr5, "From Today
         'X'   TO pnptimr6. "Other period

0 comments:

Post a Comment

Your useful comments, suggestions are appreciated.Your comments are moderated.

Followers

Contact Form

Name

Email *

Message *

Web Dynpro ABAP Book

An SAP Consultant

Follow US


Want to Contribute ?

If you are interested in writing about the new stuff you learn everyday while working, please write to the.sap.consultants@gmail.com.

Click on Contribution for more details.