Workflow not executing after PR release of PR through ME54N
Hi,
I have a probolem. I have created a workflow for intimation after PR release through ME54N based on release strategy . i.e. an email will go to different persons after releasing of the PR at different levels . My problem when i am releasing through ME54N the mail is not going to persons but if i execute the workflow directly giving the PR no in that case the mail is flowing . I have used the business object BUS2009 and i have selected the event 'Release Step Created".
Can any one help me out.
thanks in
Hi,
Try triggering the workflow event by coding (calling the FM to create an event - SWE_EVENT_CREATE) in an enhancement at the time of releasing the PR through ME54N.
Also check the following scenario for reference.
Check the organizational data, the release strategy customizing and the event and instance type linkages :
1. First you must have created in the organizational plan the user names, positions, jobs, etc. that you assign to the release code(s), and must have linked them to the relevant standard tasks with the Task Customizing (transaction OOCU).
2. When you create the release code(s) that you need for your release strategy and assign the code(s) to your release group, you should indicate that the release code(s) is (are) relevant to workflow (transaction OMGQ for purchase requisitions and transaction OMGS for purchase orders -> Release code).
The Workflow indicator is also used to control role resolution.
The Role Resolution with Group, Code and Plant (T16FW) [1] is the standard role resolution.
The Role Resolution via User Exit [9] allows you to define a role resolution via customer exit.
Then you should link the release procedure to workflow if you are not using customer exit and assign a processor ID to the workflow-relevant release code(s) (OMGQ or OMGS -> workflow).
3. For the workflow WS00000038 (Workflow for requisition release) you should have maintained the following events with transaction SWE2 (Change View "Event Type Linkages": Overview) or transaction SWE3 (Change View "Instance Type Linkages": Overview) :
RELEASESTEPCREATED with SWE2.
Object type BUS2009
Event RELEASESTEPCREATED
Receiver type WS00000038
Receiver FM SWW_WI_CREATE_VIA_EVENT
Check function
Receiver type FM
Destination
[X] Type linkage active
REJECTED with SWE3.
Object type BUS2009
Event REJECTED
Receiver type WORKITEM
Receiver FM SWW_WI_COMP_EVENT_RECEIVE
Check function ME_REL_CHECK_EVENT_PARAM
Receiver type FM
Destination
[X] Linkage activated
RELEASED with SWE3.
Object type BUS2009
Event RELEASED
Receiver type WORKITEM
Receiver FM SWW_WI_COMP_EVENT_RECEIVE
Check function ME_REL_CHECK_EVENT_PARAM
Receiver type FM
Destination
[X] Linkage activated
SIGNIFICANTLYCHANGED with SWE3.
Object type BUS2009
Event SIGNIFICANTLYCHANGED
Receiver type WORKITEM
Receiver FM SWW_WI_COMP_EVENT_RECEIVE
Check function ME_REL_CHECK_EVENT_PARAM
Receiver type FM
Destination
[X] Linkage activated
Regards,
Harish
Similar Messages
-
Workflow not triggering after undletion of expense line item after release
Hi Experts.
There is one issue in which a PO contains inventory line item (an item without account assignment category) and expense line item (an item with account assifnment category).The user releases the PO through workflow.The user then deletes expense line item and after a span of time he undeletes the same line item.Now the business requirement is after undeletion of expense line item the workflow should trigger again.I have consulted with technical team they say that it is not possible by coding and is possible trough customization.Hi,
Please check that Change Version for PO is active.
IMG: SRM -> SRM Server -> Cross-Application Basic Settings -> Switch On Version Control for Purchasing Documents
Regards,
Masa -
Workflow not executing - No event error no log errors
Hello experts,
I finally solved the exceptions i was getting in my work flow and all the thanks goes for all the forum participants in general and to Sudhindra, and Glauco specifically,
Now i have another error that i am clueless about, i want to trigger the workflow when the status of a document changes, so when i change the status nothing happens, in SWEL there are no errors, It says that receiver started correctly, in ST22 there are no errors, but
the workflow does not execute, the workflow should open a web browser, so it is not opening it. Any ideas as to why this is happening ?
regards
Points are awardedI have replied to this in the original thread... anyways here is a copy of the same...
No the background task is executed by the user WF-BATCH and once the function module is called the user transfers the control to the SAP GUI and then the SAP GUI communicates with the OS. In this case if the task is background then how will the OS know where to call the web browser? It will not know the user to whom this request must be dispatched.
So the bottom line is that you cannot use this functionality in a background task.
There is one workaround that comes to my mind. What you can do to inform a user that the "Changed" event has triggered is as follows:
1. Create a workflow which will trigger off from the Changed event of "DRAW"
2. Create a send mail step and check the checkbox that says "Send Express" and include the URL you want to open in the Mail body and then send it to an outlook user.
If you use the Send Express flag then the user will be intimated once the event has occured if and only if he uses the SAP GUI. If the user does not use the SAP GUI then you can remove the check but just send the mail to the outlook so that the user receives the email in outlook once the event has triggered!
Apart from this nothing comes to my mind!
All the best!
Sudhi -
PR not generated after WO released.
Hi,
I created an external service operation and assign it to a contract. I would expect after release the work order, an auto PR will be generated. However, when I display the external item to see the PR number, the Requisition field is blank. No PR generated for the work order.
In order to generate the PR, I tried to add new external service operation to the work order. Unfortunatly I hit error message 'Purchase requisition for service activity / element cannot be generated Message no. CN 764'. I've entered every item required for the external service, but keep getting same error message.
Please advise, if anyone knows any correction program available in the system that can auto generate the PR.
Thanks and regards,
Maziyah.Dear,
Since the service packet has not been created, no purchase requisition can be created. Therefore, the system generates message CN764 and the indicator is set to 'Never'.
If the assigned activity has status 'REL', the created service element is also released. If the Res/PurcRq indicator is set in the activity element (immediate or from release), the system attempts to create a purchase requisition.
System generates the purchase requisition immediately after the service lines have been maintained.
Also check the specify the item category as D?
Regards,
R.Brahmankar -
Workflow not Trigerring after kernal upgrade
Hi Experts,
Recently basis team has upgraded the Kernal in SRM environment.I was going through whether entire process in SRM is working fine or not.
I found that workflow is not working properly.Once i create a SC in SRM,system shows the status as Awaiting approval but if i check the same in BBP_PD there is no workitem found.
i have cross verified the workflow settings they are looking fine.I found a queue in SM58 with the staus "Screen out with out connection to error." and the Fm it is showing against the item is BP_PDH_WFL_DB_UPDATE_BACK and target system is %%ashost=ctnhsapdsr,sysnr=00
Do i need to delete this Queue or else how to proceed?Kindly guide me in this
regards
subbuHI Evans,
i have performed the step as suggested by you once i execute LUW then it shows a message "Function module does not exist or EXCEPTION raised" and the status Text changes to "ThISend: bad tm type / connection close"
kindly suggest what needs to be done
regards
subbu -
Hi,
I am new in workflow. I am working on quotation workflow. I am using one zbusiness object which is working perfectly. But when i am using this object in my workflow one of method in this object is not working . It is excuting properly but logic within this method is not working.
Regards,
GurpritI wouldn't mind trying to help, but I can't - because you're not letting anyone help you! How do you think we can help with your problem when you:
1) don't say what you are trying to achieve with your method.
2) don't give us the non-working (section of) the code.
So please give some more information about your problem. Read the community guidelines for information and tips about phrasing your question.
PS: When one of the methods in your object is not working I think it is slightly incorrect to say that your object is working perfectly... -
Objects not changed after successful release of transport requests
Hi All,
We added two free characteristics to a query and collected that query in a transport request in development.The request is released and imported successfully in quality.The problem we are facing now is that the two characteristics are not reflected in the query.But the hexadecimal numbers for the two characteristics are captured under the released transport request in Quality.
Could someone please help me out in solving this issue.............
Regards,
ShravaniHi,
Thanks for the prompt reply.We have collected it through transport connection only.As I have mentioned in the thread import is successful ,hexadecimal number is present under the transport request but the changes are not present in the query.Could it be the problem with importing?...................
Regards,
Shravani -
Sqlplus not execute after oracle SCN patch
HI Experts,
Recently we applied Oracle SCN patch on one of our databases and restarted the database.
Later while giving sqlplus command at server level its throwing below error..
chokcu1:/home/adm1$sqlplus /nolog
ksh: sqlplus: cannot execute
chokcu1:/home/adm1$
I am getting Permission Denied exception on the below files..
-rw-r--r-- 1 oracle dba 1427176 Mar 4 2008 libsqlplus0.so
-rw-r--r-- 1 oracle dba 2112904 Feb 25 16:21 libsqlplus.a
-rwxr-x--- 1 oracle dba 1419192 Feb 25 16:21 libsqlplus.so
Please let us know what action i need to take to resolve ksh: sqlplus: cannot execute erroruser11175946 wrote:
HI Experts,
Recently we applied Oracle SCN patch on one of our databases and restarted the database.
Later while giving sqlplus command at server level its throwing below error..
chokcu1:/home/adm1$sqlplus /nolog
ksh: sqlplus: cannot execute
chokcu1:/home/adm1$
I am getting Permission Denied exception on the below files..
-rw-r--r-- 1 oracle dba 1427176 Mar 4 2008 libsqlplus0.so
-rw-r--r-- 1 oracle dba 2112904 Feb 25 16:21 libsqlplus.a
-rwxr-x--- 1 oracle dba 1419192 Feb 25 16:21 libsqlplus.so
Please let us know what action i need to take to resolve ksh: sqlplus: cannot execute errorpost results from following OS commands
id
env | sort
which sqlplus -
OMS Jobs could not execute after server shutting down for days in holiday.
Hi all,
I found yesterday that all jobs won't run after a long term holiday(several days),the Oracle Management Server and the database server installed on different machine,all shutdown before holiday.Those jobs were scheduled to perform day by day without ending date.
Howerer,when we come back to work and startup database server and the Management Server,in the past two days those jobs won't run anymore.I add a new job and find it can run correctly.And I found there is many extra connections from OS users DBSNMP to database,why?Each time I stop the agent service on the database host,and then restart it,I found in the jobs history lists there is failure notice said "job failed while running due to the agent stopped".
Should I recreate those jobs again?There is about 20 different jobs,my God!
Your reply is highly appreciated!Try editing boot.properties file in both Admin server and bi_server1 in these two locations
domain/servers/AdminServer/security/boot.properties
domain/servers/bi_server1/security/boot.properties
Once it is done,Try restarting and let us know the outcome.
Thanks, -
Custom Trigger after Delete not executing
I have a custom trigger that I want to execute after a user performs a DELETE Transaction. Here is the PHP code:
$DB_SERVER = "somewhere.com";
// username:
$DB_USER = "me";
// password:
$DB_PASS = "password";
// database name:
$DB_NAME = "training";
$sessid=$_GET['sessid'];
$userid=$_GET['id'];
mysql_connect($DB_SERVER, $DB_USER, $DB_PASS);
mysql_select_db($DB_NAME);
$sql = "DELETE FROM tms_registered where eid ='$sessid' AND uid = '$userid'";
$sql2 = "SELECT COUNT(*) AS max FROM tms_registered WHERE eid ='$sessid'";
$result = mysql_query( $sql2 )
or die ( 'Unable to execute query.' );
$max_value = mysql_result($result, $i, "max");
$sql3 = "UPDATE tms SET cur_reg='$max_value' WHERE tmid='$sessid'";
I have also written the trigger by declaring the variables at the top of the PHP script page and then use 'global': at the begining of the trigger:
global $DB_SERVER, $DB_USER, $DB_PASS, $DB_NAME, $sessid, $userid;
The trigger does not execute after the DELETE transaction. What am I doing wrong?
TIADear Karthi & Santosh,
Thanks for your prompt replies.
I am already maintaining following detail in OPJF
01 5 S 1 Production 4 Released (general)
Dear Santosh,
I have changed the Syst.Sts from REL to CNF and save it. Deleted the trigger point assignment and reassign it. Create new Production Order. But Now
Trigger is not executing at the time of order creation as well as Order confirmation (CO11N).
There are following functions available in the system:
Release succeeding operations
Release up to stop indicator
Release preceeding operations
Create order with reference
Insert reference operation set
Start workflow task
and i am using "Create order with reference" is it OK, or I have to use another function.
Please suggest.
With thanks,
DSC -
hello,
in the attachement you can find a vi which doesn't show any wiring error. but it is not executable.
can anyone help me?
thanks
markus
Attachments:
vi.JPG 307 KBHow u saying your VI is not Executable.
you are not got the expected results or the VI is not executing after run button is pressed.
Balaji PK (CLA)
Ever tried. Ever failed. No matter. Try again. Fail again. Fail better
Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved. -
TS20000174 task in Workflow WS20000079 not executed
Hi ,
I Created cusom workflow by copying the standard Workflow WS20000079.
While Creating the contract in transaction ME31k custom workflow will be triggered because event linkage using the business object bus2014 and event RELEASESTEPCREATED has been done .
I assigned user USER1 to the Task TS20000172 , so workitem is created in user USER1 Inbox , once we execute the workitem it displays dialog with release and save option, i clicked release and save. then process flow goes to contract release in workflow but the task TS20000174 ( Release task effected ) is not executed . but workflow status shows the workflow is completed
why TS20000174 task ( Release task effected ) is not executed. i want to assign user USER2 to the task TS20000174 . this task should be executed by USER2
after this i want to add mail step.
Please give suggestion .
RegardsHi suresh ,
TS20000174 is Generic task
outcome "Contract released " in outcome tab for task TS20000172 is also active
release code also properly populated for the task TS20000174.
the initiator also receive the information that the contract is released
then work flow status is completed all the steps are working fine .
i want to add mail step once tasks TS20000174 is executed.
when i see the graphical workflow log, i can see the green mark upto the task TS20000174 after that nothing will be executed.
and also the green mark will not be reached the workflow completed step.
is there any problem in task TS20000174 , then how can i add mail step.
Regards ,
Krishnan R -
Workflow step Mail with purchase order number is not executing
Hi All,
I created aworkflow which gets triggerd when a Purchase Order is created. I have mentioned the BUS 2012 event 'Release Step Created' as starting condition for the workflow. My workflow is triggering correclty. I need to send a mail to the initiator stating that the purchase order <po. no.> has been created. But I am not getting the PO number and workflow is stopping at the step mail where subject is mentioned with element &BUS2012.PURCHASEORDER&.
If I didnot mention the PO number workflow is executing correclty. I have done all the necessary binding also.
Thanks in advance,
Sri Suktha.Hello,
This can often be caused by not adding 'US' to the username, check if that's the case here.
I would try creating a test workflow which does nothing but send a mail, try to get that working first.
regards
Rick Bakker
hanabi technology -
Hello friends.
I am new to workflows. i have created a sample workflow to cteate a material and then to display it. i have created all the std tasks successfully, and also in the workflow builder all is fine. but when i try to test it by executing the workflow, it is not getting executed, it gives a status message saying "Current status in process". please tell me the solution for this.
Thanks and Regards.
Vishal VH.Go and check what is happening in the workflow log.
After executing the workflow, run transaction SWIA and check the log. You can also check the containers there along with the graphical runtime display
Cheers
Anirban -
Hi all,
I developed a software used "inhouse" by most of my colleagues. This software is changed continuously.
In the past I had to inform everyone that there's a new release available.
Thus I developed a "quick and dirty" autoupdate mechanism. (See attachments)
The application looks for a file located on our server, which contains the version number of the most current release.
If the version number of the installed software and the version number in this file differ, the Installer for the new release is executed.
In the Installer settings I run the installed software after installation finished.
So that the user doesn't notice there was an update and the software starts as allways.
The installer is started with commandline options to install in silent mode with surpressed License Notification und supressed restart.
The start of the installed software after installation works if I start setup.exe in "normal" manner (doubleclick setup.exe)
BUT the software DOES NOT start after installation when installed in silent mode. (Commandline prompt: setup.exe /q /AcceptLicenses yes /r:n )
(Tested with XP, Vista, 7)
Does anyone know how to get this working ?
Thanks in advance, best regards,
BalzeBalze wrote:
Hi Andrey,
neither /qb nor /qf works
Well, just checked - it seems to be works as expected in LabVIEW 2010 and doesn't work with 8.5.1 as you have described.
There are some bugs in installer's builder was fixed between versions 8.5 and 10.0.
What you can do - upgrade to latest LabVIEW version or try to fix installer manually. I guess trouble present in \bin\dp\install.msi file. You can check what inside of msi with Orcas utility provided by Microsoft.
Hope it helps,
with best regards,
Andrey.
PS
Whole family a little bit ill due to relative cold weather...
Maybe you are looking for
-
How can i change my icloud ID?
My icloud ID is my old apple ID, i had to change my apple ID because that email account i was using got deleted. How can i change my icloud ID email & password?
-
Hi, Any report is there where we can see the rejected approval for PR & PO ? regards
-
Runtime "properties file" type functionality in OSB
I have looked and looked and can not find any straight forward way to have environment specific properties. I am talking about application specific, environment specific data, not url's, security, transport or other osb isses. I am talking about in d
-
On a Mac-to-Mac network I can't see the other Mac in the finder
Hi there! On a Mac-to-Mac network both Mac connect to the same network. However, after activating the file sharing both Mac's don't show in the Finder of the other. Can anybody help? Thanks. Tom
-
Supervisor Approval Hierarchy in HRSSA
Hi, I am using 'change Supervisor Process' using Manager Self Service in 11.5.10.2. The work flow is HRSSA. The default approval is for 5 levels. I need to have only one single level of approval hierarchy. Please advise how can i achieve the same. Th