0

My requirement is, I have one select-options of type sy-datum on the selection screen.

Whenever a user presses F4 or uses the input help it will show a calendar. After double clicking the calendar, I should get the date in YYYYMM format that means only 6 digit date.

Sandra Rossi
  • 11,934
  • 5
  • 22
  • 48
  • Can you give us any code you have so far? – tomdemuyt Feb 24 '14 at 15:28
  • what exactly do you mean "get only 6 digits" ? Do you mean that only 6 digits in the format YYYYMM should be displayed on screen ? Or Do you need just the month and the year for processing in your code ? – TheG Feb 24 '14 at 15:34
  • is it date you're after, or do you actually want financial period - which is in YYYYMM format? – Jorg Feb 25 '14 at 02:06

1 Answers1

2

Use data element KMONTH instead, and make a custom F4 in your program, that uses function module POPUP_TO_SELECT_MONTH.

Jorg
  • 7,219
  • 3
  • 44
  • 65