Accessing an object attribute in programmed binding?

Hilsbos, Margaret A Margaret.Hilsbos at dayzim.com
Thu Sep 8 11:37:35 EDT 2005


Hello WUG'ers,

An easy one for many of you I am sure:

I am trying to write a programmed binding using attributes of an object in the container. For example the workflow container has 'MyObject' with Attribute1 and Attribute2. Suppose I want to bind to a task, the value which is Attribute1 and Attribute2 concatenated.  I think the only way to do this is in a programmed binding.

I have been able to use programmed binding successfully when I access a simple element in the container, but I then tried to use "swc_get_element calling_container...." in various ways to access an object attribute and always the value is blank. Can anyone give me a simple example syntax of how I could use an attribute of an object in the programmed binding?  (I am not much of an ABAPer but I am good at following examples ;-)  

The SAP version is 6.20.

Thanks,

Margaret Hilsbos
Day & Zimmermann




More information about the SAP-WUG mailing list