Alert for shopping cart held status.

Hi ,
I have a requirment  where i need to get  all the shopping carts
from last 1hr from the system time from the database table which are under held status and if they are more than 5 shopping carts in held status  then it should send a alert mail.
Is there any standard program? If any body worked on this requirement please guide me.
Thanks in Advance,
Savitha.

Hi. I don't think there is anything standard like this. You will have to write a program that selects in carts created in the last hour (Table CRMD_ORDERADM_H will show you this).
Then either call function BBP_PD_SC_GETDETAIL structure E_STATUS or check table CRM_JEST for status I1009 with inactive = space. That status means the cart is on hold.
Regards,
Dave.

Similar Messages

  • Alert for shopping cart awaiting approval

    I am trying to set up an alert for carts that are awaiting approval.
    I would like to send a notification to the approver to remind them that they still have work items to execute.
    With this in mind, can anyone please let me know all the configuration and activation steps that are involved.
    I have seen numerous threads on this forum but I cannot seem to get any result from my system.
    If someone has an "Idiot's Guide" this would be gratefully received.
    Keith

    Hello Keith,
    you should use the deadline monitoring function of SAP business workflows.
    Enter your approval workflows in transaction SWDD, make a doubleclick on the approval steps and go to tab "latest end". In field "Refer date/time" enter "Work Item Creation" and an appropriate time offset, e.g "+ 1 day(s)" in the field <b>below </b>the "Time" field. In section "Recipient of message when latest end missed" you should enter "Expression" and "&APPROVALAGENTS&".
    Repeat this with all approval steps in all your approval workflows.
    THis will place a notification in the approver's SAP inbox or in their mailboxes if e-mail notification is active.
    Hope this helps
    Karsten

  • SRM 7.0 Modify POWL for shopping cart check status screen

    HI Experts,
    The standard settings in check status for SC in SRM 7.0 is to display the sc with item level. This causes the SC number to be repeated (for no. of items in SC) and all links open the same SC in a new window.
    We want to display only the header of SC and no item data should be displayed in check status.
    I tried
    SRM Server->Cross-Application Basic Settings->POWL and Advance Search->Adjust POWL Layout,search criteria and push buttons----choose feeder type SAPSRM_FEEDER_SC -double click field catalog-choose ITEM_DESCR, ITEM_NO, ITEM_STATUS---CHOOSE display and select HIDDEN COLUMN radio button.
    This hides the corresponding columns but duplicate records are still showing.
    Can some one please help?
    Thanks,
    Anubhav

    Hi NM,
    After performing the steps in first post for hiding item relevant fields you can filter the data displayed in the result by using the BADI  /SAPSRM/BD_POWL_CHNG_SEL_RSLT .
    In the BADI Delete the records from result internal table where SC num is repeated so that thers only one entry for each SC.
    Let me know if it works for you or not.
    BR,
    Anubhav

  • Default timeframe for Shopping cart Order status

    HI,
    We have requirement to set default time frame 30 days for the "Order status" in SRM 7.0
    We used query id SAPSRM_E_CHECKSTATUS_0, but the these changes not replicating in POWL transaction.
    can some one help e on this, how to defult timeframe.
    Thanks,
    Rams

    I checked out TC POWL_QUERY in our Dev box and it appears to do the trick.  However, in order to update the Order Status screen with the new criteria, I need to run program POWL_D01 which will update all user ID's.  I would only like to update users without anything in the timeframe field.  Any idea if that is possible?  If not, we would need to communicate to our end users first before making the change in case they had different criteria in the timeframe field.

  • How to re-start the workflow for Shopping carts in WAITING status

    Hi
    We are using 1-step approval work flow, and we get some strange issue. We can add approver in the workflow, but after we click order button and back to check status again, sometimes there will be "Ad-hoc agent not found" issue. Do you know how to solve?
    And one workaround for user is to re-add the approval, and sometimes the shopping cart back to normal. But sometimes, after we add the approver, the shopping cart are in waiting status:
    Workflow Item:
    Workitem-ID 000000714642
    Task WS10000276
    Text One-Step Approval: Value limit: Shopping Cart
    1000114698
    Status WAITING
    Statustext Waiting
    Date 13.06.2008
    Time 10:41:22
    So may I ask how to re-trigger the workflow?

    Hi,
    Thx for that. I need to trigger the Approval workflow to go the the approval manager.
    Can u give me the document on this? thx,  kerry.liu [at] ap.effem.com.
    Thx very much
    Kerry

  • Check status for Shopping Cart to include F-53 postings

    Dear SRM GURUS
    we are following a classic scenarios and SRM version 4.0 where in we create a shopping cart in SRM and a  purchase Req is created in backend and based on that we create a Purchase Order and do a Goods receipts and Invoice Booking in MIRO in R3.
    When we check the status of shopping cart we are able to view all in SRM check status for shopping cart.
    Now my requiremnt is that when after MIRO in R/3 we run F-53  for payement to vendor.
    Whether this can be displayed in the shopping cart check status that as to when actual payement was made to the vendor through F-53.
    regards,
    Nimish Sheth

    F-53  transaction(R/3) status in SRM

  • 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

  • Prefered vendor not displayed for shopping cart

    Hi,
    We have PDP scenario, SC's originated from R/3 purchase requisitions,
    Issue details:
    1. P.req was created with desired vendor and transfered to SRM and corresponding shopping cart is available in SOCO.
    2. User created Held PO for corresponding SC.
    3. When user checking monitor shopping cart then preffered vendor not displayed in source of supply tab.
    When i checking BBP_PD for shopping cart, i found there is Disable flag(X) has been set for NO inbox selection partner.
    what could be it mean, and more ever this changs has been originated via RFC user.how it was getting RFC user
    Please advice me....

    Venkateshwar
    SC is generally sent to SOCO only when sourcing has to be carried out for the SC. IN this case you are hving a desired vendor in the SC and then you are creating a pO for the same. Although you have a Vendor in the PO that does not mean that SC will also have same vendor as preferred vendor in SC after you created the PO....
    Regards
    Virender Singh

  • Add an approval to shopping cart whose status is awaiting approval SRM7.0

    Hi All,
    In one of my requirements i need to add an approver to a shopping cart which is on status awaiting approval programmatically in SRM7.0.
    1. Is it possible to add an aprrover to shopping cart whose status is awaiting approval programmatically.
    2. If yes, please guide me the steps or classes and methods are used to do this.
    Thanks in Advance.
    Best Regards,
    Krishna

    Hi Saravanan,
    I am sorry for delayed response..
    Requiremnet:
    Need to add approvers manually to the shopping cart which is on awaiting approval status.
    The code flow follows as below:
    1. as the workflow already started for this shopping cart so we have interrupted the shopping cart with belwo method
              CALL METHOD /sapsrm/cl_wf_adv_facade=>interrupt_process
                EXPORTING
                  iv_document_guid = lv_new_guid ( shopping cart guid)
    2. instantiated the object for the class /sapsrn/cl_pdo_bo_sc_adv, to its constructor i have passed values work item id generated in above process.
    3. added an approver manually to shopping cart using method of above said class /sapsrm/if_pdo_do_apv_ext~add_approver.
    4. if i skip the execution of method  /sapsrm/if_pdo_bo_sc~order, i am able see all the approvers added manually but the status is "In your Inbox"
    5. if i execute the above said order method, all the approvers added manually are lost.
    Question:
    1. Please suggest me the sequence of methods called are correct?
    2. As per my understanding complete workflow is restarting, so it is losing all the manual approvers if i am wrong suggest me,  Is it not possible to have previously added manually added approvers even after ordering the cart?

  • Deadline monitoring for Shopping Cart

    Hi Experts,
    I am working on SRM 7.0 process controlled workflows.
    Activated the deadline monitoring for shopping cart but I am getting the below error:
    Work item 000000073752: Object /SAPSRM/CL_WF_EVENT_ADAPTER method TRIGGER_EVENT cannot be execute
    Please help to solve this.
    Thanks,
    Sangeeta

    Hello,
    To find the cause you will need to debug:
    For testing you can call  the method
    /SAPSRM/CL_WF_EVENT_ADAPTER -> TRIGGER_EVENT
    Take the following parameters from the document wfl log:
    IV_DOCUMENT_GUID IV_DOCUMENT_GUID
    IV_DOCUMENT_TYPE IV_DOCUMENT_TYPE
    IV_EVENT IV_EVENT
    IV_EVENT_SUB_CATEGORY
    IV_WORKITEM_ID
    IV_DOCUMENT_ID
    Before to start debugging, set a beark point in CL_BBP_MESSAGE_CREATE -> execute
    Here you can find why the alert method is not been able to be executed.
    Probably you are passing some wrong parameter.. Do you use Badis BBP_OUTPUT_CHANGE_SF or BBP_ALERT.. try to deactivate these Badis and retest.
    Thanks,
    Melina

  • Shopping cart line status and codes

    I am using SRM 4.0 , I need a list of all Shopping cart line status and codes. Where can i find that infomation

    Hi,
    Regarding only to shopping cart status, it can be the following:
    At header level:
    I1039 - Doc incomplete
    I1131 - Template
    I1009 - Held
    I1040 - Deleted
    I1038 - Doc complete
    I1106 - Shopping cart ordered
    I1023 - Transaction completed
    I1015 - Awaiting approval
    I1129 - Approved
    I1016 - Approval rejected
    I1138 - Resubmission
    At item level:
    I1111 - Item in transfer process
    I1112 - Error in transmission
    I1113 - Follow-on document created
    I1114 - Item in deletion process
    I1139 - Change of an external requirement
    I1114 - Follow-on document deleted
    I1116 - Deletion failed
    Kind regards,
    Ricardo Cavedini

  • How to use customer extension table for schedule line for shopping cart ?

    Dear Experts,
    One of our client wants to have schedule lines in shopping cart item. I am thinking of using customer extension table at item level for shopping cart. Could you please help me on  how I should proceed with the appending the structures so that the end user can fill the shopping cart schedule line details?
    Which fields should I consider in such cases?
    Thanks and regards,
    Ranjan

    Hi.
    I guess you use SRM 7.0. Please go to IMG.
    SRM -> SRM Server -> Cross-Application Basic Settings -> Extensions and Field Control (Personalization) -> Create Table Extensions and Supply with Data
    Regards,
    Masa

  • One Step Workflow Activation for Shopping cart in SRM 7.0

    Dear Experts,
    On working to EXtended Classic Scenario, I need to configure one step approval for shopping cart in SRM 7.0.
    Currently it is providing me Auto Approval  by default and based on it PO is being created. I need one-level manager approval  shopping cart.
    I am working in Demo System of Extended Classic Scenario, I need only one step approval SC without any condition.
    Kindly tell me the configuration steps in SRM and please tell me one more thing is there  any need of  BADI or other coding for one-step approval?
    Thanks in Advance,
    Regards
    Pawan Keshwani
    Edited by: pawankeshwani on May 25, 2011 6:22 PM

    Hi Ashutosh,
    Thanks for quick reply.
    As per your comment when i am tring to activate /SAPSRM/C_SC_600_001_SP04  by t-code SCPR20, But It shows me a information pop up Maintain the client role and then Activation is Cancelled.
    Kindly tell me what i am missing or any other prerequisite step to do for this BC Set Activation.
    Thanks
    Pawan Keshwani

  • Workflow for shopping cart

    Hi experts
    I am in SRM 7.0 and triing to use Process controled workflow, I have done some configurations for shopping cart aproval but no workflow is started and in shopping cart appear as in aproval.
    What cold be missing?
    Thanks
    Nilson

    Hi Guys
    Urgent
    In Sourcing cockpit field having morethan 1000 line item Shopping cart.  Could anyone help me to get the sourcing cockpit shopping cart entire report in a single report.
    We use to download the report morethan on hour on a daily basis.If anyone help me out for this really appriciated.

  • Process Controlled WF for Shopping Cart

    Hi,
    We have implemented process controlled workflow for shopping cart approval.
    1. Created a bespoke schema for the approval process
    2. Defined 5 process levels in the schema
    3. changed the BRF event at the schema evaluation level. It now
    contains a constant with the name of new schema create in step 1.
    4. Decision set used is item based approval for partial documents (Type 4)
    4. The first process level is get the technical approval from bespoke
    table based on material group. For that we have first created a
    Responsibility Resolver Name - ZTECHNICAL_APPROVER.
    We have implemented the BADI - /SAPSRM/BD_WF_RESP_RESOLVER. Assigned
    the filter as BUS2121 and ZTECHNICAL_APPROVER.
    5. Now we have placed the external debugger in BADi. when we create
    the shopping cart the flow doesn't stop at the break point. The item
    reaches to the last step of Automatic approval (Rejected).
    6. We think that schema is getting evaluated, however the process
    level is not getting called.
    7. Before we created schema, all the carts wer getting "Approved" by
    automatic step. In our schema the automatic step is "Rejected", hence
    the carts are getting rejected.
    Could you please let me know what could be reason for BADI
    implementation not being called or is there any config step which we
    are missing?

    Hi,
      I think your process level evaluation id is not true, that is the reason system skips the process level.. Can you check your evaluation event-expression code. What do you see in SLG1?  For testing purpose change the evaluation id to 0EV000 and check. Make Sure you debug through the user(requester) that you are creating the SC. Please test and let me know...
    Saravanan

Maybe you are looking for