Dump in approval preview

Hi,
We are in SRM 7.0, When we click on tab ' Approval process overview' we get dump.
The details of the dump are as follows
No access possible via the NULL data reference.
Current ABAP program "/SAPSRM/CL_CH_WD_DOM_APV_IT==CP" had to be terminated because it has come across  a statement that unfortunately cannot be executed.
This dump occurs to users of some plant, however other plant users do not face this issue.
Can someone give some pointers for reason for this dump.
Rgds,
Madhan

Hi Madhan,
Can you pls tell me which workflow template you are using for SC approval process.
It appears that SC data is not sufficient/missing  to determine the approvers, thats why  workflow is unable to determine the proper approval chain and dump occuering.
Also test the same scenario while creating , changing and for held SC.
Regards
CK
Edited by: CK on Feb 28, 2010 12:06 PM
Edited by: CK on Feb 28, 2010 12:13 PM

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

  • 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.

  • Approval preview not displaying approval details in 'Check Status'

    Hi All,
    I am facing an issue in the below scenario:-
    First a requestor creates an Advice Special Request Form which goes to a purchaser for approval. The purchaser rejects this item and adds a new item by creating a special request form and fills in correct details. While he does this, the cost assignment for the items is different(multiple cost center assignment). Then he approves this Shopping cart. When the requestor Accepts the Changes, he is not able to view the approver details. But once he clicks on change option, then the approval details are shown in the approval preview.
    Is there any way that the approval details are shown when the user clicks on the 'Approval preview' as the SC has already gone for approval to the manager? Is there any particular reason why only in change mode he can see the approval details?

    Dear Poster,
    As no response has been provided to the thread in some time I must assume the issue is resolved, if the question is still valid please create a new thread rephrasing the query and providing as much data as possible to promote response from the community.
    Best Regards,
    SDN SRM Moderation Team

  • 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

  • Approval preview in SRM in table form by default...

    Hi experts,
    Please tell me, what should I do to have document approval preview in SRM (5.0 version - Extended Classic) in table form by default? In standard, default setting is that approval preview is shown as a java applet graphics. But I have to make it by default visible in table form with option to change it to java applet graphic, if someone needs that. Can I do it somewhere in spro?
    Regards
    RafaD

    Hi
    <b>Please look in SRM - SPRO Settings -></b>
    <u>Here is the path -></u>
    SRM Server -> Cross-Application Basic Settings -> SAP Business Workflow -> Activate Signed Java Applet for Approval Preview and Documents
    <b>Deactivate java applet approval preview</b>
    <b>Also, please see the SAP Consulting OSS Notes, which talks about the same problem -></b>
    Note 1077956 - Follow-on document display: Tabular displ instead of applet
    Note 1028482 - Approval preview: Tabular display instead of applet
    Do let me know.
    Regards
    - Atul

  • Display approval substitutes in approval preview

    Hi,
    we have the following scenarion in SRM 4.0:
    1.
    Approver A assigns Approver B as an active substitute
    Approver A assigns Approver C as a passive substitute
    2.
    Requsitioner creates a Shopping Cart where Approver A is the approver.
    3.
    Requsitioner enters approval preview and Approver A is displayed as approving manager
    Questions is:
    Is there any way of displaying that Approver B is setup as an active substitute and that
    Approver C is a passive substitute?
    There is a function module BBP_PDH_WFL_APPROVAL_SIMULATE where approvers are saved to a table et_adhoc_agents
    Perhaps this table could be "looped" through and for each approver, add a line if there exist any substitutes.
    I heard about a function module that retrieves substitutes when provided a userid, is this any FM like this?
    Possible other solutions?
    I have a feeling that this might be solved by using standard SAP functionality, perhaps someone knows anything about this?
    Thanks for all future help!
    Kind regards,
    Teodor

    Hi,
    There is one Function Module which is used for retrieveing the substitutes available for a specific user.
    this is not SRM Function module , but is used in SRM.
    FM is
    RH_SUBSTITUTIONS_GET
    ---> with import parameters
    USER_TYPE                       US           
    USER_NAME                          
    SEARCH_DATE                    
    ACT_PLVAR                                    
    READ_ONLY_ACTIVE                X            
    USER_TYPE IS ALWAYS   US
    USER_NAME IS INPUT FOR THE USER
    SEARCH_DATE IS THE DATE ( EACH SUBSTITUTE WILL HAVE START DATE AND END DATE).
    READ_ONLY_ACTIVE = X RETRIEVES ONLY ACTIVE APPROVERS AND
    READ_ONLY_ACTIVE = EMPTY RETRIEVES BOTH ACTIVE AND PASSIVE APPROVERS ON GIVEN DATE.
    >
    THIS FM YOU HAVE TO USE WHEN THE APPROVAL PREVIEW IS SHOWN IN SRM.

  • Wrong display in Approval preview in confirmation

    Hi Guys,
    In our system we changed the approval process for confirmations. We created  a copy of workflow WS10400002 and added a new step in which we redetermine the approver. In some cases we do not want any approval any more and we exit the workflow after setting the aproval state on '0'.
    The confirmation is then being processed as it should be but the graphic approval  screen (applet) shows a step with 'To be approved by (empty)' and a step with 'a question mark'.
    The table display however is empty and that is correct.
    Does any body know how I can fix this ?
    Thanks

    Hi,
    You should also activate the workflow template "WS10400010" which is a Zero step approval process and than build your start conditions to determine whether the 2-step workflow you have defined or the std. zero step needs to be triggered.
    If that is not possible a very simple workaround would be to create a dummy user in the SRM system and put the first name as "No approval required" and determine this user as your agent when you do not want to subject your confirmation to an approval process. This should take care of your approval preview problem
    Regards,
    Mohammedi

  • Unable to view the approvers in approval preview at SRM PO change

    Hi,
    We are using SRM 5.0,
    we are picking approvers from ECC and approvers are picked correctly using BBP_WFL_APPROV_BADI and displayed.
    Here the problem is ,  when we change the PO in SRM and check the approval preview before we click order. approval preview is blank and displays as "No approval required".  this is not calling the BADI BBP_WFL_APPROV_BADI when click on approval preview button.
    after PO order the approval preview is displayed correctly.
    Your help is really appreciated.
    Regards
    Kumar

    Hi,
    We are using SRM 5.0,
    we are picking approvers from ECC and approvers are picked correctly using BBP_WFL_APPROV_BADI and displayed.
    Here the problem is ,  when we change the PO in SRM and check the approval preview before we click order. approval preview is blank and displays as "No approval required".  this is not calling the BADI BBP_WFL_APPROV_BADI when click on approval preview button.
    after PO order the approval preview is displayed correctly.
    its really urgent. any help is really appreciated.
    Regards
    Kumar

  • Approval Preview Graphic not syncing with Approval Text in SRM 4.0

    We are currently using SRM 4.0 in an extended classic setup and have the following issue.
    When creating a shopping cart/PO in SRM and looking at the approvals pending/processed or waiting the approval preview screen is different when choosing graphical display as opposed to text display.  The graphical display appears to be the accurate source showing the current status of the work items but the text display will show something the work item as awaiting approval by the individual.  The In process since description and processed on descriptions on the text display appear correct but the status and the approver are inaccurate. 
    Has anyone seen this issue before and can lend a hand to what could possible resolve it?

    Hi Robert,
    I faced the same in SRM 4.0. As usually users are not looking into the text display
    we did not further follow up on that issue. Usually Graphics and Text should be
    same. It depends on the saved cookies and stored internet pages corresponding
    to the used Browser Version.
    I cannot recap SAP's answer on that issue - did you also open an OSS?
    Thanks,
    Claudia

  • The approver does not show in the approval preview after saving sh. cart

    Hi ,
    I would appreciate if anyone can reply me for fixing the problem.
    Problem: The approver does not show in the approval preview after the shopping cart is saved, however before saving the shopping cart it shows the approver in the approval preview. We are using two workflows: WS10000060 – Auto approval and WS10000276- 1 level spending limit approval.
    Details of the problem:
    The following steps specify the problem in detail , it is applicable for both the workflows “WS10000060 – Auto approval and WS10000276- 1 level spending limit approval.”
    1.     Shopping created
    2.     The approval preview shows the approver ( please see #1 in the attached document) before saving the shopping cart.
    3.     Shopping cart is saved.
    4.     After saving , Check status transaction shows the shopping cart in status “awaiting approval”
    5.     The section approval shows “ No workflow started , application error occurred”
    6.     T.Code SWI1 shows the workitem created for the shopping cart but in error.
    7.     The work item container does not show any agents
    I would appreciate it anyone can reply as to how to fix it ASAP.
    Best Regards
    Pawan

    Hi Disha,
    I have synchronised through SWU_OBUF several times since yesterday , but still at the same place.
    In the workflow customising - The only red entry which I have is for check entries from HR control tables under Mainiatin definition env. and Mainiatin guded procedure for gateway under guided procedure (new in SRM 5.0) .The verification workflow works fine . Also I think these entries will not impact the workflow functionalhese were red even in my earlier system .
    SLG1 shows all green entries and there are no entries in RZ20.
    I have specified task TS10008126 as general task as I want anyone who is identified by SLAapprover should be able to process the workitem and as per documentation I can specify this task as standard task.
    What should I do.. , anything am I missing .
    Thanks and Best Regards
    Pawan

  • 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

  • Shopping Cart change by approver is not updating in approval preview screen

    We are using SRM 4.0 in ECS and have been noticing a problem with the approval preview on the shopping cart when the shopping cart is changed or rejected by one of the added approvers.
    The shopping cart was created with multiple line items for materials and when the shopping cart was ordered it workflowed to the 1st approver that was added.  He noticed that a price was wrong on one of the line items of the shopping and proceeded to change it and then approved the SC.  The approval preview screen in the SC shows that it was approved but the preview does not show that it was forwarded to the next approver listed on the preview screen.  However checking in the backend I'm showing the SC sitting in the inbox of the next approver stating: Your shopping cart 'MD D&C LL1 dvf Vetco-Subsea Wellhead Eq' was changed/rejected in part. Please check.
    Why isn't the approval preview updating when the SC is rejected or changed?

    hi,
    This  behaviour of the system is as follows , when the first approvers makes the changes and then approves the cart , it will go to the requestor of the shopping cart , and wether the workflow should restart --->
    depends on the security level of the approver who is changing the cart -->
    you can find the security level of the approver --> in the transaction SU01 ---> persononalization tab ---> key bbp_wfl_security
    and the text you have mentioned --->
    Your shopping cart 'MD D&C LL1 dvf Vetco-Subsea Wellhead Eq' was changed/rejected in part
    this is for the requestor of the cart ---> this is mail which specifies that the first approver has partially approved the cart.

Maybe you are looking for