on 03-20-2017 10:41 AM
Hi Experts,
we have MDM --> PI --> DB2 scenario, while inserting the records into DB2 tables using JDBC channel, SAP PI is adding ''' character instead of '(single quote).because of this field length is getting increased and DB2 is throwing below error
"DB2 SQL Length Error: SQLCODE=-433, SQLSTATE=22001".
Question: How to suppress ''' before sending data to DB2 table to resolve the column length issue without increasing the column length at DB side.
Hi Ravindra,
Have you tried with SQL_DML notation?:
https://help.sap.com/saphelp_nwpi71/helpdata/en/44/7b7855fde93673e10000000a114a6b/frameset.htm
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravindra,
I used to replace that in a java mapping. There is an example below.
https://wiki.scn.sap.com/wiki/display/XI/SAP+PI+-+Deciphering+apostrophes+in+XML
Regards,
Andrzej
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.