on 12-13-2018 5:19 AM
Hello Everyone,
I just want to know that why Service Layer API for creating UDO is giving error:
Here is the APIs:
For Creating Table 1:
https://hana93:50000/b1s/v1/UserTablesMD
{
"TableDescription": "NewUDT",
"TableName": "UDT01",
"TableType": "bott_MasterData"
}
For Creating Table 2:
https://hana93:50000/b1s/v1/UserTablesMD
{
"TableDescription": "NewUDT2",
"TableName": "UDT02",
"TableType": "bott_MasterDataLines"
}
For Creating UDO:
https://hana93:50000/b1s/v1/UserObjectsMD
{
"Code": "UDO5353",
"Name": "UDOTest",
"TableName": "UDT01",
"UserObjectMD_ChildTables":
[
{
"ObjectName": "UDO Child",
"SonNumber": "1",
"TableName": "UDT02"
}
]
}
Error:
{
"error": {
"code": -5002,
"message": {
"lang": "en-us",
"value": " [UDO1.TableName][line: 1] , 'There are values in table @UDT02'"
}
}
}
Problem is that there is no values in Header and Details Table still it is showing the error that table 2 contains the values in it.
Thanks & Regards.
Hi All,
I have changed "SonNumber" to 2 and UDO is created successfully.
Now what is SonNumber ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.