cancel
Showing results for 
Search instead for 
Did you mean: 

Problem working with CRUD program for lookup table

Former Member
0 Kudos

Hi Experts,

I am working on a scenario in which i have to add/retrieve/update lookup table records.

I am trying to work with the standard program and the code segment is :

TableSchema regionsTableSchema = repository.getSchema().getTableSchema(MDMAPISamples.Information Provider.TABLE)

Error:

Syntax Error on token "Provider" ,")" expected

Here Information Provider is lookup Field in Main Table refering to lookup Flat table Parties.

PLease suggest how to go about this and any sample code will be of great help!!!

Please treat it as urgent!

Accepted Solutions (1)

Accepted Solutions (1)

Greg_Austin
Active Participant
0 Kudos

What exactly are you trying to pass to the getTableSchema method? It takes either a String or TableId. Is this a static reference to one of these? If so you definitely can't have a space in "MDMAPISamples.Information Provider.TABLE".

Former Member
0 Kudos

Thanks a lot!

Problem is solved now.

Answers (0)