Skip to Content

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

User Exit for 0CALDAY

There is a business requirement to load 3 days of data every time we run the data load. The logic to derive 3 days are as follows:-

First day value of 0calday :- Sy-datm -1

Second value of 0calday :- sy-datm -2

Third value of 0calday :- sy-datum-3

Now the 3 dates will be passed as filter values for 0calday and data load will be for above 3 dates. E.g. load data where 0calday = Sy-datm -1 or Sy-datm -2 or Sy-datm -3

I have done user exits on extractor side but this is first time to work with user exit on report side. Please provide me the sample code.

Thanks,

Anil

Former Member
Former Member replied

Hello Guys,

I have some different requirement. I have 0CALDAY in a ODS. On that basis how to calculate prior year and prior month seperately? and assign the same as customer exit to a variable.

All steps in coding will be appreciated. I am new to coding.

Thanks.

0 View this answer in context

Helpful Answer

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