Skip to Content

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

Last 7 days of data

Hi Experts,

I need to design a query which shows last 7 days of data based on posting date. I have a little idea but not sure how can i write a formula for that. Can anyone of you suggest me how can i achieve that?

I appreciate your time and help.

Thanks,

Shehzad

replied

Use standard SAP exit variable 0DAT that gives you the current calendar day.

Restrict your posting date infoobject with a range on 0DAT-7 to 0DAT.

h.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question