Hi,
I extended BOR and added a new attribute
for the definition of this BOR there is bit of a logic involved to find its value , so i am trying to write the logic in GET_PROPERTY...........END_PROPERTY
i am facing problems here
1) reading other attributes -
for this logic i need to read other attributes of this business object
so i thought i can find them in object-<attributename>
but i cant find it, i dont know who to read the attribute. should i use the macro SWC_GET_PROPERTY
this isnt a method , its an attribute definition, still do i needto use this macro ?
2) writing to the new attribute
i am even not able to write to the new attribute
the system generated a template for this new attribute by itself in the program
the template looks like this
GET_PROPERTY APPROVERS CHANGING CONTAINER.
SWC_SET_TABLE CONTAINER 'Approvers' OBJECT-APPROVERS.
END_PROPERTY.
but when i write OBJECT-APPROVERS = 'test'. it gives me syntax error saying OBJECT-APPROVERS cannot be converted to type C. while my declaration for the atribute is PA0002-CNAME which should definitely take charaters.
could you please provide some guidance on this programming, how to read and write to attributes of the BO ?
thanks in advance
R