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?

Similar Messages

  • Shopping cart items revert to "Awaiting Approval"

    Hello all,
    I have situation where manager approved partially shopping cart. When requestor checks the shopping cart some items are in status "Rejected" and some in "Approved".
    Afterwards requestor just accept changes. When he press "Accept Changes" status of approved items is reverted to "Awaiting Approval".
    Funny thing is that when I check item, "Approval" is showing that item is approved by manager and "Follow-on Document" is showing "Awaiting Approval"
    Checking of shopping cart via BBP_PD gives information for header "I1106 Shopping cart ordered" and for workflow status is COMPLETED. There is no any alert.
    BBP_WFL_SECURITY is set to "Low" for both roles, but behaviour is the same for all levels.
    HELP
    Gordan

    Hi Gordan,
    I am facing exactly the same issue but for a different workflow (WS10000276 - Value limit single).
    Were you able to find a solution for this issue? Please let me know the solution.
    Regards
    Srivatsan

  • WorkFlow - WS10000276: Shopping cart is hanging with "Awaiting Approval'

    Hi,
    We are SRM 4.0 (SRM_SERVER 5.0) SP 8 (SAPKIBKS08).
    We have only WS10000276 active in the system. The User orders the SC. SC goes to the approver (mentioned in attribute SLAPPROVER).
    Approver changes the quantity in the SC and saves. SC comes back to user for accepting changes. User accepts changes, but the SC shows status "Awaiting approval" and hangs.
    Transaction SWI1 shows only upto the step where mail notification has been sent to the user informing him that the approver has changed the contents of the SC.
    We had applied SAP note 948733 as per SAP instructions but this has not worked.
    Has anyone faced a similar situation? Any recommendations?
    Srivatsan

    Hi,
      Try if the foll notes can help:
    649551
    690716
    930750
    903200
    BR,
    Disha.
    Pls reward points for helpful answers

  • Awaiting approval in Shopping cart and no follow on Document created

    Hello Experts,
    Classic Scenario
    I activate BC-Set in process control workflow and create Shopping cart, Still status is Awaiting Approval and when i check in BBP_PD the workitem (its blank) no workitem assigned.
    Create Shopping Cart and approve forcefully with Swo1 and now its in ordered Status but no follow on Document created,........When i goto RZ20(Shopping Basket) to analyze it , The system says  Local Errors.............Shopping cart 3000000012: Error creating the follow-on document.
    Pease guide me on this .
    Thanks to all experts in Advance and appriciate your efforts
    Smriti
    Edited by: Smriti arora on Apr 28, 2010 7:58 AM
    Edited by: Smriti arora on Apr 28, 2010 8:04 AM

    hello Smriti
    I will try help you with your two problems.
    Question 1. "I activate BC-Set in process control workflow and create Shopping cart, Still status is Awaiting Approval and when i check in BBP_PD the workitem (its blank) no workitem assigned."
    this problem is because the customizing not is correct. Follow this steps:
    1.- SRM Server->Cross-Application Basic Settings->Business Workflow->Select Workflow Framework
    Check that Process-controlled workflow is active for all business objects
    2.-SRM Server->Cross-Application Basic Settings->Business Workflow->Process-Controlled Workflow->Technical Configuration->Customize SAP Business Workflow Automatically
    Execute step by step. is aut.
    3.-Execute transaction SWDD; check that workflow WS40000014 exists...
    4.-SRM Server->Cross-Application Basic Settings->Business Workflow->Process-Controlled Workflow->Technical Configuration->Generalize Tasks
    execute task for default
    5.-SRM Server->Cross-Application Basic Settings->Business Workflow->Process-Controlled Workflow->Technical Configuration->Check Task Generalization
    check it "/SAPSRM/WF_CFG"
    6.- SRM Server->Cross-Application Basic Settings->Business Workflow->Process-Controlled Workflow->Technical Configuration->Copy BRF Objects
    class SRM_WF ; all objects; COPY
    7.-execute transaction SCPR20 and active /SAPSRM/C_SC_600_000_SP04
    8.- TEST NOW
    Question 2: "Create Shopping Cart and approve forcefully with Swo1 and now its in ordered Status but no follow on Document created,........When i goto RZ20(Shopping Basket) to analyze it , The system says Local Errors.............Shopping cart 3000000012: Error creating the follow-on document"
    CHECK this point of customizing, here is where you must indicate to system that follow on document create for the shopping cart...exist several options...
    SAP Supplier Relationship Management->SRM Server->Sourcing->Define Sourcing for Product Categories
    Regards!!!!

  • How to get Shopping cart number from TECH_INFO Guid approval offline

    Hi,
    When a user approves a shopping cart via e-mail (offline approval), then in transaction SOIN we can the mail which is like this:
    TECH_INFO_A=00F3D1395134D34D34D37DFBE75E81512DB5DB5FBE&submit_a=Approve by e-mail&TECH_INFO_R=444244093D34D34D34DF7EF9D7A0544B6D76D7&NOTM_OUT=&EOM=1
    How can I retrieve shopping cart number from these guids ?
    Thank you very much.
    Regards,
    Peggy

    Hello,
    E-mail data extraction is done by method EMAIL_DATA_EXTRACT from class /SAPSRM/CL_OFFLINEAPP_INBOUND.
    With the exporting parameter EV_WIID, call function BBP_PDH_WFL_OBJECT_WI_GET: you will get the Shopping Cart number.
    To have an idea of the whole mail data extraction process, check report /SAPSRM/OFFLINEAPPROVALGET
    Regards.
    Laurent.

  • SC - Approved but status is 'Awaiting Approval' and no follow-on document

    Hi,
    If a shopping cart is approved, the approval preview shows that all approvers have approved it & it is complete.
    However, when you check the status of the Shopping Cart, it still shows 'Awaiting Approval'.
    In addition, BBP_PD states that no follow-on document was created.
    What can I do to trouble-shoot this issue?
    Please help.
    Thanks.

    Hi,
    You probably have a workitem that was not cloased yet, because of it the Workflow status is "Started" or "Awaiting".
    Please check the workflow log in the SWI6. You can complete manually it by SWIA.
    Please follow this example:
    1)
    Complete the document manually:
       A. Go to SWIA transaction :
          Complete the WF pressing "Complete Manually"
          Then the WF status should be "completed"
       B. IF so, go to transaction SWO1:
          Put the object type: BUS2201 (Purchase Order)
          Click on "Test"
          In  "Instance" put the PO number: 4400015308
          Then execute the "setrelease" method:
                REQNO: 4400015308
                INITIATOR: "User"
    Has the PO a inconsostency status ? Have you tried release the document ?
    Thank you,
    Rafael Rhoden

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

  • Shopping Cart in Status I1112 - No PO created

    Hi people,
    We are facing a problem in EBP system:
    Some shopping carts got in "Error in Transmission" status.
    When cheking BBP_PD transaction, I can see:
    Status         Description                    Inactive
    I1111          Item in Transfer Process       X
    I1112          Error in transmission          
    The document was not created in R/3.
    If I check RZ20 transaction I can see the message:
    Monitor            Shopping Basket\Backend application errors                          
    Date               14.05.2008                                                          
    Time               21:11:45                                                            
    Message ID         BBP_ADMIN 016                                                       
    Message text       SC &1 (PO &2): &3                                                   
    Argument 1         0012836535                                                          
    Argument 2         6200459551                                                          
    Argument 3        BAPI 001 - No instance of object type has been created. External reference                 
    Argument 4         00000000000000000000000000000000                                    
    No Dumps in EBP.
    No Dumps in R/3.
    After this, if I use the function module "BBP_REQREQ_TRANSFER" to transfer the SC, it works perfect!!!
    I cannot understand!
    What does happen when I approve a shopping cart and the document cannot be generated in R/3 ? EBP system tries again? How? It is something related to SPOOL_OBJECTS job?
    Thanks a lot,
    Cristiana

    Hi,
    See the foll threads for the related settings:
    BAPI 001 No instance of object type PurchaseOrder has been created.External
    No instance of object type PurchaseOrder has been created. External referen
    Also can you see any entries in the table BBP_DOCUMENT_TAB for your SC?
    Also check whether the job CLEAN_REQREQ_UP is properly scheduled in trascn SM37.
    BR,
    Disha.
    Do reward points for  useful answers.

  • 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

  • Can not add item to the shopping Cart with FireFox 8.0

    I can not add items to the shopping cart with Firefox 8.0. Switch to IE everything works then.

    Such details are stored in a cookie, so make sure that you do not block cookies on that site.
    *Tools > Page Info > Permissions
    You can inspect and manage the permissions for all domains on the <b>about:permissions</b> page via the location bar.
    *http://kb.mozillazine.org/Cookies
    *http://kb.mozillazine.org/Websites_report_cookies_are_disabled

  • How do I add an already built Shopping Cart  (PHP and MYSQL) application to a page in a Muse site?

    How do I add an already built Shopping Cart  (PHP and MYSQL) (Cartweaver 4) application to a page in a Muse site? Do I have to export the Muse site as Html to dreamweaver and them use the extension to bring the shooping cart in or can I do it directly in Muse?
    Message was edited by: mgv2048

    We have experimented with doing this with some good success. We have been working on adding Cartweaver to a Facebook page by essentially adding a Cartweaver store to Facebook in an iframe.  The "store" would be pages with just your basic product display, cart, and checkout functionality, with none of the "window dressing" - just use CSS to match the color and general look of the design it's being added to.
    The one problem with this for Facebook is when it comes time to check out toy have to leave Facebook and go to your server where an SSL is in place.  Fortunately in this situation this would not be the case, you can have an SSL installed to the root of your site and you'll be okay.
    This is an interesting project.  Give this a try and let me know how it goes and if you run into any snags, please make a post on the Cartweaver forums: http://forums.cartweaver.com - I'm really confident that this can work, and not only work, but work well.
    Looking forward to hearing how this goes, and being of what help we can.
    Lawrence Cramer - *Adobe Community Professional*
    http://www.Cartweaver.com
    PHP & ColdFusion Shopping Cart for Adobe Dreamweaver
    Stay updated:
    http://www.facebook.com/cartweaver
    http://www.twitter.com/cartweaver
    http://blog.cartweaver.com

  • How to Add new fields to Shopping cart?.

    Hi SRM GURU'S,
    I am using SRM 5.5 and ECC 6.0 and Extended Classic scenario.
    As per business, I want to add New fields to Shopping cart. How can I add?. Please any one give me clear details about this
    I am planning to add 2 fields 1. Commitment Item and 2. Fund center. in Cost Assignment tab. Is it possible?. This data has pass to  follow on documents. Backend documents has this provision. Is this option available in Shopping cart?. If yes please give me the details.
    Kindly respond quickly. Thanks in Advance.
    Regards,
    John.
    Edited by: johnmiller465 on Sep 22, 2009 1:13 PM
    Edited by: johnmiller465 on Sep 22, 2009 1:18 PM

    Hi Deepti/Shital,
    Thank you so much for your reply. I have awarded points. One more question. While creating creating PO from Process Bid Invitation, PO is not replicating into ECC. Do you have any idea?. Please help me to findout.  Respond quicklly
    If it will not replicate, how to create backend PO refering with SRM PO.
    Regards,
    John.
    Edited by: johnmiller465 on Sep 23, 2009 11:53 AM
    Edited by: johnmiller465 on Sep 23, 2009 11:55 AM

  • Purchase order created on approval of Shopping cart

    Hi All,
    We are using SRM 5.0 Support pack SAPKIBKT17.
    When a shopping cart is approved, a purchase order is automatically created. And this purchase order is attached to an E-Mail and sent to the Vendor.
    My query is that where is this E-Mail triggered? Is there a standard workflow task or any method is called?
    Thanks,
    Kiruthiga

    Thank you Jason.
    I put break points in all relevant sub routines in the function group you mentioned. And we approved the shopping cart. Logically, this should trigger a creation of PO. In our system there is no need for an approval for a PO. So the PO must automatically be sent to the vendor. In real, it did not stop at any breakpoint and the workflow WS10400051 (FinalProcNew) is triggered.
    I can not understand at which point the E-Mail is triggered. Is my assumption that the E-Mail to vendor with PO as an attachment is triggered in this workflow (WS10400051)?
    Please help me understand.
    Regards,
    Kiruthiga

  • Disable "Change approver" in shopping cart approval

    Hi all,
    I need to deactivated "change approver" in shopping cart approval process, I'm working in SRM Server 550, it can be controlled trough an authorization objet in role or a configuration?
    Regards,
    José Luis D.

    Hi,
    Please check  the BADI BBP_CHNG_AGNT_ALLOW.
    Regards,
    Masa

  • Add Unique Product in Shopping Cart

    Hi,
    I want to add a product only one time in shopping cart. I can add multiple product but want to have validation if buyer is going to add same product again. I have tried to resolve this problem with the help of custom JS but I am unable to find out product code at the time of "Add Sopping Cart" whether it is added or not. Please provide me fruitful solution.
    e.g.
    Go to :
    1- http://www.cybre-t2v.com/voices-and-languages
    2- Select Product
    3-Add to Shopping Cart
    4- Again go to Product list page  http://www.cybre-t2v.com/voices-and-languages
    5- Now again select same product
    6- Again "Add to Shopping Cart" : Here should be message "You cannot add same product in shopping cart"
    Thanks
    Raghu

    Wait, actually even easier would be to set the maximum qty for the product to 1 in the product details.

Maybe you are looking for

  • Error when applying a XSLT transformation: No valid XSLT pro

    Dear All, I am getting following error when opening the "General Supplier Data" from Pre-Select Supplier. Error Message: "Error message: Error when applying a XSLT transformation: No valid XSLT program supplied" I have already read the related thread

  • Changing the work order concept .

    While creating  PM Order IW31 , I get responsible work center and profit center populated once I select the main work center . My question is if I change the Main work center should the responsible work center and profit center change automatically ?

  • Error when updating from FM 8.0p266

    Hi, I can't seem to get patches for FrameMaker 8 to be installed. I have not been working in FrameMaker for a couple of months, but now I will start doing some changes for my templates and would like to use the latest version on FrameMaker. I have ve

  • Option key functionality gone

    The option key to toggle from tools to the eyedropper has stopped working. It was working fine, then my cat laid on my keyboard and it stopped working. I deleted my prefs, I uninstalled and reinstalled the program. I figure that there is a check box

  • XML Report Flag definitions

    I am using TestStand 4.2.1 to generate an XML output file, which I have to parse with some other application.  In those files, I notice that each of the Property nodes ends with a "Flags=" value such as: <Prop name='Status' Type='String' Flags='0x400