[OT] Accessing an object attribute in programmed binding?

Mike Pokraka wug.replies at workflowconnections.com
Thu Sep 8 13:02:41 EDT 2005


Whilst we're on the 'on a different note' topic - can Mailman be speeded
up? Or am I the only one seeing 15-25 minute delays in postings?

No Edwin, I wasn't trying to outpost you :-) Didn't receive your posting
until after I'd posted mine.

HTML is't usually an issue, as most mailers identify it correctly and/or
provide a text-only version. Something in your particular setup left off
the 'the following is HTML:' bit, perhaps a Notes bug as other Notes
users' HTML stuff comes through fine in a plaintext mailer (as some of us
prefer to use).

Cheers
Mike

Edwin Mukusha wrote:
> Hey Margaret,
>
> Try the following:
> ============================================================
> data: $Myobject type swc_object,
>            l_attribute1  type .....,
>            l_attribute2 type .....,
>            l_attribute3 type ..... .
>
>
>
> * Set the calling container to runtime to allow you to access BOR elements
> swc_container_to_runtime calling_container.
>
> swc_get_element calling_container 'MyObject' $MyObject.
>
> swc_get_property $MyObject 'Attribute1' l_attribute1.
>
> swc_get_property $MyObject 'Attribute2' l_attribute2.
>
> concatenate l_attribute1 l_attribute2 into l_attribute3.
>
> =======================================
> happy coding,
>
>
> On a different note: Sorry to all that received my emails in html format.
> I have set my mail client to mail text only from now on. If anyone needs
> me to resend any of my postings from yesterday just shout.
>
> --------------------------------------------------------------------------
> Edwin Mukusha
> Business Technologies Lead
> Administrative Systems Group
> University of Nebraska
> Phone: (402) 472-7756     Fax: (402) 472-7390
> Email: emukusha at nebraska.edu
> --------------------------------------------------------------------------
>
>
>
>
>
> "Hilsbos, Margaret A" <Margaret.Hilsbos at dayzim.com>
> Sent by: sap-wug-bounces at mit.edu
> 09/08/2005 10:37 AM
> Please respond to "SAP Workflow Users' Group"
>
>         To:     "SAP-WUG \(E-mail\)" <sap-wug at mit.edu>
>         cc:
>         Subject:        Accessing an object attribute in programmed
> binding?
>
>
> 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
>
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>


Mike Pokraka
Senior Consultant
Workflow Connections Ltd.
Mobile: +44 (0)7786 910 855


More information about the SAP-WUG mailing list