How to add reviewer by SRM BADI?

In SRM 7.0, We want to determin 3 reviewers automatically during Quotation WF by BADI.
Could you tell me how to config WF and give us a sample for BADI. we must use badi for complex logic.
Tks!

Hi,
Follow the below steps for adding reviewer
1) create a responsibility resolver in the path:
SRM Server->Cross-Application Basic Settings->Business Workflow Process-Controlled Workflows-> Business Process Configuration ->Define Filter Values for BAdI 'Define Reviewer'
2) Create implementation for BAdi /SAPSRM/BD_WF_REVIEWER_RULE with filter for your business object & reponsibility resolver created in step 1.
3) Add your logic to determine reviewer in the method GET_REVIEWER_BY_DOCUMENT
4) In process level determination, select your business object and give the process schema evaluation id. This can be done using a BRF event and corresponding expression
5) For your business object specify your process schema
6) Specify your approval levels under process level configuration
7) Under Reviewer,
   -  specify your responsibilty resolver against the Rule
   - specify the BRF event which is used to determine the reviewer step similar to approval step against Evaluation ID
  - Specify the corresponding review task  against Task ID
Hope this helps.
Regards,
Sivagami R

Similar Messages

  • How to add custom fields in BADI  Subscreen.

    Hi Friends,
    I have to include some custom fields in MFBF tcode.(In make-to-order tab page).
    To do that I have used RM_HR_INTEGRATION  BADI definition  and created implementation for this. In the provided subscreen I tried to add custom fields but it asks access key . I donu2019t know , how to proceed further. Your help is needed.
    Or kindly provide me solution to achieve my requirement.
    Thanks in Advance,
    senthil.

    Hi Venky,
    We can see the documentation in
    se18 -> badi -> LE_SHP_TAB_CUST_HEAD -> display -> documentation button above the definition name
    in the first pop-up of documentation..go to the end which says 'Further notes'
    Further notes
    Documentation on BAdI Interface LE_SHP_TAB_CUST_HEAD
    click on this and we have a detailed description of each method defined in the badi
    Hope it helps
    Regards
    Byju

  • SRM POWL - How to add/update longtext (internal note) of invoice

    created powl for mass approval/rejection of invoice
    For Rejection 'm adding 'reason for rejection' & 'internal note' fields
    Which i need to update in invoice --> notes & attachment --> 'reason for rejection' & 'internal note'
    I am doing it as --
    TRY.
             CALL METHOD lo_pdo_notes->add_longtext
               EXPORTING
                 iv_p_guid          = i_guid
                 iv_tdid            = 'NOTE'
                 iv_tdspras         = sy-langu
                 iv_tdformat        = 'X'
                 iv_text_preview    = 'Internal Note'
               CHANGING
                 co_message_handler = lr_message.
           CATCH /sapsrm/cx_pdo_abort .
         ENDTRY.
    TRY.
             DATA text_id TYPE tdid VALUE 'RREJ'.
             CALL METHOD lo_pdo_notes->add_longtext
               EXPORTING
                 iv_p_guid          = i_guid
                 iv_tdid            = text_id
                 iv_tdspras         = sy-langu
                 iv_tdformat        = 'X'
                 iv_text_preview    = 'Price Difference' " drop down value
               CHANGING
                 co_message_handler = lr_message.
           CATCH /sapsrm/cx_pdo_abort INTO lx_abort  .
    *          mo_cll_message_handler->set_a1bort( io_pdo_abort_exception = lx_abort ).
         ENDTRY.
    But message handler is returning Initial value  - & 'm unable to update it in invoice...
    Can you help ??

    Thanks Pedro  & Pradeep. I understand now how to add fields to SRM. Appreciate all your support. I have another question. I have to add fields to the following structures. Some structures have include structures and some does not. How to add fields which does not have include structures. Do I have to create my own Z include structure or any other way?
    Table                                           include structure
    1) BBP_PDIGP                           CI_BBP_ITEM
    2) BBP_PDHGP                          CI_BBP_HDV
    3) BBP_PDHSB                          <NONE>
    4) CRMD_ORDERADM_H            INCL_EEW_ORDERADM_H
    5) CRMD_ORDERADM_I             INCL_EEW_ORDERADM_I
    6) BUT000                                  INCL_EEW_BUT000
    7) BBP_PDPSET                        <NONE>
    8) ADDR3_DATA                        <NONE>
    9) BBP_PDISS                           INCL_EEW_PD_ITEM_SSF
    Look forward to hear from you.
    Thanks,
    GS

  • SRM - BADI debug

    Hi gurus,
    how can I debug a SRM BADI setting an external break-point? It seems impossible!
    I'am not an expert ...
    - I have set the parameter in SICF sap\bc\gui\sap\its ... ~GENERATEDYNPRO 1 ...
    - I have set in utilities, settings, debugging, external debugging, in the field USER the name of the user I am using to approve the shopping cart
    - I have set the break point in the BADI
    But it does not stop!
    Thanks a lot
    Guido

    Hi Guido,
    sometimes its not clear, which user really calls the function.
    Therefore it might be the problem, that SRM in your case uses the system user within this Badi (WF-Batch for example).
    It might be helpful (as Atul mentioned before) to set a "hard" breakpoint within the BAdi coding.
    Best possibility from my point of view:
    Set an endless "loop" within your active implementation, for example:
    DATA:   debug type c.
    While debug is initial.
    endwhile.
    Now start your transaction and check via SM50 if you can find the "endless" process.
    Just mark it and  debug it directly from SM50.
    Best regards
    Andreas

  • How to add column access BADI to appraisal template.

    I am not able to see option to add column access BADI in template at Processing  tab--> Further template behaviour.
    Kinldy let me know how to add it.
    I am able to see only following options
    BC         Business Check
    D1         Default Appraiser
    D2         Default Appraisee
    DE         Default Execution Period
    DN         Default Appraisal Document Name
    DP         Default Part Appraiser
    DR         Default Review Date
    DV         Default Validity Period
    HA         Header Data Change
    PM         Maximum Number of Part Appraisers
    Thanks in advance.
    Dhananjy

    Hello Ravikiran,
    Based on the Role and Status of the appraisal form, turn the Column On/Off/Hide..
    sample code...
    case s_header_status-ap_status.
              when c_status_in_preparation.
                availability = 'H'.
                column_owner   = space.
              when  c_status_in_planning.
                case s_body_columns-column_id.
                  when 'OBJ0'.
                    availability   = 'X'.
                    column_owner   = 'X'.
                    exit.
                  when 'Z003'.
                    availability   = 'X'.
                    column_owner   = 'X'.
    Hope it helps...
    Regards,
    Jothi.P

  • BADI BBP_CREATE_BE_RS_NEW  - how to debug in ECC (SRM shopping cart)

    Hi,
    We are using BADI BBP_CREATE_BE_RS_NEW (ECC system).
    We put external breakpoint on this BADI.   Made sure also that the BADI is activated.
    Our problem is it didnu2019t stop on our breakpoint.  Authorizations to debug/etc are there.
    When it was not possible to debug when shopping cart is created in internet link (SRM), we used tcode BBPSC01 (ECC system) to see if we can go to the BADI and debug it.  However still the program did not stop at break point at the ECC side.
    (SRM Module shopping cart)
    How do we debug this BADI in ECC?  Anything to set up or ?????
    SRM_SERVER   550   0013    SAPKIBKT13   SRM_SERVER 550: Add-on installation
    SRM add on to ECC 6.0
    Looking forward to hearing from you <removed by moderator>.
    Thanks.
    Edited by: Thomas Zloch on Sep 30, 2011 4:01 PM

    1) If your debugging in our Development system.
    You can use the DO , ENDDO loop.
    Copy and paste the below code in your BADI code where you want to start debugging.
    Create the shopping cart in SRM then the screen will be in processing mode.
    Go to ECC system transaction code SM50
    execute the transaction you will see an ALV report with all processeor running.
    You will find one line with your BADI name .
    Select that line and GOTO -> Program/Session menu option -> Program -> Debugging.
    After the above action Debugger will start and the curser will be at DO , ENDDO loop.
    make the FLAG value = 'X" in the debugging and from there you can debug the BADI.
    DATA : FLAG.
    DO.
    IF FLAG = 'X'.
       EXIT.
    ENDIF.
    ENDDO.
    Once your debugging is over make sure that the above code is deleted.
    Let me know if there are any concerns.
    2) If you want to debug in the Testing or production environment then you have to login to ECC system with your RFC user name and put the external break point.
    When you create the Shopping cart the RFC user will run the ECC logic thats why we ned to login with the RFC user.
    We can request BASIS people to give the access for some time to debug the application with RFC user.
    This you can do in Development also.
    Thanks
    Naresh
    Edited by: Naresh Nelapatla on Oct 26, 2011 1:54 PM

  • I just started using fire fox and I cant figure out how to add a new folder to my bookmarks. Can anybody explain how in detail (I'm bad with computers so I need real detail) Please and thank you. :)

    I just started using fire fox and I can't figure out how to add a new folder to my bookmarks.
    Can anybody explain how in detail (I'm bad with computers so I need real detail)
    Please and thank you. :)

    If you use extensions (Tools > Add-ons > Extensions) like <i>Adblock Plus</i> or <i>NoScript</i> or <i>Flash Block</i> that can block content then make sure that such extensions aren't blocking content.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    You can use one of these to start Firefox in <u>Safe mode</u>:
    *On Windows, hold down the Shift key while starting Firefox with a double-click on the Firefox desktop shortcut
    *On Mac, hold down the Options key while starting Firefox
    *Help > Restart with Add-ons Disabled
    If it works in Firefox Safe-mode then disable all extensions (Tools > Add-ons > Extensions) and then try to find which is causing it by enabling one extension at a time until the problem reappears.
    Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    See also:
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How to Disable the Add & Review Button

    How to Disable the Add & Review Button
     *Updated with the correct ISF  code (the previous code, in case you saved it, was to actually  escape apostrophes.  That will be posted  seperately. 
    Note that this solution might not work in your environment - you might have to modify it based on your installation.
    Enjoy! 
    Common_disableAddAndReviewButton()
       if ( Moment == 'ordering' )
            var theForm = document.forms[0];
            var buttonCt = 0;
            for( i = 0; i &lt; theForm.elements.length; i++ )
                 if( theForm.elements[i].type == &quot;submit&quot; )
                    if ( buttonCt == 0 || buttonCt == 2 )
                        theForm.elements[i].disabled = true;
                         theForm.elements[i].style.visibility=&quot;hidden&quot;;                  
                     buttonCt++;              

    This is GREAT - I added a new Java Script and set it to "when form is loaded" and when I did some test reqs - no Add & Review button !!!!

  • How to add bad pixels to a DNG made from a CFA sensor raw data ?

    Hello all, I'm trying to build a proper DNG file from the raw CFA image acquired directly form an industrial camera.
    As usually there are a number of bad pixels around and I would like to mark them in the DNG so they can be correctly interpolated when the image is processed.
    In the latest DNG SDK (1.4) I've only found this rather thin references:
    "Defective Pixels
    There are two ways to deal with defective pixels in DNG.
    The first is to map out (interpolate over) the defective pixels before storing the raw data in DNG.
    The second is to include a bad pixel fixing opcode in the OpcodeList1 tag."
    OK, as each program/customer/etc. seem to have its own ( best ) algorithm to interpolate the bad pixels then OpcodeList1 it is.
    But then I've got this: FixBadPixelsConstant and I'm not clear about its usage, especially BayerPhase, is the same BayerPhase that is specified as a global property of the CFA or it is something separate and what ?
    Also is there some "industry standard" value for the Constant that will make more likely the established programs to process correctly the image ?
    And this Constant value is unique per DNG or can it be more ot them added, i.e. to somehow characterize the "badness" of the pixel, like reduced sensitivity, stuck at 0/max, etc ?
    In the end if somebody can share an one-liner on how to add programatically this tag using the SDK I'll be very grateful.
    Sorry for my newebie questions and many thanks for your help.

    Hello Dear
    Look FB60 screen has two parts :
    The one in which you enter information related to vendor is Header Level, in this case you already assign Personnel No. in Vendor Master so no field is required as Personnel no. will be picked up from Vendor Master level.
    The Other is line item level is bottom half part, if you want to assign personnel no. at Expense G/L level then if you scroll right you will find a field for Personnel no. If you can't see the field check your setting at OBVV for the field status group you assign to particular Expense G/L.
    Hope you Understood
    Cheers
    IMK

  • Add Reviewer functionality

    Hi,
    We are with SRM 5.0 & Classic Scenario.
    When creating the shopping cart, i can able to add the reviewer but after i save the shopping cart and look for approval preview, not able to get the 'Add Reviewer' details.
    Also, getting the pop up message of " Reviewer task for WS10000265 not found.Inform system administrator "
    how to activate add reviewer functioanltiy in our system ?
    Appreciate your inputs.
    Regards
    Nag

    Any inputs please ?
    Thanks

  • How to add a specific order type into any particular report

    Hi All,
    How to add a specific document type(order type) into any particular report in order to review OTD performance.
    I need to add one specific order type to existing reports which will help to check the performance of the delivery type for that particular order type to the users.
    Thanks,
    Raj

    Hi Rajesh,
    thanks for the reply when i tried as the way you said.. but the system is asking more details like varient. so if you can clearly specify the process for order type (VOV8-- table TVAK) so it will helpful for me.
    Thanks
    Raj

  • How to add a new field in migo transaction (header level)

    hi guru's
    can you please tell me how to add a field in migo transaction?
    i want to add a field in header data and that too under "general" tab. i dont have data regarding that field.
    and when we enter a value for that field in migo, it has to take .
    thank you.

    Hi, My problem is allmost like the one you are discussing here....
    I have appended MKPF for my Z-fields and created a sub-screen (Design the screen). I am calling this screen in PBO_HEADER. Now i can see my newly created tab along with fields.
    Now the problem is:-
    1. How I can transfer that data entered in screen fields back to my BADI.
    2. How to update my z-fields in MKPF table along with standard fields. I have tried using FM - 'J_1IEXGM_BADI_POST_DOCUMENT' in Method - POST_DOCUMENT, but its not updating table record in MKPF for Z-Fields.
    Please advice.....
    Thanks

  • How to Add a new Currency in HFM Data form and grid (Rates)

    Hi Gurus,
    Am very new to this forum.
    Can someone explain me how to add a new currency to the existing data for or grid in the Workspace.
    Regards,
    Vinod

    Hi Sandeep,
    To add a new currency in Metadata, just add in Currencies dimension, and to add in Data form-just send the script what you are using as of now for rest of the currencies, or follow the same steps as specified above. or just add the script A#CLORATE.w#Periodic.C2#XYZ in rows of your data form (where XYZ- is the new currency).
    To add a new location in FDM login to FDM web client- click on Metadata--> locations and select the Controls review location where you want to add the data load location, right click and add the new location.

  • How to add a custom button in WD screen to call a workflow in siebel?

    Hi All,
    We have a requirement to have a custom button at the summary screen(after the rule execution) "Create Opportunity", on clicking on it a new opportunity record should be created in Siebel. As we know the "Save" link calls "PolicyAutomationSaveSession" inbound web service method and saves the information in session table and we can modify the PreSession and PostSession workflows. But we are not sure how it calls the service method and where is the mapping defined.
    Can you please help me on how to add a custom button and how to invoke a workflow in siebel side to implement this requirement?
    Also is there any document which can help me to add a custom button in screen and to add the code behind the button?
    Thanks in advance!!
    Regards,
    Subhradeep

    Subhradeep,
    Closing a Web Determinations window is essentially the same as closing any HTML window. It involves javascript, which you would have to add to the Web Determinations templates.
    Essentially the javascript command to close a window is {{window.close}} or {{top.close}}
    For timing, you might be able to use the setTimeout function of Javascript (see: http://www.w3schools.com/jsref/met_win_settimeout.asp)
    At the risk of exposing exactly how bad my javascript skills are, I have attached a super-simple html fragment, a page that closes itself after 3 seconds. It may help you get started in the right direction. In general closing a window is a fairly dubious activity and is often not permitted by certain browsers. This html page at least works in Internet Explorer.
    <html>
         <head>
         <script language="JavaScript">
              setTimeout(closeMe, 3000);
              function closeMe() {
                   alert("This window will close");
                   top.close();
         </script>
         </head>
         <body><B>This window will close in three seconds</B></body>
    </html>
    {code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to add a table layout in CRM Sales order?

    dear all ,
    anyone know how to add a table layout in CRM sales order customer tab that using the EEWB added?
    can EEWB do this?   i didn't find the appropriate business object......

    Hi , Swapna
    is you mail address right? can not send out.
    first , you should have added one field using EEWB ,  then to EEWB , find the extension , double click on the task, there  you will find a  "object list"  on the right, the list will give you many many very important  information , you should look through .
    then double click on the "screen:  ..........EEW......." ,  layout , there you will find the field you have added in .  and you can draw anything you want there , then back to the screen flow , write you flow logic in PBO and PAI .
    about the global  data definition,  again to the "object list", you will find a "Report source code:  ......................TOP". in there ,you can define all you data .
    another thing  if you want to save your input field to database tables that you draw (not by EEWB added)
    two ways:
    1. write update table directly  in  PAI module .
    2.  you can use this BADI :  ORDER_SAVE , this is when you save the order to trigger the save action.

Maybe you are looking for