2020 Dec 09 7:13 AM
Hi,
I am getting type conflict error while uploading excel file to sap system using bdc call transaction method like"The receiving field has type N. Value Awaiting Liquidation was supposed to be transferred to this field, but this conflicts with the type definition for the receiving field."
The incorrect field is field 1 of the receiver structure.
Regards.
2020 Dec 09 7:28 AM
I doubt your issue is related to excel uploading, to be honest.
You can switch BDC mode to 'A' so you can follow step by step what the BDC does and see if you are missing some dynpros or you are passing some wrong values.
If you want a better answer and some correctly addressed help, you should investigate a bit more your problem and share with us your scenario: from the post it looks like you are mixing issues totally unrelated.
2020 Dec 09 8:16 AM
with BDC, if you would like to avoid format conversion problem, just do a WRITE wa_datatab-my_field to my_field.
This will automaticaly convert to SAP output format of the field
2020 Dec 09 8:17 AM
bhavani123 so?
Did you read the code you posted? Did you try to do what I suggested?
You switched mode to 'A', then? Did you run the report and followed it step by step?
Did you get the same error?
Did you check in debug if the uploaded excel is correct?
Posting the whole code doesn't add much apart the fact you upload excel with a FM and you are having an error on BDC.
I'm pretty sure all you have to do is to debug the report and check the values you are passing (or not passing) to the BDC: if you already tried that, you already found the issue.