We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-abap] Date Only mm/yyyy

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Posted by guru55
on Oct 19 at 4:16 AM
Hi,
phemmy is right.
Check below code; it should work.

DATA : Nextmonth TYPE c LENGTH 2.
DATA : Year TYPE c LENGTH 4.
DATA : Nextdate TYPE c LENGTH 7.

Nextmonth = sy-datum+4(2) + 1.
year = sy-datum+(4).

if Nextmonth ge 13.
Nextmonth = 01.
year = sy-datum+(4) + 1.
endif.

Concatenate nextmonth year into nextdate separated by '/' .

---------------Original Message---------------
From: Phemmy Payne
Sent: Wednesday, October 19, 2011 12:56 AM
Subject: Date Only mm/yyyy

Yeah but the basic code has been given, like he requested, all he needs to do is add conditions. Its not difficult.

__.____._
Copyright © 2011 Toolbox.com and message author.

Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
Mark as helpful
View this online
  
Popular White Papers

In the Spotlight
Toolbox.com for iPhone & Android: Ask Questions & Get Answers Anywhere. Download the Free App

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language