SRM Shopping Cart Approval on mobile

Hi,
We have a requirement to enable approval of shopping carts from the mobile inbox of approver. The workflow under consideration is the Item-Based Approval Process (WS145000015). The workflow works perfectly well within SRM portal for single as well as multilevel approval.
We are presently testing the simplest approval scenario comprising of single level approval for the mobile requirement. All the items in the shopping cart should get approved/rejected in one shot. This is the sequence of FMu2019s our mobile app will be calling:
1.     SAP_WAPI_CREATE_WORKLIST u2013 to create the work list for specific user. Input:  sap user id. Output: List of all work-items assigned to user
2.     SAP_WAPI_GET_OBJECTS u2013 Input:  work item id. Output: object id (shopping cart no.)
3.     BBP_PD_SC_GETDETAIL -  Input: object id obtained in step 2. Output: shopping cart header GUID from table e_header
4.     BBP_PD_SC_STATUS_CHANGE_WF u2013 to approve/reject the shopping cart. Input: shopping cart header GUID from table e_header in step 3, status = 0001 for approve and 0002 for reject. Output: status = RELS in the export parameter
5.     SAP_WAPI_WORKITEM_COMPLETE u2013 to complete the work-item and remove it from the useru2019s worklist. Input u2013 work item id. Output : Status completed
The issue is that, once the above FMu2019s are executed in sequence, the shopping cart gets approved and the work item is removed from the approveru2019s worklist but the workflow doesnu2019t complete. The workflow log indicates that the subworkflow - N-step parallel  approval of shopping cart (WS14000014) is looping for second time looking for next level of approval. The subsequent PO is also not being created.
This issue occurs only when we are approving the SC using the BAPI. The workflow completes smoothly along with successful creation of the PO when the SC approval is done via the approvers UWL in portal.
Can someone help us identify whatu2019s wrong and fix the issue?

Hi Vishal,
Try this:
Execute SAP_WAPI_WORKITEM_COMPLETE to complete the work-item and remove it from the users worklist. Input - work item id
Output - Status completed
Thanks
Punit

Similar Messages

  • Shopping cart Approval preview in SRM

    Hi Experts,
    I have an issue in SRM Shopping Cart Approval Overview.
    Now in Shopping Cart approval overview, displaying the positions of the agents. But i want to display names of the agents in case of positions.
    Please help me to solve this issue.
    Regards,
    Chandu

    hi
    substitue the name of the postiions with the name of the agent
    regards
    andrea

  • Shopping Cart approval process in SRM using Black Berry

    Hi,
    I am very new to SRM. Here the user wants the whole approval/rejection process of shopping cart should be done via the Black Berry.
    When a shopping cart is created in SRM then automatically a mail should appear in this mail box(outlook or lotus) as well as in the black berry mail box, so from black berry the user will accept/reject the shopping cart.
    What workflow should be used? for mailing to outlook as well as in the blackberry whether we should implement any BAdI and also for integrating SRM & black berry whether we require any plug-in or configuration to be done..
    Please do the needful..
    Thanks and Regards,
    Chandra Sekhar

    Hi,
    pl. read this:
    Mobile Enterprise Buyer
    Use
    Users can log on to the Enterprise Buyer system using a WAP-enabled cellular phone or any other WAP-enabled front end. This allows them to perform many procurement tasks completely independently of any docking station. These mobile applications are part of the standard system setup for Enterprise Buyer.
    Managers can approve shopping carts while on business trips far away from the office.
    The start URL for the mobile scenarios is:
    http://.:/scripts/wgate/wapbbpstart/!?~language=
    where <language> = de or <language> = en, for example.
    The initial screen is displayed in the relevant language.
    Integration
    You can either use your own WAP gateway or you can use a WAP gateway service from a telecommunications provider. If you have your own gateway, you can position it behind your firewall. This means that communication is via a dialup line as far as the WAP gateway, that is, a secure connection going behind the firewall. Beyond this point, communication is via HTTP. If you are using a WAP gateway service, the dialup line stops outside your firewall with the less secure HTTP communication starting outside the firewall.
    The graphic shows a standard configuration with a WAP gateway located behind the firewall.
    Prerequisites
    You require the following:
    WAP-enabled mobile device
    WAP gateway
    WML-enabled catalog that supports OCI
    You have configured your Web server to handle the MIME (Multipurpose Internet Mail Extensions) types required for WAP. These are as follows:
    File extension
    MIME type
    Wml
    text/vnd.wap.wml
    Wmlc
    Application/vnd.wap.wmlc
    Wmls
    text/vnd.wap.wmlscript
    Wmlsc
    Application/vnd.wap.wmlscriptc
    Wbmp
    image/vnd.wap.wbmp
    If you have your own Web server, you define the MIME types using the Web server's administration tools. In Microsoft IIS, you have to enter the types on the Properties page of your site on the tab card HTTP Headers. If you are not using your own Web server, inform the administrator or provider running the Web server.
    Features
    The following functions are available:
    Create new shopping cart
    Users can:
    Select catalogs using input help
    View catalogs (by product group)
    Search for products in catalogs (full text)
    Display item details
    Add items to shopping carts
    Delete items from shopping carts
    Change item quantities
    Delete shopping carts
    Order shopping carts
    When a shopping cart is ordered, an order confirmation is displayed giving the shopping cart name and the total value of the shopping cart.
    Status check
    Users can:
    Display overview of shopping carts (shopping cart name and status)
    Display header data for shopping carts (for example, shopping cart name and date of last change)
    Inbox
    Users can:
    Display overview of work items (only shopping cart approval) and messages
    Display detail view of messages (sender and full short text)
    Display detail view of work items (full short text only)
    Managers can approve or reject shopping carts
    Managers can only approve or reject complete shopping carts. Approval and rejection at item level is not possible.
    Reporting
    Managers can display the most recent purchase orders created for their cost center(s).
    to get presentable doc mail me on
    [email protected]
    BR
    Dinesh
    <b>Reward if helps</b>

  • 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

  • Shopping cart approved PR created but PO not created

    Hi,
    we are using SRM4.0 classic scenario with  self service procurement business scenario.and my user is getting the problem with PO not receiving in SRM. only backend PR has been created.but he is asking about the PO.
    when i checked SC  only PR has been created as follow on documents.in backend also PR only displayed. sources of supply is not assigned in SRM Shopping cart.
    so kindly advise me how to generate the PO.
    awating for your valuble reply.
    BR,
    sss

    Hi
    It happens due to there is no valid source of supply in the shopping cart or as well as no configuration on Sourcing.
    ask user to assign valid source of supply like contract / inforecord in the source of supply folder in the shopping card. then PO will be created after approving the shopping cart.
    br
    muthu

  • Query on SRM Shopping Cart ,plz help its very very urgent

    Hi Friends,
    I have a query on workflow.
    Users creates PO through SRM shopping cart and immedeately they receive a mail in there mail box.Below is the process flow of sending the mail to the user inbox from srm shopping cart.
    SRM Shopping Cart>Business Object>Workflow-->Mail
    Here my problem is.
    The bususinees object generally holds the data for cart number and cart description, but when i am checking the workflow it does not contain any cart number or cart description,so that the mail that is going to user inbox also does not contain any cart number and cart description value.
    Recenly our client upgrade from 4.6c to Ecc 6.0 and this problem is happening after the upgradation.
    Please suggest if anyone face this kind of problem or anyone having any idea on this.
    Pls give me some suggestion.
    Thanks a lot
    Mrutyun^

    Hi,
    Your condition is puzzling... the workflow in SRM for SC is triggered after the SC is saved.
    The PO is a follow-on document after the SC is approved. As such it has no relationship to the backend upgrade since the workflow engine is in the SRM server. Your worflow is triggered from the SC or PO?
    Regards.

  • Error in shopping cart approval

    Hello all, I am working in SRM 7.0. I am working with shopping cart with one approve level only
    The approver must be the requisitioner's manager always, but when I go to change shopping cart approve squema I have an error message.
    I configured it:
    In process levels for object type BUS2121
    Process schema evaluation: 1EV_SC_001
    Process level schema: 1C_SAPSRM_MIG_101 and 3C_SC_700_002
    For 1C_SAPSRM_MIG_101:
    Process level configuration:
    Level Type: Approval
    Responsible Resolver Name: RR_MANAGER
    Task ID: 40007954
    Decision Type: 2
    When I save a shopping cart I have this error message:
    No approver found RR_MANAGER BUS2121 4CFCDAE5BAC10B80E10080000A8C6250
    In the organizational structure I am in the same organization unit of manager and I have only one manager in all structure. How can I determine the manager in this case? Which can be the error?
    Thanks in advance
    Rosa Rodríguez

    Hello, in SLG1 I can´t see errors, I only see this:
    @5BQInformation@     10 Execute event 1EV_SC_001 Evento para BO SC. 09.12.2010 12:11:36
    @5BQInformation@     42 Execute expression 1V_SC_SCHEME Determinação do esquema dinâmica para SC; result 1C_SAPSRM_MIG_101
    @5BQInformation@     52 Execute expression 0V_SC_EVENT Evento do objeto; result SAVED
    @5BQInformation@     63 Execute expression 0C_C1_C_FWFSCRLCNTNT Classe: /SAPSRM/CL_WF_RULE_CONTXT_SC; result /SAPSRM/CL_WF_RULE_CONTXT_SC
    @5BQInformation@     63 Execute expression 0C_C2_C_EVENT Método - evento do objeto; result GET_WF_EVENT
    I am using 1EV_SC_001 evalution ID not 0EV000.
    For evaluation ID 1EV_SC_001 I used 1C_SAPSRM_MIG_101 process level schema and RR_MANAGER as Resp. Responsable Name.
    Can I used 0EV000 evaluation ID? What is the process level schema that I have to used?
    Thanks in advance
    Rosa Rodríguez

  • PO releaser in R3 must be shopping cart approver

    Greetings,
    We have a requirement to configure R3 PO release strategies such that the final budget/finacial approver of the originating shopping cart should be determined as the PO releaser.
    We are using SRM 4 and ERP 2004 backend.
    How can we achieve this?
    Do we need to store and transfer the shopping cart approver login ID in the backend PO in R3?
    In terms of the required R3 release strategy configuration, how would we config the release group so that the shopping cart approver is determined.
    I realise that this question is largely MM, but because PO releaser originates from SRM, i thought its best raised in this forum.
    Thanks

    Hello,
    You can send what you want to R/3.
    But ID & eMail address is not enough, you need the user (SU01) to loggin R/3 and release the PO in R/3.
    That means you need to create SRM requestors also in R/3 to use them in PO release strategy
    (usually requestors don't have a user account in R/3).
    Rgds
    Christophe

  • How to activate Shopping cart approval ProcessControlled Workflow inSRM 7.0

    Hi,
    I need to activate shopping cart approval Process Controlled workflow in SRM 7.0. ,I have activated the link for Standard Work Flow Template WS40000014 .But the approval process is not initiated for Shopping cart.
    (But its working for PO)
    Do I need to configure something in the system?
    Thanks

    Hi Masa,
    Yes configuration is done.
    Process Schema for SC:
    BUS2121     3C_SC_600_000
    BUS2121     3C_SC_600_001
    BUS2121     3C_SC_700_002
    Process Schema for PO :
    BUS2201     3C_PO_600_000
    BUS2201     3C_PO_600_001
    BUS2201     9C_BUS2201_EX01
    BUS2201     9C_BUS2201_EX02
    In BBP_PD status is ....
    Stats:
               Status         Description                    Inactiv
    HEADER     I1015          Awaiting Approval
    HEADER     I1021          Created
    HEADER     I1038          Complete
    HEADER     I1106          Shopping cart ordered
    Please suggest do i need to change anything?
    Thakn you

  • How to display task descriptions in shopping cart approval screen

    Hi,
    We are implementing SRM 7.01.
    We'd like to display descriptions of shopping cart approval task,
    which is defined in:
    transaction: PFTC
    in the 'Description' tab
    Text type : 0120 Task Description
    Currently only work item text is displayed in the UWL.
    Does anybody now how to display descriptions?
    Regards,
    Mio

    Problem solved.
    I needed to do some settings in portal view.

  • How to add custom field in delivery address/performance location tab in SRM shopping cart and Ship to address Pop-up in SRM PO?

    Hi Experts
    i have a reuirement where i have to add custom field in delivery address/performance location tab in SRM shopping cart and Ship to address Pop-up in SRM PO
    i am doing below steps for this.
    1. Adding custom field ZZfield in structure INCL_EEW_PD_PARTNER_CSF by  using  append structure.
    2. Spro ->Supplier Relationship Management -> SRM Server -> Cross application basic settings -> Extensions and field controls (personalization) -> Configure field control ->Configure Control for Fields of Substructures
    then click on  "Metadata for Fields of Substructures and Table-Like Enhancements"  
    add the below entry
    Bus. Object Set Type  : I am trying 7 and 29
    Structure Field Name  : ZZfield
    Bus. Object Type       : BUS2121/BUS2201
    Set Level                    : Item
    Field Visible :  Check box should be checked
    Field Enable :  check box should be checked
    Can anyone has the idea of this?
    Thanks
    Rohit

    Hello Rohit,
    Please create a enchancement for component  /SAPSRM/WDC_UI_DO_SHIPTO.
    Add new input field and label in view V_DODC_SHIPTO.
    Bind the input field value with field ZZfield from structure  /SAPSRM/WDC_UI_DO_SHIPTO in the context node SHIP_TO .
    Regards,
    Neelima

  • Validate GL Account at SRM shopping cart at account assignment level

    Hi,
    In the SRM shopping cart system, at Account Assignment Overview level, is there any BADI or user exit or enhancement options to validate the GL Account when the account is selected/key-in?
    I try BADI for BBP_DETERMINE_ACCT, BBP_MESSAGES_BADI and BBP_ACC_CHECK_ICC. All is not trigger at Account Assignment level.
    Please advice.

    Hi,
    I have a similar requirement apart from all the validations done by BBP_DOC_CHECK_BADI  ,
    we have to add one more validation (check the asset acquisition date if it is less than the current fiscal year give error message).
    This has to done in R/3 .
    I checked for the exits in the FM BBP4X_CODINGBLOCK_CHECK_47A and found that there are no exits for this FM.
    PLEASE SUGGEST.Any help is appreciated.
    Regards,
    Rhea.

  • SRM shopping cart attachment to SAP not transferring

    Hi SRM Experts,
    I have an issue with document attachment which is not coming to SAP R/3 Backend.
    Scenario 1
    1.Create shopping Cart in SRM system with One attachment,
    2. Purchase requistion is created in backend replica of SRM shopping cart. but the attachment is not exists only document number exists in the DMS (CV03N - No attachment)
    Scenario 2
    1.Create shopping Cart in SRM system with TWO attachments,
    2. Purchase requistion is created in backend replica of SRM shopping cart. but the attachment only one attachment exists and other attachement document number only exists in the DMS (CV03N - No attachment)
    Scenario 3
    1.Create shopping Cart in SRM system with FOUR attachments,
    2. Purchase requistion is created in backend replica of SRM shopping cart. but the attachment only THREE attachments exists and Fourth attachement document number only exists in the DMS (CV03N - No attachment)
    From the above all its understood that last attachmen is not transfered to SAP . In Scenario 1 last attachement will Only one attachment.
    Its Strange issue, can any one face this sort for issue before, kindly let me know what could be the casue,
    Note - I have posted the same issue in DMS thread as well
    Cheers...Gopinath

    Hi Guru's,
    I am using SRM 7.0 and while i create an attachment in shopping cart and try to send it in ECC, the attachment is not reflecting .
    Since we are using the latest version of SRM, we have used BADI BBP_CREATE_BE_RQ_NEW
    (Method IF_EX_BBP_CREATE_BE_RQ_NEW~FILL_RQ_INTERFACE.).
    I have also gone through the below link and tried the implementation :
    http://wiki.sdn.sap.com/wiki/display/SRM/BBP_CREATE_BE_RQ_NEW-CreateRequisitionin+backend
    Also, all ECC configuration are in place. However things are not come in place. Only the details are reflected but the attachment is not reflected in ECC.
    If anyone can guide the correct way in SRM BADI along with ECC configuration (just to verify) will be a great help.
    Kind Regards,
    Kunal.

  • SRM shopping cart attachment to SAP not transfering

    Hi DMS Experts,
    I have an issue with document attachment which is not coming to SAP R/3 Backend.
    Scenario 1
    1.Create shopping Cart in SRM system with One attachment,
    2. Purchase requistion is created in backend replica of SRM shopping cart. but the attachment is not exists only document number exists in the DMS (CV03N - No attachment)
    Scenario 2
    1.Create shopping Cart in SRM system with TWO attachments,
    2. Purchase requistion is created in backend replica of SRM shopping cart. but the attachment only one attachment exists and other attachement document number only exists in the DMS (CV03N - No attachment)
    Scenario 3
    1.Create shopping Cart in SRM system with FOUR attachments,
    2. Purchase requistion is created in backend replica of SRM shopping cart. but the attachment only THREE  attachments exists and Fourth  attachement document number only exists in the DMS (CV03N - No attachment)
    From the above all its understood that last attachmen is not transfered to SAP . In Scenario 1 last attachement will Only one attachment.
    Its Strange issue, can any one face this sort for issue before, kindly let me know what could be the casue,
    Cheers...Gopinath

    Issue found with enhancement made by us in Class(SRM System). Same has been fixed. now its working, Thanks to all.
    Cheers...Gopi
    Edited by: Gopinath A.R on Mar 11, 2010 9:04 PM

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

Maybe you are looking for

  • Add Columns to Adhoc Reports Layouts?

    Are there any config or sql injections or translations to add additional columns to the custom layouts in the Adhoc Reports in RPT? Specifically, would like to display Related Specs when running reports for Trade Specs. Edited by: Trey on May 1, 2013

  • Error message in ebay HTTP Status 404 - /view item/web-inf/views/error.jsp

    Ebay special item listed for me causes an error screen when I click on the item. Error message as in the question above. Description: The requested resource is not available. Ebay Server

  • Get Folder Contents....bug? ***

    I am creating a workflow using a combination of variables and filters to reorganize a bunch of files. I frequently use the "Get Folder Contents" action in this workflow. It works the first couple of instances I have it in the workflow and in all inst

  • I cannot log in the database

    I installed the oracle 10g r2 database, the installation was succesful, but i need to make a log in with sqlplus but i can´t, I don`t know what user, password and host string need, i have tried with all sys, system, sysdba, etc.

  • Why is my phone having issues with scrolling its 1os8

    I Need help it's driving me crazy