on 2020 Feb 06 12:49 PM
Hi All,
We have a requirement to add 1 month to the input date field. The input is
2010-04-01T00:00:00 and expected output is 2010-05-01T00:00:00.
Connection details: SAP SuccessFactors to HANA DataBase. I have used predefined "add_months" function and I am getting below error:
<JDBC Adapter> does not support function <add_months>. Check your dataflow.
I am attaching images of my approch.
Please suggest any other ways i can get the expected output or anything we need to fix regarding JDBC Adapter.
Regards,
Sravan
Request clarification before answering.
Hello Sravan,
Add_Months() function should work irrespective of the receiver system. are you passing the date in right dateformat ?
Not sure, why presence of this function is not being supported by the JDBC. These is not mentioned in documentation or any exception mentioned in help page for this function. Better raise a ticket with SAP.
Just to debug the issue. Try passing the date value to target with a simple hard code date as 02.13.2020 or sysdate() or even the input date without adding months. Lets check, how this works.
if this has become a show stopper, Last option might be to split the flow as 2 flows . SF to File ( use "add_month" here) and File to DB.
with regards,
Nazeer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
30 | |
9 | |
7 | |
7 | |
6 | |
6 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.