on 08-01-2012 9:01 AM
Dear experts,
I hope you will help me to find appropriate solution to subject's issue.
So, I have configured MDM WD Item Details component with set of necessary fields. I communicate with that component from Java code using ItemDetailsInterface.
I have that task to export Item Details fileds values in an external file and columns names must be the same as Item Details fileds names.
I wonna read fields names fro Item details Componet, if it is possible. Or from MDM repository.
What's the simplest way to do that?
Best Regards,
Anton
Hi Anton,
You can get field names with the code below
RepositorySchema schema = null;
FieldProperties[] fieldProps = schema.getFields(tableid);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anton,
" FieldProperties[] fieldProps = schema.getFields(tableid);" will return the Field ID's to get the field names i hope you can use the get DisplayFields() method, for more info you can check the following
http://help.sap.com/javadocs/mdm/sp06/com/sap/mdm/schema/TableSchema.html#getDisplayFields%28%29
Ram.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.