Item-based Shopping Cart Approval

Hi,
I'm using Item-based approval shopping cart. I'm using the BADI BBP_WFL_APPROV_BADI for getting the approvers. I'm getting all the approvers in APPROVAL_TABLE and having ITEM_APPROVAL_TABLE also filled. I'm giving different branch index for different line items. As I described in those table, it is picking the first approver for particular line items and sending workitem to them. But once I execute from One user, the workitem disappears from other. And I'm not populating any details in ITEM_APPROVAL_OBJ.
Is it needed to give the details in the table ITEM_APPROVAL_OBJ ????
Can anyone tell me how to proceed with item level approval ??
Regards,
JMB

You don't need directly update anything in the table, the function module BBP_WFL_DIN_ITEM_APPROVAL_GET populates this table. Take a look at the existing BADI implementation.
Regards, IA

Similar Messages

  • Offline approval for line item based Shopping carts

    Hi ,
    We are planning to  use offline approval and line item based approval (item based approval workflow) for shopping carts.
    For e.g. 10 line items in a cart can have 10 different  cost centres, and a line each need to go to respective cost centre managers for approval.
    have few clarifications:
    1. Can offline approval be used for item based shopping cart approval workflow?
    2. Can different line items be sent by mail to different mail boxes?
    3.  Will 1 manager see all the 10 line items OR only the 1  line item for which he is responsible?
    4. If he will get only line for which he is responsible , and once he clicks on approve , will this approval apply to his line item only , OR it will apply to all the 10 line items ?
    Rgds
    Sumendra

    Hi Sumedra,
    Which workflow are you using - application or process contrlled workflow?
    Assuming you are using process-controlled workflow - I will answer following questions -
    1. Can offline approval be used for item based shopping cart approval workflow?
    - Yes, it can be used !
    2. Can different line items be sent by mail to different mail boxes?
    Yes
    3. Will 1 manager see all the 10 line items OR only the 1 line item for which he is responsible?
    1 manager can 'see' all the items but he can only approve or reject the item that he is suppose to act on. All other item will be grayed out. However, this behaviour is configuarable !
    4. If he will get only line for which he is responsible , and once he clicks on approve , will this approval apply to his line item only , OR it will apply to all the 10 line items ?
    - see above
    Regards,
    Amit

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

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

  • Shopping Cart Approval & PO generation

    Hi All,
    I am using N step BADI for Shopping Cart approval process. Here can we generate the PO even when the Shopping Cart is awaiting Approval.
    Please let me know how POs can be created without any approval necessary?
    This is Urgent!!!
    Thanks,
    San

    Hi,
    Yes this needs to be active.
    This is the job which updates the item overview status from awaiting approval to approved.
    We had a similar issue for one step workflow for SC where becos of this the SC's were showing awaiting approval though the approver activity is completed.
    Refer OSS note 790027 which says that after all configs the status is updated by background jobs. This is the one which is explained in it.
    Go to SWU3 and verify all green tick marks "Schedule background job for event queue" is the with this job. Execute it and you can display the job from here.
    Best regards,
    Sridhar.
    Please reward points for useful answers.

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

  • 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

  • Want to copy Delivery address of one line item in shopping cart to all item

    Hi Experts,
                    We are upgrading from SRM 5.0 to SRM 7.0,In SC Creation We want to copy Delivery address of one line item in shopping cart to all line items in Shopping cart by clicking Change All Items button.This is custom button we added this button and we had written code to achieve the functionality but it is not working.This is same like Change All Items button in Account Assigment for copy accont details of one line item to all other line items in SC.
    Web Dynpro Component:/SAPSRM/WDC_UI_DO_SHIPTO
    Web Dynpro View:V_DODC_SHIPTO
    Thanks,
    Aarthi.

    Hi Prasad,
                   Our customer needs that button,they want whenever they are clicking the button delivery address should copy to all line items.
    In my action ONCHANGE_ALL_ITEMS i called this method
    wd_this->mo_dodm_shipto->zchange_all_items( ).
    zchange_all_items( ) is  implemented in class /SAPSRM/CL_CH_WD_DODM_SHIPTO.
    the code i wrote inside zchange_all_items( )
    *Error
      DATA: LX_PDO_ABORT               TYPE REF TO /SAPSRM/CX_PDO_ABORT,  " Class for Fatal error caught by PDO Layer
            LX_PDO_ERROR               TYPE REF TO /SAPSRM/CX_PDO_ERROR.  " Class for PDO General Exception
    Object Instances
      DATA: LO_MSG_CONSUMER            TYPE REF TO /SAPSRM/IF_PDO_MSG_CONSUMER,
            LO_PDO_SHIPTO              TYPE REF TO /SAPSRM/IF_PDO_DO_PARTNER.
    Context-Data
      DATA: lte_cll_shipto              TYPE /sapsrm/if_ch_wd_set_facade=>gt_guid_element,
            loe_cll_shipto              TYPE REF TO /sapsrm/if_ch_wd_set_element.
    Field Symbols
      FIELD-SYMBOLS <lse_cll_shipto>    LIKE LINE OF lte_cll_shipto.
    DATA : lo_pdo_acc TYPE REF TO /sapsrm/if_pdo_do_acct_assgmnt.
      DATA : ls_shipto_cll type /SAPSRM/S_CLL_SHIPTO,
             lt_pdo_partnerdetails      TYPE bbp_pdt_partner,
             ls_pdo_partnerdetails      TYPE bbp_pds_partner,
              LV_GUID          TYPE BBP_GUID,
              lv_item_guid type bbp_guid,
             lv_filled TYPE wdy_boolean.
    *exceptions
      DATA : LX_ABORT                  TYPE REF TO /SAPSRM/CX_PDO_ABORT.
    *Constants
      CONSTANTS : LC_OBJECT_ID         TYPE CRMT_SUBOBJECT_CATEGORY_DB VALUE 'BUS2121001',
                  LC_ADDR_ORIGIN       TYPE /SAPSRM/S_CLL_SHIPTO-ADDR_ORIGIN VALUE 'B'.
      IF LV_FILLED = ABAP_TRUE.
    Downcasting to shipto
        LO_PDO_SHIPTO ?= MO_PDO.
    insert the clipboard into facade and update and submit update
        me->/sapsrm/if_cll_do_mapper~insert_from_clipboard( io_set_facade = mon_cll_set_facade ).
    Add new Accounting entries.
        lte_cll_shipto = mon_cll_set_facade->get_data_elements( ). "get all elements from the context
        LOOP AT  lte_cll_shipto ASSIGNING <lse_cll_shipto>.
          loe_cll_shipto = <lse_cll_shipto>-set_element.
          loe_cll_shipto->get_static_attributes( IMPORTING rv_attributes = ls_shipto_cll ).
    Map ui-structure to pdo-structure
          MOVE-CORRESPONDING ls_shipto_cll TO ls_pdo_partnerdetails.
          IF LS_SHIPTO_CLL-PARTNER_FCT =  mv_part_func.
            LS_PDO_PARTNERDETAILS-PARTNER_FCT = ''.
          ELSE.
            LS_PDO_PARTNERDETAILS-PARTNER_FCT = LS_SHIPTO_CLL-PARTNER_FCT.
          ENDIF.
          IF ls_pdo_partnerdetails-del_ind NE 'X'.
            CALL FUNCTION 'GUID_CREATE'
              IMPORTING
                ev_guid_16 = ls_pdo_partnerdetails-p_guid.
           mv_acc_guid_split = ls_pdo_shipto-guid .
            IF mo_scope = 1.
              ls_pdo_partnerdetails-p_guid = mon_cll_set_facade->get_bo_guid( ).
            ELSE.
              ls_pdo_partnerdetails-p_guid = mo_parent_bo_mapper->items_get_lead_selection( ).
            ENDIF.
            APPEND ls_pdo_partnerdetails TO lt_pdo_partnerdetails.
          ENDIF.
          CLEAR : ls_pdo_partnerdetails, ls_shipto_cll.
        ENDLOOP.
    Add New items to PDO
        IF NOT lt_pdo_partnerdetails[] IS INITIAL.
          TRY.
              LO_PDO_SHIPTO->update_item_partners( EXPORTING it_partner = lt_pdo_partnerdetails
                                                               iv_item_guid       = lv_item_guid
                                                   CHANGING co_message_handler = mo_pdo_message_consumer ).
            CATCH /sapsrm/cx_pdo_abort INTO lx_pdo_abort.
              mo_cll_message_handler->set_abort( io_pdo_abort_exception = lx_pdo_abort ).
            CATCH /sapsrm/cx_pdo_error INTO lx_pdo_error.
              mo_cll_message_handler->add_exception( io_pdo_error_exception = lx_pdo_error ).
          ENDTRY.
    Update PDO with the changed data.
          TRY.
              mo_pdo->submit_update( ).
            CATCH /sapsrm/cx_pdo_abort INTO lx_pdo_abort.
              mo_cll_message_handler->set_abort( io_pdo_abort_exception = lx_pdo_abort ).
            CATCH /sapsrm/cx_pdo_error INTO lx_pdo_error.
              mo_cll_message_handler->add_exception( io_pdo_error_exception = lx_pdo_error ).
          ENDTRY.
    Fire refresh of DO Mappers registered for refresh since the item table has acc related data.
          mo_parent_bo_mapper->fire_event_refresh( iv_perform_updates = abap_false ).
        ENDIF.
      ENDIF.
    Thanks,
    Aarthi.

  • Error while clicking 'Transfer Items' in shopping cart processing

    Hi,
    When I click on 'Transfer Items' in shopping cart creation, I get the following error.
    The following error text was processed in the system P2S : Template interpretation failed. Template does not exist.
    The error occurred on the application server p2p_P2S_00 and in the work process 1 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Function: BBP_WS_IMPORT_SC_DATA of program SAPLBBP_WS_API
    Function: BBP_WS_IMPORT_SC_DATA of program SAPLBBP_WS_API
    Form: CATALOG_CONTENT_GET of program SAPLBBP_SC_APP
    Function: BBP_SC_APP_EVENT_DISPATCHER of program SAPLBBP_SC_APP
    Form: APP_EVENT_HANDLER of program SAPLBBP_SC_UI_ITS
    Form: SC_EVENT_DISPATCHER of program SAPLBBP_SC_UI_ITS
    Module: SC_EVENT_DISPATCHER of program SAPLBBP_SC_UI_ITS
    Can any one suggest on this.
    Rgds,
    Sanjeet

    Hi Paul,
    Yes, we could resolve the issue.
    But we used to get this errror when we set the debugger in
    the newly implemented code.
    If we remove the debugger, it was working fine.
    Solution:
    Go to transaction SICF.
    If you execute that, a tree structure will appear.
    Expand "Default Host".
    Default Host>SAP>BC->GUI>SAP-> ITS-> BBPSC02
    Go to EDIT mode.
    Change GUI configuration as below:
    Like other available parameters, add one more parameter called
    ~GENERATEDYNPRO  and make it equal to 1.
    i.e. ~GENERATEDYNPRO  = 1.
    But we tried this solution only when debugger was on.
    Please check it in your case also and let me know if it works.
    The other solution may be to publish the required template again.But I am not sure about that.
    Rgds,
    Sanjeet

  • Default settings for items is not getting copied to items in Shopping Cart

    Hi SRM GURU's,
    I am facing a problme while creating shopping cart.
    I maintained default settings for items like Product catagory,Internal Notes etc.
    While adding items in shopping cart these default settings are not getting copied to any items.
    If anybody is having any clue Plz let me know I will award points for sure.
    Our integration testing is affected because of this issue.
    Thanks in Advance.
    Atulp
    +919822761641

    Dear Laurent,
    Yeah, this is a very strange issue and also a rare one. We have already tried this option. User deleted the cart and created a new cart. But still no luck. The new cart is also not getting released from SOCO. User created many carts previously for different product categories, vendors and all carts were through. But for this cart,it is not getting released. If you could have any other idea, you are most welcome.
    Anyway, thanks so much for your time and patience. Appreciate your help!!
    Regards,
    Aswini

  • Disable 'Find' (good /service) function in 'items in shopping cart' SRM 5.5

    Hi SRM experts,
    after clicking on Shopping Cart (- Full functionality) you have the choice of searching in catalogs or you can scroll down to 'Items in Shopping cart' and enter the product-id directly in 'Good / Service'.
    How can I disable this 'Find' option? So not the whole line, but only the 'find' option with the binoculars.
    Hope you can help me out with this one.

    Hi Kubus,
    I think you are talking about the 'Order as Direct Materail' button..
    Use BBP_DP_PROD_CHK_BADI.
    Method PRODUCT_CHECK
    Clear the parameter EV_DP_POSSIBLE.
    Have a look at the following link:
    Hide order as direct material button
    Thanks,
    Pradeep

  • 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 Item in Shopping cart

    Hi All,
    I want to know which is the screen in which the button 'Add Item to Shopping Cart' appears. The function code associated with it is 'ADDI' .
    The reason why I want this is that I am trying to add my own button on the same screen .
    Regards,
    Poonam

    In SRM 4.0, for the EBP scenario, ITS is used. Hence no BSP applications are available as per my understanding. Pls correct me if I am wrong.
    Further, we have noticed that when clicking the Catalog link from the create shopping cart screen, screen 250 is called. However, if the same functionality is executed from the Change mode of the Approvers login, then the HTML code is generated by some FM.
    Regards,
    Poonam

  • 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

Maybe you are looking for