Hello Experts,
This is a RFC-JDBC scenario.
We need to insert new record in the table if it does not exist otherwise update the fields which are returned from the BAPI. In case of updating the record, the other fields must be kept as it is.
Code | Description | Plant | EMailID_EX | EMailID_SF | CommercialAssistant |
CAL | Calcutta | CALW,CALC | Auto_****@**.co.in | Auto_****@**.co.in | RAJDEEP SARKAR. |
ABK | Ambikapur | AMBI | Auto_****@**.co.in | Auto_*****@***.co.in | Mr. Dharmendra Singh |
From BAPI we are getting only the three fields: Code, Description, Plant
I have used UPDATE_INSERT statement in the rcv JDBC channel. New data are getting inserted with EMailID_EX, EMailID_SF and CommercialAssistant fields as 'NULL'.
Also records are getting updated which are already exists in the table. But the issue is that the EMailID_EX, EMailID_SF and CommercialAssistant fields value are getting deleted and populated with 'NULL'.
Please let me know how to resolve this issue.
Regards,
Sayanti