Approval Preview for EBP Workflow

Hi,
As per my understanding approval preview is not possible for complex operations like "loops" for EBP/SRM worklfow. Pls. let me know opinion on this.
(If anybody has worked on including loop operations in SRM approval workflow pls. let me know the inputs.)
Regards
Akshay Bhagwat

Hi,
Waiting for inputs on the problem mentioned below..
Regards,
Akshay

Similar Messages

  • Approval preview process controlled workflow

    Hi,
    We are using process controlled workflow (N step) for the shopping cart workflows.
    While sending the reminder mails to the approvers, we would like to include the approval preview in the email.
    In application controlled workflows we could use FM BBP_WFL_DIN_APPR_CONTAINER_GET to get the approval preview details.
    Is there a similar function module to pick the approvers/approval status/step name etc for the process controlled workflows so that we can simulate the approval preview?
    Thanks
    BR
    Swetha

    Use 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

  • Approval Preview when the workflow is finished

    Hello,
    We have implemented the BADI to get multiple level approvals in Shopping Carts. When we display the approvers via Approval Preview the system works fine if the workflow is in process, but when the workflow is finished we donu2019t display anything.
    We have SRM 4.00 and the support package SAPKIBKS13 for SRM_SERVER 500
    Thanks in advance, Juan Manuel

    Hi,
    Please check for following excrepts from SAP help sites:
    1. OSS Note 1093840, content here may help to debug.
    2. You are using ad hoc agent objects to determine your agents, do not use rules directly as this limits the functionality 
        available especially during approval preview and can have knock on effects in the display
    3. Mark any steps you have added that are not approval steps as "step not     in workflow log" - the applet display is based on
       the graphical workflow log and unexpected steps can cause unexpected effects in the applet display
    4. Make sure you follow the same pattern based approach if you are adding extra approval steps, e.g. make sure the approval
        step itself has the same group name as the other approval steps
    Also additionaly check for workflow log(SWi6) . If WF is working fine.
    Thanks

  • SRM : Disable Graphical approval preview for SC/PO/INV

    Hi Experts,
    We are using SRM 5.0,
    We want to disable Graphical approval preview and application by default should pick Table approval preview .
    please advise, how this can be achieved.
    Object : SC/PO/INV
    Regards
    Kumar

    Hi,
    please implement   1064751 - Default Display as table in Follow-on-Doc tab in SC Tx
    Regards,
    Robin

  • SWWL - delete work item - approval preview log??

    Hi all,
    SRM 5.0 ECS.
    We have implemented custom  n step approval wf for shopping cart .The shopping cart has PO and invoice created and the header status for shopping cart is approved.However now the workflow has restarted for the cart and I need to delete the work items from the approvers inbox.
    If i delete the work items from SWWL transaction,will the shopping cart status still be "APPROVED"???
    Is SWWL the best way to delete the work items??What will the approval preview for the shopping cart show after I delete the work item?

    Once, Workfiow item is approved, Workitem disappears from inbox right..
    Why do you use SWWL transaction to delete the workitems..
    Can you elaborate the issue..Please.
    Thanks,
    Balaji.T

  • Wrong approval preview: One Sptep Approval WF in PO WS14000089

    Hi Gurus!
    We are using SRM 5.0 and we need to set up the WF WS14000089 for approving changes in POs. The problem is that, we will not have the responsible for the approval under the Purchasing Organization, as we will replicate the PPOMA from R3. So, the responsible for approving all the changes in the PO will be under one box (department in the PPOMA). There will only be one person with rights to approve changes in POs. As we cannot assign it indirectly to the Purchasing Organization, we need to assign the approver using WF.
    We need that, every change in a PO needs to be approved by this single person.
    We have tried to assign him as a responsible in WS14000089 for step 000023 "First Approval". We have defined in tab "Agents" the option "User" and the user that has to be the appover.
    When we test the WF, no approver is determined in the approval preview for the PO. But if the PO is saved and you display it again, in the approval preview, the correct approver has been determined and the PO is sent to this approver in order to check the modified PO.
    What are we missing in order to display the correct user in the approval preview tab in the PO?
    Many thanks and regards!
    PWBR!
    Ana

    Hi
    Which version of SRM you are on....
    Also please provid more details about the issue. To me it seems to be a conflict in your workflow configuration and your expecation.
    Regards
    Virender Singh

  • Mass approval functionality for SRM work items

    Hi,
    We want to implement mass approval functionality for SRM workflow, so that any user is able to approve/reject multiple requests at one go through UWL.
    Please guide if it is possible to implement this functinality for task id TS40007952.
    Regards,
    Avantika

    Hi Avantika,
    The mass approval functionality can be implemented for simple workflow items which have decisions to complete the work item. (User Decision Type)
    In SAP Business Workflow, user can define a task as a decision task by assigning DECISION as the underlying business object type. The task definition allows user to create two or more decision options to complete the task.
    The idea is to simply create a custom view/subview for the UWL item and configure it according to your needs.
    Have a look at this blog:
    Mass/Batch Processing of Work items in UWL
    and also check the documentation:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/4e/72112bc9ea484196f2a5fdc68f5f5f/frameset.htm
    Let me know if you have any questions.
    Thanks,
    Shanti

  • Approval Preview

    Hi Friends,
    I want to display the approval preview for shopping carts and the follow on documents as a table by default. Can you please let me know where to make the changes?
    Regards,
    Kumar
    Edited by: Kumar on Apr 10, 2008 9:45 AM

    Thanks Masa,
    From one of your links i found this code change which will solve  my probelem...need to test it.
    Change the code
    code* set default preview subscreen to applet screen
    IF gv_subscr IS INITIAL.
    gv_subscr = '1000'.
    ENDIF.[/code]
    in include LBBP_PDH_WFLF04 of function group BBP_PDH_WFL 
    to:
    code* set default preview subscreen to applet screen
    IF gv_subscr IS INITIAL.
    gv_subscr = '1100'.
    ENDIF.[/code]
    Regards,
    Kumar.....
    Points rewarded!!!!!!!!!!

  • Workflow applet in approval preview (shopping cart) changed in SRM 5.0

    Hi,
    we have upgrade from EBP 3.0 to SRM 5.0.
    The approval preview in the shopping cart transactions (f.e. BBPSC03) now shows only the approval state (in grahpic mode), not the step description from the workflow definition.
    In EBP 3.0 was showed the step description.
    How can we change the applet output ?
    B.Rauer

    Hi
    Please specify the SRM version(Support packs) details in next reply.
    <u>Meanwhile, please go through the following SAP OSS Notes, which will definitely help -></u>
    Note 798295 BADI workflow: SRM 3.0 upgrade to 4.0 approver list -> main
    Note 748655 SC APPROVAL GRAPHIC PREVIEW NOT CORRECT FOR BADI APPROVERS
    Note 843636 PO BADI WORKFLOW does not assign correct approvers
    Note 861147 BAdI workflow: Adjusting step name to runtime
    Note 883207 BBP_WFL_DIN_APPR_BY_RULE_GET: if BAdI not implemented
    Note 713567 SRM-EBP-WFL: Limit is ignored in WS14000109
    Note 923463 BAdI n-step approval - Container inconsistent for 1st step
    Note 901068 BAdI Workflows: Enhancement of Note 896556
    Note 898768 BADI Workflow: Determining current approvers
    Note 861147 BAdI workflow: Adjusting step name to runtime
    Note 688724 BADI workflow: Problems with substitute
    Note 788584 BADI Workflow: empty WI_ID in approver table
    Note 780021 BADI Workflow: subsequent approvers after rejection
    Do let me know.
    Regards
    - Atul

  • N level-Approval for contract workflow (WS14000148) in SRM

    Hi SDN'rs
                  I want to activate N level-Approval for contract workflow (WS14000148) in SRM  
    When I am creating the contract in SRM I can see the approvers in the approval preview.
    But when I release the contract and look at the approval privew there are no approvers
    and the status of the contract is released.
    We are on SRM Server 5.5 and SP 07.
    Here what I did
    1. I implemented the BADI 'BBP_WFL_APPROV_BADI' using the sample implementation and populated the approvers.
    2. I activated events SAVED,CHANGEVERSIONSAVED for WS14000148 in OOCU transaction.
    3. I see event linkages for WS14000148 for both events SAVED,CHANGEVERSIONSAVED in SWE2 transaction.
    4. I assigned role SAP_EC_BBP_PURCHASER to for subworkflow N step for contract WS14000147.
        ( User who is creating contract has this role)
    5. Consistency check for WS14000148 is green and WS14000147 is yellow in SWUD
    6. Event simulation for BUS2000113 and events SAVED,CHANGEVERSIONSAVED shows WS14000148 successfully started.
    I see dump in ST22 with errors TSV_TNEW_PAGE_ALLOC_FAILED and SYSTEM_NO_SHM_MEMORY with WF-BATCH is this any thing to do with that?
    If any one know what are the steps I am missing please let me know.
    Thanks
    A S

    Hi
    Please refer to these OSS notes which might help.
    <u>Refer to following OSS Notes -></u>
    Note 735026 - Memory problems at BBP_GETLIST_INDEX_FILL
    Note 932836 - BBP_GETLIST_INDEX_FILL: Activation not possible
    879528 WS14000148: Send mail to initiator incorrect
    901200 WS14000148 dia wrk item despite NO_FURTHER_APPROVAL_NEEDED=X
    879873 BUS2000113: The Object_ID attribute may be empty
    903015 BAdI Workflows: Events and parallel steps
    901068 BAdI Workflows: Enhancement of Note 896556
    769458 Dynamic workflows: No adjustment after document change
    972757 Occurence of the SYSTEM_NO_SHM_MEMORY runtime error
    741864 FinBasis: Termination TSV_TNEW_PAGE_ALLOC_FAILED
    864473 Deactivating the shared memory when searching by prefix
    928642 Container factory: Shared memory dump update
    Refer to these links.
    <b>http://help.sap.com/saphelp_srm50/helpdata/en/2c/e68d406b305537e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/26/0f8b41ed891609e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/6b/eca441eea7ef0be10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/f7/a6a3415e34b05fe10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/6b/eca441eea7ef0be10000000a1550b0/frameset.htm
    </b>
    <u>Also raise an OSS message with SAP as well.</u>
    Regards
    - Atul

  • Quote Approval Workflow (ASOAPPRV) setup for customized workflow initiation

    Hi,
    We have customized Quote Approval Workflow (ASOAPPRV) XXXASOAPPRV, would like to understand how to setup that custom workflow XXXASOAPPRV will be triggered for Quote Approval process, when we submit the Quote for approval from Quotes screen.
    Appreciate your help on this.
    Regards,
    Ram

    Pl see your duplicate post here - Quote Approval Workflow (ASOAPPRV) setup for customized workflow initiation
    Srini

  • Approval Preview to be defaulted to Table for Shopping cart

    Hi All,
    The Approval preview needs to be defaulted as table instead of graphic in BBPSC01 (Extended Form).
    We are using SRM 4.0 - SAPKIBKS13.
    Your inputs will help in resolving this issue.Business wants this be done on priority.
    Regards
    K Gp

    Hi K Gp,
    The following note help you achieving the desired result:
    Note 1028482 - Approval preview: Tabular display instead of applet
    Thanks,
    Pradeep

  • SRM 5.0 - Approver Names Not Displaying in Approval Preview

    Hi,
    Has anyone experienced the following problem in the approval preview applet?
    We’re using the WS14000133 shopping cart approval workflow. The approval preview stopped working once we moved it to production January 1. The approval preview in production doesn’t display the names besides the approval steps. It displays the correct number of nodes/steps but not the name beside each node/step.
    If the cart is ordered, the approval requests are delivered to the correct approvers. The BADI is returns the required information for each step as well.
    We did not experience this problem in our non production systems.
    Thanks,
    Jerry Martinek

    Hello Jerry,
    Can you please check whether they have maintained the fullname in the SU01 settings and also make sure that the right value is being populated in the ls_approval_agent-name with the fullname(either with last/first name)  of the user in the badi.
    Hope this may solve your issue.
    Best Regards,
    ~Mani

  • Approval Preview (Only first approver is displayed after 1 approval step)

    Hello Everyone!
    We have a scenario in PROD wherein the approval preview doesn't show all approvers in the screen. At first, when the Contract document is prepared (not yet approved/created) and then the approval preview is displayed, the screen correctly shows the 3 approvers with status 'To be approved by'. However, when the document was created and that the first approver already approved the document, the approval preview only shows 1 approver line in the approval preview (table) with a status 'Approved by'. The next 2 approvers are not displayed in the screen.
    When we checked the document in BBP_PD and in SWI1, the workflow correctly identified the next approvers and even sent some notifications for them to approve. This is more on the screen problem. The approval preview (table) only shows the 1st approver who approved the document. We want to see all the approvers (with different status) in the approval preview so that we may know who already approved the document and who are the ones to still approve the document.
    We only experience this in PRD, and this scenario (document) works both in DEV and QAS. Please let us know the SAP Notes related to this. The affected documents are Contract and PO.
    Thanks and regards,
    Reymar

    Hi Masa,
    There were no applied notes related to approval preview (table) in DEV and QAS system.
    We have SRM 5.0 component version; SRM Server 5.50 ; SP13.
    Would you know any cause of this issue?
    Thank you very much.
    Regards,
    Reymar

  • Approval Preview issue

    Hi,
    Recently we upgraded our production system to SRM 5.5 Server from SRM 3.0. We were using a custom N-step BADI workflow in SRM 3.0. After upgrading it to SRM 5.5 server(we are using the std N-step BADI workflow in our upgraded system), the PO workflows that were awaiting approval before upgrade are not showing the approvers in the approval preview. But the new PO's seems to work fine. The approver list in the wofkflow container for these PO workflows are empty. Have anyone faced this issue before?
    Regards,
    Maria.

    Hi Maria,
       You need to apply several OSS notes based on the Support pack level for the BADI issues like no display of approvers in Apoproval preview,java applet error etc....
      Some of them  are  listed below...Please cehck as epr your SP level whcih ones need to be applied....
    Note 999528 - Adding Ad Hoc Approver fails due to comit error     
    Note 952108 - Incorrect error message when approvers are entered     
    Note 809157 - BBPPREVIEW: Error "Value too large" as of fourth approver     
    Note 994735 - All BAdI workflows: ApprovalIndex does not begin with 1     
    Note 924064 - FM BBP_WFL_DIN_FILL_APPROVER: Approvers may be incorrect     
    Note 983128 - Approval WF Fragment Has No User Assignment
    923463     BAdI n-step approval - Container inconsistent for 1st step
    901068     BAdI Workflows: Enhancement of Note 896556
    909871     Error in BAdI workflow without approval
    903015     BAdI Workflows: Events and parallel steps
    894978     APPROVERLIST container element has incorrect approver status
    903200     Note for approval status not getting updated
    910612     additional note fro SC approval BADI's and WF's
    649551     Approval status not getting updated-related note for SP8
    690716     Approval status not getting updated-related note for SP8
    930750     restart of classic WF's(issue is with Support pack 9)
    525577     Approval Preview - Details for approver not displayed.
    BR,
    Disha.
    Pls reward points for useful answers.

Maybe you are looking for

  • How to print pdf file in SQL Server Reporting services report using command prompt?

    Is there a way to automatically print a SQL Server Reporting services report on command prompt? For eg: We can save a pdf file using rs.exe utility. I want to print a pdf using rs.exe utility. Is it possible? I don't want to install any 3rd party sof

  • Connecting Mac Pro to Dell monitor

    I have connected Macpro to Dell DVI monitor, the Dell will show the Mac home screen, but stays on that screen when i change to a different screen (on Mac)?

  • Project Stock Procurement and directly supplied at Site

    Hi, I am creating a project and there are few materials that though exist as stock item in the company/plant, but this is to be specially procured for this Project and also delivered directly at site. If i assign these materials as Non stock item on

  • "run" "script" "my", what are the rules for using different handlers?

    Hi I am a very big newbie to this apple script, and I am getting confused how to organize my scripts with functions such as "my" "script" "run".  Please send me a tutorial! DOUG

  • InDesign CS2からのPDFデータについて

    InDesign CS2で直接PDF作成したデータが異常に重くなります. 他のDTPソフトの時と比べ同じ位の仕様(内容.ページ数.データ容量)の物がPDFになると以前の5〜6倍位のデータ量になってしまいます. Acrobat上で最適化してみてもデータ量は変わりません. ちなみにAdobe PDF設定(joboption)は以前と同じ「標準」を基本とした設定にしています. また.Acrobat6で開けないと言われチェックしてみたら同じ様に開けませんでした. これについて理由及び解決策をご存じの方.