Cannot bind BOR attributes of classes to BOR Elements

Dart, Jocelyn jocelyn.dart at sap.com
Tue Dec 20 21:20:38 EST 2005


Good oh Mike. 

Not heard of type groups? Shame - been around since what? 4.0? 
And the requirement for  SIBFLPORB format is correct, believe I even
stumbled across it in the SAP Library help at one stage, but its
quicker to look at existing examples. 

By the way, if you have problems with using functional methods in the
long text
of work items please report it.  Believe its a bug as they work fine
everywhere else. 



Regards,
Jocelyn Dart
Senior Consultant
SAP Australia Pty Ltd.
Level 1/168 Walker St.
North Sydney 
NSW, 2060
Australia
T   +61 412 390 267
M   + 61 412 390 267
E   jocelyn.dart at sap.com
http://www.sap.com

The information contained in or attached to this electronic transmission
is confidential and may be legally privileged. It is intended only for
the person or entity to which it is addressed. If you are not the
intended recipient, you are hereby notified that any distribution,
copying, review, retransmission, dissemination or other use of this
electronic transmission or the information contained in it is strictly
prohibited. If you have received this electronic transmission in error,
please immediately contact the sender to arrange for the return of the
original documents. 
Electronic transmission cannot be guaranteed to be secure and
accordingly, the sender does not accept liability for any such data
corruption, interception, unauthorized amendment, viruses, delays or the
consequences thereof.
Any views expressed in this electronic transmission are those of the
individual sender, except where the message states otherwise and the
sender is authorized to state them to be the views of SAP AG or any of
its subsidiaries. SAP AG, its subsidiaries, and their directors,
officers and employees make no representation nor accept any liability
for the accuracy or completeness of the views or information contained
herein. Please be aware that the furnishing of any pricing information/
business proposal herein is indicative only, is subject to change and
shall not be construed as an offer or as constituting a binding
agreement on the part of SAP AG or any of its subsidiaries to enter into
any relationship, unless otherwise expressly stated. 


-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Mike Pokraka
Sent: Wednesday, 21 December 2005 2:41 AM
To: SAP Workflow Users' Group
Subject: RE: Cannot bind BOR attributes of classes to BOR Elements

Hehe, yep I just went through the same hoops. It gets very painful when
you have to do the debug hack every time you activate the flow.

HOWEVER, I just found the answer, almost as nasty:
It has to be a SIBFLPORB, not SWOTOBJID, and has to be a constant
attribute of a class. Use a type group (yep, first time I've heard of
them) to populate it with the initial values of BO and your object type
(BUS9999). The bonus is that the binding editor understands it and you
can
drill down from class to class through to the BO's attributes. Have a
look
at cl_swf_bor_types on a 640 system for an example

Last remaining hurdle is creating a class-type attribute of a BO, but I
suspect that's not happening.

Thanks for the feedback in any case,
Cheers
Mike

Alon Raskin wrote:
> Mike,
>
> I got this all the time. Not related to classes, just a bug in the SAP
> code somewhere. I have done a very naughty thing and just debugged
around
> the error message. Once I 'tricked' the code that there is no error,
> everything worked fine.
>
> Of course I do not advocate this approach...it is very dodgy...
Definitely
> an OSS.
>
> Alon Raskin
> e: araskin at 3i-consulting.com <mailto:araskin at 3i-consulting.com>
> p: +1 207 409 4983 (please note new number)
> f:  +61 3 8610 1239
> w: http://www.3i-consulting.com
>
> ________________________________
>
> From: sap-wug-bounces at mit.edu on behalf of Mike Pokraka
> Sent: Tue 12/20/2005 09:32
> To: sap-wug at mit.edu
> Subject: Cannot bind BOR attributes of classes to BOR Elements
>
>
>
> G'Day list,
>
> On a 620 system here, trying to define a binding from a BO-type
attribute
> of a class CL_MYOBJECT.BO_USR01 to a BO type container element and it
> errors with:
> An object compatible with '[BO.USR01]' was expected as the source
> expression
>
> The binding is valid since the object type is defined at runtime, so
is
> there any quick fix around this?
>
> I tried this on a 640 system and it issues a polite warning:
> Conversion From '[NN.]' to '[BO.USR01]' Can Cause Data-Dependent
Errors
>
> I suspect it's an call for OSS, but I'm at a new client and I'm still
> waiting for my ID so figured I'd try the all-knowing list first (I did
> search for notes though, nothing).
>
> Any input appreciated,
> Cheers
> Mike
>
> _______________________________________________
> 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
>

_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug




More information about the SAP-WUG mailing list