Missing virtual attribute values in method

Paul.Bakker@osr.treasury.qld.gov.au Paul.Bakker at osr.treasury.qld.gov.au
Tue Nov 18 16:55:08 EST 2008


Dave,

You can't always assume that virtual attributes are populated - its best to
call SWC_GET_PROPERTY before you try to use them

cheers
Paul B



                                                                           
             Dave J Dartnell                                               
             <dave_dartnell at uk                                             
             .ibm.com>                                                  To 
             Sent by:                  sap-wug at MIT.EDU                     
             sap-wug-bounces at M                                          cc 
             IT.EDU                                                        
                                                                   Subject 
                                       Missing virtual attribute values in 
             19/11/2008 12:50          method                              
             AM                                                            
                                                                           
                                                                           
             Please respond to                                             
               "SAP Workflow                                               
               Users' Group"                                               
             <sap-wug at MIT.EDU>                                             
                                                                           
                                                                           





Hi all,

I have a default method on my business object which calls a function
module and passes 3 virtual attribute values as parameters. When I execute
the method from the business object all works fine.
When I execute the method from a decision step via the object link in
workflow the values of the virtual attributes in the method are blank
although they are present in the instance of the business object. If I
hard code values for the attributes in the method it works fine from
workflow.
Can somebody please shine some light on what may be causing this?

Many thanks,

Dave Dartnell
I/T Specialist SAP Workflow
BC&RS US SAP Implementation
020 7202 5364
077 100 400 19






Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU






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





******************************************************************************************************************************************************

Only an individual or entity who is intended to be a recipient of this e-mail may access or use the information contained in this e-mail or any of its attachments.  Opinions contained in this e-mail or any of its attachments do not necessarily reflect the opinions of Queensland Treasury.

The contents of this e-mail and any attachments are confidential and may be legally privileged and the subject of copyright.  If you have received this e-mail in error, please notify Queensland Treasury immediately and erase all copies of the e-mail and the attachments.  Queensland Treasury uses virus scanning software.  However, it is not liable for viruses present in this e-mail or in any attachment.  

******************************************************************************************************************************************************




More information about the SAP-WUG mailing list