BADI for forwarding SC approval.

Hi All,
I have  a scenario like,when I need to forward the approval of a SC,a workflow 14000133 gets triggered and we want to find the BADIs that are getting called inorder to implement our scenario.
We need to implement a BADI that does the restriction and selection of approvers which have a spend limit equivalent to the approver who is forwarding the shopping cart.We are trying on BADIs BBP_OFFLINE_APP_BADI  and BBP_WFL_APPROV_BADI.Will the debugging of workflow help?
Can anyone please post some useful links on debugging a workflow??Is it possible??
Thanks in advance.
Regards,
Gowthami.

Hi,
I feel setting the parameter BBP_WFL_SECURITY  for the Approver should do the trick.i.e. Restart the workflow adn the same approval process should be followed again.So plese adjust the value of this parameter for the Approver role in trascn PFCG.Also if you want to overwrite the settings of this paramtere(as maintained in PFCG),you can implement the BADI "BBP_WFL_SECUR_BADI".
For  more info,refer  the foll links:
http://help.sap.com/saphelp_srm50/helpdata/en/37/830b3b7e7ef74de10000000a114084/frameset.htm
http://help.sap.com/saphelp_srm50/helpdata/en/f7/a6a3415e34b05fe10000000a1550b0/frameset.htm
BR,
Disha.
<b>Pls reward points for useful answers.</b>

Similar Messages

  • How to use rules in BADI for 3 step approval SRM WF

    Hi all,
    i am working on three step approval workflow...based on the costcentre and product category it has to be approved...i have defined rule responsibility for this...now i need to bring this rule responility values to my BADI bbp_wfl_approv_badi...i think there is a std function module available for this..can anyone tell me what is the fm or else is there anyother way to do that..
    Thanks&Regards,
    Hari

    Hi,
    Please refer the foll link:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/95/ed94ee764c11d3b535006094b9c9b4/frameset.htm
    You can try the foll  FM's:
    RH_GET_STRUCTURE
    SWY_DEMO_GET_MANAGER
    BR,
    Disha.
    Pls reward points for useful answers.

  • BADI for adding new approver for PO

    Hi All,
      I want to add new approver for PO but with some restrictions. Could any one give me the BADI ddetails?
    Regards,
    Bhushan V

    Hello Shiva,
    Hope you may find this useful for your scenario.
    Allow Changes to Approvers
    Use
    You can use the Business Add-In (<DS:GLOS.5C733369F735D311AE620060B03C9BBE>BAdI) BBP_CHNG_AGNT_ALLOW to activate and deactivate the adding/changing of reviewers in the workflow approval preview.
    (The appropriate pushbuttons are then shown or hidden on the user interface.)
    Activities
    To do this, implement the method AUTHORISE_FOR_CHANGE in the BAdI.
    Example
    METHOD if_ex_bbp_chng_agnt_allow~authorise_for_change.
      IF sy-uname EQ 'EMPLOYEE4'.
        ev_add_buttons_disabled = 'X'.
      ENDIF.
    ENDMETHOD.
    This example implementation makes the buttons for changing or adding approvers and reviewers inactive for the user EMPLOYEE4.
    Please Reward FULL points for useful answer.
    BR,
    -Ashwin.

  • Claims  Error " Please Impliment BADI for Approver and Approver Group"

    Hi all,
    We have configured all the Eligibility criteria for an employee to create an
    Advance and claim request through ESS.
    while raising a claim or Advance request it is
    showing the message request validation sucess full
    but when we are sending the request it is throwing the error.
    " Please Impliment BADI for Approver and Approver Group"
    we have configured the
    1. Privileges Group
    2.Approver Group
    3.Map Privileges Groups to Approver Groups
    still Issue is there?
    Warm Regards
    Hari Sankar M

    Hi All,
    We have Implemented Badi to determine Approver and Approver Group.
    while executing the Application its throwing a new error
    "Incorrect Status Movement(New:New to In-Process:Approved) for Claim"
    We have put a break point inside the Badi but it is not getting called?
    Regards
    Hari Sankar M

  • How to create a BADI for the sceanrio

    Hi abapers,
    I have a scenario as follows.
    I create a Transaction where in i put the details of the product and quantity for a particular project's site. The amount gets calculated based on the products  unit value and its displayed in net value field. Now the user saves the transaction and a number gets generated. If the net value amount is less than 500 then the user can approve , if its greater than 501 and less than 1500 then a mail should be generated to his superior who is able to approve and ifs amount is greater than 1501 then a mail should be generated to the top of hierarchy who should approve it.
    Now the real challenge is if the same project card  has more than 1  new request and the amount is less than 500 the user should not be able to approve  instead it should generate a mail to his hierarchy for approval  since  the site has already been exceeded its limit of approval. bcoz earlier 500 and current 400 which will make it to greater than 500.similarly for the hiearchy.How do i go about  it.
    Now i want to create a BADI  on the save event of transaction to check the net value amount as well as check for earlier amounts saved for the particular site.
    Any help will be appreciated.
    Regards,
    Navin .

    hai navin
    r u using ECC 6.0 or 4.7 if 4.7 u can create badi defintiion directly form se18 transaction
    and define the interface and its methods , once u define them activate them
    and to use in ur code u create an instance of ur badi name
    and then use
                     cl_exithandler=>get_instance  method in instance name parameter just pass ur badi name and this will create a badi defintion in ur code, and an oen can implement it
    if u r usign ecc6.0 then u can either create new badis usign enhancments or classical badis
    for clasical badis just go to menu  utilites and create classical badis and follw the sam eprocedure
    regards
    m.a

  • User Exit or BADI for Material,BOM,Customer,Vendor

    Dear All,
    I have requirement where if User A changes a Material X .It should go for approval by workflow.
    When the Material X is waiting for approval no other User should be able to change the material .It should give him a message
    and restrict him from changing the Material.
    Is there any User Exit or BADI to restrict him from changing the material. The exit or BADI should be called as soon as the Material is entered in MM02.
    I need exit or BADI for BOM, Vendor and Customer also.
    Thank you.

    Hi,
    You can go to Transaction SE80 and check in Function Group MATF. There have been two User Exits which are called during MM02 Transaction execution (via Analysis Transaction SE30) - MATERIAL_FIELD_SELECTION_NEW and MATERIAL_FIELD_SELECTION_COMB.
    BAdI called by FM MATERIAL_FIELD_SELECTION_NEW.
    Thanks and Regards,
    Prabhakar Dharmala

  • User Exit OR Badi for MK01 transaction (used for saving vendor amster data)

    Hi All,
    I have a requirement where I have to call my workflow, when we create the Vendor using my custom transaction (ZMK01, which is a copy of standard transaction MK01).
    For Workflow triggering I am using FM 'SAP_WAPI_CREATE_EVENT' in the user exit  'EXIT_SAPMF02K_001' but this is only for checking the data on saving Vendor Master.
    So I want to use FM 'SAP_WAPI_CREATE_EVENT' at right place. For that , I need User-Exit or BADI which is used for saving vendor master data.
    Could anyone please help me to find out the user exit or BADI for save event of vendor master data using transaction MK01.
    Looking forward to your advise and thanks in advance.
    Best Regards,
    Mamta

    Hi ,
    I forgot to activiate the project linked with User exit 'EXIT_SAPMF02K_001' .
    so problem is solved now
    Thanks,
    Mamta

  • User exit/BADI for tracing change of User Status in IW22

    Hello,
    I am looking for a user exit or BADI that triggers whenever ther's a change made to User status field.
    eg. changing user status to APTC(Approved to be executed)
    I then need the exit/badi to trigger my workflow to send mails to list of reviewers. I can handle that but I am not able to find the suitable exit.
    I have seen BADI IQS0_STATUS_MAINTAIN, but no use.
    Can anyone help?

    Hi..
    Transaction Code - IW22                     Change PM Notification
    Enhancement/ Business Add-in            Description
    Enhancement
    IWO10026                                User check on setting status 'Do not perform'
    IWO10027                                User exit: Generate user-defined settlement rule
    IWOC0001                                Create PM/SM notification: Determine reference object
    IWOC0002                                PM/SM notification: Check whether status change is allowed
    IWOC0003                                PM/SM authorization check of ref. object and planner group
    IWOC0004                                Change single-level list editing PM/QM/SM ALV settings
      Business Add-in
    WOC_FL_DETERMINE                        Determine Date for Determining Installation Loc. Equi.
    NOTIF_AUTHORITY_01                      Additional Authorization Checks for the Notification
    IWOC_OBJECTINFO_CHNG                    Changes to Data of Object Info Screen
    IWOC_LIST_TUNING                        Performance Tuning for Lists in PM/CS
    IWO1_SUBSCREEN_0170                     Display Additional Data on Object Screen 0170 PhysicalSample
    IQS_MASS_CHANGE                         BadI for Mass Changes to Notifications
    IQS0_STATUS_MAINTAIN                    Control of Changeability of User Status
    No.of Exits:          6
    No.of BADis:          7
    Arunima

  • User exits/BAdIs for Forecast consumption by sales order

    Hello Experts,
    My question here is: When Sales Order either new or change comes from ECC to APO, what are key fields considered for Forecast Consumption? Is requirements strategy is considered from location product master or Sales Order brings own data from ECC into it's own structure? I have read from SAP help or documentation that Sales Order coming from ECC does not use requirement strategy from Product Master. Rather it get its own fields like planning strategy/group / requirement class from ECC. It uses location product master only to get consumption parameters like forward/back word consumption days. So I am thinking to use some user exits or BAdIs to enhance the incoming sales orders to consume separate forecast categories in APO.
    My requirement is:
    For the same one product we want sales orders (can have two different order types or identify by a custom field) to consume two different order categories (ie. FA & FC) by enhancing incoming sales orders. So we have regular 1)Forecast key figure which is 'FA' category and 2)Forecast Additional key figure which is FC category. When we release two separate forecasts from DP we release into these two key figures and categories. Now we want incomping sales orders to consume these two categories separately when our sales orders are having two different order types (i.e OR and ZR).
    I want to kow what way we can acomplish this? Are there any user exits or BAdIs for this purpose?
    I looked arount BAdI /SAPAPO/DM_BADI_CSP and I am not quite sure it's going to help. Are there any others?
    I appreciate if anybody explain me the process?
    Thanks in advance!
    Raj

    Standard Logic --- Whatever plant is visible in the Sales Order, the sales order will appear under that Product Location in SNP
    There is no standard way of making the sales order visible in another location.
    Depending on your requirement(Ex: Forecast Consumption, planning etc),using APO-BW we can simulate the requirements in the other plant which can be a nightly run and not immediate.
    Now coming to your question, if the delivering plant is A, how does ECC Delivery document know when the sales order has plant B that the delivering plant is A.
    Can you be more specific.
    THanks
    Kumar

  • BADI  for  Classic  and Extended Classic Scenario

    Hi,
       Please   provide  list  of  Reports and BADI's  for 
           Classic  and Extended Classic Scenario.
    Thanks,
    Srini

    Hi,
    In SRM there will be a number of BADI's are Available, We can utilize them according to the requirements
    As per the request few important BAID are provided below..
    Workflows
    1). BBP_CHNG_AGNT_ALLOW:          Allow / Allow Change/Add Approver
    This BADI is implemented not to allow users to change the approvers in the workflow.
    2). BBP_WFL_SECUR_BADI:          Overwrites the authorization level of the approver
    This BADI controls the restart of the workflow
    Purchasing Related
    1). BBP_PGRP_FIND:               Shopping Cart: Determine Responsible Purchasing Group(s)
    This determines the responsible purchasing group for the shopping carts.
    Shopping Cart Related
    1). BBP_SC_MODIFY_UI:          BADI to Change Shopping Cart Layout
    2). BBP_GROUP_LOC_PO:          Exit Grouping of Items for Local Purchase Orders
    This splits local PO if more than one contract in a PO.
    3). BBP_TARGET_OBJECTS:          Exit while determining target objects in backend
    4). BBP_WF_LIST:               Change Worklists and Search Results Lists
    This is used to restrict the search results for the user.
    5). BBP_CTR_BE_CREATE:          Exit when Creating a Contract in the Backend System
    6). BBP_CREATE_PO_BACK:          Exit while creating a purchase order in the backend system
    This BADI is used to add the shopping carts attachments to the PO and also to make adjustments in payment terms, currency etcu2026
    7). BBP_DOC_CHECK_BADI:     General BAdI in Cross-Check for Message Returns
    8). BBP_DOC_CHANGE_BADI:     BAdI for Changing EBP Purchasing Documents
    9). BBP_ECS_PO_OUT_BADI:     ECS: PO Transfer to Logistics Backend
    Thanks
    prasad .s

  • User exit or BADI for F110 transaction

    Hello, i need a user exit or badi for the F110 transaction with the objective to shoot workflow of approval of payment proposal.

    Hi Mathias,
    Welcome to SDN.
    Please check this link for sample code to find user exits and BADIs for a given transaction code.
    User Exit
    Hope this will help.
    Regards,
    Ferry Lianto

  • BADI for Sales order

    Hi Gurus,
      I have to caculate the volume discount based on the goods ordered. So that i have to calculate the discount and update it into Net value in condition tab in va01. Please provide the what is the BADI for that suitable requirement so that it should be executed before saving the order. And also the discount should be displayed in the item level. Please provide me some suitable solution.
    <b>Its Very urgent.</b>
    Points will be awarded
    Regards
    Ravi

    Hi
    Use the Std Include MV45AFZZ for writing the user exits related Sales order
    which is a include in the std sales order program SAPMV45A
    Write the code in the appropriate FORM..ENDFORM.. and see
    see further the following Exits and BAdis for Sales order
    Enhancement
    V60F0001                                SD Billing plan (customer enhancement) diff. to billing pla
    V46H0001                                SD Customer functions for resource-related billing
    V45W0001                                SD Service Management: Forward Contract Data to Item
    V45S0004                                Effectivity type in sales order
    V45S0003                                MRP-relevance for incomplete configuration
    V45S0001                                Update sales document from configuration
    V45P0001                                SD customer function for cross-company code sales
    V45L0001                                SD component supplier processing (customer enhancements)
    V45E0002                                Data transfer in procurement elements (PRreq., assembly)
    V45E0001                                Update the purchase order from the sales order
    V45A0004                                Copy packing proposal
    V45A0003                                Collector for customer function modulpool MV45A
    V45A0002                                Predefine sold-to party in sales document
    V45A0001                                Determine alternative materials for product selection
    SDTRM001                                Reschedule schedule lines without a new ATP check
    SDAPO001                                Activating Sourcing Subitem Quantity Propagation
    Business Add-in
    BADI_SD_SCH_GETWAGFZ                    Scheduling Agreement: Read WAGFZ from S073
    BADI_SD_V46H0001                        SD Customer functions for resource-related billing
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • BADI for VA01 which are not for internal use ???

    Hello Folks,
    Im looking for BADIs which are not for internal use for the transaction VA01...
    Could anyone send all the BADIS which can be implemented for VA01...
    Thanks in advance...
    Reddy

    Hi there, you are lucky enough because I have found them almost a few days ago:
    ---------- BADI for VA01 ----------
    A1) BADI
    BEFORE (choosing any ORDER: ....) :
      - BADI_SD_SALES
      - BADI_SD_SALES_BASIC
      - UKM_R3_ACTIVATE
      - BADI_LAYER
      - BADI_MATN1
    AFTER (choosing ORDER NR - xxxx -) :
      - ADDR_PRINTFORM_SHORT
      - BADI_SD_SALES_ITEM
      - BADI_IBASE_AUTHORITY
      - BADI_IBASE_IBCO
      - CU_CONFIG_DELEGATION
      - CUKO_PLANT_CHANGE
      - EHS_DG_002
      - SD_COND_ACCESS_A
      - BADI_SD_TO_FM
    AFTER CHANGING something in all items and shifting to TAB "item detail":
      - BADI_SD_DPBP
      - CFOP_DET_PREP
      - ADJUST_NET_DAYS
      - BADI_SD_SALES_ADDON
    AFTER CHANGING something again in all items and shifting to TABS:
      - CFOP_DET_PREP
    AFTER SAVING:
      - /SAPSLL/CTRL_SD0A_R3
      - QUANTITY_STRUCT_CK
      - DYNPRO_EXTENSION_CK
      - IBRT_GEN_ADD_IN
      - VALUATION_CK
      - WORKORDER_UPDATE
      - ATP_PUBLISH_RESULTS
      - FM_FYC_RECOVERY_POST
      - FMAVC_DECO
      - GM_POSTING_CONTROL
      - BADI_ISPS_GRANT
      - DIP_UPDATE_FKDAT
      - CACL_CHARACTER_INPUT
      - /SAPSLL/CTRL_SD0A_R3
      - /SAPSLL/RFC_DEST
      - /SAPSLL/CTRL_SD0A_R3
      - /SAPSLL/IFEX_SD0A_R3
      - /SAPSLL/KMAT
      - BADI_SD_UPDATE_PLVAL
      - CUX_ADD_IN
      - BOM_EXIT
      - WORKORDER_EXEC_STEPS
    In case you may need them...
    ---------- USER EXIT for VA01 ----------
    A2) USER EXIT for VA01 :
    SDAPO001  Activating Sourcing Subitem Quantity Propagation
    SDTRM001  Reschedule schedule lines without a new ATP check
    V45A0001  Determine alternative materials for product selection
    V45A0002  Predefine sold-to party in sales document
    V45A0003  Collector for customer function modulpool MV45A
    V45A0004  Copy packing proposal
    V45E0001  Update the purchase order from the sales order
    V45E0002  Data transfer in procurement elements (PRreq., assembly
    V45L0001  SD component supplier processing (customer enhancements
    V45P0001  SD customer function for cross-company code sales
    V45S0001  Update sales document from configuration
    V45S0003  MRP-relevance for incomplete configuration
    V45S0004  Effectivity type in sales order
    V45W0001  SD Service Management: Forward Contract Data to Item
    V46H0001  SD Customer functions for resource-related billing
    V60F0001  SD Billing plan (customer enhancement) diff. to billing
    A3) CLASSICAL USER-EXIT per VA01:
    --- include MV45AFZZ ---
    FORM userexit_delete_document.
    FORM userexit_field_modification.
    FORM userexit_move_field_to_vbak.
    FORM userexit_move_field_to_vbap.
    FORM userexit_move_field_to_vbep.
    FORM userexit_move_field_to_vbkd.
    FORM userexit_number_range USING us_r
    FORM userexit_pricing_prepare_tkomk.
    FORM userexit_pricing_prepare_tkomp.
    FORM userexit_read_document.
    FORM userexit_save_document.
    FORM userexit_save_document_prepare.
    Hope its enough
    Denis Mullaraj

  • Reg. Exit/BADI for changing item data of PO in ME22N

    Hi all,
    My requirement is to update the field LABNR (Order Ack.) of few specific line items of a PO, in the Transaction ME22N, using Exit/BADI.
    I have tried the BADI  ME_PROCESS_PO_CUST. But the PROCESS_ITEM method of this BADI processes only the line item which has been changed/inserted in ME22N transaction. But my requirement is to update line items irrespective of whether that line item was "changed/not changed" during the process in ME22N screen.
    Could you please suggest me some suitable Exit/BADI for this requirement.
    Regards,
    Anbarasan K

    Thanks Martin.
    Problem solved by implementing the method Process_Header.
    1. Get the items from Header                              -  im_header->get_items
    2. Loop the item list and get the line item record   - re_item-item->get_data
    3. <- Logic to Update the line item - >.
    4. Update the line item                                       - re_item-item->set_data
    Thank you very much.. Martin.
    Regards,
    Anbarasan K

  • Do you have any idea what is the BADI for creation of Purchase Order?

    Hi Gurus, I would like to ask regarding the BADI for the P.O creation in SRM. I have a requirement that if the Account Assignment Type is "asset" it should tick the checkbox (goods receipt/confirmation of performance of service) in the related documents tab of item.  Thanks a lot. I hope you can help me gurus.

    Thanks for the help.

Maybe you are looking for

  • Need help setting up external hard drive for FCE project

    Hi folks, Basically I am looking at making a 20-30 minute video this summer of my motocross adventures and what not and have equipped myself with an iMac (2.93 GHZ Core2Duo 640GB 4GB) and of course, FCE. I have tried smaller projects before (ranging

  • Please outline in steps for me...

    I have a presentation that will be presented to my class over a drop down projector thing. I will tap into it via vga plug. I have not yet tested it yet, only on my mac. Questions... 1) Will the presentation be fullscreen? When I press the play butto

  • How to roll back.

    Hi, I have updated 10 rows using update statement is there any way to rool back data back to previous wht it was please suggest. Thanks Sudhir

  • IPhone won't activate after updating to iOS7... even after connecting to iTunes...

    my iOS7 wouldn't budge after updating so I performed the silly mistake of doing a system restore. It updated but now my iPhone won't activate! Do you think it's the servers? I'm perfectly connected to my wifi and my phone is connected to iTunes!

  • I do not have my serial number and need it re-emailed to me

    I have checked my email and can not find it else where and I need it to use Illustrator with my Creative Cloud plan