Hello all,
There is a requirement to get only last 3 months data in SAP HANA for table FAGLFLEXA.
This needs to be done based on posting date field. So, it seems the below will need to be done –
- 1. If 1st of every month drop data otherwise do not drop complete data from table FAGLFLEXA in sap hana. (This is for taking in account the performance when loading data in SAP HANA so dropping data everyday is not recommended)
- 2. Calculate 1st day of the previous 3rd month (example if 15th April 2013, then calculate 1st Jan 2013).
- 3. Now take records where data is from 1st Jan 2013 to 15th April 2013 in above example.
This will need to be done under tab IUCC_***_RUL_MAP in transaction IUUC_REPL_CONTENT.
Can you please help me to write the code for this?
If there are any other suggestions, please let me know.
Thanks.