Quantcast
Channel: SCN : Popular Discussions - SAP Business Warehouse
Viewing all articles
Browse latest Browse all 945

ABAP routines to get calendar year month from given work date???

$
0
0

Hello Experts,

 

1) In info-package I have workdate as selection. On that work date I have to write ABAP routine to calculate month from the given work date.

ABAP routine should be for the last complete 6 months of data.

 

For ex. My work date is 01/30/2012. So my present month is Jan 2012.

And depending upon given work date, I should get result as Aug 2011 to Jan 2012, which I will be using for loading last 6 months of data on given work date. It mean my data will get loaded for last six months.

 

2) And also in same way I want to write short ABAP code a selective delete program of the last 6 months data using work date.

 

Kindly help in ABAP routines for this.


Viewing all articles
Browse latest Browse all 945

Trending Articles