Ampersand extra characters in text returned from SAP in tSAPBapi

One Star

Ampersand extra characters in text returned from SAP in tSAPBapi

Hello,
currently we replaced tSAPInput (V5.4.1) by tSAPBapi (V6.1.1). The problem ist that BAPI returns now some extra characters around ampersand in text fields.
For example, it returns A & B instead of A & B.
In the older version using tSAPInput, we did not have this problem. Please note that, we use the same SAP-Connection, with the same settings in the old and new version.
We use Talend Data Management Platform V6.1.1.
Kind regards
Amir

Six Stars

Re: Ampersand extra characters in text returned from SAP in tSAPBapi

hi
check out  
you will see that  &  is the html number of &

i dont know the tSAPBapi component, but somewhere you might configure if you read plain text or html

in the worst case you could use the old component (  not in your Version anymore ? copy it to your usercomponent Folder!)


HTH
dj
One Star

Re: Ampersand extra characters in text returned from SAP in tSAPBapi

@dj you're right! That is the html entity number. We had as well > for > character.
Principlly we have a connection to SAP using jco and the connection has properties that we can set.
The question is now, is it possible to set some property, which does the job for us without affecting other charectres returned from SAP.
 
Kind regards
Amir

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog