Creating a Flow Definition

Question: First off, I am not sure if this is the correct forum to post questions about flow definitions..... I apologise if I am wrong....

I have been using schedule manager to schedule some routine processes. All successfully working.....

The next step is to incorporate my custom Worklist into a Flow definition, so the relevant people are notified at each stage of the process.

All well and good, apart from I cannot choose the specific programs from the list....

In SCMA, I have created a work list...

If I select Extra > Flow Definition > Process the Flow Definition, I am trying to create a new task.....

I am asked for a description and then Application Area.... This is where I come unstuck.....

I wish to use some ZCustom Programs, but these are not available for me to use.....

Does anyone have any suggestions on how I can accomplish this?? Or can someone point me in the right direction for some additional help not covered on help.sap.com.
_________________
Baz

AsPiRiNg tUlY iDiOt

http://www.catb.org/~esr/faqs/smart-questions.html



Answer:
I have the solution to this....

I followed the SAP Help and wondered why it didn't work....

I have subsequently found an OSS Note number 325118 which tells you the correct table to enter the values into....

I was following the SAP Help from 4.6c and this note is relevant from 4.6a and there was me fretting I had done it wrong!!!!!

The instructions From the note are as follows:
Symptom
As of Release 4.6A the Schedule Manager is available as a tool which displays periodic tasks clearly in an interface.Since the daily tasks do not only consist of SAP programs and transactions, you can also integrate separate programs and transactions in the Schedule Manager.

Solution

You can include a separate transaction in a task list directly without changing the transaction.

If you have a separate report which is run periodically, you can use it in a task list immediately and schedule it there.However, the Schedule Manager Monitor does not display any information on the report.In addition, you cannot use this report in a flow definition.

To obtain the complete functions, basically you have to include two modules in your report.In the correction instruction, different difficulty levels are programmed. You can simply copy the source code into your programs. The three steps are explained below.

In addition, you must enter the report in a Customizing table:

Transaction: SM30

Table: SCMAPROGRAMS

New entry: Report name

Application: select via input help (Level 1 and 2: CUSTOMER)

leave the other flags empty

Save




The Details from the help are as follows:.

Prerequisites

To add your own programs to the task list and schedule them, you must store them in the system and make sure the Schedule Manager knows how to access them.

Procedure

To do so, choose Extras > Settings > Customer Programs.
This brings you to the table Registration of Customer Schedule Manager Programs.
Choose New entries.
Enter the ABAP program name or search for it using the input help.
Use the input help to select an application.
You can enter either a CUSTOMER application or a standard application. If you use a standard application, you must replace the constant value CUSTOMER_APPL in the coding for SCHEDMAN_INIT with your chosen value.
_________________
Baz

AsPiRiNg tUlY iDiOt

http://www.catb.org/~esr/faqs/smart-questions.html

Copyright ?2007 - 2008 www.jt77.com