Tables to link Shopping Cart to Workflow

I have a request to report on total dollars for shoppng carts that are sent to a particular inbox and total dollars for shopping carts that were rejected in that inbox.  I've written dozens of Quickviewer queries to report on shopping cart data however I've never linked the shopping cart to workflow items.
Can this be done without writing an ABAP program to extract the workflow data?

Hi Nancy,
You may want to form joins between the following Shopping cart tables and workflow tables.
Shopping cart tables
CRMD_ORDERADM_H
CRMD_ORDERADM_I
Workflow tables
SWWWIHEAD
SWW_CONTOB (The field Object key in this table will have shopping cart number)
SWWUSERWI
SWW_CONT(Workflow container table which will store whether workitem is approved or rejected)
Hope this helps.
Please reward points if hint is foud useful.
Thanks
Venkat

Similar Messages

  • Re-starting Item Level Shopping Cart Approval Workflow

    Hi All -
    We are implementing WS 14500015 - the Item-based n-level approval workflow for shopping carts - for certain scenarios.  In other scenarios we are using the overall approval workflow.
    I need to re-start the item-level approval workflow for certain scenarios (change in price, change in quantity, etc) - not when any and all changes are made to a line item.
    I was hoping to use the badi BBP_WFL_SECUR_BADI - which works great for the overall n-level shopping cart approval workflow.  However, I can't seem to hit it appropriately for the item level approval workflow!
    Does anyone know if this BADI or any other can be utilized for determining when to re-start the item-level shopping cart n-level approval workflow?
    Thanks so much!
    Abby

    hi,
    Have you implemented the badi BBP_WFL_SECUR_BADI ? for restarting the workflow?
    Let me know?
    Also it is possible to debug and see why the restart does not happen.
    Also let me know wether the restart happens in other cases?

  • Tables related to Shopping Cart

    Hi Experts,
    Can any body list all tables related to Shopping Cart or give me pointers where I can find the complete list?
    thanks
    Siddarth

    Hi Siddarth,
    Try the BBP_PD* tables:
    Example:-                                                           
    BBP_PDHGP   Header data                                             
    BBP_PDIGP   Item data                                               
    BBP_PDACC   Accounting data                                         
    BBP_PDBEI   Backend item data                                       
    You can check with SE11 all relevant tables.                                                                               
    You can access these tables with guids. You get these guids from the
    tables CRMD_ORDERADM_H and CRMD_ORDERADM_I.           
    Kind regards,
    Siobhan

  • Shopping cart using Workflow??

    Hello Expert could anyone plz tell me why we need shopping cart ? i mean what is the necessity of it ? and how to implement shopping cart  with WORKFLOW ?
    Useful answer will be rewarded.
    Thanks
    A v I

    Hi,
       most of the Badi's that are related to business document will trigger when the approver take the decision.. if the error raise by the standard code.. approver must be seen in the SC screen.. if the error is raise by the check badi then you can debug the check badi in BBP_PD.. put the break point in DOC_CHECK badi and click the check message again in the bottom of the details screen..
    Saravanan

  • Tables Shopping Cart and Workflow

    Hello,
    I need to report about the delay of approval in Shopping carts.
    In the transaction BBP_PD I can see the data I need in "Work item WF" - node ID.  ("created at" - "finished at")
    In which table is this information stored?
    Thanks
    Aart

    Hi,
    use BBP_PDH_WFL_WI_FROM_OBJECT_GET with
    iv_object_id = SC ID
    iv_object_type = BUS2121
    you can then use SRM_WAPI_WORKFLOW_GETDETAIL to get WI details.
    related  threads:
    Re: Link SC to Work Item
    Re: SRM tables for Approvals Items
    Re: Approving agents of an item in SC ?
    BR,
    Disha.
    Do reward full points for useful answers.

  • 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,
    Akash

    Hi
    hopefully this link and the OSS note  1233774 should help
    "method SETRELEASED cannot be executed" for SC work item
    thanks

  • Determine approvers based on lineitem in Shopping Cart Approval Workflow

    Hi All,
    We have N-step Approval workflow for Approving the Shopping cart implemented.
    The issue here is that based on the Product Category for a line item the list of approvals may differ.
    How can i handle this scenario ?
    Regards,
    Radhika.

    Hello Priyanka,
    While using N-step item level SC WF, you have to use BBP_WFL_APPROV_BADI for agent determination. This badi gets called everytime when shopper changes SC or approver takes action on it. So after every change done to SC, approvers are determined.
    Follow the listed steps:
    1) As per your logic, for each item first determine the approvers at each level & assign them approval index. Arrange them in ascending order of their approval index at item level.
    2) Now its possible that you have multiple approvers, multiple item at each level. For sending SC for approval, you will have to generate Approval_object_guid for each approver.  For this you have to find out a criteria for generating Approval guid.
    Eg:
    SC has 3 items then, if for any 2 items product category is similar then approvers will be similar at a particular level. Similarly for different Product Category, different approvers are determined. So you can consider 'Product Category' & 'Approval index' as a criteria to club approvers at each level.
    3) Use function module ''BBP_WFL_DIN_APP_OBJ_GET' to generate approval guid based on criteria & to update badi parameter 'item_approval_obj'.
    4) Update badi parameters 'Approval_table' and 'Item_approval_table'.
    5) Once SC is approved by all, set 'no_further_approval_needed' flag.
    Please let me know if you need any further help.
    Thanks,
    Shital

  • Problems in shopping cart approval workflows

    Hello friends,
    We are using standard shappong cart approval workflows ( WS14000129 and WS14000060). I have configured all the steps mentioned in documents but workflows are not working while creating saving shopping carts.
    I have tried testing above workflows from background and they work properly from there, which means nothing wrong with basic workflow settings. But when I try save a cart from portal, workflow does get triggered but stops at very first step ( i.e. Parralel section between approval) in workflow. Also it does NOT get errored out but just waiting.
    Can anyone please help me in understanding what is wrong and how I can fix it.
    Regards,
    Arpit

    Here are some screenshots of what is happening
    http://img306.imageshack.us/img306/245/scerror1np5.jpg
    http://img101.imageshack.us/img101/1065/scerror2lx9.jpg
    Here is the binding
    http://img101.imageshack.us/img101/2289/scerror3wo1.jpg

  • Which table holds the Shopping Cart Approval Manager Name

    Can any one  please let me know which table holds the Approving Manger Name. Please find the scenario below.
    Employee creates the Shopping  Cart and forward the SC for Approval to Approval Manger. But approval manager will take some time to approve the shopping cart. I need to extract the approving manager's name who has still not approved the shopping cart into SAP BW.
    Thanks in Advance.
    Regards
    Venkata Agraharam.

    Hi,
    This is not answer. Just feedback from my project experience.
    I know some customer developed this kind of report which shows approver but they used the report only the first 1 month after go live. Approval monitoring was fun but you need someone who monitor it. Finally they realized high monitoring admin cost. Final solution was Alert Notification with BBP_ALERTING BADI which sends email to approver and admin when deadline is reached.
    Regards,
    Masa

  • Problems with Auto approval workflow (WS 10000060) for shopping carts

    Hi SAP Network community,
    I have got a problem with the auto approval workflow for shopping carts.
    Basically the workflow approves the shopping cart once it was created.
    But then the related Purchase Order remains in Status held. If the PO gets ordered manually then it is not transferred to the R/3 backend system.
    For testing purposes also the one step approval workflow was activated. If the shopping cart gets approved by clicking into the detail approval screen (not by approving through the green tick box in the shopping cart overview) then the PO gets ordered and transferred to the backend system as normal.
    But if the shopping cart gets approved by using the green tick box in the shopping cart overview then the same problem occurs as described for the auto approval workflow.
    The system version is SRM 4.00
    Did anybody have the same or similar problems with the auto approval workflow and what could be the reason for this problems.
    Thanks in advance,
    Robert

    Hi
    Which SRM Workflow Scenario are you using (IS it Item level workflow or Shopping cart level Workflow) ?
    Are you using customized SRM Business workflow or Standard SRM Workflow ?
    <u>Please go through these links as well.</u>
    http://help.sap.com/saphelp_srm50/helpdata/en/2c/e68d406b305537e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/eb/289f4099852e54e10000000a1550b0/frameset.htm
    Incase you are using Standard SRM Workflow, please raise an Customer OSS message with SAP at the earliest.
    Regards
    - Atul

  • Use HR Structure for Agent Determination in Shopping Cart Workflow SRM7.0

    We are implementing a Shopping Cart Approval Workflow in SRM 7.0. The process is that the Requester creates a Shopping Cart and an approval process will take effect.
    The approvers will come from an HR structure wherein the direct superior (or supervisor) is the first approver. The second approver is the direct superior of the first approver; and so on, until the Shopping Cart is approved. A maximum of 7 approvals can be done in a Shopping Cart document.
    I would like to ask the following:
    1. How can I achieve this in our WF? I tried to implement BADI /SAPSRM/BD_WF_RESP_RESOLVER but I was not able to activate it (there are other active implementations for this in Shopping Cart).
    2. If there are other suggestions on how to accomplish this, please let me know.
    Thanks in advance for your help.

    Thanks Masa.
    We created 2 custom expression for our requirement and copied FM /SAPSRM/WF_BRF_0EXP001 to put values on those expressions. Then, on our BRF we compared these 2 expressions. After putting the Eval. ID on the process level configurations, we were able to see in SLG1 that the fields are populated correctly. However, we just put constant values on the custom expressions so we can proceed with testing.
    There is one problem in terms of populating the other custom expression. This expression is for the Level of the Manager. I understand that this custom expression is populated before RR_MANAGER_OF_MANAGER. I would like to understand how to get the next approver in the copy of FM /SAPSRM/WF_BRF_0EXP001. In this way, I can get the Manager Level from table HRP5581 and use this to compare with the Release Strategy. If this will not work, is there a way to get the work item ID for the WF so I could get the previous approver then get the superior of the that previous approver and then get the Manager Level from there?
    Currently, only the GUID and Object Type is populated in the FM. Can I reuse some of the fields from other expressions so I can achieve my requirement?
    Thank you very much for your help.

  • SRM 7.0 Process Controlled Workflow - Shopping Cart customising

    Hi
    I am trying to use my own task (copied from TS 40007953) in the shopping cart approval workflow. I have made my task a general task and I have added it to task grouo TG 40000003.
    I also put my task number in the task id column in the process level customising.
    When the shopping cart is ordered, the workflow is started correctly AND my task is used in the workflow log.
    The workitem goes to the correct approver (portal UWL) but the task does not behave correctly. The approve/reject buttons are missing and it does not open.
    Is there something I have missed?
    Appreciate any ideas:)

    Hi..
       Any reason that you have customized task use to approve / reject the SC?..
    Saravanan

  • Error in workflow while rejecting shopping cart

    Hi,
    When i am using the standard 2 step shopping cart approval workflow WS1000031 the work item reaches the inbox of first level approver but when i reject the shopping cart the workflow goes into error. The error shown is (( Object CL_BBP_ACTION_NOTIFICATION_WF method SEND_PARAM_MESSAGE_WF cannot be executed )).
    The standard task which gives the error is TS10407929 which is inside sub workflow WS10400026 which is again inside sub workflow
    WS10400051.
    Can you help me.
    Reagrds
    Moinak.

    Hi,
        Pls apply the note 987079.
    BR,
    Disha.
    Pls reward points for useful answers.

  • Shopping Cart Table name

    Hi experts i'd like to know what are the Table releated with Shopping Cart in SRM 5.0
    Thanks
    Andrea

    Hi
    I have sent the detailed list of tables and other related information in this case at your official email id.
    Look for tables using SE16 Transaction -
    CRMD_ORDERADM_H - Header Data
    CRMD_ORDERADM_I  - Item Data
    Please do let me know, incase you still face any issues.
    Regards
    - Atul

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

    Jo,
      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

Maybe you are looking for

  • Unsatisfied link when callind dll from run method Help Please?

    Hi, I get an unsatisfied link error while trying to calling a dll at a certain time period in a run method. The same dll works fine called in another setup and even called in a loop. Can anyone help please? import java.util.Timer; import java.util.Ti

  • How to create Basic Key Figure, Key Figure and Characteristic

    Hello Gurus, I have copied a standard layout of KP06, named it as a Z- layout and made changes to it, like defined the plan data upload field as Object Currency enabled. However I want to add a Z-Field , tax holiday unit as a column to this layout wh

  • How to unify or merge the variables from several TestStand platforms to one TestStand platform?

    Hi,    We work with TestStand 3.5 and LabVIEW 8.0 versions.    We work in a parallel mode with several developers and each from developers:      1. Wrote his sequences at his TestStand station      2. Defined his local variables/sequence File Global

  • Rearranging photos within an album

    Hi, I wanted to know if it is possible to rearrange the order of the photos within an album on an ipad or iphone? Regards Adam.

  • Help! mac to windows.

    i wasn't aware of the no windows->mac->windows music transfer stipulation. my ipod is configured for windows...but recently i added music onto it from a mac. in the meantime i had added more music to my windows itunes. is there any way to sync the ne