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

Similar Messages

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

  • SRM 7 - defaulting values for multiple line items on shopping cart

    Hi,
    We are using SRM 7 - Employee self service - Punch out catalogues and describe requirements.
    Our scenario is this:
    - User is responsible for creating shopping carts for numerous cost centres/other users
    - Shopping cart will have multiple line items (but the cost centre/other user will be same for all line items)
    - Is it possible to define in a shopping cart that all line items will have a specific value?  E.g. all line items will be assigned to a specific cost centre?
    I know about assigning dedault values in PPOMA_BBP - but our situation is where user does not want to use this default value this time, but another value
    Any suggestions?
    Thanks

    Thanks Alex for quick reply
    To confirm, did you use the BBP_DOC_CHECK_BADI (in conjunction with the BBP_ITEM_CHECK_BADI) to look at different cost centres on the multiple lines on the shopping cart?
    Also - did you use the same BADI to give user opportunity to enter a default cost centre that is then automatically applied to all line items on the cart?
    Thanks
    Azam

  • COPA Realignments for line item based reports

    Hi Guru
    I built two CO-PA  line item based reports in our environment. Now , there are some organizational changes in our environment and Now I have re-derive a characteristic from customer master data. Does those changes reflect in my line item based reports, If i run Re-Alignments (KEND)?
    Thanks in advance

    Line item reports (defined w/KE91) will reflect the realignment.  Line item display (KE24/KE25) will give you the choice of reading the original posting or the realigned data.

  • 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

  • Duplication of Line Items in Shopping Cart

    Hi,
    We currently use SRM 4.0 with ECC6 and IE version 6.0.
    The situation we are facing is as follows:
    When the user completes shopping at the vendor's web based catalogue and hits return button, even line item that punches out from the vendor catalgue is duplicated in SRM Shopping Cart at our end. Eg: if the user has shopped for 4 units (quantity) of a particular product at the vendor's catalogue and hits the return button, he/she finds that the same product has been duplicated in the form of 2 line items of the same product with the quantity field showing 4 units in each line.
    The question:
    What could be causing this impasse?
    thanks
    Anirban Gupta

    Hi
    For the time being, Please de-activate all the Active Customer BADI Implementations (name starting with Y or Z using SE19 Transaction). then try repeating the process of Shopping cart ordering again.
    <u>Please go through this link, which also relates to the same problem -></u>
    Re: Duplication from Catalog to SC
    Do let me know.
    Regards
    - Atul

  • SRM 4.0: Source of Supplier not copying in line item on Shopping Cart

    We are using SRM 4.0 in an extended classic setup and currently experiencing a problem with the source of supplier not being copied on line items. The user stated that  when copying a line items in a shopping cart the source of supplier is not copying to the new line.  It happens sometimes but not everytime the client uses the line copy option.
    It was initially thought that based on the amount of the line item (>=$25,000) that would cause the source of supplier (vendor) not to copy to the new line item but it has been verified by client that is not the case.  If anyone has seen this issue and know of what the root cause could be please let me know.
    Thanks

    Yann,
    Actually this is occurring when the user is creating a shopping cart from scratch.  He added a line item either from catalog or free text, sources the item and then uses the copy function to copy the line item.  When the client does this the item is copied but the vendor disappears from the 2nd line item and client has to add it again. 
    So that OSS notes doesn't apply unless I'm missing something.

  • AD-hoc approver n step item level shopping cart workflow

    Hi
    We are on latest version of SRM and using n step item level SC approval workflow.
    The scenario goes like this:
    -     Requester creates shopping cart and workflow goes for two step approval.
    -     In the approval preview the requester is able to see both levels of approvers, which is correct.
    -     Requester now selects second level approver and replaces him with a ad-hoc approver. WE DO NOT WANT THIS.  Requester should NOT be able to replace an approver determined by approval badi. However should be able to extend approval step with ad-hoc approver say third level approver a ad-hoc approver. Also he should be able to change AD-HOC approvers ONLY.
    Thanks
    Joe

    Jo,
      You may be able to achieve it in the BADI BBP_WFL_SECUR_BADI .
    You can use the Business Add-In (BAdI) BBP_WFL_SECUR_BADI to determine whether
    A shopping cart can be changed during the approval process
    The approval workflow restarts when changes are made to the document
    A reviewer/approver can be added or changedThese are the call scenarios (see import parameter SCENARIO).
    Regards,
    Suren

  • Transfer of tax indicator to purchase order for service items in shopping cart

    Hi all.
    I have a problem with the tax indicator in the shopping carts and in the backend purchase orders for service items. If I create a shopping cart with service items with different tax indicators, the backend purchase order have a unique item including all the services. So, all the PO items are under one tax indicator while in the shopping cart there is more than one indicator. I mean, the PO is not correctly replicated with the information of the SC.
    Example: shopping cart in SRM with 3 items, tax codes: V1, V2, V1. The standard code transfers the information to the backend, and creates a purchase order with an unique item with the 3 services under tax code V1. So, the second service is not under the correct tax code, and will be wrongly invoiced.
    We have debugged all the code of the process, and we think it is a standard bug. When you replicate a PO in the backend from a SC in SRM, have you experienced this behaviour, or the service items are grouped in different PO items each one with the correct tax indicator?
    Thanks in advance.

    Hi again...
    I forgot to mention that we have found and applied the note 1822107 (Purchase order: wrong tax code for PO with 2 service items), that fits exactly to our problem. But after testing, it doesn't work.
    Regards.

  • HIDE ORDER AS DIRECT MATERIAL checkbox for material item in Shopping cart

    HI,
    We are on SRM 7.1 ECS.
    I need to hide the ORDER AS DIRECT MATERIAL checkbox under the ITEM DATA tab in the Shopping cart screen...How do I do it??Is there any config option or I need to implement a badi in SRM 7?

    Hi NIkhil,
    This BADI is not called in SRM 7!
    Experts,
    CA anyone help me as to how the ORDER AS DIRECT CHECKBOX in SC screen?

  • Group PO line item in Shopping cart

    Hi All,
    Currently SRM has some criteria to split the PO and if the contract number is different then it splits the SC item to create 2 different PO, But as per our requirement even SC has two items with same vendor, pur org,etc... but different contract number then it should create 1 PO in the backend system.
    Badi:
    I have tried BBP_SC_TRANSFER_BE-GROUP_PO but CT_PROCITEM is empty
    So i tried with this BADI BBP_BS_GROUP_BE, but BBP_BS_GROUP_BE--GROUP_PO_BACKEND  is called item by item.... if there is 2 items then it is called 2 times ... with single current records...
    Please help me So how to group the line items.
    We are in SRM 7.0 and we are using classic scenario
    Regards,
    Rama.

    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

  • Completion and approval workflows in line item based SC approval scenario

    Hi SRM experts,
    We are on SRM 7 ECS , support pack SAPKIBKV08
    We are designing line item based SC approval workflow. We also have completion workflow. i.e after requester creates a shopping cart, it goes to buyer as per completion workflow( if the SC does not have price , vendor or has a free text)  , and then after the completion workflow, it goes to main SC approval workflow.
    My questions are :
    1. If a requester creates 2 line items in SC , and 1 line item does not have price/vendor/or material , whereas 2nd line item has price/vendor/ and material , can we send onlt the 1st line item  to completion workflow and not send the 2nd line item in the completion workflow but directly to SC approval workflow  ?  OR we have to send the entire cart to the completion workflow ?
    2. After the completion and the approval workflow , if line item 1 is approved, can it create a PO , whereas the 2nd line be still in approval . i.e  do all the cart items need to be approved before creating POs or as and when individual line items get approved , they can create thier own POs
    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

  • Offline approval for shopping cart PO and contract

    Hi ,
    we have the requirement to have the offline approval for all the procurement documents.
    please can you guide me the procedure to set up the offline approval.
    i know the report /sapsrm/offlineapprovasend has to be executed , but what i want to know is what selection data i need to give to schedule the job and what all settings i need to maintain for it to work properly
    please help .

    Hi,
    Please check note:
    [1247911 - Offline Approval: Buttons not available in mails office 2007|https://css.wdf.sap.corp/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=0001247911]
    This note proposes as solution
    "Users with Outlook 2007 should open the mail in a window (double click)
    and use the option "other actions" -> "view in browser" to see and use
    all functionalities of the mail."
    This is because Outlook 2007 does not support HTML forms.
    Please, generate the mail in browser and check how the system works.
    In order to use such functionality, you have to follow steps available
    in note 1247911.
    Also for more information about offline approval  please read:
    http://wiki.sdn.sap.com/wiki/display/SRM/Offlineapproval-generalconfiguration
    Thanks,
    Melina

  • Line item based approval

    Hi All,
    I have line item based approval workflow WS14500015. My shopping cart has multiple line items each awaiting approval from multiple approvers.
    Now my requirement is when any approver approves his line items , that particular line items should not be allowed for changes even though the shopping cart has status awaiting approval coz others line items are still awaiting approval .
    Is this possible i.e user should be able to make changes to unapproved line items abut not approved line items .
    Can i user badi BBP_WFL_SECURE_BADI for this ?? Please if anyone has already done this please share your inputs .
    Thanks in advance
    Iftekhar Alam

    Hi Alam,
    have you checked the APPROVAL_HISTORY_TABLE and ITEM_APPROVAL_HISTORY_TABLE? Here you will receive information on already approved items and the current approval process.
    Kind regards,
    Thomas

  • 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