Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8667

Re: BOR object reference in custom ABAP class

$
0
0

Hi Paul, yes my class does have the attribute C_BO_BUS2105.  It is defined as a constant of the direct entry type with the following structure:

 

constants: begin of c_bo_bus2105,

                  instid type sibfboriid value is initial,

                  typeid type sibftypeid value 'BUS2105',

                  catid type sibfcatid value 'BO',

                end of c_bo_bus2105.

 

As per the blog, I have another attribute named BO_BUS2105 which has the initial value {my class]=>C_BO_BUS2105

 

The class does not have any errors and is active. 

 

In my WF container I've created an import element of type class, referencing my custom class with the clever name 'ZPR_CLASS_OBJECT'.  When I do the event bindings during the workflow trigger configure, I successfully bind the '&_EVT_OBJECT&' to the WF element ZPR_CLASS_OBJECT.BO_BUS2105 in my workflow container.  However, now when I try to  access that value I get the popup error message 'Variable &ZPR_CLASS_OBJECT.BO_BUS2105.NUMBER& exists in the work item text, but not in the container'.  It is quite bizarre.  I'm fully expecting to be able to access that data which is now bound.

 

Thanks in advance,

 

Kevin

 

 

 

.


Viewing all articles
Browse latest Browse all 8667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>