BADI to populate CRM BDOC

Hi all,
I want to transfer condition records from CRM to R/3. To do this we enhance BDOC type:CRM_MKTPL_MKTELEM by creating new child segment with additional fields. We need to populate these fields. How do we find out the BADI to populate these fields?
Its very ugent!!
Thanks in Advance!!

Hi Ntk,
Thanks for your reply.
I tried to search in se18. I found one BADI that runs when users enter new materials or changes the quantity of the sales order.
This one  does not help us too much, because when you go to conditions tab (into CRMD_ORDER or via ICWEB) all conditions are redetermined with the pricing determined in IPC.
We want to fill the conditions of the sales orders or the sales quotations at running time. In the BADI we would use the function module RFC SD_SALESDOCUMENT_CREATE (in simulation mode) in R/3 and retrieve all conditions fields and then populate the pricing conditions in CRM.
Do you know any BADI with this behaviour? Or another similar?
THANKS!

Similar Messages

  • BADI trigered in CRM while creating a order from B2B webshop

    Hellow Gurus,
    Could you please tell the BADIs triggered in CRM when we create an order from B2B webshop. I have to keep a validation to ensure the delivery type 'Standard' should be applicables orders having gross weight less thatn 4 kg only.
    I should also throw an alert in B2B webshop saying ' Please choose other type' as well. I dont know how to proceed for this.
    Please help.

    Hello,
    The  best way to determine the BADI's called is to look at the Log files.  The following OSS Notes (based on your release) will instruct you how to create a session trace.
    Note 569976 (Release 4.0)  - creation fo session logs
    Note 1090753 (Release 5.0) - Creation of logs for B2B and B2C
    Note 1156730 -  Creation of logs for ISAUserAdm and ShopAdmin
    You can also look at the [Modifiation and Extension guide |https://websmp210.sap-ag.de/~sapdownload/011000358700000469462006E/]for instructions (chapter Session Tracing).
    I hope this helps.
    Deb

  • Is there any user exit/ badi to populate the partner bank type for   F-63.

    Is there any user exit/ badi to populate the partner bank type (field name BSEG-BVTYP) in transaction F-63. There is exit ‘ZFI_FOAP_CDITEMS_00001011’ having BKPF and BSEG as only import parameters so I can’t change the value for BSEG-BVTYP.
    So could you please let me know any exit where I can change the value for BSEG-BVTYP for transaction F-63?
    Thanks in Advance,
    Steevan

    hi,
    Below r the user exit related to transaction  F-63.
    Check out if any of them will solve ur Query..
    F050S001            FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
    F050S002            FIDCC1: Change IDoc/do not send
    F050S003            FIDCC2: Change IDoc/do not send
    F050S004            FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
    F050S005            FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006            FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007            FIDCCH Outbound: Influence on IDoc for Document Change
    F180A001            Balance Sheet Adjustment
    FARC0002            Additional Checks for Archiving MM Vendor Master Data
    FEDI0001            Function Exits for EDI in FI
    RFAVIS01            Customer Exit for Changing Payment Advice Segment Text
    RFEPOS00            Line item display: Checking of selection conditions
    RFKORIEX            Automatic correspondence
    SAPLF051            Workflow for FI (pre-capture, release for payment)
    Reward points if helpful,
    Regards,
    Brijesh

  • User exit/BADi to populate the header text in MIRO transaction

    Hi all,
    I am searching user exit or badi to populate the header text in MIRO transaction.
    My requirement is, before post the invoice I need to populate the some text in Header text field (MIRO -> Details tab -> header text field). I need to populate this field in the MM document as well as FI document (Accounting Document). I have tried all the user exits and BADi's related to MIRO/MRRL. Doesn't work. If anybody knows please share.
    Thanks,
    Santosh
    Edited by: Santosh Ghonasgi on May 13, 2010 4:48 PM

    Hello santosh,
    I am not sure whether a suitable exit / BADI exists to update the header text in MIRO directly.
    there is one related forum:
    User exit/BADi to change the header text in MIRO transaction
    Hope, it may helpful for you to proceed with some other parallel solution.
    Regards,
    Selva K.
    Edited by: Selvakumar Krishnan on May 13, 2010 5:29 PM

  • CRM BDOC like IDOC ?

    Hi,
    please tell me if BDOC is the same as IDOC or where are differences. How is the administration of BDOCs handled?
    Sorry, don't know - new to CRM.
    Kind regards,
    Clemens

    Hi Clemens,
    Please check this links perhaps it may help for quick introduction.
    http://www.sapgenie.com/mysap/crm/middleware.htm
    http://www.sapgenie.com/mysap/crm/bdoc.htm
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Badi to populate location field

    Hi
    I need to write a BADI to populate location field in my service request.This is trouble ticket project i need to get the location code for the TT(trouble ticket)requestor and populate that in the service request order.
    Can anyone help me by giving a sample BADI?or how go about it
    Thanks
    Asha

    Hi Keerthi,
    Did you manage to find a solution for this?
    If so, can you share it with us?
    Thanks a lot!
    Susana Messias

  • CRM Bdoc Documentation

    Hi,
    Can anybody please send me some CRM Bdoc documentation.I will reward the person with points.Hoping for some help on this..
    My mail id is [email protected]
    Thanks and Regards,
    Amit.

    Hi Amith,
    Please have a look the following link for your information.
    http://help.sap.com/saphelp_crm50/helpdata/en/b7/d4ef3a1cc5862ae10000000a11402f/frameset.htm
    Best Regards,
    Johnny.

  • CRM Pricing - BADI to Populate pricing conditions fields

    Hello All,
    We have CRM 5.0 installed in our customer.
    We are facing problems when we tried to replicate the pricing  from R/3.
    Basically, all Brazilian formulas we have in R/3 are Z. We tried to replicate them in JAVA (IPC) with no success. At this time, it is imposible for us to move to the standard because of the decision of the business.
    We are trying to find one BADI where we can populate all the pricing conditions retrieved via RFC from R/3. Unfortunatelly we don't have good luck with this.
    Our idea is to use this BADI to call R/3 and retrieve the conditions needed, and then populate the CRM pricing fields..
    Could you please help us? Do you have any other idea to solve this issue?
    This is very critical for us.
    Thanks in advance.
    Martin

    Hi Ntk,
    Thanks for your reply.
    I tried to search in se18. I found one BADI that runs when users enter new materials or changes the quantity of the sales order.
    This one  does not help us too much, because when you go to conditions tab (into CRMD_ORDER or via ICWEB) all conditions are redetermined with the pricing determined in IPC.
    We want to fill the conditions of the sales orders or the sales quotations at running time. In the BADI we would use the function module RFC SD_SALESDOCUMENT_CREATE (in simulation mode) in R/3 and retrieve all conditions fields and then populate the pricing conditions in CRM.
    Do you know any BADI with this behaviour? Or another similar?
    THANKS!

  • Initial Load of IS-U business partners to CRM - bdoc error

    Hi Gurus,
    i try to do an initial download from R/3 IS-U to CRM. Several objects from customizing have already been downloaded successfully. When downloading the business partners i get a bdoc error message for every single BP saying that
    'business partner role MKK is not available' Number R1206
    I figured out that the business partners in IS-U do have that role 'Contract partner' (which is technical 'MKK') and that data is maintained there. I also checked CRM and figured out that a business partner role 'contract partner' is not available there.
    Should i create it manually?? It is nowhere mentioned that a CRM role 'contract partner' should be created manually. Shouldn't the middleware do that? I found a document on service marketplace called 'IS-U specifics on the setup and load guide for the business partners' where i can read:
    'Sold-to-parties in CRM are replicated as contract partners in the OLTP system and vice versa'
    Does that mean that this mapping of roles is hardcoded? Is it customizeable? Does somenone know where to customize the mapping of business partner roles?
    Thank you
    Edited by: sapgipsy on Mar 19, 2010 4:21 PM
    Edited by: sapgipsy on Mar 19, 2010 4:22 PM

    Looks like as if you haven't activated the IS-U specific FM "COM_BUPA_MWX_BPS_FILL_ISU" in the BP middleware framework where the conversion between the IS-U role "MKK" and the CRM role "CRM000" takes place:
    Check via SM30 table com_bupa_call_fu in the IS-U system if the above FM is activated.
    Regards,
    Alexander

  • BADI to populate Asset Master Class valu in Account Assignment Item Detail?

    Hi All,
    In Shopping Cart  - COST ASSIGNMENT - Account Assignment Item Details   Tab 
    we have
    Create New Asset Master Record    section  and the field
    Choose an Asset Master Class 
    I need to populate this field (Choose an Asset Master Class) with my own value.
    What BADI I can use to populate value on this field? Any ideas?
    Thanks in advance.

    Hi,
    As i told you there is no badi to do this.
    1-What you can do is to create a CUF in the accounting tab to store your asset category.
    You will then have to
    2- hide the standard field but let the standard populate it with a default value from the org structure
    3- add in the SRM iMG the cuf field for the accounting data.
    4- code bbp_doc_change_badi to populate your CUF field
    5- code bbp_driver_determine in order to call the FM to create the asset
    6- create 1 FM in ECC to create the asset (copy of bapi_fixedasset_create1)
    Hope this helps,
    Kind regards,
    Yann
    Edited by: Yann Bouillut on Apr 15, 2009 5:23 PM

  • BAdI for replacing CRM Pricing

    Hi Experts,
    I have a requirement to make a RFC call to retrieve the pricing from ECC/Vistex in CRMD_ORDER transaction after hit enter key with product/qty entry. I'm searching a BAdI for CRMD_ORDER (so many BAdIs for this TC) that can RFC by customer/material to retrieve the pricing from ECC then overwrite CRM's pricing with it (at least has customer/material as importing and subtotals as export/changing). Can anyone please advise if there is a BAdI for this purpose?
    Thanks in advance, Jin

    In CRM_PRICING_I_BADI-MERGE: there are netvalue/price and subtotals in Importing IU/S_PRICING_I_WRK, but not in Changing CS_PRICING_I_BADI. 
    In CRM_PRICING_BADI-MERGE: there are none of them. 
    Why PRICING BADIs have no Pricing fields that can be changed? I think I'm missing something here.  Any advise / documentation?
    Thanks, Jin

  • BADI application in CRM

    Hi Experts,
    I have see the usage of BADI in several occasion,
    in which areas the BADI is been used frequenlty.
    wat can be the application of BADI in webui
    Thanks & regards
    Prajith P

    most Common BADI in CRM
    ORDER_SAVE
    CRM_OPPORT_H_BADI
    CRM_ORDER_STATUS
    CRM_COPY_BADI
    EXEC_METHODCALL_PPF
    COM_PARTNER_BADI
    CRM_ACTIVITY_H_BADI
    CRM_CHNGPROC_H_BADI
    CRM_CLA_H_BADI
    CRM_CUSTOMER_H_BADI
    CRM_FUND_H_BADI
    CRM_LEAD_H_BADI
    CRM_OPPORT_H_BADI
    CRM_ORDERADM_H_BADI
    CRM_SERVICE_H_BADI
    CRM_SRV_REQ_H_BADI
    CRM_UIU_BP_ENHANCEMENT
    BADI_CRM_BP_UIU_AUTHORITY
    BADI_CRM_BP_UIU_DEFAULTS
    BADI_CRM_BP_UIU_VIEWS
    CRM_BP_UIU_BT
    CRM_BP_UIU_CONFIG_CALLBACK
    CRM_BP_UIU_SAVE
    CRM_BP_UIU_VIEW_CONFIG
    CRM_PRODIL_UIU_BADI
    CRM_UIU_CT_INBOX_WF
    regard ,
    vijay.

  • Some solution like BADI to populate Authorization Group in BP Transaction

    Hello All,
    Well, scenario is to populate the screen-field Authorization group BUT000-AUGRP that could be found in Control Tab under box 'Control Parameters' based on provided BP number that bears a logic based on some country validation.
    Please help me find some solution for eg: like a BADI that triggers to populate the field Authorization Group.
    Or some function module that could be considering the input of the BP number and Authorization group and after its execution, when the BP number is checked in T.code BP we should be able to find the value visible in Authorization Group screen-field.
    Just by providing BP number the field Authorization group needs to get populated automatically, as in for both Create and Change mode cases in BP transaction code.
    Appreciate your expertise to provide an answer at the earliest.

    Hi
    Please help me any one I am now having the same task to do so

  • CRM Bdoc to IDoc Conversion

    Hi All,
    I have extended BUS_TRANS_MSG Bdoc with custom Fileds ( as per requirement) and am looking to Convert the BDoc to IDoc.
    So Can any one know how to convert Bdoc to Idoc in SAP CRM 7.0.
    Kindly help me on this.
    Thanks,
    Raja

    Hello,
    The best way to interface data from CRM to external systems is by using the XIF adapter.
    The XIF adapter can be used to create outbound extractions via CRM middleware. Look in this forum or read the documentation for CRMXIF_ORDER_SAVE in your system to get a basic understanding.
    Basically you need to setup an outbound subscription to the XIF adapter for all business transactions.
    If you want to brute force the problem use the CRM_ORDER_READ function module combined with custom selects on CRMD_ORDER_INDEX to grab most of the data needed.
    some helpful links:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/406efa7e-388a-2910-f9b8-81913b0ca57f?quicklink=index&overridelayout=true
    XIF adapter
    regards,
    Wim Olieman

  • CRM BDoc

    We are transferring BDOCs to our R/3 system via the BUPA_MAIN BDOC.
    The problem we have is that our R/3 system is heavily modified.
    What I would really like to know is to find out which function module / BAPI / RFC / Class is called by the CRM business partner creation BDOC on the R/3 server that actually begins the creation of business partner transaction - so that we can debug on it.
    If anyone knows what the function module is ( or if its a generated function module - how to find what the generated module is) this would greatly assist us in our analysis of the problem.
    Many thanks in advance.

    Hi Vin,
    In CRM system, the main MF called is CRM_UPLOAD_AFTER_MAP_HANDLER. Here, pay attention to the following call:
                  IF lv_synchron IS INITIAL.
                    CALL FUNCTION 'CRM_UPLOAD_TRIGGER'
                      IN BACKGROUND TASK
                      DESTINATION gv_smof_erpsh-rfcdest AS SEPARATE UNIT
                      EXPORTING
                        i_bapicrmuh1  = i_bapicrmuh1
                      TABLES
                        ti_bapimtcs   = lt_bapimtcs_x
                        ti_bapiparex  = t_bapiparex
                        ti_bapicrmsfk = t_bapicrmsfk
                        ti_event      = lt_crmevobj.
                  ELSE.
                    CALL FUNCTION 'CRM_UPLOAD_TRIGGER'
                      DESTINATION gv_smof_erpsh-rfcdest
                      EXPORTING
                        i_bapicrmuh1  = i_bapicrmuh1
                      TABLES
                        ti_bapimtcs   = lt_bapimtcs_x
                        ti_bapiparex  = t_bapiparex
                        ti_bapicrmsfk = t_bapicrmsfk
                        ti_event      = lt_crmevobj.
                  ENDIF.
    This piece of code will be responsible for the RFC call to the R3 system. You can start debug it from here.
    For me the main objects in R3 system to debug are MF PI_BP_PROXY_BAPI_CUSTOMER or include LVV02F3J (where the call transaction will be made).
    Finally, just to add that in order to debug in R3 system, you'll need to set an external break-point to the user that makes the RFC call (configured in SM59 - Must be dialog user).
    Hope that this may help you a little more.
    Kind regards,
    Garcia

Maybe you are looking for

  • Repeat depreciation run can change cost center in GL a/c or not?

    Hi Gurus, I have hit the following issue. Fixed Asset 1 originally assigned to CC-01 for month of March. And my user has run depreciation for March already. Later she changed cost center to CC-02. Then she repeat depreciation run for the month of Mar

  • Payment document cleared and invoice document number cleared

    Dear experts,     Could you please help me to locate (table and field name) what is the payment document number clear and invoice document number cleared ?     In my point of view, the invoice document number is :           BSAD-BELNR: Customer Invoi

  • Migrate Library to External HD

    I've been trying to move my entire library off of my 17" MBP to an external HD (including ratings, playlists, play counts, etc.) so that I can more easily move between that machine and my 15" MBP. I followed Apple's directions a few times and tried t

  • Flooring pictures in adobe premiere pro

    For my company we need to make nice pictures for clients, where on the adobe website could you download the adobe premiere pro

  • Photoshop CS5 and 64 bit

    I'm confused, can CS5 run in Leopard at 64 bit or do you have to go to Snow Leopard?