N-Level Contract Approval (workflow problem)
Hello friends,
We are using SRM 5.0 , ECS scenario.. My problem is related to N-level contract approval. I had activated workflow WS 14000148 for N-level approval.. In development system it is working fine but in production system I am facing following errors after first release of contract.
Executed Auction Error Message
Exception occurred Error when starting work item
000000008004
PROCESS_NODE Error when processing
node '0000000007'
(ParForEach index 000000)
CREATE Error when creating a
component of type 'Step'
CREATE_WIM_HANDLE Error when creating a work
item
CREATE_VIA_WFM Error within method
CL_SWF_RUN_WIM_FACTORY-
>CREATE_VIA_WFM
GET_WITYPE Unable to determine work item
type for step at node 0000000007
GET_TASK_HANDLE Error when loading task
WS14000085
FIND_BY_WFDWIZ Workflow definition of
task 'WS14000085'
cannot be Activated
Sub-workflow WS14000085 available in main workflow WS 14000075 which is deactivated. But problem is when I am trying to see workflow WS14000085 through SWDD in production, no workflow is there but same workflow I can see in Development system. Any expert have any idea why same workflow I can see in development but I am not able to see in Production system.
Thanks in advance.
Abhijeet Panse
Hi,
It looks workflow template is missing.
Please check the note 962488 "Workflow definition '&' not in version '&'".
1. Run the function module SWD_WFD_REPLICATE_FROM_9999 and copy it.
2. Re-activate the WF definitions in the transaction SWDD
3. Check Consistency in the transaction SWUD
Also check the sub workflow.
Regards,
Masa
Similar Messages
-
Frame contract approval workflow
Hi,
once again I have a problem with a workflow.
I am facing following problem:
I am trying to create my own frame contract approval workflow (the standard doesn´t fullfill the requirements 100%).
When a frame contract is created, BUS2014 releasestepcreated event is raised.
When I change a contract, BUS2012 changed event is raised (there doesn´t exist any changed event for BUS2014).
The problem with that is, that my BUS2012 seems not to be able to handle frame contracts --> there is an error message.
Can anybody give me a suggestion how I can use a change event for frame contracts (want to have the same event like in BUS2012, but for BUS2014).
Many thanks for your help.
ChristophI tried already.
It was not working so I took a look in the event trace.
Following error message occurs.
Feedback after error.
Source (expression '&_EVT_OBJECT.PURCHASEORDER&') of binding assignment is not available.
I tried a test in 'swo1'. Give the frame contract as an instance to BUS2012 --> ' Object does not exist'.
I think that it is not working with this event.
Any other solutions? Is there a way to create a change event for BUS2014 (of course in ZBUS2014), which is triggered when the change event in BUS2012 is triggered? Where do I have to define this?
Thanks for your help,
Christoph -
Multiple Levels of Approval Workflow in SPD
Hi-
I'm building a workflow that has multiple levels of approval behind it. I know how to set up the multiple levels of approval, but sometimes this workflow needs to have 2 approvals and sometimes it needs to have 3 approvals. I'm hoping to pull
the info in from a SP List, but am not sure to do with the different number of approvals needed. Does anyone have any suggestions?
Thanks a lot!Yes you can create a column in SP List containing the Approver names. This should be a People/Group field or Single line of text can also work.
In your SPD workflow you can track the status of the previous Approver and based on this you may allow the workflow to move to next or stop it. Assuming that you will create a Status column having two values - "Approve" and "Reject".
If Approver selects "Approve" then workflow proceeds for next approval or else the workflow stops or if Approver chooses "Reject" then you may create a new task for the previous Approver and send him an email - Just a suggestion if you
have back and forth approval system.
If it is a simple sequential approval then can go for out-of-the-box Approval Workflow available. If there is some level of conditions then SPD workflow is an option. -
Contract Approval Workflow - WS14000088
We have an issue wherebay after creating and subsequently approving a contract via WS14000088, the java applet shows the approval as completes but the header status shows the contract as still awaiting approval.
When looking at the container of the workflow, the Approval Status is returning a value of 3 whereas it should be a 0.
Has anyone had this problem before?
KeithYann
I hadn't seen that note.
I've asked our BASIS team to apply and then will retest.
Regards
Keith -
Project Contract Approval Workflow Monitor
When clicking on MONITOR buuton in Contract Authoring Workbench Form of Project Contracts,
JSP error msg shows up.
Error Page
You have encountered an unexpected error. Please contact the System Administrator for assistance.Duplicate thread (please post only once).
Workflow Monitor
Re: Workflow Monitor -
Hello Experts,
I have created a DMS workdlow following the SAP DMS book however it is not working.
It is somehow not starting the trigger. The trace is returning: Start condition returns 'FALSE' for object [BO,DRAW,ZFSZF700000].
My configuration:
- Object Type: DRAW
- Container: Added object Document
- General Task assigned to creater
Can anybody help?
Thanks
IsmailHello eileen,
The problem comes from your BADI coding or application bug.
Please check N-Step BADI related Notes.
<a href="https://wiki.sdn.sap.com/wiki/display/SRM/SRMBusinessWorkflow">https://wiki.sdn.sap.com/wiki/display/SRM/SRMBusinessWorkflow</a>
Regards,
Masa -
2 level leave approval workflow.
Dear Expert,
I am trying to update the status for the leave request. I created a sampel program with the following code in SE38 and put in the following code. However, it seem that it does not work and the status did not get updated for that particular leave request
Anyone knows what is the problem?
DATA:
request TYPE REF TO if_pt_req_request,
event TYPE tim_req_xfer_event VALUE cl_pt_req_const=>C_REQTRANS_APPROVE,
req_id TYPE PTREQ_HEADER-REQUEST_ID value '48561480F033007EE1008000C0A8D282',
status type TIM_REQ_STATUS.
CALL FUNCTION 'ENQUEUE_EPTREQ'
EXPORTING
mode_ptreq_header = 'E'
request_id = req_id
EXCEPTIONS
foreign_lock = 1
system_failure = 2
OTHERS = 3.
CALL METHOD ca_pt_req_header=>agent->get_request
EXPORTING
im_request_id = req_id
IMPORTING
ex_request = request.
CALL METHOD request->initiate_state_transition
EXPORTING
im_transfer_event = event
im_event = event
IM_RET_VALUE = 0
IMPORTING
ex_new_status = status.
CALL FUNCTION 'DEQUEUE_EPTREQ'
EXPORTING
request_id = req_id.
Thanks
Regards,
Bryanhi Brian Lee
I thing if u debug the method ca_pt_header finally you would get has request id is locked or request id is not found. check this 1st .
<inappropriate content removed by moderator>
Regards
vijay
Edited by: Mike Pokraka on Jun 19, 2008 3:38 PM -
AD-hoc approver n step item level shopping cart workflow
Hi
We are on latest version of SRM and using n step item level SC approval workflow.
The scenario goes like this:
- Requester creates shopping cart and workflow goes for two step approval.
- In the approval preview the requester is able to see both levels of approvers, which is correct.
- Requester now selects second level approver and replaces him with a ad-hoc approver. WE DO NOT WANT THIS. Requester should NOT be able to replace an approver determined by approval badi. However should be able to extend approval step with ad-hoc approver say third level approver a ad-hoc approver. Also he should be able to change AD-HOC approvers ONLY.
Thanks
JoeJo,
You may be able to achieve it in the BADI BBP_WFL_SECUR_BADI .
You can use the Business Add-In (BAdI) BBP_WFL_SECUR_BADI to determine whether
A shopping cart can be changed during the approval process
The approval workflow restarts when changes are made to the document
A reviewer/approver can be added or changedThese are the call scenarios (see import parameter SCENARIO).
Regards,
Suren -
Approval workflow timelines ..
Folks ,
I am new to OIM 11g and SOA workflow .
Can anyone help me estimate the time required to develop a simple 2 level request approval workflow for a RO.
Thanksif you ask me for static two level approval .. the dev time for me would be 1 day I will say! :-) but this depends upon who is doing it ... but simple static 2 level approval is quite simple in soa.
-Bikash -
Hi all,
I am currently working on three level sc approval workflow...
the 1st level approval is based on product category,2nd level is based on costcentre and the 3rd level is based on the shopping cart value...i am currently working on the BADI...what value should i give for the approval index for each level..i am not clear abt the actual approval index..can anyone help me..
Thanks&Regards,
Hari.hi ,
there is default implementation already provided by SAP along with the system --> please have a look.
if you have three approvers
1) first approver will have index 1 , second will have 2 , third will have 3.
you have to code your BADI in such a way ---> that approval table will have correct number of approvers depending on the input of the shopping cart.
approval_table is very critical in badi ---> this defines the approvers involved in approval chain
Edited by: khan voyalpad usman on Jan 11, 2008 1:13 AM -
PO Approval Workflow on item-level?
I have a requirement to implement an approval workflow when the price or cost center/internal order is changed on the purchase order.
The problem is that as I see it, standard SAP only allows approval on header level for Purchase Orders.
Is there a way to handle approval on item-level if for example the PO has 2 rows, we change the cost center on both these rows to different ones???
Based on this cost center, the approval should then go to the cost center responsible and then his boss and so on based on the org-structure.Hi,
Consider a example , you have a PO and this PO has three items IT1, IT2, IT3. Based on the cost center, you want to send the respective item for approval to the respcetive KOSTL manager .
Desgin your workflow in this way.
1. Design a background activity step in and a BOR method where it returns you all the items of the PO and store these items in a multiline container element in the workflow container.
2. Now next to the above step include a [BLOCK step|http://help.sap.com/saphelp_nw70/helpdata/en/cc/18a8f409a93749b10e8dd9f9d81797/frameset.htm] in the workflow and choose par for each option and pass the items stored multiline container element. The use of the block step is it dynamically creates a parallel branches based on the number of rows in the multiline container element you mapped to the block step.
3. Now Inside the block step create another bor method and include a bacground activity step. Now in this BOR mehtod what ever the item you import try to determine the manager of the KOSTL(Cost Center.) and who ever is determined pass that user(s) name(s) back to the workflow container.
4. Next to this step include a decision step and choose the recipient type as expression and pass the container element in which the KOSTL managers are stored, in this way you can send based on the item cost center to its respective manager.
Regards
Pavan -
Hi Experts,
I am working on a scenario where in a junior account manager creates a quotation and then changes the status to waiting for approval.On this a mail is to be triggered to the Account manager for approval.If the account manager approves this then the process ends..If he cannot approve it then he adds the nam of Senior Account manager in another approve by partner function and saves the tracsaction.On this a second mail is to be triggered to the senior account manager.If he cannot approve it then he adds the name of the General account manager in the partnerf function approve by and this would trigger the third and final mail.
I am able to achieve the first level of approval.This I am doing by triggering a workflow on the status change to waiting for approval and in the workflow I have a method which detrmines the approve by partner.First i am querying the CRMD_ORDERADM_H table with the quotations transaction for the guid.With this guid I am querying the CRM_ORDER_INDEX table for the field wiht PFT_0 = 'X'
which gives me the approve by partner.
I am unable to achieve the scenario for the second and third levels of approval.
Can any one please give me some direction as to how to achieve this ....
I am stuck with this problem and need help urgently...Any response would be sicerely appreciated,
Thanks and Regards,,
Narsingh
Hi everyone..is there any suggestions as to how to achieve this...
Message was edited by:
Narsingh PanigrahiHi,
I think the waiting for approval status which standard SAP Provided.Try creating more two status events.When 1st line of approver changes partner and save for 2nd of Approval , see there would a exit before save.You could trigger the workflow that point or trigger the event of status which inturn triggers the workflow.The same procedure you could follow for 3rd line.
I think this option would be better.
If this was something useful award me points.
Regards
Ramachandran S -
Workflow for Work Contract Approval
Hello everybody,
I need a Workflow for 2 level of approval of work contract.
Whenever a user make a work contract it requires approval upto two level.If Authority1 approves the contract it will go for the 2nd level approval to authority 2.If Authority2 reject that then it will come back to the creater to change it or withdraw the contract.If authority2 approve that then the work contract will be finally approved and complete the workflow else it will return back again to the creater.
Can some one tell me whether any standard workflow is available in SAP for Work Contract approval? Which BOR Object will be useful If I have to made custom development?Business Object:BUS2014
Workflow Templat:20000079
Thanks
Arghadip -
Hi Frnds,
I have got a problem with my contract. We have putted certain checks in workflow which doesnt allows the contract to go for aproval until the target value is changed. But what we see is that for a particular contract the workflow is going for approval despite the fact that the target value is not changed.
Can somebody help me in this case.
RohitHI Folks the issue has been resolved . the user was changing the contract under 1 min gap so it was caudsing abnormal behaviour of the contract
Rohit -
Contract N-Step approval workflow - WS14000148
Hi,
I have activated the workflow template WS14000148 and implemented the badi definition 'BBP_WFL_APPROV_BADI' to populate the agents for routing the workflow notification.
When i create a contract, the workitem is going to the corresponding manager, but the 'Approve' and 'Reject' buttons are disabled on the Approval step of the workitem. I have checked for activation of work flow tasks, and also assigned agents to the required tasks.
Can anyone please help why the 'Approve' and 'Reject' buttons are disabled.
Thanks,
Raghu.Hi,
See the foll related threads:
Approve reject button is disabled
Re: Approve Reject button in Item level is disable
Also see the foll notes:
Note 967429 - Approval buttons not updated after release
Note 1074724 - WS14000148:Button "Return to approver" does not work
Note 1019390 - Contract APPROVE/REJECT button displayed even after approval
BR,
Disha.
Pls reward points for useful answers.
Maybe you are looking for
-
I have just purchased a lightning to 30 pin adaptor to use on an iPad mini and a gen5 iPod touch both devices are running iOS 8.1.3 and come up with The error message "this accessory is not supported by this device " THis is means they are not chargi
-
Conversion of ALV list display into PDF form
Hi... I have requirement like : After displaying the sales order header and item details in ALV report.....want to transfer this detail into PDF form. please tell how to do this. Thanks, Akshaya Edited by: Akshaya_suma on Mar 13, 2009 11:22 AM
-
Translate function of oracle, equivalent function in informatica?
Hi All, I know its off topic but i am stuck very very badly and this place turns out to be he best for my issues, here is my problem: lets say i hve fname coming from a flatfile and the first name is 'rahul' , it should be translated as '12345' usin
-
Why can't you keep addons compatible with your very frequent new version releases?
While I understand that you don't write the addons, it is very frustrating to me, that you keep releasing major version releases every few months, and the result is large numbers of incompatabilities. Why can't you make your builds more forgiving for
-
When I turn on my PC with Vista 64 bits it gives me a message "ApplePhotoSream.exe" has stopped working correctly. Windows will close the program. Please help!!!