on 10-27-2007 8:03 AM
Hi everybody,
Can somebody kindly share some information with me on how to trigger a workflow when the user status of CJ20N transaction is changed?
I searched in whatever BADI's I know relating to CJ20N, but unable to catch the user status there. So, can I go ahead with the status change management?
Can somebody give me some good informations/links on this issue?
Thanks,
Max
Hi,
Check with FM STATUS_READ
Thanks and Regards,
Prabhakar Dharmala
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please check this link:
http://help.sap.com/saphelp_47x200/helpdata/en/36/4d55dbdea80e4fb08acac4c5cbe69c/frameset.htm
And also look these FMs:
STATUS_OBJECT_READ.
STATUS_BUFFER_IMPORT_FROM_MEMO
Thanks and Regards,
Message was edited by:
Prabhakar Dharmala
Thanks Mike and Aditya.
Well, I already tried this BSVZ configuration before but left.
Mike, for the particular entry I made in this, I need to put the field restrictions, right? Here, I am not getting any user status in the "User Status" column. But the system status values are available.
Do we need to maintain the entries in BSVWVCOUP6 table? If so, how?
Well, initially, I tried to create a status attribute for this BO. but there also I was unable to select any user status there, only system status are available. Have I missed out some configuration for this?
Thanks,
Max
Hi,
You need to specify the same status schema in BSVV as your project uses and the status restrictions allow you to specify which user status set/unset should trigger an event. Nothing else needs to be maintained.
Regarding status attributes for BO - unfortunately not for user statuses. This is also due to the status schema - an internal status number (e.g. E0001) can have different statuses in different schemas. You will have to write your own virtual attributes to take this into account.
Cheers,
Mike
Hi MP,
you need to create Milestones in order for your Workflow to trigger.
In PS, you can attach milestones to your activity.
Create a milestone thru CN11 and attach this milestone to an activity of your PS.
While creating the milestone, you need to mention your task id which should trigger when a User Status change.
Hope it helps.
Aditya
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.