Skip to Content
0
Former Member
Jun 29, 2006 at 02:36 AM

Multilanguage API on Java

38 Views

Hello guys:

I need to access MDM multilanguage capabilities on Java. I do this as login:

String server = "server";

int port = 2000;

String user = "admin";

String password = "";

String language = "English [US]";

int minConnections = 1;

int maxConnections = 10;

int timeOut = 10000;

String logFile = "C:/mdmLogFile.log";

mdmConnector = new CatalogData();

mdmConnector.SetCodeRegion(language);

int connection = mdmConnector.Login(server, port, user, password, language,

minConnections, maxConnections, timeOut, logFile);

and it goes ok.... however, I try using

String language = "German [DE]";

and I get:

a2i.core.StringException: Region 'German [DE]' is missing a code for table ID 1, field ID 554.

at a2i.common.CatalogData.LoadCatalogData(Unknown Source)

at a2i.common.CatalogData.Login(Unknown Source)

at sap.com.cemex.MDMBridge.connect(MDMBridge.java:100)

at sap.com.cemex.MDMBridge.main(MDMBridge.java:262)

Error code: 0xfffffffa

Error message : No message for RC (0xfffffffa

I do have another language to test it on... Japanese... if I do:

String language = "Japanese [JP]";

it goes ok too... so I guess it's the German tag the problem.... have you guys experienced a similar problem, perhaps instead of German I should write Deutsch?

Thanks!

Alejandro





<b></b><i></i><u></u>







<b></b>