on 01-13-2009 11:34 AM
Hi, I have created a new event for a new BO which heritate from BUS2105 (purchase requisition);
when the purchase requisition is created, the event is triggered.
The problem is that when I try to customize the SWEC transaction, I am not sure of the object class for purchase requisition, there is the object class BANF but I am not sure.
any idea?
thanks
Then, how can I link the creation of a PR and the new event I have created for BUS2105?
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christophe,
Yiou need to add an entry in SWEC to link your BO event to the PR creation.
Execute Transaction SWEC.
Click on new entries.
Change document object = 'BANF'
Object type BUS2105
Event <your event>
Select Field Restriction.
Click on New Entries
TABLE : EBAN
Field name: DISPO
OLD value *
New Value *
Hope this helps!
Regards,
Saumya
Hi Christophe,
If you want to trigger a workflow using BO event you need to make an entry in SWETYPV transaction to do event linkage to the workflow.
Else you can manually go to t-code SWDD and set your BO event as the trigegring event of the workflow.
To do binding between the BO event and workflow perform the following steps:
1. Go to t-code SWDD and open your workflow template.
2. Go to Basic Data (cap sign button at the top of the screen) or click Ctrl + F8
3. Go to Start Events tab.
4. In the Object type enter your BO name, in Event of object enter the BO event.
5. Click on 'B' i.e. Binding Defined, click on generate automatic binding. It would automatically generate the appropriate binding for the workflow. You can also alter the binding as per requirement.
6. Click on 'C' i.e. Start Condition. A dialog would open, select the appropriate start condition for the workflow. Check the condition before saving (recommended).
6. Click on 'A' to Activate the binding and start condition. All 'A', 'B' and 'C' would get green.
7. Save the changes made and activate your workflow.
Please check if the following links help you regarding workflows:
http://saptechnical.com/Tutorials/Workflow/Workflow.htm
https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/workflow%252bscenario
/people/sapna.modi/blog/2007/02/19/workflows-for-dummies--introductionpart-i
Hope this helps!
Regards,
Saumya
Hi,
I have already done the linkage between the BO event and the workflow in transaction SWETYPV .
The workflow has been well customized, I have already done the steps from 1 to 7. One remark, there is no start condition for the workflow.
I think the problem comes from the linkage between the PR creation and the BO event.
I have added a new entry in transaction SWEC as followed
Change document object = 'BANF'
Object type BUS2105
Event <your event>
Select Field Restriction.
Click on New Entries
TABLE : EBAN
Field name: BANFN
OLD value *
New Value *
It is not working, I do not know the source of the problem.
Hi Christophe,
The problem is that when I try to customize the SWEC transaction, I am not sure of the object class for purchase requisition, there is the object class BANF but I am not sure.
Please explain why do you need to customize the SWEC transaction?
Also refer to the following link:
http://help.sap.com/saphelp_nw04/helpdata/en/c5/e4aeef453d11d189430000e829fbbd/frameset.htm
Regards,
Saumya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.