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

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

  • 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

  • Line Item Level Approval For SC-SRM7.02

    Hi Experts,
    I am working on the line item level approval based on cost center. can some one help me in achieving this?
    i have few doubts regarding this
    1) we are using application controlled workflow is it feasible to achieve this functionality ?
    2) will separate PO will be created for each line item?.
    some pointer would be really helpful.

    Hi Mano,
    1. Yes, but would suggest to use new process controlled workflow.
    2. No, Cost center is not a split criteria for PO creation. Of course you can overwrite it with ABAP.
    Regards
    Konstantin

  • Line Item Level Approval For SC-SRM7.02-WS14500015

    Hi Expert,
    I am using workflow template WS14500015 for line item level approval.i have few doubts on this
    i am using cost center based approval, so if the 1st line item is approved will it generate a PO or will it wait for the entire shopping cart to be approved.

    Hi Mano,
    Are you using application controlled workflow or process controlled workflow?
    For process controlled workflow you can refer to the SRM 7.0 Workflow guide:
    https://websmp108.sap-ag.de/instguides > sap business suite and applications> SRM 7.0 > Workflow Guide - SAP SRM 7.0 and Configuration guide.
    Page 16, Approval Processes in SAP SRM; you will understand possibilities of SRM 7.0 process controlled workflow and then decide which one you need.
    Also refer to 7 Appendix B: Approver Determination Strategies in the Standard
    This has few example classes/BADI implementation for agent determination which you can refer to.
    Regards,
    Ashish

  • Line Item level Approval for Shopping cart

    Hi Expert,
    I am using workflow template WS14500015 for line item level approval.i have few doubts on this
    i am using cost center based approval, so if the 1st line item is approved will it generate a PO or will it wait for all the line items approval.

    Hi Mano,
    if you use approval. It will be approved by steps. Next step will not be started until previous completely done. In your case 1st Item should wait until all other items processed.
    Regards
    Konstantin

  • How to add new line item based on main item using crm_order_maintain

    Hi All,
    can you please provide a way to create a new line item based on main line item and save in crm transaction( in house repair order) by using crm_order_maintain(from SAP GUI).
    Thanks,
    vinod.

    Hi Vinod,
    The relationship with main item is stored with CRMD_ORDERADM_I- Parent.
    You need to pass the guid of main item to orderadm_i-parent. This will keep the relationship with main item.
    Thanks
    Ajay

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

  • Line-item based profitability report (CO-PA)

    Hi SAP community,
    when I run KE24 i can select the "Mode of access"
    Read acc. to current structure ==> Realignment changes are included
    Read as posted ==> Realignment changes are excluded
    When I create a line-item based CO-PA report (KE91), do I have the same functionality, do either include or exclude realignments?
    Thanks in advance,

    When I do a realignment and run a line item based report afterwards, the reports picks up the realigned value.
    I havent seen any setting during the report setup where I could potentially define if the realigned or the original value should be picked.
    So I assume SAP always selects the realigned values from the segment table in case of a line item based report

  • Item based approval for Service Confirmation

    Hello All,
    Is it possible to build item based approval workflow for Service Confirmation using Application controlled approach in SRM? Which standard template should I use for this?
    Please let me know.
    Thanks,
    A

    Hi Diego,
    In my understanding you want to define one or several level of approval depending on the CC assignement on each item.
    lets take an example:
    CC1 owner approver1, CC2 owner approver2 and CC3 approver3
    For a SC:
    -Item 1: 20% on CC1, and 80% on CC2
    -Item 2: 20% on CC1, and 60% on CC2, and 20% on CC3
    Then in the item level BADI, you'll define:
    -Item1:
    Level1 ==> approver1
    Level2 ==> approver2
    -Item2:
    Level1 ==> approver1
    Level2 ==> approver2
    Level3 ==> approver3
    I had this requirement on a project, and the hard part was not the BADI implementation, but the CC owner link with the SRM users (cause all approvers have to be declared on the SRM, and integrated in the SRM org plan).
    Regards.
    Vadim

  • Disable PR line item based on user

    Hi Experts,
    I am developing a PR workflow.
    requirement is when Approver is taken to ME54n, he/she should only be able to approve the line for which he/she is responsible. other lines should be disabled for that user.
    Kindly Suggest how can i achive this.

    Hi Anurag,
    Thanks for your respond.
    No, it is refering to plan data.
    Users want to plan the yearly budget based on line items.
    Example:
    User select GL Code (Variable): 100010
    Planning layout should display:
    Material Group : 90001 Desc: Stationary
    Material No.----Quantity--Unit-----Amount
    A0001 Pen   
    A0011 2BPencil
    A3061 Eraser
    The user will only responsible to enter the budget for quantity, Unit and Amount.
    After finish budget for this gl code user will select
    another GL Code
    User select GL Code (Variable): 300010
    Asset No : 123456 Vehicle
    Asset Sub-No.----Quantity--Unit----Amount
    123-001 BMW
    123-023 BUS
    It is possible to be done?
    Regards,
    Jamie

  • FAGLL03 report not filtering G/L line items based on vendor entered in free selection

    Hello SAPians,
    I have a requirement to add Vendor field in the free(dynamic) selection of the standard report FAGLL03 so that G/L line items are displayed(filtered) based on the vendor values given.
    I followed the SAP note 945932 to create the vendor field by adding the ZZLIFNR in the custom include  of the table FLAGFLEXA followed by the configuration of custom fields in SPRO tcode. Post that I tested the report by giving one particular vendor number and came to know that no line items were displayed.
    Upon debugging the program I came to know that , while selecting the data from the Inner join of BSIS and FLAGFLEXA tables, vendor number on FLAGFLEXA forms the part of WHERE clause and eventually no records are selected since all the existing records wont be having vendor number maintained in FLAGFLEXA table.
    However I asked the functional guy to post the new line items under the assumption that it might update ZZLIFNR field in FLAGFLEXA. But our assumption turned out to be wrong. At this point I seek advice from your experience on the following points.
    1) My understanding that failing of inner join condition is the root cause for data being not fetched in the output. Is it correct?
    2) When we add new custom field in FLAGFLEXA(ZZLIFNR in my case), how the data needs to be populated for that particular field from       functional/technical perspective? Does the custom scenarios in SPRO are related to this in anyway?
    3) How do we need to handle the old records existing in the system with respect to the updation of new field(column) added?
    Any inputs in this regard is very much appreciated.
    Thanks & Regards,
    Yaseen

    Hello Dennis,
    thanks for the tip, your assumption is right, it's regarding 0FIGL_V40 in BI 7.0. Could you please be more detailed, which BW 3.x InfoSource do you mean? Or what exactly has to be done?
    The "objects" under this InfoCube are - transformation, datasource (0FI_GL_40) and InfoPackage, that's it. When I check InfoCube Type/Namespace - it is based on Data Transfer Process for DirectAccess, but the checkbox With InfoSource 3.x is not checked..
    Thank you in advance for your answer.
    Regards,
    Peter

  • Separate tax line item based on material line item in MIRO

    Hi Guru,
    PO qty is 100 unit with RM1/each. Condition maintained as sales tax 10%. I did 2 GR separately (MIGO) for said PO with 10qty & 20 qty each.  That means sales tax total is (30qty x RM1 x 10% tax) = RM3.
    Now I wanted to do IV (MIRO). I noticed 3 line item altogether as show below;
    1. 10qty & RM10 (material)
    2. 20qty & RM20 (material)
    3. 30qty & RM3 (tax)
    All line item qty & amount are correct but then the tax line is accumulate altogether. User wanted this separate like how the 1st & 2nd line item is. The reason is the user only wanted to post 1st line item with tax that belongs to 1st line item this month & the 2nd line item may post next month. Please take note that according to our business process, user are NOT allowed to make any changes in qty or amount in MIRO.
    May I know how we can separate all condition type amount & qty based on GR qty so that user can select each pair accordingly & able to post it.
    Thanking in advance.
    rgds,
    nema

    Dear Experts,
    Can anyone assist me?
    rgds,
    nema

  • RE: Item-based approval

    Item Level Approval..
    with regards to post so I can reward points to those who can really give a light on my issue. Thanks!

    Please help.
    I've tried to populate TABLE bbpt_wfl_lia_def..Used the recommended FUNCTION MODULE BBP_WFL_DIN_APP_OBJ_GET
    but i am still encountering "no workflow was found" But if the amount is less than 100,000, it has 1 level approver. BUT the items are still on the header level not item based. PLEASE help
    have this code but was not able to give the correct result.
    TABLE BBPT_WFL_LIA_DEF
    CRIT_NAME1 CRITVALUE1 AGENT1     AGENT2 AGENT33
    LOW         50000019   50000042
    LOW         50000032   50000050
    MEDIUM      50000019   50000042  50000077
    MEDIUM      50000032   50000050  50000077
    HIGH        50000019   50000042  50000077  5000076
    HIGH         50000032  50000042  50000077  5000076
    CRITVALUE1= ORGUNIT ID
    AGENT1 = User ID of Approver
    AGENT2 = User ID of Approver 2 levels
    AGENT3 = USER ID of approver 3 levels
    ZPOPULATE_LT_APPR_DEF'
    SELECT * FROM bbpt_wfl_lia_def
    INTO CORRESPONDING FIELDS OF TABLE lt_appr_def.
    LOOP AT lt_item INTO ls_item WHERE del_ind IS INITIAL.
              IF ls_item-ordered_prod is initial. "NS
    NS
                CALL FUNCTION 'ZPOPULATE_LT_APPR_DEF'
                  TABLES
                    LT_APPR_DEF = lt_appr_def.
                ls_approval_item-approval_item_guid = ls_item-guid.
                 MESSAGE actual_approval_index TYPE 'I'.
                IF actual_approval_index LE 1.
                  CLEAR ls_item_app_obj.
                  ls_item_app_obj-sc_guid = ls_header-guid.
                  IF ls_item-value <= 200000.
                    lv_call_crit1 = 'LOW'.
                  ELSEIF ls_item-value > 200000 and
                         ls_item-value <= 1000000.
                    lv_call_crit1 = 'MEDIUM'.
                  ELSE.
                    lv_call_crit1 = 'HIGH'.
                  ENDIF.
                     lv_call_crit1 = c_org_unit.
                  lv_call_value1 = ls_orgdata-proc_group_id.
                   if actual_approval_index LE 1.
                  CALL FUNCTION 'BBP_WFL_DIN_APP_OBJ_GET'
                    EXPORTING
                      sc_guid           = ls_header-guid
                      criterion1        = lv_call_crit1
                      value1            = lv_call_value1
                    IMPORTING
                      approval_obj_guid = ev_app_obj_guid
                    TABLES
                      item_app_obj      = item_approval_obj.
                  ls_approval_item-approval_object_guid = ev_app_obj_guid.
                  APPEND ls_approval_item TO lt_approval_items.
                  if lv_call_crit1 = 'MEDIUM'.
                    CALL FUNCTION 'BBP_WFL_DIN_APP_OBJ_GET'
                      EXPORTING
                        sc_guid           = ls_header-guid
                        criterion1        = lv_call_crit1
                        value1            = lv_call_value1
                        iv_item_value     = ls_item-value
                        iv_add_value      = 'X'
                      IMPORTING
                        approval_obj_guid = ev_app_obj_guid
                      TABLES
                        item_app_obj      = item_approval_obj.
                    ls_approval_item-approval_object_guid = ev_app_obj_guid.
                    APPEND ls_approval_item TO lt_approval_items.
                  endif.
                  if lv_call_crit1 = 'HIGH'.
                    CALL FUNCTION 'BBP_WFL_DIN_APP_OBJ_GET'
                      EXPORTING
                        sc_guid           = ls_header-guid
                        criterion1        = lv_call_crit1
                        value1            = lv_call_value1
                        iv_item_value     = ls_item-value
                        iv_add_value      = 'X'
                      IMPORTING
                        approval_obj_guid = ev_app_obj_guid
                      TABLES
                        item_app_obj      = item_approval_obj.
                    ls_approval_item-approval_object_guid = ev_app_obj_guid.
                    APPEND ls_approval_item TO lt_approval_items.
                  endif.
    ELSE
    --to be implemented
    ENDIF.

  • Display line item based on GL Code in BPS.

    Hi Experts,
    I have one requirement for BPS.
    When the user Enter Plan data, it will prompt a variable 0GL_ACCOUNT for user to enter the gl code.
    Based on the 0GL_ACCOUNT code selected by user, the system should be automatically display the line items.
    The line items could be from material group and under the material group have a lists of material no/items.
    If the GL Code that selected is Asset then it should display the related asset line items (Asset subnum).
    What should do to make this senario happen, it is controlling from 0GL_ACCOUNT hierarchy?
    How to make this happen?
    Pls advise. This is my first BPS project.
    Appreciate and Thanks in advance.
    Regards,
    Jamie

    Hi Anurag,
    Thanks for your respond.
    No, it is refering to plan data.
    Users want to plan the yearly budget based on line items.
    Example:
    User select GL Code (Variable): 100010
    Planning layout should display:
    Material Group : 90001 Desc: Stationary
    Material No.----Quantity--Unit-----Amount
    A0001 Pen   
    A0011 2BPencil
    A3061 Eraser
    The user will only responsible to enter the budget for quantity, Unit and Amount.
    After finish budget for this gl code user will select
    another GL Code
    User select GL Code (Variable): 300010
    Asset No : 123456 Vehicle
    Asset Sub-No.----Quantity--Unit----Amount
    123-001 BMW
    123-023 BUS
    It is possible to be done?
    Regards,
    Jamie

Maybe you are looking for