EHS Module - Workflow triggering
Dear All,
For EHS Module,when i post the document in WAE01 Transaction the workflow should trigger
Could you please tell,how to trigger the workflow
Could you please which method should we use for triggering with details
Its very urgent
Thanks and Regards,
M.Sabarinath
Please don't use the word urgent in your thread as it is against the forum guidelines.
Turn on the event trace and check if an event is raised when executing the transaction. If not check to see if you could use a change document or find an appropriate Badi, user-exit or enhancement point.
Regards,
Martin
Similar Messages
-
Hi all,
we are using Function module SWE_EVENT_CREATE to trigger workflow for MM invoice.
Business object used - BUS2081 and event used to trigger workflow is BLOCKEDQUANT.
yesterday there are 2 workflows triggered for each invoice using this FM.
Can anyone help me why 2 workflows triggered.
Thanks in advance.Hi Vijay,
Get to know when the event BLOCKEDQUANT would be triggered, I guess this event would be triggered always when there is price change in Invoice with a item blocked due to quantity change, If so use check function module in event to workflow binding to avoid duplicacy in such cases.
-Vinod -
How to find Workflow triggering code
Hi...all,
I am working on a workflow issue, here i am unable to find out the workflow triggering code. Here workflow is triggering through event, i find out that event in basic data.but when i see the event linkages through SWETYPV, i didn't find any custom function modules except SWW_WI_CREATE_VIA_EVENT_IBF. i just want to add some more conditions in the workflow triggering conditions. How can i find out where the code was developed?. Thanks in advance....
VTHi Jocelyn dart,
I want to trigger my workflow from transaction FIBLFFP.i am using the BOR BUS2021. it doen't have any events to trigger. so i copied the BOR to custom name space and added the event called posted.and i have delegated successfully.
In the basic data of the My workflow template i have given the BOR BUS2021 and event POSTED and it is in active mode.
I have done the setting in SWE2 with new entry and event name and receiver type as WS and FM SWW_WI_CREATE_VIA_EVENT_IBF and it in active mode.
But I am not getting the mails to inbox.Manullay the worklfow is executing with all the conditions.
But I am unable to trigger the workflow from transaction....
Please help me....Please...its very urgent..
regards
paveee -
Using BO ADDRESSEMP change event to trigger the workflow. but the workflow triggerred twice by BO ADDRESSEMP and BO ADDREMPUS the latter one is the subtype of the former one.
I am curious to know, why this happens. I have checked the related event linkage table , only ADDRESSEMP is maintained, then why ADDREMPUS is faired?Hi,
Normally it's standard behavior for the workflow to be triggered both supertype and subtype, when the triggering event is based on the subtype. And if you want to restrict that behavior you have to use receiver type function module.
It should work properly if you still use the triggering event based on the supertype. However from your explanation it looks like that you have used supertype event and yet it triggers your subtype.
Could you please elaborate your issue further?
Regards,
Lim... -
Approval workflow triggers when not expected for SRM PO & without Agent ??
Hi All,
We are using SRM 5.0 integrated with SAP MM backends.
We are frequently facing this problem, when a buyer creates a PO (in SRM) within his/ her Spending (Output) Limit, the PO approval workflow triggers and is not able to find an agent.
Although the workflow should not trigger as the PO value is below spend limit of the buyer......we are not able to understand this behaviour.
In such cases, the buyer is not able to issue the POs, since the POs show 'Awaiting Approval' status.
I can find such POs with SRM transaction SWI2_ADM1, but I can not do anything beyond that. I am not able to Forward or 'Complete Manually' such work-items.
Any idea how this problem can be fixed or if there is any SAP note available for same.......anything??
Has anyone faced this kind of problem before?? Please help.
Thanks,
Ruchikaplease check from the workflow log , the workflow which the system is starting.
might be the system is able to start another workflow than the one which you are mentioning
use the transaction swi6 for workflow log , use the purchase order guid -
Approval Workflow triggers when not expected & without Agent ??
Hi All,
We are using SRM 5.0 integrated with SAP MM backends.
We are frequently facing this problem, when a buyer creates a PO (in SRM) within his/ her Spending (Output) Limit, the PO approval workflow triggers and is not able to find an agent.
Although the workflow should not trigger as the PO value is below spend limit of the buyer......we are not able to understand this behaviour.
In such cases, the buyer is not able to issue the POs, since the POs show 'Awaiting Approval' status.
I can find such POs with SRM transaction SWI2_ADM1, but I can not do anything beyond that. I am not able to Forward or 'Complete Manually' such work-items.
Any idea how this problem can be fixed or if there is any SAP note available for same.......anything??
Has anyone faced this kind of problem before?? Please help.
Thanks,
RuchikaHi Ruchika,
This seems to be a problem with the start condition of the PO approval workflow. Check for the same and see if there is any issue.
Regards,
Saumya -
Hi all,
I have a puchase order release workflow ,and have activated the triggering in tcode pftc,but the problem is ,every time I create a purchase order the workflow triggering gets deactivated and have to manually activate it after each Purchase Order creation or change.
Does anyone have a clue as to what may cause this problem?
Regards
MMHi Raja,
Thank you for your reply.
I tried changing the method but it still throws the same error. i dont think this error is related to the Task method , since it can also be a dummy method (as is the case with the leave approval workflow 12300111) .
Any other helpful suggestions ??
Thanks,
Joe -
Workflow Triggering twice when executing transaction cj21n
Hi Experts,
when i am executing transaction cj21n my workflow is triggering twice but earlier it was working fine ..
please provide your input on the same
Thanks
Deepanker DwivediHi,
The 'event' which mapped to workflow triggered twice or another event may added to the workflow
1) Did you give additional event for the workflow in the Basic Data -> Start events, if yes remove that event and test it.
2) If 'No', In the SPRO configurations some settings might have changed, Check with your Function Consultant ask any changes they done in the SPRO settings related to the T.code cj21n.
Regards,
Surjith -
I want to know about ehs module and flow
hi,
This is kishore. I have been assigned to ehs module. i want to know about that how it helps industries and flow of the module.
K. Kishorehi kishore
Please go thru this link
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/EHSSAF/CAGTFADM-EHS.pdf
reward points if it is helpful.
Regards
Alfred -
Hi All ,
we are a strange issue in EC incoming Invoice workflow in SRM, descriptiojn is as follows
we have two workflow in our system for invoice one goes through approval and other auto approval , and on the SRM portal at header level in the basic data we have added two custom fields allow NON-PO invoice and Allow RE ,and implemented the doc_check_badi , now at the line item level if we do not give any PO refernce and check/post then we get an error message saying the entrer PO and the status of the invoice to " to be corrected manually" ideally in the above case approval workflow should not trigger , it sould only trigger when we tick the allow Non-po invoice check button , and it was working fine , but suddenly after patch upgrade the approval workflow triggers even if we do not tick the chck box at header level . Can anyone suggest did any thing go wrong in patch upgrade , I have checked all the conditions and linkages all are fine, but i guess some standard setting is missing which would have gone missing .Dear all,
Thanks a lot for reading my post with intention to answer.
The issue is resolved now.
The problem was at BAdI.To trigger the workflow with event CREATED for purchase requisition, BAdI named ME_REQ_POSTED needs to be used :
Following coding is used for the same :
method IF_EX_ME_REQ_POSTED~POSTED.
DATA: WA_EBAN TYPE EBAN.
DATA L_S_EBAN TYPE UEBAN.
DATA: OBJKEY TYPE SWEINSTCOU-OBJKEY .
LOOP AT IM_EBAN INTO L_S_EBAN .
ENDLOOP.
IF ( SY-TCODE = 'ME51N' AND SY-UCOMM NE 'MECHECKDOC' ) OR SY-TCODE = 'ME52N' .
IF L_S_EBAN-BSART = 'ZNB'.
OBJKEY = L_S_EBAN-BANFN.
SELECT SINGLE * FROM EBAN INTO WA_EBAN WHERE BANFN EQ OBJKEY.
IF SY-SUBRC NE 0.
CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
EXPORTING
OBJECT_TYPE = 'BUS2105'
OBJECT_KEY = objkey
EVENT = 'CREATED'
COMMIT_WORK = 'X'
EVENT_LANGUAGE = SY-LANGU
LANGUAGE = SY-LANGU
USER = SY-UNAME
* IFS_XML_CONTAINER =
* IMPORTING
* RETURN_CODE =
* EVENT_ID =
* TABLES
* INPUT_CONTAINER =
* MESSAGE_LINES =
* MESSAGE_STRUCT =
endif.
endif.
endif.
endmethod.
I have missed the loop block.That's why the workflow was not triggering.
Regards,
S.Suresh -
PRs workflow triggered only the first time
Hi all,
do you know a way to trigger a workflow for Purchase Reqs only when the first agent (requisitioner) releases it and not at every step? I'm managing all the release strategy inside a custom workflow and the cancel release as well.
I'm using BUS2105.eventstepcreated as start event but it is triggered in each step (as the name suggests ) and also for a cancel release.
Thanks in advance.
AngeloHi Angelo.
Sorry if I have different perspective.
You can enhance the standard workflow for PR (single release and collective release). This workflow triggers for each PR created.
And instead of you manage release strategy inside your workflow, you can maintain release strategy (release group and release code) inside the MM configuration by assign to specific object type. This approach will capture agent assignment from the configuration and calculate the release strategy (include the classification) as well -
In Which table Will maintain the All Workflows Triggering Event Details?
Hi,
Can Any one tell me
In Which table Will maintain the All Workflows Triggering Event Details?Hi Mohit,
The Tr Codes KE29N/KE28L will give me the Logs of Past TDD runs. However, i would like to see the all the variants in a go. Due to a Organizational change, there is a new characteristics introduced. Now we need to change the sequence of the TDD runs. Since there are lot of TDD Variants that are in use. we need to get all of them into an excel and then decide the necessary changes.
Thanks & Regards
Surya -
Environmental Health and Safety (EHS-Module)
Hi Experts,
Can any one suggests Books for Environmental Health and Safety (EHS-Module)KC,
You did answer your own question here. Yes, you probably have to build out your health and safety solution. You would have to look at the individual technical requirements for each IDES instance to understand what might be possible.
Regards,
Bob -
Hi,
need information on PS module workflow scenerios.
In PS when a project is created mail should go the responsible person informing the project details like project start date, finish date etc.,
Can anybody tell the sequence of steps for this scenerio clearly?
Regards
veniHello,
You can do it anyway.
What I did was to get the persons to be mailed in an attribute of the business object that I use.In this way I have the the mail Id's of the persons in the workflow container. Code the attribute accordingly to get the mail id's of the persons who are project manager, etc....the project manager and the other responsible persons can be obtained from the database tables in which the project details are saved.
There would be only one step in the workflow i.e. the send mail step in which the attribute is used in the agent.
If you want to do something further after sending the mail, do accordingly.
Hope this will help.
Regards,
Sam -
Mail send issue - Workflow Triggered from Error Message
hi
i am learning workflow and doing some practical sessions using tutorials found on the internet. I have successfully enabled a workflow triggering options from the error message. The workflow will simply send an email and there is nothing else in that workflow definition. When i get the error message i open up the error message window and trigger the workflow option which is enabled. I get a message that the workflow has been started but i dont get the email immediately. I see the emails only after a long time. Infact the emails sent yesterday is only visible today.
i checked in SOST and i dont see the messages at all. If its available in SOST then the system would have picked up and send to the inbox. But i dont see the mails queued in SOST. But if i wait for a day i can see the emails in my inbox. Any idea what is wrong.
~Suresh
Message was edited by:
Suresh ReddyHi Suresh
Good on you that you are actually going through the SAP Help and trying the harder but better way unlike many others...your input regarding your problem is also quite well explained....Keep it up!
Coming to your problem,
<b>1.>>I see the emails only after a long time. Infact the emails sent yesterday is >>only visible today.</b>
RSCONN01 is the program that sends email out of SAP, make sure this scheduled to run frequently otherwise you can manually run this from SE/SA38.
<b>2. i checked in SOST and i dont see the messages at all. If its available in SOST then the system would have picked up and send to the inbox</b>
When you run SOST make sure you tick all the checkboxes - Waiting, Errors, Sent and Transmitted. If you are on ECC, then these are available on the Send Status tab...
Good Luck
Ravi
Maybe you are looking for
-
Satellite A350-13B - OpenGL and Radeon HD3650
Hi My laptop is Satellite A350-13B with ATI Mobility Radeon HD3650. I found that I have OpenGL 1.1 (7/7) and partially 1.2 (1/8). I installed latest drivers from ATI site, modded with Mobility Modder (also tried drivers from Toshiba's site - without
-
How do I sync my iphone to a new laptop without losing my information?
Hi, I have an older macbook pro that I have been syncing my iphone, and three ipods to for a long time. I have a new macbook pro and want to use it for the sync instead. How do I do that without it erasing my devices? Thanks for your help.
-
Intermittent "Input Not Supported"
A few days ago picked up a Mac Mini to make into a video server. I have it currently hooked up to my old PC's LCD monitor (17" Envision cheapy from when LCDs first became affordable 5 or so years ago) while I work on converting my DVD collection to i
-
Delivery Related Billing in CRM
Hi, I have created a sales order into CRM & same document replicates into ECC. From ECC sales order I can create delivery. But I require Billing to be occured into CRM System. Kindly tell what settings are requiredin CRM. Thanks Natasha
-
Does any one know where I can have someone create an app for me.
Hey I have this great idea for an app!!! I think I will get rich. Lol! And lots of people will love it.