Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Changing the date to one year back

Dear all,

I would be really grateful if you could give any idea about this problem:

I have a cube (feeded from Oracle) which has a date field and, during transformation, I want that date to be taken one month back.

20100301----->20100201

20100101-----.>20091201

I am actually using this routine actually:

data:rundate like sy-datum.

write SOURCE_FIELDS-BILL_RUN_FROM to rundate.

RESULT = rundate.

I am extremely new to ABAP so I do not know if I have been able to explain exactly the problem.

Thanks

Edited by: shkelzen on Apr 12, 2010 5:20 PM

Former Member
Not what you were looking for? View more on this topic or Ask a question