SRM PO approval workflow
Hi friends,
In SRM, po approval W/f is in completed status. PO is replicated in R/3. But SRM status is not updated. Is there any way we can update SRM status?
regards,
Vittalprasad
Try function BBP_PD_PO_STATUS_CHANGE_WF
Thanks
johnson zavier
Similar Messages
-
Offline approval workflow not working - SRM 5.0
Hi Team,
Suddenly we have an issue in SRM production server with Offline approval workflow, inbound mails are not getting processed in SOIN and workitems are not getting cleared. So document status is not getting changed.
There is no problem in receiving the mail, we have all configurations setup as per below link,
Offline approval - general configuration - Supplier Relationship Management - SCN Wiki
Incoming mails are received to system user and then auto-forwarded to dialog user. Dialog user is used to schedule the batch job - RBBP_OFFLINE_EVAL.
Please help to resolve this issue,
Thanks
Rajesh RajagopalCan anyone please help me on this issue, offline approval functionality is completely stopped
Please provide your help -
Can i Cannge the WF_INITIATOR for SRM Approval Workflow.
Hi Experts,
I am facing issue related to sendor name format.
Whenever SRM approval workflow gets triggered then corresponding responsible user(Approver) gets a mail in their SAP inbox.
I checked in the system these workflow runs using RFC_USER user.So approver gets mail with sendor information as RFC_USER i.e. "Sent: Jun 17, 2011 by RFC_USER, Functional ID "
My requirement is to replace this RFC_USER with some other generic user.
Can anybody tell me please how can i achieve this.
Thanks,
Rupendra PandeyHello,
Usually, if I want to do anything unusual with mails from workflow then I create a step which calls a task which calls a new method of my BOR object which calls fm SO_NEW_DOCUMENT_ATT_SEND_API1. In that we can specify Sender name different from WF_BATCH or RFC_USER.
Check the following Code for sending mail.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = doc_chng
put_in_outbox = 'X'
sender_address = 'SAPSCHED'
sender_address_type = 'B'
IMPORTING
SENT_TO_ALL =
NEW_OBJECT_ID =
TABLES
packing_list = objpack
object_header = objhead
contents_bin = html_tab
contents_txt = objtxt
CONTENTS_HEX =
OBJECT_PARA =
OBJECT_PARB =
receivers = reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8 -
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 -
Deactivating the Invoice Approval Workflow in SRM 5
Hi WF GurusM
We are setting up Invoice Entry in SRM 5.0 and get the message: No approval workflow found. Inform system administrator.
Please can you recommend how we can temporarily deactivate this workflow, so that we no longer get this message. We have looked in SWB_COND but could not work out which WF the system is trying to call.
Regards. Steve Walsh.Hi Steve,
You can check which workflow is getting called using the following approach:
1. Activate event trace using t-code SWELS.
2. Go to t-code SWEL. Check the BO and event getting triggered while setting up Invoice Entry in SRM.
3. Check the receiver type of the BO event. This would show all the workflows that are receivers of the BO event.
4. Else, check in t-code SWETYPV and check the event linkage of the BO event to the workflows.
This would surely give you the workflow getting triggered on this event.
Hope this helps!
Regards,
Saumya -
SRM 4.0 PO Approval Workflow
Hi,
I'm new to SRM and have been tasked with designing a Purchase Order Approval Workflow.
Many Shopping Carts can be used in creating one PO. This workflow will have to only be approved (by the same user that approver the Shopping cart) if the PO line item value is greater that the shopping cart line item value. I.E. The workflow must compare every PO line item to it's respective SC line item and if the value is greater then the original SC approver must approve the PO, therefore we could have 'n' approvers
I see that SAP delivers WS14000145 - N~step approval for PO, would it be advisable to use this workflow and write the logic into the BADI or should I look at creating a new workflow ?
P.S. Thank in advance for your input.
Raveen MoodleyHi Vadim,
I hope you're well. I have question regarding "Submit to grouping" button.
For a mistake, a purchaser clicked that button (Submit to grouping). As a result, he cannot see that position in SoCo.
How can I "undo" this event?
pd: I noticed that field SOURCE_REL_IND = A in table BBP_PDIGP.
Thanks for your help Vadim !!! =)
Kind regards from Mexico,
Diego -
One step approval workflow in SRM 7.0 BRF
Hi,
Please le tme know how to configure the one step approval workflow for Shopping cart in.SAP SRM 7.0
We ant to know where we can specify the approva limit lik if sc value is greater than 50 it should go for one level of approval else no approval required.
We are using process controlle workflows.
Thanks,
Venky
Edited by: SAP SRM123 on Jul 14, 2011 12:18 PMI was get some trouble when implement one step approval from HQ in my company.
It's a logical when some one just implement one step approval it is not make a hugh impact for controlling and sometimes end-user was change their own approval step make negative impact for workflow. Not logical but they make it logical but system still make sure it work. -
Display Purchase Order in SRM 7.0 -workflow error
Hi SRM Gurus,
Hi Masa ,
Please check this thread,
I am having the same error
We are upgrading from SRM 3.0 to SRM 7.0.
while displaying purchase order
Cannot get process info; function BBP_PDH_WFL_APPROVAL_SIMULATE throws exception Workflow Not Found
PDO Layer error
PDO Layer error
No approval Workflow Found. Inform System Administrator.
I have configured the Workflow as Application controlled workflow only.(client wants to use the same workflow used in SRM 3.0). I got message Business object BUS 2203 modified
How to resolve this
Please give your inputs
Regards
G.Ganesh KumarHi Ganesh,
I also encounter this error for purchase orders. How did you check the errors you encounter in business object BUS2201?
Please refer to below thread.
[SRM 7.0 Error in Display of Approval in Purchase Orders|SRM 7.0 Error in Display of Approval in Purchase Orders]
Would really appreciate your help.
Thank you. -
"Approval workflow fragment has no user assignment" while adding approver
Hi all,
We are on SRM 5.0 ECS.
We are facing an issue in our quality system while this issue doesnt come up in dev system!
if I try change a PO and then click on the ADD APPROVER button and then on the link "ADD HERE".,I get the foll pop up msg :
"Approval workflow fragment has no user assignment".Hi experts,
Any advice? -
SRM Process Controlled Workflow
Hi Exports,
I have created a Process schema for SC object type (BUS2121)..
Looks like my process levels are trigged before the shopping cart is actually ordered by the user..
Is this a normal behavior? or I am missing any configuration? or I need to have a additional process level initially to check whether the SC completed?..
Please advice..
Thanks in advance
BharathHI,
Yes. That is correct task ID.
FYI. Task ID List for Process-Controlled Workflow
SRM Contract BUS2000113 No Completion Task
40007980 SRM_CT_APPR1 SRM Contract Approval
40008003 SRM_CTR_Acc Accept Decision / Adjust Document
40007997 SRM_CTR_Revi Revise Document
40107926 SRM_CTR_RW review document
SRM Shopping Cart BUS2121
40007952 SRM_SC_COMP1 SRM Shopping Cart Completion
40007953 SRM_SC_APPR1 SRM Shopping Cart Approval (1)
40007954 SRM_SC_APPR2 SRM Shopping Cart Approval (2)
40007994 SRM_SC_Acc Accept Decision / Adjust Document
40007936 SRM_SC_Revi Revise Document
40007945 SRM_SC_RW Review Document
SRM RFx BUS2200 40107917 SRM_BI_COMP1 SRM RFx Completion
40007982 SRM_BI_APPR1 SRM RFx Approval
40107922 SRM_RFx_Acc Accept Decision / Adjust Document
40007998 SRM_RFQ_Revi Revise Document
40107927 SRM_RFQ_RW Review Document
SRM Purchase Order BUS2201
40007973 SRM_PO_COMP1 SRM Purchase Order Completion
40007974 SRM_PO_APPR1 SRM Purchase Order Approval
40007995 SRM_PO_Acc Accept Decision / Adjust Document
40007996 SRM_PO_Revi Revise Document
40107924 SRM_PO_RW Review Document
SRM Supplier Quote BUS2202 No Completion Task
40007981 SRM_QT_APPR1 SRM RFx Response/Bid Approval
No Adjust task
40007999 SRM_QTE_Revi Revise Document
40107928 SRM_QTE_RW Review Document
No Completion Task
40008000 SRM_QT_APPR2 SRM Bid Approval
No Adjust task
40107934 srm_bid_revi Revise Bid
40107935 srm_bid_rw Review Bid
SRM Confirmation of Goods/Service BUS2203 No Completion Task
40007987 SRM_CF_APPR1 SRM Confirmation Approval
No Adjust task
40008004 SRM_CF_Revi Revise Document
40107929 SRM_CF_RW review confirmation
SRM Incoming Invoice BUS2205 No Completion Task
40008005 SRM_IV_APPR1 SRM Invoice Approval
No Adjust task
40008006 SRM_IV_Revi Revise Document
40107925 SRM_IV_RW Review Document
Auto 40007988 SRM_AUTOAPP Automatic Approval
Auto 40007989 SRM_AUTOREJ Automatic Rejection
Regards,
Masa -
Inconstancy in Approval Workflow- Process Controlled Workflow
Hello Experts,
We are in SRM 7.0 classic scenario using process controlled workflow and facing an issue as described below:-
During the approval workflow, we are observing that in
Case 1: When approver3 is forwarding the work item to approver10, the approver10 in not getting the work item in his Inbox. However, when we see the log detail in SWI6 the status is shown as u201CREADYu201D
Case 2: We created a shopping cart with identical details as in Case 1 and followed the same approval process i.e.Approver3 forwarding the work item to approver10, however in this case approver10 is getting the work item in his Inbox and when we see the log details in SWI6 the status is shown as u201CCOMPLETED"
We tried this scenario for 10 times and we found that in 2 cases the approval status is showing as u201CREADYu201D while in other 7 cases the approval workflow got completed.
Can you all experts please help us understand why this is happening and how can be find the root cause i.e why Case 1 is in u201CREADYu201D status for last 2 days.
We seek your help in understandingroot cause so that we can eliminate any inconsistency in future.
Any pointers to resolve this issue will be highly appreciated.
Thank you in advance.
Regards,
RKSUse class /SAPSRM/CL_WF_APV_FACADE. This is used by standard SAP WF Analysis.
Methods - RETRIEVE_PROCESS_HISTORY, GET_CURRENT_PROCESS_STATE, CREATE_PROCESS_FORECAST.
To analyze more, check the program /SAPSRM/WF_CFG_ANALYSIS_002. Check lines 209...216 (These Lines pull Previous Approved Steps, Current Process Step & Gets the approval forecast). However the REJECTED Items (Accept Decision) work little different (which is not captured by this report).
To Identify the current approval process awaiting decision by the requester of the cart, use method GET_CURRENT_PROCESS_STATE, return parameter structure /SAPSRM/S_WF_PROCESS-PROCESS_LEVEL_LIST-DECISIONSET_LIST-ITEM_STATUS_LIST gets you the current status of the item (ACCEPTED, REJECTED, OPEN, INQUIRED). If ITEM_STATUS_LIST-ITEM_STATUS EQ 'REJECTED', then the WF is waiting for acceptance/resubmission from the requester.
To your specific need, pass DOCUMENT_GUID to the class /SAPSRM/CL_WF_APV_FACADE=>GET_CURRENT_PROCESS_STATE get the return parameter /SAPSRM/S_WF_PROCESS. It will give you PROCESS_LEVEL_LIST. Then loop through DECISIONSET_LIST. It contains Table Types of AGENTS_LIST, ITEM_STATUS_LIST, WORKITEM_LIST. At /SAPSRM/S_WF_PROCESS level, you can get all the details of the current process level details
Thanks,
SC -
Change in Work item Text for Approval Workflow WS14000133
Hi,
I need to change the work item text for Shopping Cart Approval Workflow WS14000133.
I have created an Attribute in Business Object BUS2121 and called the same attribute in work item text.
In PFTC -> Redefine Work item text - > and i have defined the work item text as well called the attribute from the container.
what the problem over here is - when I am passing the attribute in the work item text in the task, I am unable to see the work item text with the Dynamic Attribute but I am able to see the work item alone (not with the Dynamic attribut)
But when i debug the workflow from SWI1 then i can see the dynamic attribute in the Container of the workflow but nt in the approver's inbox in portal..
Can you please tell me - that why is this a strange behaviour that i can see the Dynamic attributed created initially in the workflow container of the Business Object but nt in the Approvers inbox either in Backend nor in the front end...
Thanks,Hi,
Maybe this SAP note/KBA will help :
1470761 - How to change the text of the SRM approval links in inbox or UWL
Kind regards,
Siobhan -
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 -
Completion and approval workflows in line item based SC approval scenario
Hi SRM experts,
We are on SRM 7 ECS , support pack SAPKIBKV08
We are designing line item based SC approval workflow. We also have completion workflow. i.e after requester creates a shopping cart, it goes to buyer as per completion workflow( if the SC does not have price , vendor or has a free text) , and then after the completion workflow, it goes to main SC approval workflow.
My questions are :
1. If a requester creates 2 line items in SC , and 1 line item does not have price/vendor/or material , whereas 2nd line item has price/vendor/ and material , can we send onlt the 1st line item to completion workflow and not send the 2nd line item in the completion workflow but directly to SC approval workflow ? OR we have to send the entire cart to the completion workflow ?
2. After the completion and the approval workflow , if line item 1 is approved, can it create a PO , whereas the 2nd line be still in approval . i.e do all the cart items need to be approved before creating POs or as and when individual line items get approved , they can create thier own POs
Rgds
SumendraHi Sumedra,
Which workflow are you using - application or process contrlled workflow?
Assuming you are using process-controlled workflow - I will answer following questions -
1. Can offline approval be used for item based shopping cart approval workflow?
- Yes, it can be used !
2. Can different line items be sent by mail to different mail boxes?
Yes
3. Will 1 manager see all the 10 line items OR only the 1 line item for which he is responsible?
1 manager can 'see' all the items but he can only approve or reject the item that he is suppose to act on. All other item will be grayed out. However, this behaviour is configuarable !
4. If he will get only line for which he is responsible , and once he clicks on approve , will this approval apply to his line item only , OR it will apply to all the 10 line items ?
- see above
Regards,
Amit -
Error in Shopping cart Approval workflow
Hi Workflow experts,
We are on SRM 5.0 with Extended classic scenario.
I have activated & set the start conditions for No Approval workflow.
The workflow for shopping carts end up in Error status.
Message "Error changing to status RELS". upon further dwelling, the message "Work item XXXXX: Object XXXXXXX method SETRELEASED cannot be executed" is displayed. How can i check the Binding between the Task container & the Method Container.
I have no red flags in SWUD for WS10000060. I have checked the automatic customisation of workflow & every thing looks good. The workflow back ground jobs are running.
What could be the problem?
Your inputs in this regards are appreciated & will be rewarded!!
Cheers,
AkashHi
hopefully this link and the OSS note 1233774 should help
"method SETRELEASED cannot be executed" for SC work item
thanks
Maybe you are looking for
-
ORADC problem on Windows 2000 with Service pack 1 and service pack 2
Hi, I have a VB application running on NT4.0 workstations. It uses ORADC control to talk to ORACLE 7.3 When I load it on Windows 2000 with service pack 1 or service pack 2, I encounter some problems. The ORADC control is used in most of the VB forms
-
How do I save to individual folders on my hard drive?
How do I save items to individual folders on my hard drive? When I try now it shows the Macintosh HD icon as an option but not the individual folders I've created there. I think I need to go in to Automator but I must be doing something wrong. I sele
-
802.1x authentication problem on C2960S-48TS-L with Linux clients
Hi, Due to implementing wired 802.1x in my company I fased with problem of authentication of some Linux computers (Ubuntu 13.10+) via mab at the one of my Access switches(C2960S-48TS-L). The problem exist on IOS 12.55 and 15.0(2)SE6. It seems that Au
-
Reference field in BAPI_INCOMINGINVOICE_PARK
Hi Friends, I tried to create Invoice docuemnt park for FI entries & used . In this I couldn't able to get the field where I can enter refence (vendor invoice reference) i.e. RBKP - XBLNR field. Regards Sai Krishna
-
Which object should i use ?
Hi, I have a methode that returns several values of different types. Which objet should I use to return these values ? I thought of Vector but somebody told me that there is a better object than Vector. thanks for your help ! Tex