Dynamic Approval Levels In RFX
Hi,
I Have requirement i.e Approvers are determined on the basis of Purchasing Group. Approval Levels May Vary Depending Up on the Purchasing Group. I have seen lot of threads in this forum regarding this . BRF needs to be implemented for this . But iam new to this Concept . AnyOne please Gide Me in this regard
Edited by: sunil challapalli on Apr 12, 2010 8:05 AM
ev_type = 'B'.
ev_length = 1.
CLEAR ev_currency.
ev_output_length = 1.
ev_decimals = 0.
ev_value = abap_true. " no processing
ev_data_missing = 'X'.
get event object
lo_wf_brf_event ?= io_event.
get Context Container from BRF event
lo_context_provider = lo_wf_brf_event->get_context_provider( ).
CALL METHOD lo_context_provider->get_document
IMPORTING
ev_document_guid = lv_document_guid
ev_document_type = lv_document_type.
CASE lv_document_type.
WHEN 'BUS2200'.
ev_value = '3C_RQ_600_002'. """Process Schema Name
CLEAR ev_data_missing.
WHEN OTHERS.
ENDCASE.
ENDFUNCTION.
For testing Purpose I hardcoded the Process schema..
Similar Messages
-
Dynamic Approval Level in OTL Approvals
Hi..
We have the following requirement:-
For each employee there is an EIT against which a number is stored (1,2,3). Based on the number, the approvals for timecard should flow.
Can anybody please help regarding this requirement. We tried the below approach but were unsuccessful
1. Created an XXAPROVAL_STYLE with Entry Level Component
2. Created 3 Formula (Level 1 , level 2 and Level 3)
3. In the first formula
level= get_employee_level
If level = 1 then
approval_mechanism_id = get_level_1
Return Approval_mechanism_id
In the second fast formula
level= get_employee_level
IF LEVEL = 2 THEN
approval_mechanism_id = get_level_2
Return Approval_mechanism_id
The issue we faced was if employee had level 1, the approval style still went into rule 2 and returned null in the approval_mechanism_id. Hence the process went into error.
Please kindly help us achieve this requirement.
KIndly suggest any other way we cud achieve this requirement.
REgards
MurtuzaHi..
We wont be able to do that since for a level 2 it should go to first level 1 approver and then level 2 approver.
Hence it wont help in a single formula
Regards
Murtuza -
Hi Experts,
In my workflow i have to create dynamic process levels. My probelm here is ...
I have to group the shopping cart items based on account assignment, and am successful up to this part. After this I have to send one group of items to User Manager and based on his approval limit i have to increase no of approvals like next approval to his manager and continues .....
Is there any BADI to do ? I have tried /SAPSRM/BD_WF_PROCESS_CONFIG but this particular BADI is getting triggered before ordering the shopping cart...
I am using SRM 7.0 , Process Controlled workflow.
Regards,
Bhanu Gattu.Hi Bhanu,
SAP has provided the standard Response Resolver for this requirement 'RR_SPENDING_LIMIT_APPROVER'. There are two Badi implementations will be triggered. First one is '/SAPSRM/BD_WF_CONFIG_SC_SL' and second one is '/SAPSRM/BD_WF_SC_RR_SLu2019. In order to increase the index we use Approval_Index in SRM 5.0, the same way in SRM 7.0 we use BADI Definition '/SAPSRM/BD_WF_PROCESS_CONFIG' to increase the index.
Put a break-point in /SAPSRM/BD_WF_CONFIG_SC_SL' and see how the index is getting increase. SAP also provides some standard expressions, but from my experience most of customer will only maintain the approval limit. If your scenario is only approval limit based then you have create custom expression to meet your requirement. Try out this and let me know your feedback..
Saravanan.. -
BADI/User exit for ME18 to specifically check for Approval Level...
Hi all,
I hope this is not a repost. I have found none so far in SDN forum. However if do, please point it to me. I will gladly close this thread.
Ok, i need a userexit/badi, whichever will do, to check for user approval levels in ME18.
So far I couldn't find a user exit/Badi that is suitable in my SAP system using SMOD and the program that find user exit by TCODE.
I hope SAP do provide a user exit that can actually check for user Approval Level in ME18.
Can anyone share this info on this issue?
Thanks,
William WilstrothThere are few enhancement points available for ME18. Please check them once.
Thanks,
Srinivas -
Approval Level in Process Controlled workflows
Hi Sap Gurus,
How can i find the number of approval levels in process controlled workflows for Shopping Cart, Purchase Order....
Thanks in advanceHello,
IMG: SAP Implementation Guide > SAP Supplier Relationship Management > SRM Server > Cross-Application Basic Settings > Business Workflow > Process-Controlled Workflow > Business Process Configuration > Define Process Levels
For concerned object type, select "Process Schema Definition" directory.
Then, select correct process level schema to display "Process Level Configuration" directory: here are the process levels defined.
Regards.
Laurent. -
Setting approval level for credit management in SD
Dear Gurus,
I have a case like this:
My client would like to use credit management in SD. They have few approval levels for for credit limit release.
Exp: With SD has amount under from 1000$, Mr. A has the right to approve and release it
With SD has amount bigger than 1000$, Mr. A have to release it and then Mr. B check again afterwards Mr. B can reject and release it up to his decision.
As I see in SAP, maybe there is only one level for check and after release the SO doesn't need other approve anymore. But I am still concerning about how to find or config to satisfy this requirement.
Thank for nice support!In our case we have maintained a view named as "ZVW_OAR_WF_CTRL" which is created by our ABAPer.
The fields in this view are
FIELD NAME DATA ELEMENT TYPE LENGTH
1) MANDT MANDT CLNT 3
2)PROCESS ZDE_WF_PROCESS CHAR 2
3)KKBER ZDE_KKBER CHAR 4
4)GRUPP_F ZDE_GRUPP_CM_FROM CHAR 4
5)GRUPP_T ZDE_GRUPP_CM_TO CHAR 4
6)LEVELS ZDE_WF_LEVEL CHAR 5
7)VALUE_F ZDE_NETWR_AK_FROM CURR 15
8)VALUE_T ZDE_NETWR_AK_TO CURR 15
9)APPR ZDE_PLANS NUMC 8
10)APPR_AD1 ZDE_PLANS1 NUMC 8
11)APPR_AD2 ZDE_PLANS1 NUMC 8
12)BOX_AC_APPR ZDE_AD_SMTPADR_BOX CHAR 241
13)BOX_AC_REJC ZDE_AD_SMTPADR_REJ CHAR 241
14)NEXT_LEVEL ZDE_WF_LEVEL_NXT CHAR 5
You can ask your ABAPer such that your view contains the above mentioned fields and in the the approvers you have to enter the "Pernr id" s of approver s which can be taken from HR people. -
Hi all..
I want to get the Approver level...in my scenerio i have 3 levels of approver ...when the 3rd approver approves the workitem i want update some values..
i write the coding in the SAVI Badi it is working ... i am not able to get the approver level...i am having the workitem ID...
how can i get which level the approver is correponds to...??
Help me on this...
thanks..Hi all...
i found the solution....
thanks.. -
BW-approval level of a purchase Order from MM module
Hi,
I have a query in BW.where do we place the approval level of a purchase order from MM module.
If any one cud help me with this doubt,thanks.I am still in doubt,but will ask the question some time later.Thanks
-
i have developed the State machine workflow in which i am using default workflow task
i have added one status dropdown and that is having approve or reject that i set using workflow task drop down values
now my requirement is that when my workflow goes to different approval i need to have different status values in dropdown
for example
on manager approval state activity i need to add additional status value forward to legal
but when it moved to next activity this task status field should show only approve and reject
in summary i need to have different status values for workflow task when it moved to different state activity(approval levels)
can we set these status field of task for state machine workflow programtically as well like for different approval level of task i need different status to be set for the dropdown of task status field
MCTS,ITILHi Shahid Siddique,
I have seen a similar thread from you about this issue, create custom form for the seperate form is a considerable workaround, you can have a check whether it works.
http://social.technet.microsoft.com/Forums/en-US/9baa0c32-1cde-4c58-aa7c-3568ccf0cdc9/different-approval-level-of-task-i-need-different-status-to-be-set-for-the-dropdown-of-task-status?forum=sharepointdevelopmentprevious
Thanks,
Qiao Wei
TechNet Community Support -
Database table of Match approval level data in shipment more tab
hi friends
i need to know the database database table of Match approval level data in shipment > more tab of PO.
pls help. its urgent.Hi friends
Thank you all for reply. 2-Way, 3-Way or 4-Way values are coming against particular item according to the following combination of values in inspection_required_flag and receipt_required_flag column of PO_line_locations_all.
4-WAY :Inspection_required : Y , Receipt_required : Y
3-WAY :Inspection_required : N , Receipt_required : Y
2-WAY :Inspection_required : N , Receipt_required : N
it refers there is no fixed column in table based on which 2-Way, 3-Way or 4-Way values are coming for MATCH APPROVAL LEVEL field in that form. am i right? pls response.
One more thing, inspection_required_flag and receipt_required_flag columns are also available in mtl_system_items_b. My question is when a PO is created with any item which value combination is prioritized. i mean when i open Shipment form and go to More Tab, a value for MATCH APPROVAL LEVEL field is automatically set for that item. Where does that value come from? does it come from PO_line_locations_all or mtl_system_items_b ?
if my concept is not wrong it comes from mtl_system_items_b. after saving that PO the value is then stored in PO_line_locations_all.
if my concept is wrong in any way pls let me know. Thanks
Edited by: Lisan on Jul 15, 2009 9:45 AM -
Multilevel dynamic approval process using precondition loop block
HI,
I am trying to create a multivel dynamic approval process using a precondition loop block. The structure of my process is,
Process->1)Sequential Block containing requestor action->processor of requestor action is initiator
2)Precondition Loop Block containing
i)Loop Decision action containing a business logic callable object
ii)Loop Body Block containing Approver action-processor of approver action is filled from context parameter
The loop decision action implements the logic for loop decision. Can anybody help me by suggesting the proper target of each of these actions, and the processor for loop decision action?
Whenever I am initiating the process, the requestor action is getting executed, On completion of this action I am getting a message "No activity is currently selected", that is, it is not entering the precondition loop block.
Please guide me with the proper process flow of this and how to adjust the roles and parameters
Thanks,
SwaralipiPosted another thread on the same issue
-
Approver level 2 not receiving Workitem
Dear Forum contributors,
May I kindly ask you advice about the next situation?
We have set up a WF process with 3 levels based on the SC amount.
Requesters are able to change approvers determined by the system according to a custom criteria.
The conflictive case goes as it follows:
o Requester creates a SC. Three levels of approval are determined.
o Requester changes approver level 1determined for another approver of the same level.
o Requester changes approver level 2 determined for another approver of the same level.
o SC is ordered.
o Workitem goes into the approver level 1 inbox. Approver level 1 completes workitem.
o Workitem goes into the approver level 2 inbox.
o Approver level 2 is out of office for a long period, therefore requester enters into the SC and changes the approver level 2 for another one with the same level.
o Work item is not going into the new approver level 2 inbox. Woritem only goes into the new approver inbox once the original one has completed the workitem.
Is this standard behavior?
Thanks in advance for your support,
AbrahamHi,
There is a slight difference here.
WF is not being restarted. As I mentioned in the initial exposure, work item is not moving to the approver level 2 changed until the original approver level 2 has approved the work item( not the approver level 1).
u201CThe conflictive case goes as it follows:
o Requester creates a SC. Three levels of approval are determined.
o Requester changes approver level 1determined for another approver of the same level.
o Requester changes approver level 2 determined for another approver of the same level.
o SC is ordered.
o Workitem goes into the approver level 1 inbox. Approver level 1 completes workitem.
o Workitem goes into the approver level 2 inbox.
o Approver level 2 is out of office for a long period, therefore requester enters into the SC and changes the approver level 2 for another one with the same level.
o Work item is not going into the new approver level 2 inbox. Woritem only goes into the new approver inbox once the original one has completed the workitem.
Thanks for your feedback,
Abraham -
Dynamic Approval Group with Voting Method First Responder Wins
Hi all,
i create new Approver Group with type: Dynamic, and Voting Method: First Responder Wins. and i write the query to get user_id.
The query return the correct users, but in the approval list in the wf, it requires approval from all users in my dynamic approver group !!
i need only one first user to approve (First Responder Wins), then must go to next approver group.
please help me to solve this problem
thanks all ..
hedayaWith Dynamic approval First Responder wins does not work, We have to use Roles in HR Manager.
Refer Configuring Parallel Approvers Notification (Doc ID 471125.1) -
In OTL while defining Approvers, We have defined HR Supervisor as Approver for Human Resources Applications. Now we want to set second approver level, which can be person/ or formula.
But when I defined another level with same Application it gives an error that I can not have two rows for same application. Then how can I implement above functionality using approval styleI guess you can achieve it using Entry Level Aprovals.
1. Define a empty Time category(TC1)..i.e. just select Dummy Element context, do not select any element name (its implied that Time category includes all elements)
2. In the Approval style scree, select Entry level approvals as the approval mechanism.
3. Click Entry Level approval fragments button
4. Define as follows
Row1=> TC1 - HR Supervisor - 1 (seq)
Row2=> TC1 - Person - <person name> - 2(seq)
I guess it should work -
Hello All,
I am developing a dynamic approval process and here is my requirement.
We are maintaining the agents in the custom table.I am using multiline element to send the user decision tasks to all users in the table. if user approves then workflow continues..if user rejects then i need to send the user decision task to all agents in the table or just to the rejected user for reapproval..
for this..
what i have done so far is..
1. i have called a system method to pull the agents from custom table.
2. i have used the multiline element to the user decision step..and work items are going out for approvals to all agents in the table under this task which is parallel.
3.if approved..continue workflow
My question is if user 1 rejects the item can i do another user decision step which is sending the approval to all or just to the rejected user in the rejection path?
again if user2 rejects i need to follow the same..as it is dynamic am not sure how to achieve this flow..
and it continues until all approved..am not sure how to pursue this..please help..
Thanks in advance..Dear Suresh,
This means if rejected-- need to send it to all or just to the rejected user depending upon initiator decision..i believe we can add another option in second user decison as to send only to rejected user along with resubmit..i will try this option..
Yes you are right.. Provide 3 buttons to initiator like 1)resubmit to all 2) resubmit to rejector 3) exit
Have a multiline container element with name say approver. If initiator clicks the resubmit to all button in user decision then use the multiline container approver (which has all approvers populated by you). If he selects resubmit to rejector the pass the agent (who rejected the workitem in previous step) via binding for that step.
Remaining logic remains the same as mentioned by Sanju.
Regards,
Bharath
Maybe you are looking for
-
Unable to install Adobe Air on Samsung galaxy tab 3 10.1
Hallo,please help me with installation adobe air app on my Samsung galaxy tab 3 10.1 android version 4.2.2
-
Video - One computer to another
OK...I know I can put music and video up to 5 Mac's but how the heck do you that?? I have purchased video on my Powerbook and iPod but want to copy it to my PowerMac (which is registered). I can't just drag the files from one to another. Any help is
-
HI FRNDS, I HAVE A URGENT REQUIREMENT OF IS UTILITY, PLZ ANYONE COULD HELP ME . PLZ COULD U SEND ME INFORMATION ABOUT THAT . THANKS IN ADVANCE. VIJAY DWIVEDI
-
Can I configure Enterprise search to search a Relational database
We have several legacy web applications. We are currently using coveo to search the relational databases. We create mapping xml file for the coveo indexing services. The coveo access the database using jdbc. It provides the ability to create uri for
-
Splitting interleaved surround file into seperate files
I need to 'convert' an interleaved surround .WAV file (which was created in Pyramix) into the seperate mono channels it exists of. Can this be done in Logic Pro 8? Or in any other standard application? Thanks! Message was edited by: reumert