SRM BADI

Hi All,
I am new to SRM . please help me to find badi's for below questions.
Only Goods item type is allowed for Intercompany PO recharges and specific error handling must be built.
Mixture of Intercompany PO recharges and IPO items is not allowed within the same Shopping Cart and specific error handling must be built.
Both Technical Contract and Sourced Contract are out of scope for the Intercompany PO recharges and specific error handling must be built.
Vendors selected for Intercompany PO recharges must begin with IC* series and specific error handling must be built.
Vendors selected for IPO mustnu2019t begin with IC* series and specific error handling must be built.
Intercompany PO recharges doesnu2019t required Procurement Approval and specific workflow routine for Procurement Approval must be suppressed for Intercompany PO recharges.
Shopping carts/Purchase order should not be GR based i.e. no Goods Receipt required.
PO Extend option on the ITS screen must be suppressed off when ICPO (new) account assignment category is selected.
Thanks & Regards,
juhi.

As you talk of ITS in your request I assume you work on SRM 5
Only Goods item type is allowed for Intercompany PO recharges and specific error handling must be built.
-BADI BBP_SC_MODIFY_UI for SC: Restrict functions that can be used in SC
-BADI BBP_ITEM_CHECK_BADI for SC and/or PO: Check and alert messages
Mixture of Intercompany PO recharges and IPO items is not allowed within the same Shopping Cart and specific error handling must be built.
-BADI BBP_ITEM_CHECK_BADI for SC and/or PO: Check and alert messages
Both Technical Contract and Sourced Contract are out of scope for the Intercompany PO recharges and specific error handling must be built.
-BADI BBP_ITEM_CHECK_BADI for SC and/or PO: Check and alert messages
Vendors selected for Intercompany PO recharges must begin with IC* series and specific error handling must be built.
-BADI BBP_SOS_BADI: Detyermine/Control vendors
-BADI BBP_ITEM_CHECK_BADI for SC and/or PO: Check and alert messages
Vendors selected for IPO mustnu2019t begin with IC* series and specific error handling must be built.
-BADI BBP_SOS_BADI: Detyermine/Control vendors
-BADI BBP_ITEM_CHECK_BADI for SC and/or PO: Check and alert messages
Intercompany PO recharges doesnu2019t required Procurement Approval and specific workflow routine for Procurement Approval must be suppressed for Intercompany PO recharges.
-BADI BBP_WFL_APPROV_BADI
-or manage Starting conditions of your workflows (with Doc Type for example)
Shopping carts/Purchase order should not be GR based i.e. no Goods Receipt required.
-Define in the purchasing view of the suppliers
PO Extend option on the ITS screen must be suppressed off when ICPO (new) account assignment category is selected.
-What extend option do you talk about ?

Similar Messages

  • 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

  • SRM BAdI BBP_PGRP_ASSIGN_BADI not triggering

    Hi All,
    I want to assign purchasing group to the shopping cart item based on Plant and Storage location.I found BAdI BBP_PGRP_ASSIGN_BADI suitable for this at SRM side, so I implemented it.But this BAdI is not triggering.
    Can anyone please let me know why its not trigerring?
    Thanks in advance.

    Hi Rahim,
    There are two BADI's existing in the SRM system for this:
    (1) BBP_PGRP_ASSIGN_BADI - This BADI will be used to assign the Purchasing Group for the follow-on- documents created for the Shopping cart.
    (2) BBP_PGRP_FIND - This BADI will be used to change the Purchasing Group based on some logic in the Shopping cart itself.
    So, In your case, I request to sit with your Technical Guy and give these BADI details to acheive this requirement.
    It is possible and we have implemented similar logic in our project.Please let me know for any help.
    Also, Request to please post this type of queries in the SRM Community so that you will get the replies fast.
    Thanks
    Sunil.

  • Calling a WebDynpro application from a SRM Badi

    Hi - I will like to call a WebDynpro Abap application from Badi/method IF_EX_BBP_SC_MODIFY_UI~SC_MODIFY_SCREEN in SRM. The purpose is to force certain users to put in som "standard" values to be used in the following steps in the purchase procedure. As it not possible to use ordinary Abap POPUP functions modules I have made a small WebDynpro program to do the wanted function. But when I start the url with CALL FUNCTION 'CALL_BROWSER' or CALL METHOD CL_GUI_FRONTEND_SERVICES=>EXECUTE the return code indicates a frontend error from ITS.
    Is there any way that I can get over this error and start my WebDynpro from a Badi in SRM?
    Or is there maybe another way to send a POPUP for information to the internet user?
    Thank you in advance:
    Bg Steen Pedersen

    Hi Radhika
    Have used fm WDY_EXECUTE_IN_PLACE to start my application. Bu I still get errors as shown below. Do you have any idea of the problem?  
    Følgende fejltekst blev behandlet i systemet SRD : Template interpretation failed. Template does not exist.
    Fejlen forekom på applikationsserver SAPSRMUDV01_SRD_00 og i arbejdsproces 0 .
    Afbrydelsesart var: RABAX_STATE
    ABAP-kaldhierarki var:
    SYSTEM-EXIT of program SAPLWDY_PRGN_NODES
    Function: WDY_EXECUTE_IN_PLACE of program SAPLWDY_PRGN_NODES
    Method: IF_EX_BBP_SC_MODIFY_UI~SC_MODIFY_SCREEN of program ZCL_IM_BBP_SC_MODIFY_UI=======CP
    Method: IF_EX_BBP_SC_MODIFY_UI~SC_MODIFY_SCREEN of program CL_EX_BBP_SC_MODIFY_UI========CP
    Form: SC_UI_MODIFY of program SAPLBBP_SC_UI_ITS
    Function: BBP_SC_UI_ITMCHOICE_SCENARIO of program SAPLBBP_SC_UI_ITS
    Form: LINKS_DEF_SCREEN_SET of program SAPLBBP_SC_UI_ITS
    Form: UI_SCENARIO_SET of program SAPLBBP_SC_UI_ITS
    Form: APP_INIT of program SAPLBBP_SC_UI_ITS
    Form: WIZARD_INIT of program SAPLBBP_SC_UI_ITS

  • Regarding srm badis

    Hi all,
    my problem is when shopping cart is created, an RFC  call is made to ECC5 to from SRM to determine the release strategies and agents, to do this do i need to implement the badi  bbp_doc_save_badi or bbp_wfl_approv_badi.
    when i have to use the badi bbp_wfl_approv_badi.
    thanks
    kishore

    Hi,
    If you are using the n step approval workflow (header level) i.e. WS14000133for Shopping cart approval,then you need to write the code in the badi BBP_WFL_APPROV_BADI to determine the agents.In this BADI,you can then make the call to ECC system to fetch the approvers users  based on the release startegy.All this logic needs to be written in the Badi.
    See the foll link for more deatils:
    http://help.sap.com/saphelp_srm40/helpdata/en/84/dda441e79ead5fe10000000a1550b0/content.htm
    BR,
    Disha.
    Do reward points for useful answers.

  • SRM BADI Workflows - Cannot set step description text

    Hi all,
    We are implementing the shopping cart n-step BADI workflow (WS14000133). I have implemented  the method 'GET_REMAING_APPROVERS' of BADI 'BBP_WFL_APPROV_BADI', and in the table APPROVAL_TABLE, we should be able to store a customer specific text in the field APPROVAL_DESCRIPTION.
    However, despite changing the text in this field successfully, the apporval preview does not show our customer specific text for the workflow step.
    Is this feature not working any more, or is there some config or OSS note needed to get it working?
    Thanks,
    Nick

    Thanks for finding this,
    Having seen the correction details in the note, it seems SAP have reversed part of the note.
    Function 'BBP_PDH_WFL_APPROVER_SET' in SRM Server 5.5 SP 9 has the following code, showing the correction from the OSS note commented out:
        IF iv_node_id IS NOT INITIAL.
          LOOP AT it_insert_agent INTO lt_help_app_wa.
            gt_wf_approver-node_id = iv_node_id.
            gt_wf_approver-dispagent = lt_help_app_wa-dispagent.
    begin of pilot 858263 note
           concatenate gt_wf_approver-dispagent
                       gt_wf_approver-approval_description
           into        gt_wf_approver-dispagent
           separated by space.
    end of pilot 858263 note
    I guess I need to create a customer message asking SAP to put the fix back in!
    Regards,
    Nick

  • Srm badi bbp_catalog_transfer

    i have implemented badi bbp_catalog_tranfer as my requirement is to transfer the description maitained in mdm to srm. in debuggingi have found that the description are getting updated but insrm it is still getting overwritten by other description.please suggest do i need to to implement any other badi that may be doing this

    Hi Patrick,
    Could you pls explain, how did you resolve your above mentioned issue?
    I would like to which table(Enrich/ET_SC/something else) has to be filled to get the data in shopping cart after catalog badi is been excuted.
    Thanks in advance!
    Regards
    Raaam's

  • 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

  • SRM - BADI Method is not triggered in background

    Dear Experts,
    In our SRM system we are trying to use an implementation of BADI BBP_DOC_SAVE_BADI method BBP_DOC_SAVE to automatically modify bid invitations at save time.
    This works fine when the Bid invitation document is created directly in foreground but doesn't work when it's created in the background in workflow via a request/shopping cart.
    Does anyone know about this,are we using the wrong BADI or is anything else missing?
    Thanks in advance!
    Anders

    Hi,
    Thanks for the reply on the post.
    I have similar requirement but can not use BADi as this is obsolete, can you please suggest the approch in details as we have not worked on Web Dynpro.
    Also if the BADI BBP_F4_READ_ON_EXIT is obsolete, does SAP provided any other BADI which can be used for the same purpose?
    Please clarify, Any help would appreciated.
    Thanks a lot in advance.
    Regards,
    Abnish Jain

  • List of 'activated' SRM BADIs

    Hi,
    SRM 5.0, classic
    How do I get the list of 'activated' BADIs in SRM ?
    -Pranav

    View V_EXT_ACT should give you the active BADI's.
    Regards, IA

  • Implementation of BADI BBP_ECS_PO_OUT_BADI in SRM. and BBP_PO_INBOUND_BADI

    Hi All,
    Facing a problem in BADI can u please help me out...
    I am implementing sourcing dashboard.
    I am facing problem while implementing the badi BBP_ECS_PO_OUT_BADI in SRM. and BBP_PO_INBOUND_BADI in R3.
    i have written following code in BBP_ECS_PO_OUT_BADI in SRM
    method IF_EX_BBP_ECS_PO_OUT_BADI~BBP_B46B_PO_OUTBOUND.
    data : ls_item type BBP_PDS_PO_ITEM_D.
    data : w_customer_fields type BBPS_IF_CUSTOMER_FIELDS_PI.
    move 'POITEM' to w_customer_fields-refobject.
    move 'CATALOGID' to w_customer_fields-fieldname.
    move ls_item-catalogid to w_customer_fields-container.
    append w_customer_fields to ct_bapi_customer_fields.
    endmethod.
    i have created field zsrmcatalogid field in R3 in EKPO table.and i am now implementing the Badi in R3 for BBP_PO_INBOUND_BADI .....in extended classic scenario.
    i have written following code in R3 BADI
    method IF_EX_BBP_PO_INBOUND_BADI~BBP_MAP_BEFORE_BAPI.
    data : wa_customer_fields type bbps_if_customer_fields,
    wa_bapi_te_mepoitem type bapi_te_mepoitem,
    wa_bapi_te_mepoitemx type bapi_te_mepoitemx,
    wa_extensionin type bapiparex.
    data : txt_960(960) type c.
    read table bbp_customer_fields into wa_customer_fields with key
    refobject = 'POITEM' fieldname = 'CATALOGID'.
    if sy-subrc eq 0.
    move wa_customer_fields-container TO
    wa_bapi_te_mepoitem-zsrmcatalogid.
    wa_bapi_te_mepoitemx-zsrmcatalogid = 'X'.
    endif.
    clear txt_960.
    clear wa_extensionin.
    write wa_bapi_te_mepoitem to txt_960 left-justified.
    wa_extensionin-structure = 'BAPI_TE_MEPOITEM'.
    wa_extensionin-valuepart1 = txt_960(240).
    wa_extensionin-valuepart2 = txt_960+240(240).
    wa_extensionin-valuepart3 = txt_960+480(240).
    wa_extensionin-valuepart4 = txt_960+720(240).
    append wa_extensionin to bapi_extensionin.
    clear txt_960.
    clear wa_extensionin.
    write wa_bapi_te_mepoitemx to txt_960 left-justified.
    wa_extensionin-structure = 'BAPI_TE_MEPOITEMX'.
    wa_extensionin-valuepart1 = txt_960(240).
    wa_extensionin-valuepart2 = txt_960+240(240).
    wa_extensionin-valuepart3 = txt_960+480(240).
    wa_extensionin-valuepart4 = txt_960+720(240).
    append wa_extensionin to bapi_extensionin.
    endmethod.
    But its not working...
    The PO details are not passed from SRM to R3.......
    Can anybody help me regarding how to debug the BADI in R3.
    Thanks in Advance...

    Hi Ravi,
    I never tried those BADIs to pass CUF fields.
    But here an attempt to understand it.
    First, have you maintained the mandatory R/3 CUF mapping table BBP_CUFMAP ?
    Your SRM BADI is not correct, because you don't populate enough data.
    There is a particular logic for ct_bapi_customer_fields (look at R/3 mapping in LBBP_BAPI_POF04, called before the R/3 BADI).
    Following fields must be populated:
    - REFOBJECT: ok with POITEM
    - FIELDNAME: dummy name (CATALOGID) or real R/3 field (zsrmcatalogid)? --> used in mapping table BBP_CUFMAP to get the R/3 field
    - REFFIELD1: missing: put PO_ITEM ?
    - REFVAL1  : missing: put the PO item number (numc 5)
    - CONTAINER: ok with final value we want to pass
    I think that if SRM BADI and the R/3 mapping table are populated correctly, the fields are transfered to R/3 PO item without additionnal coding on R/3 BADI side.
    The R/3 BADI goal is not to create BAPI_EXTENSIONIN. This is done by the Form MAPPING_CUSTOMER_FIELDS of include LBBP_BAPI_POF04.
    Later on, the custom fields of BAPI_EXTENSIONIN are transfered automatically to EKPO fields via a move-corresponding.
    In the way you coded R/3 BADI, you by-pass the Form MAPPING_CUSTOMER_FIELDS, to populate the BAPI_EXTENSIONIN by yourself.
    This could work like this, but you missed one info: the PO item number (missing in SRM BADI) !!!
    For debugging, what additional details do yo need ?
    Rgds
    Christophe

  • BADI TRANSPORT SRM - R/3

    DOES ANYBODY KNOW THERE SRM BADI ALLOWED TO TRANSPORT FILES FROM SRM AR / 3?
    CAN Y HELP ME?
    VERY THANK´

    hello
    Exist a similar problem in the srm forums:
    Check it.
    Regards
    José Luis

  • Error msg not getting displayed on first time button click in SRM UI

    Hi,
    I have created a custom message in an impl. of SRM BADI BBP_DOC_CHECK_BADI in which one message is getting populated correctly in debugging. Again, when I check PO, the message is getting displayed correctly, however when I click on order button for the first time, it is not getting displayed but on subsequent occassion, it is working fine. Just wonder, why this is not happening for first time. Any input ??
    Regards,
    Ni3

    Hi Virender,
    I found a note 1239499 close to my requirement but not valid for SRM release 5.0. Is it the same, you wish to referred or is there any other?
    Regards,
    Ni3

  • Vendor Master Extension in SRM

    Hi,
    I am working on Vendor master table enhancement in SRM 4.0. I have added a new field in the master table using transaction EEWB. The new field is created successfully and can be seen in table BUT000.
    Using badi BBP_BUPA_GET_CUF I am showing this field on SRM transaction BBPMAININT and is getting maintained correctly from there.
    It is not getting maintained when I am replicating vendors in SRM from R/3 i.e. transaction BBPGETVD. For this I have implemented badi BBP_MAP_VMDATA_CF in backend R/3 system and badi BBP_GET_VMDATA_CF on SRM side. In the debug mode I can see that the data mapped in R/3 is coming correctly in SRM badi. In this BADI I am using Function Module ZZG00_BUPA_EVENT_DSAVB generated during EEWB transaction. But this FM is not storing any value in the tables. Badi help doc says for single field creation using EEWB, a FM ZZG01_BUPA_API_DETAIL_ADD gets generated and by passing Partner No and new fields Value (captured from R/3) the field can be populated. But in actual such FM is not generated and above mentioned FM (ZZG00_BUPA_EVENT_DSAVB) does not have any importing or exporting values. Is this caz of EEWC configuration? Or is there any other way by which I can achieve this.
    Please do update if any one have ever worked on such requirement before.
    Thanks in advance.
    Rahul.

    Hi Christophe,
    Thanks for the response.
    I am sorry if I have not narrated my problem correctly. But the problem itself is that the said FMs like
    ZZZG01_BUPA_API_GET_DETAILS
    ZZZG01_BUPA_API_DETAIL_ADD
    ZZZG01_BUPA_API_DETAIL_REMOVE
    ZZZG01_BUPA_API_DETAIL_CHANGE
    are not generated after adding a field in BUPA using 'ADD NEW FIELDS' in TC EEWB.
    The only FMs generated are:
    ZZG00_BUPA_EVENT_DLVE1
    ZZG00_BUPA_EVENT_DSAVB
    ZZG00_BUPA_EVENT_ISDST
    ZZG00_BUPA_EVENT_ISSTA
    ZZG00_BUPA_EVENT_XCHNG
    ZZG00_BUPA_PAI_ZG000100
    ZZG00_BUPA_PBO_ZG000100
    Beside these there are some reports, tables, domains, FG etc created. As I can not find any FM like "*_BUPA_API_DETAIL_ADD" I am not able to populate the newly created field using badi BBP_BUPA_GET_CUF.
    I just want to know why these FMs not generated? Is it caz I am using 'ADD NEW FIELDS' instead of 'ADD NEW TABLE'? I am using FIELDS caz the new field will be maintained in Vendor general data.
    Please throw some light if you can.
    Thanks once again.
    Rahul.

  • SRM shopping cart attachment to SAP not transferring

    Hi SRM Experts,
    I have an issue with document attachment which is not coming to SAP R/3 Backend.
    Scenario 1
    1.Create shopping Cart in SRM system with One attachment,
    2. Purchase requistion is created in backend replica of SRM shopping cart. but the attachment is not exists only document number exists in the DMS (CV03N - No attachment)
    Scenario 2
    1.Create shopping Cart in SRM system with TWO attachments,
    2. Purchase requistion is created in backend replica of SRM shopping cart. but the attachment only one attachment exists and other attachement document number only exists in the DMS (CV03N - No attachment)
    Scenario 3
    1.Create shopping Cart in SRM system with FOUR attachments,
    2. Purchase requistion is created in backend replica of SRM shopping cart. but the attachment only THREE attachments exists and Fourth attachement document number only exists in the DMS (CV03N - No attachment)
    From the above all its understood that last attachmen is not transfered to SAP . In Scenario 1 last attachement will Only one attachment.
    Its Strange issue, can any one face this sort for issue before, kindly let me know what could be the casue,
    Note - I have posted the same issue in DMS thread as well
    Cheers...Gopinath

    Hi Guru's,
    I am using SRM 7.0 and while i create an attachment in shopping cart and try to send it in ECC, the attachment is not reflecting .
    Since we are using the latest version of SRM, we have used BADI BBP_CREATE_BE_RQ_NEW
    (Method IF_EX_BBP_CREATE_BE_RQ_NEW~FILL_RQ_INTERFACE.).
    I have also gone through the below link and tried the implementation :
    http://wiki.sdn.sap.com/wiki/display/SRM/BBP_CREATE_BE_RQ_NEW-CreateRequisitionin+backend
    Also, all ECC configuration are in place. However things are not come in place. Only the details are reflected but the attachment is not reflected in ECC.
    If anyone can guide the correct way in SRM BADI along with ECC configuration (just to verify) will be a great help.
    Kind Regards,
    Kunal.

Maybe you are looking for