Change shopping cart status to reject when older than certain period

Hi Guru's,
I'm new to this environment.
Please help me with advice and sample code for the following.
I need to check if shopping cart is open for more than 20 days then change status to reject, daily background job.
Then need to inform user of new status via email.
Which is the correct FM, s to use.
Many thanks
Daniel

Hi
<b>Here are the steps -></b>
1. Create a Customer Implementation of BBP_DOC_CHANGE_BADI for Object (filter) type - BUS2121 using SE18 Transaction.
In the coding, you can set you condition ( >= 20 days then change status to reject)
2. Using either of the standard Function modules, you can create a Z program to send emails.
<b>Use the following Standard SAP Function modules -></b>
SO_OBJECT_PREPARE_FOR_SEND
SO_OBJECT_SEND
SO_DOCUMENT_SEND_API1     
SO_NEW_DOCUMENT_ATT_SEND_API1
SO_NEW_DOCUMENT_SEND_API1    
<u>Other related links -></u>
Re: Email notifications
SO_NEW_DOCUMENT_SEND_API1 is working in foreground not in background..
Hope this will help.
Regards
- Atul

Similar Messages

  • Approved shopping carts not displayed in shopping cart status report

    Hi Gurus
    we are facing an  issue in shopping cart status report.  When the approver selects 'Approved by me' in shopping carts status report system is not showing any list.  There are number shopping carts approved by the user . Other selection like selection period, status , completed indicator were selected properly.  But if the approver selects 'Rejected by me' the system is showing all the shopping carts approved, rejected, and awaiting approval related to the approver.
    This is happning with one user only.  We had checked user authorization and parameters and every thing is fine . Aslo compared the same with other users for whom this report is working fine . We are in SRM 5.5 extended caassic senario.
    Any suggestions/solutions on this
    VB SAS

    In olden days of SRM , we forcily assign account assignment for PR which do not have accounting data in the PR to create a successful SC in SRM and remove the account assignment while creating a PO in the backend.
    but since your in SRM 7.0
    and also you made ensure that your PR has account assignment but it is not sitting in the cockpit.
    and your shopping card trying to create a PO and failed right?
    since it has incomplete data , how PO is creating. How system can create a PO without vendor.
    escalate to SAP bvia OSS message
    BR
    Muthu

  • Shopping cart status showing as Awaiting Approval even after Rejection.

    Hi All,
    We are on SRM 5.0 .After rejection of shopping cart , if the requestor checks the staus of shopping cart in Check Status link , it is showing as 'In Your Inbox' which i believe is correct but the status for this object id is still Awaiting Approval in transcation BBP_PD.
    Why is the status not geting updated in transcation BBP_PD?
    Regards,
    Anubhav

    Hi,
    One more strange thing is that there are some shopping carts with status
    Stats:
               Status         Description                    Inactiv
    HEADER     I1015          Awaiting Approval              X
    HEADER     I1016          Release Rejected
    HEADER     I1021          Created
    HEADER     I1038          Complete
    HEADER     I1106          Shopping cart ordered
    But these are very old.
    All the shopping carts that were rejected in recent times are..
    Stats:
               Status         Description                    Inactiv
    HEADER     I1015          Awaiting Approval
    HEADER     I1021          Created
    HEADER     I1038          Complete
    HEADER     I1106          Shopping cart ordered
    But I have never seen the Accept Changes button in my system , so howcome the old shopping carts have status Release Rejected?
    Regards.
    Anubhav

  • BBP_MON_SC reports shows REJECTED shopping cart status as AWAITING APPROVAL

    Hi,
    We are facing a problem in BBP_MON_SC report. This report shows some of the  REJECTED shopping cart status as AWAITING APPROVAL.
    Note : We are in SRM 4.0 Version.
    Please advice.
    Regards,
    Ram

    Hi Ramprashanna,
    Please see Notes
    Note 660372 - Shopping cart monitor: Shopping cart deleted/Awaiting Approv
    Note 672764 - Shopping cart monitor: Display of deleted shopping carts
    In this issue.
    Regards,Nishant
    Please reward if this helps.

  • Change Shopping Cart in status "Awaiting Approval"?

    Hi there,
    Quick question: Should a user be able to change thier shopping cart if it is still in "Awaiting Approval"? It would seem like a logical thing for the user to be able to change the quantity, date etc of the item before it is approved?
    I have been looking at template SAPLBBP_SC_UI_ITS 120 and it seems SAP standard prevents this?
    How would I allow users to be able to change shopping carts in awaiting approval state?
    Any help would be greatly appreciated, thanks
    Lynton

    BBP_WFL_SECURITY badi may helps or  via su01 personalisation tab security.
    helps you . keep value HIGH
    Shopping cart approval - shopping cart not changeable
    br
    muthu

  • Shopping cart status I111 - Item in transfer Process

    Hello Experts,
    I have one issue in which enduser had created a shopping cart and now its approved but no follow on document is generated.
    I checked in the application monitor : I saw the item status is "Item is in Transfer in Process'.
    When i run the report BBP_ALERT_SB_NOTTRANSFERED. now the status changes from I111 to I1112. "error in transmission'.
    Please guide me how i can repost the document so that follow on document will get generated.
    I am in ECS scenario with SRM 7.0
    Help will be appriciated.
    Thanks
    Smriti

    HI Masa and the experts.
    I have checked the BBP_PD for the Shopping cart and the Item data.
    My finding are :
    BE_LOG_SYSTEM : VLBSRP300  " This is my SRM - SRP(Production) System and the client
    BE_OBJECT_TYPE : BUS2201       " Again this is the PO business object
    BE_OBEJCT_ITEM  : Blank
    BE_OBJEC_ID : 1                           "
    But there is no PO created .
    When i ran the report BBP_ALERT_SB_NOTTRANSFERED. then my Shopping cart status changed from I1111 to I1112.
    Now please let me know how i can process my shopping cart to create follow-on documents,
    Smriti

  • Shopping cart status of 'awaiting approval'

    Hi Everyone,
    All Shopping Baskets that are rejected by the approver are entering the Order raisers Shopping Basket status report with the status wrong displaying as Awaiting Approval . On previous versions of SRM, the status would be set to In Your Inbox]. This issue is with this header status only as the line items for rejected Baskets does show rejected.
    Any help is welcome. I am on SRM 5.
    Bye.
    Gordon.

    Hello,
    Actually, system behaves in the following way:
    - A shopping cart is created and goes to approval;
    - Approver rejects the cart and the workitem is send back to requester inbox in order to accept the rejection or change the cart and resubmit it to approbation;
    - If requester checks the cart (Inbox or BBPSC04), its header status will be "In your inbox";
    - If someone (administrator, for example), checks the cart via BBP_MON_SC transaction (Monitor Shopping Cart) before the requester acceptance/changes, the shopping cart status will be "Awaiting approval", since the cart is still in approbation process.
    I hope this information helps.
    Kind regards,
    Ricardo

  • PO not found in EBP but shown in shopping cart status

    Hi all,
    I am using classic scenario in SRM 5.0...when the shopping cart is created,the purchase requsition gets created automatically in the backend...I created a PO referring to that PR..The particular PO is seen in the status of the Shopping cart...but when i try to confirm goods receipt or to create invoice by referring to that PO in EBP its says Purhcase order not found...(Though its a classical scenario i hope we can do the above mentioned things in EBP-document only gets created in backend)...what might be the problem...Please help me...
    Thanks&Regards,
    Hari...

    Hello,
    In ppoma_bbp, check the attribute "system alias" (SYS), it should refer to your backend system.
    Rgds,
    Pierre

  • Problem with shopping cart status

    Hi Experts,
    We are implementing SRM 5.0. When i create a shopping cart for services, it creates purchase requisition in the backend but the status of shopping cart, 'Purchase Requisition Created',  is not getting updated in SRM. But when I modify and save that purchse requisition in the backend, only then it updates the shopping cart status. I'm also using CLEANUP_REQREQ_UP and BBP_GET_STATUS_2 programs as background jobs.
    Kindly help me in solving this issue.
    Regards,
    B.Siddhesh

    Hi,
    This issue is resolved now.
    The problem was when service PR is created from SRM on R/3, the system fails to create entries in table ESLH. To resolve this issue we implemented note 922372 and its working fine now.
    Regards,
    B.Siddhesh

  • Insert column into shopping cart status screen

    Hi,
    I need to insert a column into the shopping cart status screen table control( search results).(BBPSC04).
    Can u pls let me know whether i can achieve this by adding an append structure or standard screen modification?
    Cheers
    Rajeev

    Hi,
       Instead of modifying the std structure,try modifying the corresponding template of the service.
    BR,
    Disha.
    Pls reward points for useful answers.

  • Missing print preview icon in Shopping Cart status srm 5.0

    Hello,
    Some users don't have the print preview icon in the shopping cart status.
    I checked attributes and authorization, but that isn't the problem as far as I can see.
    b/c some users have this problem and others don't I don't have any idea what the problem might be.
    every idea is welcome!!
    thanks in advance
    Jan Holland

    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

  • How to change Shopping cart error messages.

    Hi,
    My Client side end users are trying to create shopping carts, and if the shopping cart fails in backend side, it will display error message in status like 'Item Contain Error' or 'Backend Document not able to generate' like this.
    But, by looking the shopping cart status my end user not able to understand the problem. every time then need to run t.code RZ20 and check. for them its time taking. So they want to see the detail messge in the shopping cart status it self.
    Could anybody help me how to replace the message with detail message.
    Thanks,
    Ram.

    Hi Scot is correct.
    we should not give access to requestor all this access.
    admin should aware to identify the problem and correct the data and submit it the cart etc..
    if the employee role only can not even see error in processs (even his cart).
    only admin can process or admin can inform the requestor instruct the requestor to create a new cart ..
    upon business process
    br
    muthu

  • How to change shopping carts of other users

    Hi Experts,
    Please advise if there is any transaction which SRM admin can use to change shopping carts of other users. I found that BBP_MON_SC is only able to delete the shopping carts.
    Regards,
    Kamal

    Hi,
    As Manish told, you can not change shopping carts for other users. I think as per as my knowledge even SAP will not recommend these type of funcitonalites.
    thanks
    Ravi

  • Dates in email all the same when older than 2 days. I saw similare questions but no solutions , who can help me ?

    All dates in my emails (on all my 4 apple computers) are on May 5 , when older than 2 days. Is there anyone who can help me out of this very annoying problem please?
    I saw simmilar questions from people in 2008  but no answers.
    Thanks in advance.

    solved

  • Whether Shopping cart will be updated when the PO quantity is changed

    Hello SRM Guru,
    I have one question.
    When the PO quantity is changed after the shopping cart was approved Whether this changed quantity will update the  Shopping cart ?
    Technical Scenario : extended classic
    system: SRM 7.0 SP6
    Regards
    Madhan

    Hello,
    If PO is created from shopping cart, this means that shopping cart is fully approved.
    After shopping cart is fully approved, no changes are allowed. Therefore, if PO quantity is changed, this value will not be updated in shopping cart quantity.
    Regards,
    Ricardo

Maybe you are looking for

  • [SOLVED]xpra + winswitch - best practice due to /etc/X11/xorg.conf.d/*

    Running xpra causes some headaches. The application builds fine and installs just perfectly, the troubles comes from the default Xorg configuration is no longer stored in /etc/X11/xorg.conf, it's now stored and read from numerous files under /etc/X11

  • Solaris 8 on sparc 2 80 Mhz

    Hello, I am a noob with sun software and hardware and was curious, before I go and spend what little money I have on Ebay to buy a used sparc system. Does anyone know if a sparc 2 with an 80 Mhz upgrade can support solaris 8? Also, if any of you guru

  • Finder window opens every 3mins, desktop flashes & folder icons vanish

    This started on my computer past 2-3 days and is getting worse. Finder window appears top left unexpectedly approx every 3mins, desktop items flash and vanish for a couple of secs & if typing I get cut off, or when using spotlight search the window v

  • Trying to find broadband account details...

    Hi there I'm trying to help my parents with their BB. They have an online account that has their telephone info in it, but not their BB, which is also BT.  I have tried all passwords, usernames etc, as assume it must be in a different account somewhe

  • Spinning Beach Ball of Death and Kernal Panics - Capacitors?

    Hi, I got this email from my mother. This is her computer, not mine. I'm technically adept, so I'd be able to help her. I'm not sure this is actually a kernal panic, or if it's another issue such as capacitors? ================ Lately sometimes (at l