Recommendation of Triggering Workflow for Non-Standard

Viera, Miguel VieraM at dhcmc.com
Fri Aug 14 08:45:06 EDT 2009


Jocelyn,

I will definitely do some research on ABAP OO for SAP Business Workflow.  I was able to retrieve your technology white paper from 2004 and after reading it, I'll review the examples you have in your blog.  Thanks for the suggestion.

Sincerely,

Miguel R. Viera
Deere-Hitachi C.M.C
SAP Business Analyst for FI-CO & SD Modules
Workflow Admin. & Winshuttle Template Designer
Phone: (336) 992-5759

Message: 2
Date: Fri, 14 Aug 2009 07:05:58 +0800
From: "Dart, Jocelyn" <jocelyn.dart at sap.com>
Subject: RE: Recommendation of Triggering Workflow for Non-Standard
        SAP Process
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
        <2EAD340DEF223745B1AC9A10B49FBB47039C97EF at sgsine13.sin.sap.corp>
Content-Type: text/plain; charset="us-ascii"

Miguel,
Just a suggestion - as you are on ECC6 it would be better to create an
ABAP OO class and event to trigger your workflow rather than a business
object. The tools/editors are better and it also makes it easier for
non-workflow developers to create and maintain the class - hence more
supportable.

Business Objects are still ok to use, but it's very old technology
now... ABAP OO Classes are the better direction going forward and there
are only a few differences to be aware of when building your workflow.

Read the blogs on SDN with myself as author... They give step by step
examples.
Hope that helps.
Regards,
Jocelyn Dart

-----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: Thursday, August 13, 2009 7:24 PM
To: sap-wug at mit.edu
Subject: SAP-WUG Digest, Vol 57, Issue 31

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. RE: Recommendation of Triggering Workflow for Non-Standard
      SAP Process (Viera, Miguel)
   2. RE: Recommendation of Triggering Workflow for Non-Standard
      SAP Process (Dart, Jocelyn)
   3. RE: [LIKELY JUNK]Re: [LIKELY JUNK]Task TS10007991 in Ready
      status on an around 30 minutes (Dart, Jocelyn)


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

Message: 1
Date: Thu, 13 Aug 2009 14:24:20 -0400
From: "Viera, Miguel" <VieraM at dhcmc.com>
Subject: RE: Recommendation of Triggering Workflow for Non-Standard
        SAP Process
To: "'sap-wug at mit.edu'" <sap-wug at mit.edu>
Message-ID:
        <460C22E8957E3A4C9D06D11148FB33F10248C084A1 at FFFHP003.dhwin2knet.com>
Content-Type: text/plain; charset="us-ascii"

WF Experts,

Thank you for all the suggestions regarding triggering a workflow for a non-standard SAP process.  I forgot to mention we are on ECC 6.  Based on the feedback I received, I'm going to research creating a business object and an event.  That would allow me to attach the check function module to the Business Object in SWETYPV for the workflow I have created.

Thanks for your insight : )

Miguel R. Viera
Deere-Hitachi C.M.C
SAP Business Analyst for FI-CO & SD Modules
Workflow Admin. & Winshuttle Template Designer
Phone: (336) 992-5759

-----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: Thursday, August 13, 2009 8:11 AM
To: sap-wug at mit.edu
Subject: SAP-WUG Digest, Vol 57, Issue 28

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. RE: Recommendation of Triggering Workflow for Non-Standard
      SAP Process (Keohan, Susan)
   2. RE: Recommendation of Triggering Workflow for Non-Standard
      SAP Process (Keohan, Susan)


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

Message: 1
Date: Thu, 13 Aug 2009 07:58:49 -0400
From: "Keohan, Susan" <keohan at ll.mit.edu>
Subject: RE: Recommendation of Triggering Workflow for Non-Standard
        SAP Process
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
        <E74DD9A4E0338F4F98DBE83861654A0C44301E381C at LLE2K7-BE01.mitll.ad.local>

Content-Type: text/plain; charset="us-ascii"

Hi Miguel,
We are on ECC 6, and have had a similar application running for several years - Ship Order approval and processing.  I wonder if these are not the same?
Our process is based on the Business Object LIKP (outbound delivery) and this object is created via transaction VL01 (or VL01n).  In our case a customized transaction was built to simplify the screens for the end users.

In any case, if using the above transaction is how your AFS is created, then you have your BO; it may need to be enhanced for your particular scenario, but SAP does provide standard events and so forth.

Let me know if this is any help?
Cheers,
Sue

----
Susan R. Keohan
SAP Workflow Specialist
Enterprise Applications
Information Services Department
MIT Lincoln Laboratory
244 Wood Street, LI-200
Lexington, MA. 02420
781-981-3561
keohan at LL.MIT.EDU

________________________________
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Viera, Miguel
Sent: Wednesday, August 12, 2009 4:33 PM
To: 'sap-wug at mit.edu'
Subject: Recommendation of Triggering Workflow for Non-Standard SAP Process

Hello WF Experts,

I wanted to see what recommendations anyone had for triggering a custom designed workflow that is related to a non-standard process.  Our scenario is for an AFS (Authorization for Shipment) Form that is created in SAP which we would like to route for approval through workflow.

 The Challenge:

Our AFS process is non-standard so there are not existing business objects to use for the start event in the workflow.  There is no result from running a trace event in SWEL when this process is kicked off in SAP.  There are two Z tables in SAP where this information is stored which makes me think that a function module can potentially be used; however, I'm struggling with how either the check function module or receiver type function module can be updated in SWETYPV if an object type (Business Object) does not exist.  Is anyone aware of any standard business objects I could potentially use for this scenario?  Perhaps a new business object needs to be created for this scenario; however, if at all possible I would like to avoid creating new business objects in SAP.
Maybe there is a different way to trigger this workflow outside of a start event and a function module that makes more sense.

Any insight would be greatly appreciated.

Sincerely,

Miguel R. Viera
Deere-Hitachi C.M.C
SAP Business Analyst for FI-CO & SD Modules
Workflow Admin. & Winshuttle Template Designer
Phone: (336) 992-5759

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20090813/bc1ebfc7/attachment.htm

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

Message: 2
Date: Thu, 13 Aug 2009 07:58:49 -0400
From: "Keohan, Susan" <keohan at ll.mit.edu>
Subject: RE: Recommendation of Triggering Workflow for Non-Standard
        SAP Process
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
        <E74DD9A4E0338F4F98DBE83861654A0C44301E381C at LLE2K7-BE01.mitll.ad.local>

Content-Type: text/plain; charset="us-ascii"

Hi Miguel,
We are on ECC 6, and have had a similar application running for several years - Ship Order approval and processing.  I wonder if these are not the same?
Our process is based on the Business Object LIKP (outbound delivery) and this object is created via transaction VL01 (or VL01n).  In our case a customized transaction was built to simplify the screens for the end users.

In any case, if using the above transaction is how your AFS is created, then you have your BO; it may need to be enhanced for your particular scenario, but SAP does provide standard events and so forth.

Let me know if this is any help?
Cheers,
Sue

----
Susan R. Keohan
SAP Workflow Specialist
Enterprise Applications
Information Services Department
MIT Lincoln Laboratory
244 Wood Street, LI-200
Lexington, MA. 02420
781-981-3561
keohan at LL.MIT.EDU

________________________________
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Viera, Miguel
Sent: Wednesday, August 12, 2009 4:33 PM
To: 'sap-wug at mit.edu'
Subject: Recommendation of Triggering Workflow for Non-Standard SAP Process

Hello WF Experts,

I wanted to see what recommendations anyone had for triggering a custom designed workflow that is related to a non-standard process.  Our scenario is for an AFS (Authorization for Shipment) Form that is created in SAP which we would like to route for approval through workflow.

 The Challenge:

Our AFS process is non-standard so there are not existing business objects to use for the start event in the workflow.  There is no result from running a trace event in SWEL when this process is kicked off in SAP.  There are two Z tables in SAP where this information is stored which makes me think that a function module can potentially be used; however, I'm struggling with how either the check function module or receiver type function module can be updated in SWETYPV if an object type (Business Object) does not exist.  Is anyone aware of any standard business objects I could potentially use for this scenario?  Perhaps a new business object needs to be created for this scenario; however, if at all possible I would like to avoid creating new business objects in SAP.
Maybe there is a different way to trigger this workflow outside of a start event and a function module that makes more sense.

Any insight would be greatly appreciated.

Sincerely,

Miguel R. Viera
Deere-Hitachi C.M.C
SAP Business Analyst for FI-CO & SD Modules
Workflow Admin. & Winshuttle Template Designer
Phone: (336) 992-5759

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20090813/bc1ebfc7/attachment-0001.htm

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

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


End of SAP-WUG Digest, Vol 57, Issue 28
***************************************





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

Message: 2
Date: Fri, 14 Aug 2009 07:05:58 +0800
From: "Dart, Jocelyn" <jocelyn.dart at sap.com>
Subject: RE: Recommendation of Triggering Workflow for Non-Standard
        SAP Process
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
        <2EAD340DEF223745B1AC9A10B49FBB47039C97EF at sgsine13.sin.sap.corp>
Content-Type: text/plain; charset="us-ascii"

Miguel,
Just a suggestion - as you are on ECC6 it would be better to create an
ABAP OO class and event to trigger your workflow rather than a business
object. The tools/editors are better and it also makes it easier for
non-workflow developers to create and maintain the class - hence more
supportable.

Business Objects are still ok to use, but it's very old technology
now... ABAP OO Classes are the better direction going forward and there
are only a few differences to be aware of when building your workflow.

Read the blogs on SDN with myself as author... They give step by step
examples.
Hope that helps.
Regards,
Jocelyn Dart

-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Viera, Miguel
Sent: Friday, 14 August 2009 4:24 AM
To: 'sap-wug at mit.edu'
Subject: RE: Recommendation of Triggering Workflow for Non-Standard SAP
Process

WF Experts,

Thank you for all the suggestions regarding triggering a workflow for a
non-standard SAP process.  I forgot to mention we are on ECC 6.  Based
on the feedback I received, I'm going to research creating a business
object and an event.  That would allow me to attach the check function
module to the Business Object in SWETYPV for the workflow I have
created.

Thanks for your insight : )

Miguel R. Viera
Deere-Hitachi C.M.C
SAP Business Analyst for FI-CO & SD Modules
Workflow Admin. & Winshuttle Template Designer
Phone: (336) 992-5759

-----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: Thursday, August 13, 2009 8:11 AM
To: sap-wug at mit.edu
Subject: SAP-WUG Digest, Vol 57, Issue 28

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. RE: Recommendation of Triggering Workflow for Non-Standard
      SAP Process (Keohan, Susan)
   2. RE: Recommendation of Triggering Workflow for Non-Standard
      SAP Process (Keohan, Susan)


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

Message: 1
Date: Thu, 13 Aug 2009 07:58:49 -0400
From: "Keohan, Susan" <keohan at ll.mit.edu>
Subject: RE: Recommendation of Triggering Workflow for Non-Standard
        SAP Process
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:

<E74DD9A4E0338F4F98DBE83861654A0C44301E381C at LLE2K7-BE01.mitll.ad.local>

Content-Type: text/plain; charset="us-ascii"

Hi Miguel,
We are on ECC 6, and have had a similar application running for several
years - Ship Order approval and processing.  I wonder if these are not
the same?
Our process is based on the Business Object LIKP (outbound delivery) and
this object is created via transaction VL01 (or VL01n).  In our case a
customized transaction was built to simplify the screens for the end
users.

In any case, if using the above transaction is how your AFS is created,
then you have your BO; it may need to be enhanced for your particular
scenario, but SAP does provide standard events and so forth.

Let me know if this is any help?
Cheers,
Sue

----
Susan R. Keohan
SAP Workflow Specialist
Enterprise Applications
Information Services Department
MIT Lincoln Laboratory
244 Wood Street, LI-200
Lexington, MA. 02420
781-981-3561
keohan at LL.MIT.EDU

________________________________
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Viera, Miguel
Sent: Wednesday, August 12, 2009 4:33 PM
To: 'sap-wug at mit.edu'
Subject: Recommendation of Triggering Workflow for Non-Standard SAP
Process

Hello WF Experts,

I wanted to see what recommendations anyone had for triggering a custom
designed workflow that is related to a non-standard process.  Our
scenario is for an AFS (Authorization for Shipment) Form that is created
in SAP which we would like to route for approval through workflow.

 The Challenge:

Our AFS process is non-standard so there are not existing business
objects to use for the start event in the workflow.  There is no result
from running a trace event in SWEL when this process is kicked off in
SAP.  There are two Z tables in SAP where this information is stored
which makes me think that a function module can potentially be used;
however, I'm struggling with how either the check function module or
receiver type function module can be updated in SWETYPV if an object
type (Business Object) does not exist.  Is anyone aware of any standard
business objects I could potentially use for this scenario?  Perhaps a
new business object needs to be created for this scenario; however, if
at all possible I would like to avoid creating new business objects in
SAP.
Maybe there is a different way to trigger this workflow outside of a
start event and a function module that makes more sense.

Any insight would be greatly appreciated.

Sincerely,

Miguel R. Viera
Deere-Hitachi C.M.C
SAP Business Analyst for FI-CO & SD Modules
Workflow Admin. & Winshuttle Template Designer
Phone: (336) 992-5759

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://mailman.mit.edu/pipermail/sap-wug/attachments/20090813/bc1ebfc7/a
ttachment.htm

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

Message: 2
Date: Thu, 13 Aug 2009 07:58:49 -0400
From: "Keohan, Susan" <keohan at ll.mit.edu>
Subject: RE: Recommendation of Triggering Workflow for Non-Standard
        SAP Process
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:

<E74DD9A4E0338F4F98DBE83861654A0C44301E381C at LLE2K7-BE01.mitll.ad.local>

Content-Type: text/plain; charset="us-ascii"

Hi Miguel,
We are on ECC 6, and have had a similar application running for several
years - Ship Order approval and processing.  I wonder if these are not
the same?
Our process is based on the Business Object LIKP (outbound delivery) and
this object is created via transaction VL01 (or VL01n).  In our case a
customized transaction was built to simplify the screens for the end
users.

In any case, if using the above transaction is how your AFS is created,
then you have your BO; it may need to be enhanced for your particular
scenario, but SAP does provide standard events and so forth.

Let me know if this is any help?
Cheers,
Sue

----
Susan R. Keohan
SAP Workflow Specialist
Enterprise Applications
Information Services Department
MIT Lincoln Laboratory
244 Wood Street, LI-200
Lexington, MA. 02420
781-981-3561
keohan at LL.MIT.EDU

________________________________
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Viera, Miguel
Sent: Wednesday, August 12, 2009 4:33 PM
To: 'sap-wug at mit.edu'
Subject: Recommendation of Triggering Workflow for Non-Standard SAP
Process

Hello WF Experts,

I wanted to see what recommendations anyone had for triggering a custom
designed workflow that is related to a non-standard process.  Our
scenario is for an AFS (Authorization for Shipment) Form that is created
in SAP which we would like to route for approval through workflow.

 The Challenge:

Our AFS process is non-standard so there are not existing business
objects to use for the start event in the workflow.  There is no result
from running a trace event in SWEL when this process is kicked off in
SAP.  There are two Z tables in SAP where this information is stored
which makes me think that a function module can potentially be used;
however, I'm struggling with how either the check function module or
receiver type function module can be updated in SWETYPV if an object
type (Business Object) does not exist.  Is anyone aware of any standard
business objects I could potentially use for this scenario?  Perhaps a
new business object needs to be created for this scenario; however, if
at all possible I would like to avoid creating new business objects in
SAP.
Maybe there is a different way to trigger this workflow outside of a
start event and a function module that makes more sense.

Any insight would be greatly appreciated.

Sincerely,

Miguel R. Viera
Deere-Hitachi C.M.C
SAP Business Analyst for FI-CO & SD Modules
Workflow Admin. & Winshuttle Template Designer
Phone: (336) 992-5759

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://mailman.mit.edu/pipermail/sap-wug/attachments/20090813/bc1ebfc7/a
ttachment-0001.htm

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

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


End of SAP-WUG Digest, Vol 57, Issue 28
***************************************



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



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

Message: 3
Date: Fri, 14 Aug 2009 07:19:17 +0800
From: "Dart, Jocelyn" <jocelyn.dart at sap.com>
Subject: RE: [LIKELY JUNK]Re: [LIKELY JUNK]Task TS10007991 in Ready
        status on       an around 30 minutes
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
        <2EAD340DEF223745B1AC9A10B49FBB47039C97F5 at sgsine13.sin.sap.corp>
Content-Type: text/plain; charset="us-ascii"

Hi Chandra,  The job variant is not relevant.  This is generated
automatically.  You need to look for another cause as to why there is a
delay - as you mentioned a difference in support packages I'd suggest
you look at the notes relating to that task/workflow and generally SRM
approvals between the two support packages.  Other than than you may
need to debug to see  what is going on.
Regards,
Jocelyn

P.S. Just a little cultural aside for your future information .... In
most western societies it is usual to address people by their given name
- i.e. Jocelyn - not by their family name - Dart - unless you are going
to prefix it with their title e.g. Ms. Dart. To address someone by their
family name without a title they should be male and preferably a close
friend, never with females, otherwise it can be a little offensive.  And
apologies for not spelling out your full name... I was assuming that the
short form is Chandra as seems to be usual...

________________________________

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of chandrasekhar valluri
Sent: Friday, 14 August 2009 12:52 AM
To: SAP Workflow Users' Group
Subject: [LIKELY JUNK]Re: [LIKELY JUNK]Task TS10007991 in Ready status
on an around 30 minutes


Hi Dart,

Thanks for your reply.
I have checked the job which you said. It was scheduled for every 20
mins.
But the variant is &0000000000002. I have compared this server with
Quality, here variant for this is &0000000000000. and status was also
changing immediately from Awaiting approval to Approved. In Quality
support package is SAPKIBKT11.

This problem occurs recently after support pack "SAPKIBKT14"
implementation.
Previously working fine.

Kindly suggest me how to overcome this.


On Thu, Aug 13, 2009 at 4:53 AM, Dart, Jocelyn <jocelyn.dart at sap.com>
wrote:


        Hi Chandra,
        Standard behaviour if a background task does not complete
successfully is to recheck it using the SWWERRE job run - which occurs
every 20 mins or so.
        So really your problem is that the background update is taking a
looooooooong time.  I'd suggest you check your BADIs and make sure your
coding is performance efficient and not breaking any logical units of
work.
        Regards,
        Jocelyn

________________________________

        From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu]
On Behalf Of chandrasekhar valluri
        Sent: Wednesday, 12 August 2009 10:12 PM
        To: SAP Workflow Users' Group
        Subject: [LIKELY JUNK]Task TS10007991 in Ready status on an
around 30 minutes


        We are working on SRM 5.0

        We have a problem while updating the status TS10007991.
        Once after completion of all the SC approvals the status of
above task is still in "Ready" status. It is taking around 30 minutes to
update the status.

        Is this issue with our workflow or with Basis problem?

        Kindly suggest me to solve this.

        --
        Thanks & Regards,
        Chandrasekhar V


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






--
Thanks & Regards,
Chandrasekhar V

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20090814/9ae378f4/attachment.htm

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

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


End of SAP-WUG Digest, Vol 57, Issue 31
***************************************






More information about the SAP-WUG mailing list