BADI For updating BP in CRM

Hi Experts,
I am looking out for a BADI to update the BP through transaction BP before saving it.
I found couple of them which get triggered but any changes made in these BADIs are not to be seen in the transaction after saving.
1. ADDRESS_UPDATE and
2. BUPA_ADDR_UPDATE.
Please suggest me how to proceed as I am blank at the moment. Please answer me as soon as possible as it is an urgent issue.
Maximum Points will be rewarded.
Thanks in advance.

Hi Gautham,
No good, It did not help me Gautham.
Can you please suggest me some other way of dong it.
I have 2 badis to use one is address_update and the other is addres_check.
I implemented address_check which had a address structure as a changing parameter and I update it there, it works absolutely fine.
But my requirement is to update the structure based on the condition of BUT000. That is the BUT000-type, which means I need to update the structure only for person and not for organization and group.
so in the badi address_check i need the BUT000 details, which I am not able to trace even from the local memory as I am getting the error saying "Memory is not yet instantiated"
and If i use the other badi address_update.
I have the problem the other way round here. I have all the BUT000 details here I can put the condition to update only for person, but I am not able to update the address structure.
Please help me. This is required very urgent.
Maximum points will be rewarded.
Thanks in advance.
Arul.

Similar Messages

  • Need exit or Badi for updating Warranty data in IE02 while Prod Order conf.

    Hi All,
    I need a user exit or Badi for updating the Warranty data in IE02(Equipment Master) while production order confirmation(CO15)?
    I need to update the Begin guarantee date from Production order and warranty master type in IE02 while confirming the production order.
    Thanks,
    Sudha

    Hi,
    Are you saying first create notification,then service order
    and then Sales order.
    But the requirement is create notification then sales order and when you go in va02 and while modifying the sales order and create service order.
    Thanks & regards,
    chetan.

  • Creating BADI for datasource enhancement in CRM system

    Hi,
    I am working on SAP BI/BW. This is the first time I am working in CRM system with CRM datasources. Facing some problem for datasource enhancement as never done it before in the CRM system. Is there anyone who can help in in creating BADI for datasource enhancement in CRM.
    Thanks in advance
    Moumita

    Hi Kushal,
    You can find the BADI name by,
    Go to Transaction SE24
    Enter the Object Type CL_EXITHANDLER and click on Display.
    Double Click on method "GET_INSTANCE".
    Put a Break-point on Call method cl_exithandler=>get_class_name_by_interface
    Run RSA3 transaction and execute the DataSource.
    The execution will stop at the break point.
    Check the values of variable 'exit_name', it will give you the BADI name called at that time.
    Thanks,
    Kokila

  • Creating BADI for datasource enhancement in CRM.

    Hi,
    I am working on SAP BI/BW. This is the first time I am working in CRM system with CRM datasources. Facing some problem for datasource enhancement as never done it before in the CRM system. Is there anyone who can help in in creating BADI for datasource enhancement in CRM.
    Thanks in advance
    Moumita

    Hi Prasad Reddy,
    This are the available badis and exits for this t.code:
    Enhancement/ Business Add-in            Description
    Enhancement
    MGA00001                                Material Master (Industry): Checks and Enhancements
    MGA00002                                Material Master (Industry): Number Assignment
    MGA00003                                Material Master (Industry and Retail): Number Display
    Business Add-in
    MG_MASS_NEWSEG                          User-Specific Fields & Segments in Mass Maintenance
    MATGRP_SKU_UPD
    CDT_CHECK_MATERIAL                      Checks for Existence of a Material in a CDT
    BADI_MM_MATNR
    BADI_MAT_F_SPEC_SEL                     BAdI for Material Special Field Selection
    BADI_MATNR_CHECK_PVS
    BADI_MATERIAL_REF                       Addition of customer-defined default data for material
    BADI_MATERIAL_OD
    BADI_MATERIAL_CHECK                     Enhanced checks for material master table
    BADI_GTIN_VARIANT
    BADI_EAN_SYSTEMATIC
    o.of Exits:          3
    o.of BADis:         11
    Find the Exact  exits and badis for ur requirement.
    How to fine the exact badi:
    1) Goto se24 (Display class cl_exithandler)
    2) Double click on the method GET_INSTANCE.
    3) Put a break point at Line no.25 (CASE sy-subrc).
    Now
    4) Execute SAP standard transaction
    5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
    6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
    7) This way you will find all the BADIs called on click of any button in any
    transaction
    Rgds,
    P.Naganjana Reddy
    if you follow this 7 steps, you will find a suitable BADI.

  • User Exit or BADI for Updating Tax code (MWSKZ) using ME21N

    Hi all,
    I am trying to fin out an exit or badi for Updating Tax code (MWSKZ) and Unit of Measure in transaction ME21n.
    The scenario is like this...
    For Purchase Orders Tax code will be defaulted from Purchasing info record or contract or parameter id for that item-vendor-plant.
    If the Tax Code is not defaulted and account assignment is blank then tax code on the PO is updated according to the below mentioned table
    Table
    Supplying Plant/              Receiving Plant                      Tax code
    Vendor/Country
    Any plant/vendor/
    country                           5050(NA)                               20
    2300                              6700                                     E0
    If the tax code on PO cannot be updated by the above table, then buyer needs to put tax code on the purchase order manually.
    Thanks,
    Shiva, Bangalore

    Hi Siva.,.,.,
    These r the exits.,..,which will be called while calling ME21N/ME22N/ME23N
    EXIT_SAPMM06E_006
    EXIT_SAPMM06E_007
    EXIT_SAPMM06E_008
    EXIT_SAPMM06E_009
    EXIT_SAPMM06E_012
    EXIT_SAPMM06E_013
    EXIT_SAPMM06E_014
    EXIT_SAPMM06E_016
    EXIT_SAPMM06E_017
    EXIT_SAPMM06E_018
    U want to default some values while the Initial screen will come right,
    while u Enter ME21N in command Prompt.,.,two exits will get triggerd,
    EXIT_SAPMM06E_014
    EXIT_SAPMM06E_016
    If u want to Default some values u can use these two exits.,.
    Try using EXIT_SAPMM06E_016.,.this will solve ur purpose.
    and if the user changes some values on screen.,,and you want them to get reflected .,.,.that means if user changes and saves data .,.
    While saving.,.,EXIT_SAPMM06E_012 and EXIT_SAPMM06E_013 will get triggerd
    Try using EXIT_SAPMM06E_013.,,.it was somehow the same requirement as mine.,.,IN my case it worked fine.,.,
    Regards
    Debasish
    Message was edited by:
            Debasish Das

  • BADI for updating changing output medium in PO

    Hi,
        Is there any BADI or exit present for updating the output medium in PO , based upon some criteria ?
        In my requirement I want to make output medium as <b><b>'email'</b></b> and set email address to email ID of one of the partner function maintained in PO.
    Thanks and Regards,
    Amit R

    Hi
    <b>At runtime, you will get the GUID in the BADI Interface.</b>
    Incase this BADI does not help, go for another BADI
    1) <u>BBP_SEND_MEDIUM_MODE</u>     
    (Determines the Default Settings for the Send Medium)
    2) '<u>BBP_OUTPUT_CHANGE_SF'</u>.
    <u>Here are some related links -></u>
    Re: PO output medium issue
    Re: SRM PO SMARTFORM
    Re: Control PO output to vendor
    Re: Add a Printer ?  -> LP01
    Hope this will help.
    Regards
    - Atul

  • User exit/BADI for updating custom table in MB1B transaction-

    Dear All,
    When performing a material to material conversion in MB1B transaction for  batch managed materials,system is creating a new batch by copying the characteristics of issuing material/batch.The details of the new batch created are updated in standard batch tables(MCH1,MCHA,MCHA).
    The requirement is when the new batch is created,the batch details and characteristics has to be stamped in a custom table.
    Kindly suggest a user exit/BAIi available for updating the same in the custom table.
    Regards,
    Deepak

    Deepak, Exits for MB1B are
    MBCF0002            Customer function exit: Segment text in material doc. item
    MBCF0005            Material document item for goods receipt/issue slip
    MBCF0006            Customer function for WBS element
    MBCF0007            Customer function exit: Updating a reservation
    MBCF0009            Filling the storage location field
    MBCF0010            Customer exit: Create reservation BAPI_RESERVATION_CREATE1
    MBCF0011            Read from RESB and RKPF for print list in  MB26
    MB_CF001            Customer Function Exit in the Case of Updating a Mat. Doc.

  • BADI For Inbound Queue in CRM

    Hi All,
    I am replicating Product Listings (VB02 in ECC)  data from ECC to CRM.
    Now I need to Update a Z table in CRM System with the data coming from ECC when the Inbound Queue in CRM System is processed via SMQ2.
    Can Anybody please tell me what BADI will be useful
    I found one CRM_DATAEXCHG_BADI but not sure how it goes.
    I also tried in Debuging the inbound Queue. It will take Long time to find out BTE or BADI in this way.
    So please help me with the BADI or BTE Name.
    Thanks
    Venkat

    Hi Gautham,
    No good, It did not help me Gautham.
    Can you please suggest me some other way of dong it.
    I have 2 badis to use one is address_update and the other is addres_check.
    I implemented address_check which had a address structure as a changing parameter and I update it there, it works absolutely fine.
    But my requirement is to update the structure based on the condition of BUT000. That is the BUT000-type, which means I need to update the structure only for person and not for organization and group.
    so in the badi address_check i need the BUT000 details, which I am not able to trace even from the local memory as I am getting the error saying "Memory is not yet instantiated"
    and If i use the other badi address_update.
    I have the problem the other way round here. I have all the BUT000 details here I can put the condition to update only for person, but I am not able to update the address structure.
    Please help me. This is required very urgent.
    Maximum points will be rewarded.
    Thanks in advance.
    Arul.

  • User exit / BADI for updating STO when change in subcontracting PO

    Hi
    The requirement is to update the STO (stock transfer order ) when their any change in subcontracting PO at item level. Is there any exit or BADI available where STO quantity and delivery date will be updated after any change in PO at item level ?
    Thanks
    Manas

    Deepak, Exits for MB1B are
    MBCF0002            Customer function exit: Segment text in material doc. item
    MBCF0005            Material document item for goods receipt/issue slip
    MBCF0006            Customer function for WBS element
    MBCF0007            Customer function exit: Updating a reservation
    MBCF0009            Filling the storage location field
    MBCF0010            Customer exit: Create reservation BAPI_RESERVATION_CREATE1
    MBCF0011            Read from RESB and RKPF for print list in  MB26
    MB_CF001            Customer Function Exit in the Case of Updating a Mat. Doc.

  • Exit/Badi for Updating Actual Start Date in CJ20N

    Dear Experts,
    In transaction CJ20N, under Dates Tab for a particular Activity, there is one field viz. Act i.e. Actual start: Execution (date). My requirement is to display PR date in this field. Besides this, Actual finish: Execution (date) should also get updated depending on the Duration field.
    I searched all the exits in the package 'CN' and 'CORU', but none of them seems to be useful
    Please suggest a user exit/BAdI which could help resolve this.
    Thanks in advance

    Hi,
    That BADI would trigger when you change any thing on the WBS and hit save.
    WORKORDER_UPDATE-for network
    Regards,
    Himanshu

  • BADI for Updating work order component data

    Hi,
    I need to update the field special stock indicator for the work order component data when it is saved. I am using the BADI WORKORDER_UPDATE for the same, but when I implemented the ZWORKORDER_UPDATE_IM using the standard defenition  WORKORDER_UPDATE , the code does not allow me to change the it_component internal table belonging to the BEFORE_UPDATE method. Could you please help me in this.
    Basically if we are implementing a standard defenition how to change the parameters of the methods in it.
    Regards,
    Prabaharan.G

    Hi ,
    It is giving the below dump. The parameter is importing parameter and it does not allow to change even using field symbol. Is there any other way. Is there an user exit which will be called when pressing enter button in component screen. The exit EXIT_SAPLCOBT_001 did not work for this.
    Error analysis                                                                     
        The program tried to assign a new value to the field "<F_FS1>" even though     
        it is protected against changes.                                                                               
    The following objects are protected:                                           
        - Character or numeric literals                                                
        - Constants (CONSTANTS)                                                        
        - Parameters of the category IMPORTING REFERENCE for functions                 
          and methods                                                                  
        - Untyped field symbols to which a field has not yet been assigned             
          using ASSIGN                                                                 
        - TABLES parameters if the corresponding actual parameter is protected         
          against changes                                                              
        - USING reference parameters and CHANGING parameters for FORMs if              
          the actual parameter for this is protected against changes    
    Regards,
    Prabaharan.G

  • User exit/BADI for updating Purchase Order Item

    I am would like to update the purchase order item - specifically field EKPO-REPOS in a user exit or BADI. I haven't been able to find one that allows you to update the purchase order item.
    Any input would be appreciated.
    Derick

    You can use BADI ME_PROCESS_PO_CUST for you requirement
    Method PROCESS_ITEM
    * Retrieve item data.
        CALL METHOD im_item->get_data
          RECEIVING
            re_data = v_data_item.
    Do you validations and changes here
    *update changes
    CALL METHOD im_item->set_data( v_data_item ).

  • Am I correct to say there's no BAPI/BAdI for updating an MSEG extension ?

    SAP allows you to append to MSEG in dictionary, although many customers agree this is not a good thing to do.
    But suppose your customer has decided to extend MSEG.
    As far as I can tell, SAP does not allow update of this extension via any of its BAPIs or BAdIs.
    My reason for claiming this is that:
    1) MSEG is received "importing", not changing, by the screen-handling interface  IF_EX_MB_MIGO_BADI that allows you to put a custom tab on MIGO
    2) MSEG is received "importing", not changing, by the standard MIGO update interface BAdI  IF_EX_MB_DOCUMENT_BADI.
    3) There are 79 flavors of Goods Movement BAPI, and so far as I can tell, none of them have "extension" capability (like the PR or PO BAPIs.)
    Do you all agree that:
    there is no way to update the custom portion of an MSEG record using an SAP provided BAPI or BAdI.
    If you disagree, please point me to the BAdI or BAPI that does this.

    Also, please note that extension capability, even in CREATE mode, is only available in a "new-style" BAdI, and therefore only at level ECC6 or above - this is spelled out specifically in Note 906314 - where it indicates that the BAdI is a "new-style" BAdI.
    So at ECC5, there is no extension capability for MSEG in any BAPI or BAdI, and at ECC6, it is still an open question in my mind as to whether there is extension capability in change mode.

  • FM/BADI for update of VBRK. Invoice

    Hi,
    Myscenarie: Get a file from external partner and update  SAP table: VBRK with referense nr.
    What is done:  I have made a custom idoc with a custom FM that grabs this referense and update a Z field in VBRK.
    Code:
    update vbrk set zzklarna_inv_nr = p_ls_z1klainv-zklarna_invnr
            where vbeln = p_ls_z1klainv-belnr.
    1. This code works just fine but I really want something more SAP Standard FM or BADI that make the same operation.
    Any pointers ?
    2. When this Z fiield is updated I need to trigger a output as well (setup under invoice today).
    Any pointers how this can be done ? (a dummy change on invoice (VF02) will trigger required output.)
    Br, Martin

    Try this code:
      LW_PRICINGC-REF_HANDLE = 1
      LW_PRICINGC-REF_KIND   = 'A'.
      Pass other field values which are required.
    INSERT LW_PRICINGC INTO TABLE IT_PRICINGC.
      LW_INPUT_FIELDSC-REF_HANDLE  = '1'
      LW_INPUT_FIELDSC-REF_KIND    = 'A'.
      LW_INPUT_FIELDSC-OBJECTNAME  = 'PRICING'.
      LW_FIELD_NAMES-FIELDNAME = <fieldname>.
      INSERT LW_FIELD_NAMES INTO TABLE LW_INPUT_FIELDSC-FIELD_NAMES.
    INSERT LW_INPUT_FIELDSC INTO TABLE LIT_INPUT_FIELDSC.
    Then call CRM_ORDER_MAINTAIN and then call CRM_ORDER_SAVE,COMMIT WORK.

  • Badi for update dates values in complaints

    Hi all
    I need to update the date of the status of the complaint, does any body know if there are a BADI or any other way to update this value ?
    I try with a DYNP_VALUES_READ function but can't found the dynpro where the vales are.
    any sugestion is grateful

    The  BADI name: SMOD_APOCF005 .
    T.code at APO : /sapapo/mat1
    Once we enter in that T.Code with some Product and Location data.
    There under PP/DS tab.
    Under Planning Procedure there is a field PP Plng Procedure which I want to set as 4
    And under Order Creation there is Plan Explosion which needs to be set as 5
    And Under Horizons there is PP/DS Horizon which needs to be set as 999.
    BADi is implemented and active.
    And once the data is CIF from ECC to APO
    These default values are not set in the T code in APO and the BADi is not triggering.

Maybe you are looking for

  • HT1600 can i add apps to apple tv

    can i add apps to apple tv

  • A/R Invoice Posting Split Revenue A/c Amount to muliple Revenue A/c

    Hi All, One of my customer wants to split his Revenue A/c amount into different Revenue A/c. Case : My customer is in Job work business, he do Coating and Painting Process. he charges Painting charges and coating charges on same Item sent by his cust

  • ##BUG## Jdev/ADF/UIX/SCM

    I'm developing an UIX application with jdev 9.0.5.1, adf and SCM to versioning. And i've been lost half day to catch an problem, that i think, was a scm bug. Explaining : I've create a uix page and, drag and drop a VO from data control to create inpu

  • New Computer.... Where are my Keywords, etc.?

    My old OS got really sick and needed to be "renewed".  I had to install a new HDD with a new OS, etc.  I was on Windows XP and the new OS is Vista. This all required a fresh install... basically no old application files were transferred....   The old

  • Router/Hub Questions

    My apologies in advance for such a lack of knowledge on these things but I am still trying to connect a pc and this mac to the same high speed wireless modem and also share files. First I tried using the ethernet connections on the back of the mac, p