Virtual attributes

Praveen Johri pjohri at csc.com
Thu Jun 24 07:23:59 EDT 2004


Hi Rob ,
 
I agree with u...problem is not with authorizations( atleast i have not
faced it yet ) .....we also had similar problem when we upgraded from 4.5.
to 4.7 ...the customized workflow for PR release was having virtual
attributes empty in template and WF was going haywire. I think it is
something related to Transport of Wf templates or Zee objects.......i have
seen that many times when Wf are transported their attributes sometimes do
not function as desired....then we have to re-transport it.
anyway, the solution which Thomas said i used that only, i guess this is
tedious but workable option.....till we find something better...
 
Have fun!!
 
Thanks & Regards
 
Praveen Johri
SAP Practice
Extn : 2597
Ph    : 91-0120-2582323
Fax   : 91-0120-2582322
Computer Science Corporation India Ltd.
 
 
 
 
----------------------------------------------------------------------------------------
 
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
 
 
 
                      "Moody, Rob"
                      <rob.moody               To:      SAP-WUG at MITVMA.MIT.EDU
                      @hants.gov.uk>           cc:
                      Sent by: SAP             Subject: Re: Virtual attributes
                      Workflow
                      <Owner-SAP-WUG
 
 
                      06/24/2004 02:03
                      PM
                      Please respond
                      to "SAP Workflow
                      Users' Group"
 
 
 
 
 
 
Thomas,
 
I'm not sure if it is an authority thing because there are no dialog steps
before the condition step that is failing.  I did try to turn off the
'advance with dialog' indicator in the first dialog step after the
condition but it didn't seem to have any effect.
 
Rob
 
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU]On Behalf Of
Thomas Maue Jr
Sent: 23 June 2004 22:08
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Virtual attributes
 
 
Rob,
 
This could be an authorization problem.  The upgrade to 4.7 means Workflow
is more stringent with authorization checks.
 
Have had a similar experience where some attributes appeared to resolve
while others did not within one process.  Example -
Attribute A resolved and condition worked fine.
Dialog approval step with the 'advance with dialog' indicator set on.
Attribute B was empty and a second condition failed.
 
Reason - the second condition is performed in the context of the approval
agent, which means the approval agent's authorizations were checked.  If
insufficient authorizations, the attribute was empty.  This also explains
why you can successfully test with the business object.
 
Can solve in various ways.
1) Click the 'advance with dialog' indicator off so the second condition is
performed in the context of WF-BATCH (more authorizations).
2) Give authorization to all approvers.
3) Execute an empty step/method that resets the context to WF-BATCH after
the dialog step.
4) In some cases you can change the attribute ABAP code.
 
Regards,
Thomas Maue
 
"Van Rooyen, Brent" <brent.van.rooyen at sap.com> wrote:
Hi Rob,
 
 
I have come across a similar situation before where the virtual attribute
was populated in the container, but the workflow manager treated it as if
it were empty.
 
The work-around I used, and I stress that this is not a proper solution,
was to:
 
Create a new container element of exactly the same definition as the
problem element.
 
Copy the contents of the problem element to the newly defined one at the
start of the workflow.
 
Make use of the newly defined element in any subsequent step / processing
options (you can also try copying the contents back to the problem element
before it is first used).
 
 
Hope this helps!
 
 
Kind Regards,
 
Brent van Rooyen
Consultant: Systems Integration and Development
SAP Africa
Johannesburg, South Africa
T +27-(0)11-235-6000
F +27-(0)11-235-6002
M +27-(0)82-380-1000
E brent.van.rooyen at sap.com
www.sap.co.za
 
SYSTEMS APPLICATIONS PRODUCTS : E-MAIL DISCLAIMER
 
The contents of this e-mail and any files or attachments transmitted with
it are confidential, may be legally privileged and it may not be disclosed
to, copied or used by anyone other than the addressee, nor may it be used
or copied without the consent of the sender. The contents of this e-mail
and its attachments shall not be binding on SAP unless signed by its duly
authorised representatives.
 
Whilst we have taken reasonable precautions against viruses, we do not
accept liability for any damages as a result of software viruses.
 
If you are not the intended recipient, please tell us by reply and delete
all copies on your system.
 
 
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of
Moody, Rob
Sent: Wednesday, June 23, 2004 3:21 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Virtual attributes
 
Hi,
We have just upgraded to 4.7 from 4.6B and have found that our PO workflow
can no longer 'see' some virtual attributes that we put on our custom
ZBUS2012 business object. A condition step which tests these attributes is
not working because it thinks they are null, yet when we look at the wf
container after running a test workflow we can see the attributes are
populated. The same thing goes if we test the business object, the
attributes are populated. The curious thing is that a condition step nearer
the top of the workflow can 'see' a different virtual attribute. Is there
something simple that we need to do to make this work?
Rob
 
Rob Moody
Hampshire County Council - Enterprise Project
Capital House 48/52 Andover Road
Winchester Hampshire SO23 7BH
Tel +44 (0)1962 831057
email rob.moody at hants.gov.uk
www.hants.gov.uk
 


More information about the SAP-WUG mailing list