ALE: Workflow Objects
HI,
do yo have some information about ALE / IDoc (Monitoring/Exception handling/Processing) Workflow processing ?
- Which BOR can be used ?
-Which classes can be used ?
- sample workflows.
- can i use the alerting framework with workflows ?
Thanks,
Gordon
Hi,
Check
http://help.sap.com/saphelp_46c/helpdata/EN/d4/09c276a3a811d189be0000e829fbbd/content.htm
http://help.sap.com/saphelp_45b/helpdata/EN/72/c18ee5546a11d182cc0000e829fbfe/frameset.htm
Edited by: Neenu Jose on Oct 28, 2008 10:57 AM
Edited by: Neenu Jose on Oct 28, 2008 11:00 AM
Similar Messages
-
How to know the workflow object name assigned to a Transaction code
Hi Friends,
There is one workflow object assigned to one transaction code VKM1. How can i know the workflow object name assigned to that particular transaction. Can anybody help me?
Regards
shankarHI
Please check t.code PPOMW
Thanks & Regards
Phaneendra -
Procedure to Call Workflow Object from ABAP program in Se38
Hi All,
I have one scenario like i have to call one Workflow object from ABAP program in SE38.The scenario is like below.....
I have to select some records from database table.For example there are 100 records in the internal table.
For all that records i have to invoke Workflow for getting approval from the authorized persons. Once Approval has come to program, It will post one document in SAP and process ends.
Please suggest me how to move forward with this scenario.
Regards
Manas Ranjan PandaHi,
So you want to start a workflow from an ABAP, if an event exists for that particular workflow then the best way is to use fm SAP_WAPI_CREATE_EVENT,
to start a workflow from an ABAP you can use fm SAP_WAPI_START_WORKFLOW.
Kind regards, Rob Dielemans -
Workflow objects in partner profile
Hi,
I am configuring partner profile for EDI. Is it mandatory to configure workflow objects in partner profile? Can I opt not to have error notification to any person or organazation?
In the Post Processing:permitted agent tab, the system is asking for workflow object details.
Thank you.Hi..
u have to assign the w/f object ,,....like BOR Object ...
Thanks,
Manjunath MS -
Workflow object FIPP.notworking in another client
Hi Gurus,
Right now we are working on workflow object FIPP.It,s working fine in our(sand box) client.when we try to do the same in testing client(which is available in the same system) not working.
Could you please tell me what are the client specific settings(in terms of customizing and workbench) to be made.
Note:we have created client specific prefix numbers and and their templates in the system .apart from this what are all the checks to be made as far as this config is concern.
Kindly help.
Regards,
Sathish.Satish,
The Workflow <b><u>runtime</u></b> must be customized in each client that you want to run/test your workflows. You can use the Auto customizing option from txn SWU3. You also need to activate the event linkage for the workflow and either assign possible agents to your dialog tasks or set the task as general depending on your needs in each client. Don't forget to refresh the org buffers (txn SWU_OBUF) after making these changes.
Cheers,
Ramki Maley. -
Other Objects( Workflow Objects) in SPAU
Dear All
We are going for Upgrade from 4.7 to ECC 6.0 . In that under Without Modification Assistant Node , there are OTHER OBJECTS Category. In that , all are in red traffic light and those are Workflow Objects like following.
PDTS 00007842
PDTS 01200231
PDTS 01200246
PDTS 01400009
PDTS 12300096
PDTS 12300110
PDTS 12500044
PDTS 20000085
PDTS 20000159
PDTS 20000193
PDTS 20000460
PDTS 20000889
PDTS 20000906
PDWS 00400012
PDWS 01200147
How to deal those above Objects???? Gimme a solution please
Kind Regards
Karthikeyan.Hello Karthikeyan,
is this still a problem?
Other objects are not supported by transaction SPAU, there is no navigation to the maintenance tool specially possible.
There is only a sign: you have changed an object which is not supported by the modification assistant and this object is now
delivered from SAP again.
You should use the maintenance tool for this object and your manual notes, which you make during the change of this object. For example, the workflow objects are the following:
PDWA Workflow Pattern with All Versions
PDWS Workflow templates
SCNT Workflow Container PPF (Definition + Data)
SIFL Workflow Documents: Logical Information Object
SIFP Workflow Documents: Physical Information Object
SWFC Workflow Correlation Definition
SWFT Workflow: process type
SWFX Workflow XML Proxy
They can be processed in SE95_UTIL like Julia informed.
Other examples of OTHER OBJECTS found in SPAU:
SmartForms: Object SSFO -> Transaction SMARTFORMS.
Queries: Object AQQU -> Transaction SQ01
In SPAU you can double click at the traffic light and on the next popup you can choose 'Adjust' or 'Reset'.
I hope this helps in some way
Best regards,
Tomas Black -
System Copy for Workflow objects
Hi Experts,
My client need to migrate code in some request from one system(Sandbox) to another system(Development). They r not adivicing me to transporting the request. They want to migrate each individual object. Could anyone suggest me how can I do this migration for workflow objects. Can I have an option of import and exporting the workflow template and taks.
Regards
JoseHello Jose,
The fastest and most painless way is to create them in the new system. There are just too many problems to sort out and the export function is a joke.
A quick tip: have two sessions open, switch between them and copy/paste your task texts etc.
Sorry it's not the answer you want, but it's going to save you the most time. It's not as much work as it seems, a couple of hours per workflow at most.
Cheers,
Mike -
Workflow Import Created Unusable, Undeletable Workflow Object
Hey everyone,
We have a massive, 37000-row approval process for one of our applications that we're attempting to move from one environment to another using the workflow import/export function in Workspace/Planning 11.1.2.2.300. The .exp file is 37000 rows and successfully exported from the application, but the import process hung and crashed. Now, when entering the Planning Unit Hierarchy, we see the object that we imported the hierarchy to, but workspace freezes whenever I attempt to open or delete the workflow.
I'm not sure if there's anything we can do at this point. We haven't tried a planning/workflow restart which we'll do when we have the chance, but were wondering if there is a backend table we could access to delete the workflow object from the application.
Any help you could offer to delete this workflow/approval process object would be appreciated!Reload with FORCE option to overwrite what is there.
Otherwise, you will have Purge a lot of different tables. Here are some:
WF_ITEM_TYPES
WF_ITEMS
WF_ITEM_ACTIVITES
WF_ITEM_ACTIVITY_VALUES
WF_PROCESSES
WF_PROCESS_ACTIVITIES
WF_NOTIFICAITONS
WF_NOTIFICAITON_ATTRIBUTES
WF_NOTIFICAITON_ATTRIBUTE_VALUES
There are more -
We're implementing ALE between our financials server and HR server.
We would like to set up some sort of monitoring to make sure the IDocs are processed successfully and want to notify users via some sort of Workflow.
From what I understand, the program RSEIDOCA collects the Idocs based on the status/message type etc.. criteria selected and sends them via SAP Mail to the appropriate people
And, I need to make sure all the partner profiles have an Agent assigned to them - this would be the person who's notified of errors.
I'm sure there's a lot left out. Can someone explain ALE workflow? How similar is it to normal workflow used on FI side?
thanks,
robert.Hi Robert,
SAP provides std WF for error handling. The link below will give you some useful information to get started. Hope this helps.
<a href="http://www.asug.com/client_files/Calendar/Upload/ ASUG%20EDI%20IDoc%20Error%20Handling%20Using%20SAP%20Workflow.ppt">IDOC Error Handling using Workflow Presentation</a>
Cheers
VJ -
I want to learn workflow objects. How to make a start ? If anybody has any tutorial document please send at [email protected]
Hi,
I would suggest you to get background info for workflow first.
http://www.onestopsap.com/SAP-workflow/
Good FAQs here
/people/mike.pokraka/blog/2005/07/17/sap-business-workflow-faq
This may not be clear but useful.
http://www.sap-img.com/workflow/sap-workflow.htm
I will suggest you can start from here.
http://www.erpgenie.com/workflow/index.htm
Feel free to revert Back.
--Ragu -
Effect of upgrade in workflow objects
Hi Experts,
We are upgrading the system from SAP version 4.7 to ECC 6. We have some workflow objects ( custom workflow and standard workflow with custom changes). Can you please tell me what are the errors can occur in workflow for upgradetion process. How to rectify them and how to correct those.
Thanks in advance,
Regards,
AbhishekHi Steve,
I am new bee in JMs over MQ series.
Pls. let me know how to configure JMS provider over MQ series 5.2
MQ 5.2 does not provide any JMS jars so how can I write a client for JMS.
Regards,
Lee. -
How to attach event to custome workflow object ?
Hi Guys,
Could someone help me on how to raise event while creating custom workflow object.We can attach event to object in transaction swe2 . I would like to know how to create that event. Could some send sample custom workflow object with events.
Many thanks in advance.
Cheers,
Garrick.Here's an example using Business object BUS2080 Service notification
I delegated ZBUS2080 to BUS2080 (service notification). Added 2 Events REASSIGNED and MODIFIED.
Use transaction SWO1 for manipulating business objects.
The User performs an action on a service notification (IW52) say PUT IN SERVICE AGAIN.
When the user puts the service notification in service again the event triggered will start a (user defined) workflow which makes a call to a method in the business object ZBUS2080 which launches a batch job.
This batch job creates our user event REASSIGNED which in turn calls a new workflow to be executed.
This workflow performs the action I want -- in this case to re-assign the service notification to a new person, send an email and escalate the deadlines
Code samples are shown below.
So here's how it works.
First you need to set up some entries with table SWE2. I've assumed you've already defined the events to the Business object(s) you want to use.
In SWE2 define entries for BUS2080 (or ZBUS2080) For Events INPROCESSAGAIN and (our event) REASSIGNED.
IN SWE2 define the receiver call as a FUNCTION MODULE
For the receiver function modules for the SAP event (INPROCESSAGAIN) define the receiver module as SWW_WI_CREATE_VIA_EVENT
For the event REASSIGNED define the receiver module as SWW_WI_CREATE_VIA_EVENT_IBF.
I have no idea whatwhat the difference is between the two but the process works when it's done like this.
Ensure the linkage Activated box is clicked in both cases.
Put your workflow numbers in the RECEIVER TYPE in SWE2 table.
In the first workflow when the user puts the service notification in service ensure your workflow starts a batch job which raises another event
Note : You need to instantiate the object (I.e supply the key) to trigger the event correctly. The key is obtained from the WF and will be in the container anyway.
You can do this by adding this type of function module into the method of the business object you want to execute during the first workflow. The code here creates a batch job which submits the EVENT creating program.
function z_create_event_for_cs.
""Local interface:
*" IMPORTING
*" REFERENCE(OBJECT_KEY) LIKE SWOTOBJID-OBJKEY
*" REFERENCE(W_REASON) LIKE HRPXXXX-DUMMY
*" REFERENCE(W_ESCLEVEL) LIKE HRPXXXX-DUMMY
Create Batch job to run ZZREASSIGNCS
which creates event REASSIGNED in Customer query workflow.
data: jobnr like tbtcjob-jobcount,
jobname like tbtcjob-jobname,
pgmname like sy-repid,
w_key like viqmel-qmnum,
w_code type c,
w_num type c.
w_num = w_esclevel.
jobname = 'CREATEEVENT'.
pgmname = 'ZZREASSIGNCS'.
call function 'JOB_OPEN'
exporting
jobname = jobname
importing
jobcount = jobnr
CHANGING
RET =
exceptions
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
others = 4
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = object_key
importing
output = w_key.
w_code = w_reason.
if w_code = ' '.
w_code = 'Z'.
endif.
submit zzreassigncs
with p_key = w_key
with p_escl = w_code
with p_escnum = w_num
via job jobname number jobnr
and return.
call function 'JOB_CLOSE'
exporting
jobcount = jobnr
jobname = jobname
strtimmed = 'X'
exceptions
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
invalid_target = 8
others = 9
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
endfunction.
For the actual program which creates the event use something like this
program zzreassigncs.
This program creates an event REASSIGN
This triggers a "clone" of the initial customer query workflow
which is now marked as completed.
The deadline and escalation level from the original workflow
should be passed to the new workflow via the event container
Program is submitted from the original workflow
Ensure transaction SWE2 has the event REASSIGN for bus object BUS2080
defined or the WF won't start even if the event is raised correctly
As this program is run as a background / batch task
you need to obtain the relevant notification number and pass it
as a parameter.
When run from the WF the you can get the notification number obtained
from the workflow / task container.
include <cntn01>. "For WF macros.
parameters: p_key like swotobjid-objkey, "Service notification number
p_escl type c,
p_escnum type c.
constants: c_event like swetypecou-event value 'REASSIGNED',
c_attrib like swotra-attribute value 'USRSTATUS',
c_object like swetypecou-objtype value 'BUS2080'.
data: w_object like swotobjid,
w_stat like tj30t-txt04.
data: rc like sy-subrc.
data: begin of event_cont occurs 0.
include structure swr_cont.
data: end of event_cont.
data: begin of return.
include structure swotreturn.
data end of return.
if running from WF rather than a batch job
swc_container container.
swc_get_element container 'Znumber' p_key.
w_object-objkey = p_key.
w_object-objtype = 'BUS2080'.
call function 'SWO_PROPERTY_GET'
exporting
object = w_object
attribute = c_attrib
changing
value = return.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
w_stat = return(4).
event_cont-element = 'Status'.
event_cont-value = w_stat.
append event_cont.
event_cont-element = 'Escalated'.
event_cont-value = p_escl.
append event_cont.
event_cont-element = 'Escalation'.
event_cont-value = p_escnum.
append event_cont.
Note WAPI calls only valid from rel 6.1 using Webflow engine
(part of standard WF since rel 6.1)
CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
EXPORTING
OBJECT_TYPE = w_object-objtype
OBJECT_KEY = w_object-objkey
EVENT = 'REASSIGNED'
IMPORTING
RETURN_CODE = rc
EVENT_ID =
TABLES
INPUT_CONTAINER = event_cont.
if rc <> 0. "Houston ---We have a problem !! '
write: text-002 color col_negative.
exit.
endif.
even though no database / table is updated here by the event
we still need the commit work to initiate the event correctly
commit work.
You CAN use Objects (OO ABAP) but if you are fairly new to this sort of stuff just stick with standard BOR (Business objects) to parctice on until you've got the hang of the process.
It's actually a lot simpler than most people realize --which is why WF consultants get paid decently !!!!.
Cheers
Jimbo -
Hello Gurus,
I want to setup workflow for ALE/Idoc error handling. Sap version 4.6B.
Can anyone please tell me in detail the steps need to be configured/setup for
the workflow. This is for customer master distribution.
Urgent please.
Thanks in advance.
Rgs,
AnantHi Ananth,
If you want to know how to activate the workflow for handling the idoc errors then here is the explabatio.
Go to tcode : WE42.
Choose any inbound processcode: ex : INVC and click on details.
Here usually the events are defined(Start and END event) for IDOC Error handling through workflow.
For process code : INVC
Object Type IDOCINVCON
Start Event INPUTERROROCCURRED
End event INPUTFINISHED
If any error is occured when IDOC for message type INVCON is created then IDOCINVCON.INPUTERROROCCURRED event will be triggered. You need to use this event in the start condition of workflow "which in turn will send the workitem to user who is responsible for correcting the errors".
Reward if it helps.
Thanks
Praveen -
Error in PR workflow - 'Object does not exist '.
Hi experts,
We have a custom workflow configured from purchase requisition, uses object BUS2105. Now there is an error which occurs in ad hoc basis due to which this workitem ends in error. Error says 'You tried to create an instance of the object type BUS2105 with the key <PR number>. No instance of this kind exists'. This is happening only for the PR create scenario. During change, no such error is coming.
This is happening before any method defined in workflow steps is called. If anyone has faced, resolved this kind of issue, please provide your valuable inputs.
Thanks,
SumanthCheck the binding from event to workfow container..whether all mandatory workflow conatainers are getting values properly or not...
I think you need to pass the item number as well... -
Workflow Object ID for Document Mangement System
Hi Friends,
We want to Implement Workflow in DMS (Docuemnt Management system). Is there std. workflow for this process or shall we need to create. If there is std. pls. let me know the Workflow task object ID and process.
Regards,
Sai KrishnaHi Sai,
Please reach out to your ABAP Workflow consultant to get it configured.
You can use the Enhancement 'SUSR0001' to code and triger an event/workflow. Then you need to develop the workflow accordingly for send the WI to the logged-in users' inbox.If you wish to work on the same personally, the below FAQ link may come handy:
http://wiki.sdn.sap.com/wiki/display/HOME/SAPBusinessWorkflow+FAQ
Regards,
Pradeepkumar Haragoldavar
Edited by: Pradeepkumar Haragoldavar on May 10, 2010 12:37 PM
Maybe you are looking for
-
17 inch i7 Macbook Pro Snow leopard install problems
Got my new 17 inch i7 MBP, powered it up everythings fine. So I go to re partition the drive and do a clean system install. Middle of the install it fails. Log file shows it cant read files from the DVD. So I grab a snow leopard install version 10.6
-
COPA Values in the Profitability analysis for a credit memo request
Hi All, When I am trying to create an Invoice document for a Credit Memo request having a Configurable material , in the accounting document profitable analysis Profit Center view fields are not getting updated. If we do the same thing for a referenc
-
Import package into Eclipse?
I've downloaded a package. It is a file called extra.jar. I've placed the file in my workspace along with all my other files in my current project. When I write import extra.*; it says that 'extra can not be resolved'. How do I fix this?
-
Company code for operational units in different countries
In this organizational structure (logistics industry) we have the main office in country A and operational units in different countries. The operatioanl units are legal entities. do these operational units require separate company codes ? pl send you
-
Going back to FCP from Color...use original format or ProRes422?
OK, so I've color graded all 5 reels for my feature film and am finally ready to send back to FCP and reassemble! I'm hoping Shane Ross can jump in here too since he's been SO helpful up to this point :-) So I have two different formats which I've gr