on 01-09-2012 6:26 PM
Hi All,
I am updating a MDM record through API . modifyrecord . I am changing almost 50 fields in record and then modifying . I get an error , the data exceeds the length . How can i know which particular Field is giving error . It just says the data excced the length but which fields is not shown in error .How to get the field name .
Thanks for suggestion.
1. I am using MDMjava APIs .modifyrecord. secondly , I am updating only single record . I am modifying the different fields of a single record . I set the fields in a record and then modify the record in a single command not in a loop and not running modify command for every field.
MDM API should give the field name rather than giving a general statement .i
Experts , is there any other way of getting the field name which is exceeding the length.i dont really have choice of using any other command.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Govind,
I assume u r using ABAP.
Check if the data type u have assigned for all the fields is correct.
Specially check for integer fields also.
MDM_GDT_INTEGERVALUE only takes data upto 4 bytes but if it exceeds this limit u need to use MDM_GDT_DOUBLE.
Server exception mostly happens when some parameter is not entered correctly.
Regards,
Neethu Joy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Put a print statement after every records updated, this way you'll get to know which records are getting updated, and when error occurs, you'll know which field.
Else you need to check in Console, for the field properties.
Regards,
Abhishek
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 | |
6 | |
6 | |
6 | |
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.