Change of Object key length

Hanrahan, Wayne WHanrahan at powercor.com.au
Tue Feb 3 00:40:28 EST 2009


 Thanks Florin/Rick. Function module SWW_OBJKEY_CHANGE_V1 recommended in
note 87768 seems to do the job well.

-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of sap-wug-request at mit.edu
Sent: Tuesday, 3 February 2009 1:05 AM
To: sap-wug at mit.edu
Subject: SAP-WUG Digest, Vol 51, Issue 1

Send SAP-WUG mailing list submissions to
	sap-wug at mit.edu

To subscribe or unsubscribe via the World Wide Web, visit
	http://mailman.mit.edu/mailman/listinfo/sap-wug
or, via email, send a message with subject or body 'help' to
	sap-wug-request at mit.edu

You can reach the person managing the list at
	sap-wug-owner at mit.edu

When replying, please edit your Subject line so it is more specific than
"Re: Contents of SAP-WUG digest..."


Today's Topics:

   1. Change of Object key length (Hanrahan, Wayne)
   2. Re: Change of Object key length (Florin Wach)
   3. Re: Change of Object key length (Rick Bakker)
   4. Re: Trigger workflow Leave Request from TCODE PTARQ
      (srinivas reddy oota)
   5. Launching Web Dynpro Application from UWL (Mohan Babu K J)
   6. SWU3 - Configure RFC Destination - Workflow Not Starting (Anil G)


----------------------------------------------------------------------

Message: 1
Date: Mon, 2 Feb 2009 17:25:16 +1100
From: "Hanrahan, Wayne" <WHanrahan at powercor.com.au>
Subject: Change of Object key length
To: <sap-wug at mit.edu>
Message-ID:
	
<A08DB3FF2B90104CB7E2C6B709AC803305A144C4 at corpexc04.corp.chedha.net>
Content-Type: text/plain; charset="us-ascii"

Hello workflowers,
 I have a custom Business object workflow etc. The length of the domain
of the object has been expanded (from 5 to 10 numeric).
 Changing the workflow containers using the FM's SAP_WAPI_READ_CONTAINER
and SAP_WAPI_WRITE_CONTAINER seem to do the job fine.
 However, for open instances of the object(workflows half way through),
when an event is raised with the newly expanded object key the workflow
does not move on.
 Is it the case that if the workflow started out (created event) with a
key 5 long, all subsequent events for the life of that workflow must be
raised with a key 5 long?
 BTW, all newly created workflows work just fine. This happens only for
the ones 'in process' when the key is expanded.
 Anyone been down this road before?
 Many thanks,
 Wayne Hanrahan.
**********************************************************************
CitiPower Pty and Powercor Australia Ltd. This email and any file
attachments are confidential and intended solely for the use of the
individual or entity to whom they are addressed. If you have received
this email in error please tell us immediately by return email and
delete the document.
**********************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://mailman.mit.edu/pipermail/sap-wug/attachments/20090202/5549fa66/a
ttachment-0001.htm

------------------------------

Message: 2
Date: Mon, 02 Feb 2009 08:41:10 +0100
From: "Florin Wach" <florin.wach at gmx.net>
Subject: Re: Change of Object key length
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID: <20090202074110.274200 at gmx.net>
Content-Type: text/plain; charset="us-ascii"

Hi Wayne,

yes, instance 00001 <> 000000001 as there's a character-by-character
comparison and the instances are left-justified, counting zeroes.

To get your old instances closed correctly (regarding the event
couplings), you'll need to create a workaround for a while with an
additional event coupling  ZBUS_OBJ.<for-each-event> and a check
function module for STRLEN( objkey ) = 10 and a receiver function module
that resends the event for objkey+5(5). You can write generic function
modules and link them in each event you'd need.

After a while when all previous instances are completed, you should
deactivate these event linkages again.

Best wishes,
   Florin


-------- Original-Nachricht --------
> Datum: Mon, 2 Feb 2009 17:25:16 +1100
> Von: "Hanrahan, Wayne" <WHanrahan at powercor.com.au>
> An: sap-wug at mit.edu
> Betreff: Change of Object key length

> Hello workflowers,
>  I have a custom Business object workflow etc. The length of the 
> domain of the object has been expanded (from 5 to 10 numeric).
>  Changing the workflow containers using the FM's 
> SAP_WAPI_READ_CONTAINER and SAP_WAPI_WRITE_CONTAINER seem to do the
job fine.
>  However, for open instances of the object(workflows half way 
> through), when an event is raised with the newly expanded object key 
> the workflow does not move on.
>  Is it the case that if the workflow started out (created event) with 
> a key 5 long, all subsequent events for the life of that workflow must

> be raised with a key 5 long?
>  BTW, all newly created workflows work just fine. This happens only 
> for the ones 'in process' when the key is expanded.
>  Anyone been down this road before?
>  Many thanks,
>  Wayne Hanrahan.
> **********************************************************************
> CitiPower Pty and Powercor Australia Ltd. This email and any file 
> attachments are confidential and intended solely for the use of the 
> individual or entity to whom they are addressed. If you have received 
> this email in error please tell us immediately by return email and 
> delete the document.
> **********************************************************************


------------------------------

Message: 3
Date: Mon, 2 Feb 2009 00:54:39 -0700
From: Rick Bakker <rbakker at gmail.com>
Subject: Re: Change of Object key length
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
	<7a3a922f0902012354v335dc5d6p7573a33ed1a88a28 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hello,

I was going to suggest possibly trying to find where the old key is
stored for the workflow instances and updating that, but Florin's
suggestion is much more sensible.

regards
Rick Bakker
Hanabi Technology

On 2/2/09, Florin Wach <florin.wach at gmx.net> wrote:
> Hi Wayne,
>
> yes, instance 00001 <> 000000001 as there's a character-by-character
comparison and the instances are left-justified, counting zeroes.
>
> To get your old instances closed correctly (regarding the event
couplings), you'll need to create a workaround for a while with an
additional event coupling  ZBUS_OBJ.<for-each-event> and a check
function module for STRLEN( objkey ) = 10 and a receiver function module
that resends the event for objkey+5(5). You can write generic function
modules and link them in each event you'd need.
>
> After a while when all previous instances are completed, you should
deactivate these event linkages again.
>
> Best wishes,
>   Florin
>
>
> -------- Original-Nachricht --------
> > Datum: Mon, 2 Feb 2009 17:25:16 +1100
> > Von: "Hanrahan, Wayne" <WHanrahan at powercor.com.au>
> > An: sap-wug at mit.edu
> > Betreff: Change of Object key length
>
> > Hello workflowers,
> >  I have a custom Business object workflow etc. The length of the 
> > domain of the object has been expanded (from 5 to 10 numeric).
> >  Changing the workflow containers using the FM's 
> > SAP_WAPI_READ_CONTAINER and SAP_WAPI_WRITE_CONTAINER seem to do the
job fine.
> >  However, for open instances of the object(workflows half way 
> > through), when an event is raised with the newly expanded object key

> > the workflow does not move on.
> >  Is it the case that if the workflow started out (created event) 
> > with a key 5 long, all subsequent events for the life of that 
> > workflow must be raised with a key 5 long?
> >  BTW, all newly created workflows work just fine. This happens only 
> > for the ones 'in process' when the key is expanded.
> >  Anyone been down this road before?
> >  Many thanks,
> >  Wayne Hanrahan.
> > ********************************************************************
> > ** CitiPower Pty and Powercor Australia Ltd. This email and any file

> > attachments are confidential and intended solely for the use of the 
> > individual or entity to whom they are addressed. If you have 
> > received this email in error please tell us immediately by return 
> > email and delete the document.
> > ********************************************************************
> > **
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>



------------------------------

Message: 4
Date: Mon, 2 Feb 2009 15:53:25 +0530
From: srinivas reddy oota <ootasrinivasreddy at gmail.com>
Subject: Re: Trigger workflow Leave Request from TCODE PTARQ
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
	<39135e270902020223q475e64bdx4f6d2d8547f43277 at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

hi,

Find the relevant user exit for the t-code and invoke Workflow via wapi
FM.

Cheers,
~srini...


On 1/31/09, Buddy A <buddy_ka at yahoo.com> wrote:
>
>   Dear All,
>
> Can I Trigger workflow Leave Request from TCODE PTARQ?
> If Yes can you give me the step by step how to do it?
>
>
> Really appreciate your help.
>
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>


--
SRINIVAS REDDY OOTA
SAP Technical Consultant
EDS SAP Practice
srinivas.oota at eds.com
srinivas.oota at hp.com
soota at worldbank.org
Mob:9908472277
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://mailman.mit.edu/pipermail/sap-wug/attachments/20090202/6eb2e0f3/a
ttachment-0001.htm

------------------------------

Message: 5
Date: Mon, 2 Feb 2009 19:22:33 +0530 (IST)
From: Mohan Babu K J <mohanbabusap at yahoo.com>
Subject: Launching Web Dynpro Application from UWL
To: SAP-WUG <sap-wug at mit.edu>
Message-ID: <654302.51410.qm at web94713.mail.in2.yahoo.com>
Content-Type: text/plain; charset="utf-8"

Hi,

I'm trying to launch web dynpro application from UWL. I've created web
dynpro application?using?WI_ID as parameter in method?of Window. I'm
done settings in SWFVISU tcode for the task. But still I'm not able to
see the web dynpro application?when I click on Launch WebDynpro button
from UWL. 

It gives me?Error 404. The requested resource does not exist. 

I've seen some of the documents from SDN and still not able to find what
might be the problem.

Can anyone please give me?step?by step document for creating this or do
I need to do any other config settings. I've?Re-registered Webflow
Connector also.
?Regards,
Mohan Babu K J



      Add more friends to your messenger and enjoy! Go to
http://messenger.yahoo.com/invite/
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://mailman.mit.edu/pipermail/sap-wug/attachments/20090202/e25897a8/a
ttachment-0001.htm

------------------------------

Message: 6
Date: Mon, 2 Feb 2009 19:34:45 +0530
From: Anil G <ani.gaj at gmail.com>
Subject: SWU3 - Configure RFC Destination - Workflow Not Starting
To: sap-wug at mit.edu
Message-ID:
	<2ed33c2f0902020604i4fa5bd05u8c344fa3d6747b5d at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi,

I have configured a PR Release Workflow ( std wf - WS00000038 ) using
Release Strategy.
I have created a PR. And verified the Event Linkage is in proper place.

*Problem : 1*
On creation of PR, in the Event Log, SWEL, it shows, the receiver
started correctly, but I cannot find the particular button that takes me
to Event Log.
In the Event Log, it says (error) that,  "Name or password is incorrect
(repeat logon)" for the *RFC Status.* So, I think it is a problem in
SWU3 customizing with respect to RFC Destination Configuration.

*Problem 2 : *
 When I opened SWU3, executed 'Configure RFC Destination, it asks for
Background User and Password.
 So, what is user, that I should give here ?

Can any one solve this problem.

Thanks and Regards,

--
Anil Kumar G
SAP Workflow Consultant
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://mailman.mit.edu/pipermail/sap-wug/attachments/20090202/5b3478cb/a
ttachment.htm

------------------------------

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


End of SAP-WUG Digest, Vol 51, Issue 1
**************************************
**********************************************************************
CitiPower Pty and Powercor Australia Ltd. This email and any file
attachments are confidential and intended solely for the use of the
individual or entity to whom they are addressed. If you have received
this email in error please tell us immediately by return email and
delete the document.
**********************************************************************





More information about the SAP-WUG mailing list