on 08-31-2007 10:26 AM
hi all,
i have extended a business object bus2032, in that i created a method. i want to retrieve 'CUSTOMERNO'. HERE IS THE PROBLEM..the customerno is inside a attribute named 'orderingparty' which was created by referring a object 'kna1'.
how can i retrieve the value.
in coding part i have used "object-orderingparty" but it shows error.
hi,
first u assign the parameter in the method with ref to object type.
use this macro syntax
SWC_GET_PROPERTY .
and then retrieve the key field by using SWC_GET_OBJECT_Key
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
first use parameter in the method, then try with the following steps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First you read the attribute by using macro
SWC_GET_PROPERTY .
and then retrieve the key field by using SWC_GET_OBJECT_Key.
I feel you can just do I direct coding from table. I have done this before no need to Read attribute afterall everything is in database table.
<b>Reward points if useful</b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
61 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.