Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

a simple question about BOR

Former Member
0 Likes
729

hi experts

in a method of BOR, if I want to use the key field, I can use object-key-fieldname to get the value, but I dunt know how to get the value of attribute....can anyone tell me?

thanks inadvacne

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
610

AFAIK, this is possible by using the so colled SWC_* macros, which´s definition can be found in an include called . You do not have to include the above mentioned include yourself as it already included implicitly by the BOR.

I guess, swc_get_property is the one you are looking for...

reward points if helpful

Edited by: Mike Schernbeck on Apr 15, 2008 8:50 AM

hi experts

in a method of BOR, if I want to use the key field, I can use object-key-fieldname to get the value, but I dunt know how to get the value of attribute....can anyone tell me?

thanks inadvacne

3 REPLIES 3
Read only

Former Member
0 Likes
611

AFAIK, this is possible by using the so colled SWC_* macros, which´s definition can be found in an include called . You do not have to include the above mentioned include yourself as it already included implicitly by the BOR.

I guess, swc_get_property is the one you are looking for...

reward points if helpful

Edited by: Mike Schernbeck on Apr 15, 2008 8:50 AM

Read only

uwe_schieferstein
Active Contributor
0 Likes
610

Hello Sun

Just one more remark: if you are working within classes you cannot use include <CNTN01> but have to add type-pool SWC0 to the (global) properties of your class.

Regards

Uwe

Read only

0 Likes
610

thanks everyone, thank you verymcuh