How to trigger FI Standard Workflows
Hi,
I have never worked on FI Standard Workflows . As far as I knpow there is a std WF available WS00400012 with Object type BSEG. For Vendor Down Payment Request, Vendor Payment Request Against Invoice, Vendor Down Payment Posting,Vendor Payment Posting, Vendor Invoice FI, Vendor Invoice Logistics Posting, Vendor Credit Memo, Vendor Debit Memo, Cash Payments, Asset Posting what are the Standard Workflows available and how to trigger these workflows. I have checked with SWELS but WS00400012 is not getting triggered. Is there any SPRO config required for this, POlease help me out with the solution.
THanks
Edited by: Saujanya GN on Sep 16, 2008 8:23 AM
Hello Munish,
As Venugopal has mentioned, you have to find the relevant BTE for the process and use it to raise an event and in turn trigger the workflow.
The following is the process to find a BTE and implementing it.
(1)Goto transction FIBF .Execute it with Attribute type = 'A' and then menu Environment->Info System (P/S ).
Choose the relevant BTE using the descriptions provided.
(2)Select the BTE you want to implement.
(3)Press button Sample function module
(4)This brings you to SE37 - Copy the sample function module to a Z-function module (First create a new function group for the function module) . Note: The name of the Z-functionmodule is not important
(5)Edit the code in the new function module
(6)Go back to transaction FIBF - Menu Settings->Products -> Of a customer and create a new product whicj identifies the new product . Remember to mark the Active field.
(7)Go back to FIBF menu Settings->P/S function modules->of a customer - Create an entry that links the BTE and Product with the new function module
Hope this will help.
Regards,
Samson
Similar Messages
-
How to trigger a standard workflow task in customizing program?
Hi experts,
Does any1 have any ideas about how to trigger a standard workflow task in customizing program? Is there any FMs can be used to do this?
Thx in advance. Points will be rewarded.
Vincentwill followiign Fms help -
'SWE_EVENT_CREATE'
SWR_START_WORKFLOW
SWU_START_WORKFLOW -
How to copy a standard workflow template
Hi,
I have a standard workflow template. I need to copy this template i.e the whole workflow template and need to do some modifications.
how can I copy the standard workflow template to create a new template. Is there any option in SWDD tcode.
Thanks
Nandha kumarhi Nandha Kumar,
1-> goto Transaction PFTC
2->choose Workflow template in the first drop down box
3->Enter the standard WF number in the second field
4-> click button <b>'Copy task'(4th button on the application toolbar)</b>
5->Give the Abbreviation and Name for the new custom WF
6->Click 'Copy Task' button, or press Enter
Hope this helps,
Sajan Joseph. -
How to activate the standard workflow :ws10000051
hello,experts
here is my problem:
I want to activate the standard workflow for document parking :ws10000051 .
I have already activate the event type linkage in SWE2.
And then , i maintian obwa , obwj , obwb, obwc, obwd.obwe,obwf.
In obwa,i choose posting release , subworkflow is ws10000055.
In obwe, Swf amnt rel is ws10000052.
In obwf , the org object is the position cfo (myself), before i assign this ,i create a position in ppoce.
But, when i use f-65 to park a document , i can't receive any workflow in sbwp. I also find "the status of Document Parking (Frame), Parallel is error " in my outbox.
Can anyone tell me the reason ?
Thanks !hi ,hari,
you are right . when i check swel ,i found ws10000051 : evnet put in the queue . more detail message said :The OPEN_DI of BTE 00002214 could not determine any function modules.
when i check the workflow log (view with technical details), the activity :' determine subworkflow for amount release of document etermine subworkflow for amount release of docu ' status error . the message said :error in workflow customizing for document parkig (transaction obwe).
i don't understand this , because i have already maintian obwe. i made a new entry,like this:
wrkf :1000 (workflow name)
apth: 1000 (workflow approval path)
ammont to : 9999999
crcy: eur
wsf amnt rel :ws10000052
so ,could you tell me more details about this problem ,
thanks -
How to trigger a second workflow from a workflow?
Hi All,
I want your guidance in deciding the process flow of a workflow to be developed.
We have a scenario in our project where we have to develop a workflow for vendor creation/change
done through a portal.Now we have designed to do through this 2 workflows.
First workflow is triggered when the create/change is done in the portal and the entry is made in a
z table.This is the trigger point of first workflow.
First workflow will identify all approvals and store them in another z table with all the approval levels needed and the approval groups stored in the z table itself.
Second flow will trigger on the entry made in this z table.It will read all approvals and send the mails to tha approvers in the respective aproval groups.
Now can you please verify this.Is it possible to trigger a second workflow from a workflow?
If yes then can you please explain the methodology to do the same?
Also if any other approach can be taken,please suggest the same.
Thanks a lot,
Saket.First Develop a Z Business OBject (let ZVENDOR) to update the Z table when ever a Vendor is created or Changed.
Now For the first workflow do like this
From the WD application when the user clicks on the SAVE button then call the Function module SAP_WAPI_START_WORKFLOW .
Develop a method in the ZVENDOR to update the Z table.Make the method as background.
Use the method that you have created in the above point in the first workflow but prior to this make sure that you have passed all the required information to the workflow.
Once the table is updated.
For Second Workflow
Create a Change document object for the Ztable.
And trigger the workflow when ever any entry is made or changed in the z table -
How to trigger a WLPI workflow by sending XML event
Hi,
I try to trigger a workflow in WLPI 2.1 by sending an XML Event from another application.
But I don't know where to send it and how (i.e. via JMS or not).
Any idea how to do it or where I can find helpful documentation (standard BEA
WLPI docs didn't help much on that topic)?
Regards,
JörgHi,
Still, what is so specific about this ACE_DISPATCHER in CRM? Can you explain a bit more about you problem. I am quite sure that not that many people in this workflow forum is familiar with this concept.
Is there some problem in triggering the batch job itself? I still cannot see any reason why you couldn't use the check function module? If you cannot use check function module, what makes you think that some other solution would work. Eventually you will use the same code - the place where you trigger the code might be different, but it will be the same code.
Regards,
Karri -
How to trigger standard task manually in Process controlled workflow?
Hi All,
I would like to trigger a task mannually in BRF, process controlled workflow. My requirement is to send an approval notification to the approvers at the current approval level, at any instance by the requestor of the shopping cart. In that case, will it be possible to trigger the standard task 40007953 (SRM Shopping Cart Approval (1)) with the workitem of Shopping cart under consideration?
I have tried searching for the same in SDN and other forums but most of the information was regarding application controlled workflows. None of those function modules seems to be working in PCW.
Any pointers on how to trigger a standard task (using FM or code) in BRF(process controlled workflow) environment is also highly appreciated.
Thanks,
S.H@riHi,
Use this FM [SAP_WAPI_START_WORKFLOW|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/bb9100f8-0c01-0010-ac8e-e017351f3fc1].
Regards,
Surjith -
How to use standard workflows in my company?
Hi Experts,
I want to know how do i use standard workflows for my company. I have searched forum, but coudn't find proper answer. I have seen some standard workflow numbers(eg.WS12300111). But when i search for them it wont works. It will pop up "Choose Workflow Template" window. When i select the module there it opens up the empty folders.
What is the meaning of this?
Can i know what do i need to do for overcome this problem?
Thanks,
Rashika.Hello rashika ,
To differentiate between standard and custom workflows .
All custom workflows would have first three digits lying betwee 900-999 ( called prefix number range )
The number range 90000000 - 99999999 is reserved for customer developmen t and the range 00000000 - 89999999 is reserved for SAP.
Or to know precisely what exactly is the number range of custom workflows in your system , check through tcode OOW4.
To help with your search in HR workflow , I am providing some -
HR -OM
WS01000014 Execute Designated Personnel Action
WS01000038 Consolidate Headcount Planning
WS01000039 Generate Headcount Planning
WS01000040 Create Vacancy for Position
WS01000041 Delimit Vacancy for Position
WS01000043 Error in processing a vacancy
WS01000077 Execute Designated Personnel Action
WS01200136 Message New Employee in Department
HR-PA
WS00400077 Absence approval (asynchr. unlock)
WS00400078 Handling of unapproved absence
WS00400095 Display approved absence
WS00400220 Preparations for start of work
WS00400221 Choose letter
WS00400222 Approve absence (sychr.unlock)
WS01000015 ESS Plausibility check change of address
WS01000036 ESS activities after hiring
WS01200175 Entry due to country reassignment
WS20000003 Pay increase approval with SAP forms
WS20000015 Approve absence
WS20000017 Determine basic pay items
WS20000018 Resubmit postponed pay increase
WS20000057 Find and Lock Employee
HR-TM
WS01000109 Cancel leave request
WS01200003 Find and Lock Employee
WS04200009 ESS Leave Request
WS12300111 General Workflow for Documents
WS12400004 ESS Leave Request Without Approval
WS12400005 Cancel absence
WS12400007 Cancel Absence Without Approval Step
WS20000081 Leave Request with HTML
HR-PY
WS01000090 W-2 form reprint
HR-BN
WS01000001 Initial enrollment Benefits
WS01000002 Create offer and inform employee
WS01000003 Create adj. reason because of event
WS01000009 Check if the employee is locked
Thanks,
sahiba -
Hi Experts,
We have ECC6 EHP4 system, and now in need to activate the SAP Business Workflow in Recruitment (PA-RC) .
In Tcode OOCU, the component PA-RC is visible but no agents assigned. How to activate these standard workflow. Is there any impact on other components by this activation? Do we need to activate any business functions in SFW5 for this ?
Please advice.
Regards,
Nibu AntonyHi,
Standard Workflow will not affect components.
You can activate from SWDD -> enter workflow -> Activate
refer to the link below
http://help.sap.com/saphelp_46c/helpdata/fr/e4/23ee347a34d111a4620060b03c3b0e/frameset.htm
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10bcbd65-64ea-2a10-9a8d-b653b8e0843c?QuickLink=index&overridelayout=true
How to activate Workflow for enabling users to Approve Purchase order -
How to trigger workflow from WDA and read workflow container into WDAscreen
Dear Expert,
Please suggest the solution for the following requirement:
1. Create 1 leave request from WDA and submit for approval
2. When User press "submit" button in WDA screen, workflow will be triggered for processing approval .
3. When 1 request is sent to approver, he logon into portal and access to UWL to process task himself.
4. After he press approval link, the system will call WDA screen to process approval ( this screen will contain full information of requester.)
5. After finishing process, the result will return workflow and end of process.
Please send simple example for step 1 and one for get data from workflow into WDA screen at step4
Any help would be appreciated
Thanks and best regards,
DucTV.Hi,
I am not sure for what reasons you are developing a application but SAP has its own standard workflow process for applying leave from ESS portal..
1. AS soon as you click on the submit button of the applicaiton then you need to trigger a workflow right in that case you make sure that you need to pass some data to the workflow container I hope you might be using either SAP_WAPI_CREATE_EVENT or SAP_WAPI_START_WORKFLOW to start the workflow in both the function module you have to fill this table in Order to pass the values from ABAP program to workflow container.
The answer to your question is it depends on the type of the work item ID you are passing to the SAP_WAPI_READ_CONTAINER if you are passing a top work item ID then you will have workflow container in LT_CONTAINER if you are passing any of the child or dependent work item ids of the top work item id then you have that respective task container value.
2. You can make use of the any foreground activity or a decision step, it depends on how you want to get back the result, if you use a foreground activity step then in that case you have to populate the result back to the task container and if let say you are using a decision step then in that case you do not have to populate the result there will be standard container element _RESULT in the decision step it will be filled.
Make sure if you are expecting some work item in UWL and as soon as you click on the work item your application should open then configure in SWFVISU transaction and maintain DTD in UWL any portal consultant can perform this steps in few seconds.
3. When the workflow is started then the work item which you are able to get back is the one which helps to identify dependent work item ids it is the TOP or PARENT work item ID.
Regards
Pavan -
How to trigger workflow from abap program
Hi Experts,
i have a user developed screen in which there is an option to approve (not a std tcode)
for which there is no event created.
i am very new to workflow ,
now how to create an event and also how to trigger the workflowHi,
You can run a ABAP report or call a transaction from the BOR's Method directly.
Check this link for more info.
http://help.sap.com/saphelp_nw2004s/helpdata/en/80/9a3cb3971c11d194c60000e82dec10/frameset.htm.
In order to trigger an event programmatically, we would use the function module SWE_EVENT_CREATE.
BUS1001006 ( Standard Material )
here is the sample code.
DATA: key LIKE sweinstcou-objkey.
key = '68." Material Number (hard-coded)
CALL FUNCTION 'SWE_EVENT_CREATE'
EXPORTING
objtype = 'BUS1001006'
objkey = key
event = 'CREATED'
CREATOR = ' '
TAKE_WORKITEM_REQUESTER = ' '
START_WITH_DELAY = ' '
START_RECFB_SYNCHRON = ' '
NO_COMMIT_FOR_QUEUE = ' '
DEBUG_FLAG = ' '
NO_LOGGING = ' '
IDENT =
IMPORTING
EVENT_ID =
TABLES
EVENT_CONTAINER =
EXCEPTIONS
OBJTYPE_NOT_FOUND = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
WRITE 'Event Triggered'.
ENDIF.
COMMIT WORK.
In order to test whether the event is getting triggered or not, we can make use of Event Trace. Switch on the event trace using the transaction SWELS.
Press Switch On.
Now execute the program developed earlier. Now switch-off the event trace using the same transaction SWELS.
Now go to transaction SWEL. Here you can list out the events triggered in the particular period of time. Here is the event-trace list:
Regards -
How to trigger a workflow using generic object services?
Hi Experts,
Let me know on how to trigger a workflow using generic object services.
My requirement is to trigger the FI document reversal document using Object services.
Any info or docs relevant to this, please share with me..
Thanks,
Dinesh.Dinesh,
First of you need to check if the transaction has a BO (in released status) published to use the GOS.
These are the pre-requisites for GOS
http://help.sap.com/saphelp_46c/helpdata/en/94/aa532cddd511d289860000e8216438/content.htm
Once done.. check that you have valid workflow linkages active for this BO.
Now when you click on the 'start workflow' the system will show all relevant workflows for the BO to choose from and to start. -
HOW TO TRIGGER AN WORKFLOW FROM A PROGRAM ?
HELLO THERE ,
CAN ANYBODY PLZ TELL ME HOW TO TRIGGER AN WORKFLOW FROM AN PROGRAM AND TO PAS THE VALUE TO THE CONTAINER ?Hello Neon,
If you want to trigger the workflow directly, use the FM, SWU_START_WORKFLOW
CALL FUNCTION 'SWU_START_WORKFLOW'
EXPORTING
task =
* LANGUAGE = SY-LANGU
user =
* SENDER_ID =
* IMPORTING
* RETURN_CODE =
* WORKITEM_ID =
tables
* CONTAINER =
* MESSAGE_LINES =
attachment_list =
A workflow can also be triggered by and event which is in turn triggered by a program.
By the FM, SWE_CREATE_EVENT
Example:
w_key = 'Connie'.
w_creator-otype = 'US'.
w_creator-objid = 'SAPDEV02'.
CALL FUNCTION 'SWE_EVENT_CREATE'
EXPORTING
objtype = 'YH_BUDDIES'
objkey = w_key
event = 'event'
creator = w_creator
* TAKE_WORKITEM_REQUESTER = ' '
* START_WITH_DELAY = ' '
* START_RECFB_SYNCHRON = ' '
* NO_COMMIT_FOR_QUEUE = ' '
* DEBUG_FLAG = ' '
* NO_LOGGING = ' '
* IDENT =
* IMPORTING
* EVENT_ID =
* TABLES
* EVENT_CONTAINER =
EXCEPTIONS
objtype_not_found = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
WRITE: / 'EVENT TRIGGERED'.
ENDIF.
COMMIT WORK.
Hope it helps you.
Regards
Indu. -
Standard workflow trigger..
I have a standard workflow (<b>WS20000080</b> for release of RFQ, u can check it ) in SWUI transaction.
Now I want to know what are all the steps that I have to do ->
<b>So that that workflow will trigger automatically whenever we release that RFQ.</b>
Is anything I have to do in that workflow WS20000080, u can see that..??(like agent assignment or in event start??)https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9180cbaf-0801-0010-f882-f2af6dc975d0
http://help.sap.com/saphelp_nw04s/helpdata/en/90/83ed38f5f41a28e10000000a114084/content.htm
for creating events
http://help.sap.com/saphelp_nw04s/helpdata/en/56/ad923ebab311d2b47c006094b9ea0d/content.htm
Check the weblog too
/people/jocelyn.dart/blog/2006/07/27/raising-abap-oo-events-for-workflow?page=last&x-maxdepth=0 [original link is broken]
/people/jocelyn.dart/blog/2006/07/27/raising-abap-oo-events-for-workflow
Also this tutorial from service.sap.com
https://websmp103.sap-ag.de/~iron/fm/011000358700000755501999E/99/*//BIT601/X//
Please reward for the same. -
How to trigger a workflow when data inside a table changes
Hi
How to trigger a workflow when data inside a table changes ??
We need to trigger a workflow when STAT2 field value in PA0000 table changes.
rgds
ChemmanzMake use of Business Object BUS1065. In this business Object you have an attribute Status which you can use. There are a number of events that will get triggered when the status is changed.
Thanks
Arghadip
Maybe you are looking for
-
Still having problems with insufficeint permissions - after clean install
I'm seeing this on multiple friends' computers, and now have it on mine. An auto update fails with the error of insufficient permissions. (I can't find how to post a screen shot of it.) I read through several discussions, and ran the manual uninstal
-
How do I transfer a ringtone made in an app to iTunes 11?
I have done this before on the old version of iTunes, and I am seeing a "tones" tab as some have mentioned they have not, but it just won't transfer when I drag. I also tried "file-->add to library" and that isn't working either.
-
How can I map last of the repeating records into a single record?
I have a following input schema, I need to take only one of the <Student> records and map that to a single record in output. Doesn't matter if the first, second or last one of the records get mapped, I only need one in the output. Any idea how can th
-
MBPro problems with image manipulation apps
My MBPro 15" 2011 never gave me any problem and I gotta say I am quite happy with it running any kind of app, recently, very recently, it often hangs up and requires many restarts to log in again, sometimes the grey screen stays still forever, some o
-
Hi. I just installed Safari 4 on my work PC. When launching the application it crashes immediatelly. In the Application Event viewer the following is collected: Faulting application safari.exe, version 4.530.17.0, faulting module msvcr80.dll, version