COPY Control BADI

Hi All,
I need some inputs... I have to updated Opportunity transaction from Lead Transaction.
Scenario is : We are using Copy control. Where when we create a lead and save it, then we select Create follow up document where we select Opportunity.
And now we have to capture all the Z fields value from lead to Opportunity Zfields screen tab.
I am using the BADI CRM_COPY_BADI and in that i am putting the break point in method Opport_H ,OPPORT_I.
But the transaction is not stopping over there. Is there some other way to capture the created lead when we use follow up transaction.
And if someone has done it before can please let me know the step by step procdure.
***********************Points will be rewarded******************
Thanks in Advance.

Hi Anu,
Can you pls let me know, how you have achieved your requirement?.
Even I too required to write some logic in DATES method of the same BADI. But this is not at all triggering.
Your inputs will be highly appreciated.
Thanks in advance.
regards,
Usha.

Similar Messages

  • How copy IBASE in  copy control badi

    HI
    I add some field in an task document for input IBASE and componet and then I want to create follow up transaction , it's a service order , I want to use copy control badi to fill the IBASE and componet fields from task to order , so I write some code in the method REFOBJ of the copy control badi.
    But when I debug this programe ,I found it will not call this method ,and if I set a breakpoint in the method ORDERADM_H, it is OK .
    I have define copy control for transaction type and fill the copy routine .
    Does it have any confingration can let it call the REFOBJ method ?
    Edited by: cui joe on Apr 27, 2009 9:02 AM

    DonHalt wrote:
    I'm fairly new with MAC BOOK and have only found how to Move files in Finder.
    How can I copy files instead of moving them??
    If you drag a file to a new location on the same volume the file will be moved. If you drag the file while holding down the option key it will be copied to the new location instead of moved. The reverse is also true. If you drag a file from one volume to another volume it will be copied. If you drag the file while holding down the option it will be moved instead of copied.
    You can also Copy/Paste a file like you do in Windows. You cannot, however, Cut/Paste a file to move it.

  • Zfield value not copied in copy control

    Hi Experts,
    I have created zfield "net value" in complaints item list. when i do copy line item from order to complaints, all the other standard field values get copied except zfield which i have added.
    Kindly suggest how to solve this issue.
    Thank you,
    Cha

    Please use the copy control BADI CRM_COPY_BADI. This functionality is achieved through copy control feature. For the standard components , the standard fields are copied but for custom fields you have to implement the BADI CRM_COPY_BADI.
    Regards
    Kavindra
    <Moderated>
    DO NOT ask for Points.
    <Moderated>
    Edited by: Harshit Kumar on Nov 16, 2011 8:52 AM

  • Copy control for Questionnaire from Opportunity to activity

    Hi All,
    I have the Business Requirement to copy updated Questionnaire from Opportunity to follow up activity / Task.
    Can anyone suggest if is it possible through Copy control BADI or any other Enhancement.
    Thanks & Regards
    Amit

    Hi,
    please implenet this BADI 'CRM_COPY_BADI' and put the break point and do debugging then u will get clear idea..
    after that please let me know ur comments..
    Regards,
    Bixamaiah.

  • Copying controls (Restriction for Products)

    Hi All,
    Client creating the opportunity for A,B,C products
    status of products (at item level)
    A - Inprocess
    B - Completed
    C  - Loss.
    Here the requirement when the quotation is created with refference to Opportunity system should allow to create quotation for product B only (Status should be "completed" ).
    Can any one help me to solve this issue
    Thanks
    Gskumar

    Hi sathish,
    Try using the Copy control Badi CRM_COPY_BADI, or use make use of Copying routines in the settings for copying item category.
    Here u can have a check on status, only if it is completed copying should be allowed.
    Regards,
    Shalini Chauhan

  • BADI implementation for Copying control in CRM

    HI,
      Can anybody help me for my requirment, i want to implement BADI for copying control in CRM how to implement, and i want to filed in qutation screen how .
    Regards,
    Sivakumar.

    Check the BADI "ME_PROCESS_PO_CUST".
    Regards
    Vinod

  • Follow-up transaction copy control for opportunities

    Our CRM system is currently configured to permit follow-up opportunity creation.  When follow-up transactions are created all product categories are copied to the new opportunity.  We would like to stop this.  All header and business partner data should be copied as present, however product information should not be copied.  (i.e. follow-up transactions currently work, we only want to switch off product data copying)
    I am not familiar with follow-up transaction customization, and not sure exactly where to start.  Should I be modifying the current BAdI or is there a standard customizing option to switch off copying of product categories?

    Hi Derek,
    Just try this:-
    Go to SPRO->IMG->CRM->Transactions->Basic Settings->Copying Control for Business Transactions->Define Copying Control for Transaction Types.
    Search for entry Source=oppt and target=oppt.In this entry, uncheck the check box-Copy Item Number and see if it resolves your issue or not?
    Thanks and Regards,
    Rohit

  • Repricing the SAP contract generated from follow up doc in copy control

    Hi,
    I am facing issue with the conditions copy at item categories level at the time of follow up document in copy control.
    The challenge is like this:
    There is an option for the conditions copy for line item level upon which the corresponding pricing is generated.
    D -- Copy all Conditions
    C -- Copy manual conditions
    The issue here is at config level they will maintain only Copy manual conditions depending upon whether it is a follow-up / Copy it should change the behavior as Copy all Conditions.
    I tried to do this with crmv_event(After with reference::50) though but the problem is its triggering after the pricing got generated.
    Welcome you ideas to resolve the issue.
    Thanks & Regards,
    Madhu J

    Hello Ravikanth
    With status management it's not possible to prevent the creation of follow-up documents in CRM.
    You have to use the badi CRM_COPY_BADI. Here the exception DO_NOT_COPY must be raised. But it's not possible to gray out the path of the follow-up transactions e.g. for 'varian quote'.
    I hope this could be helpful.
    Best regards,
    Maggie

  • Mapping Copy Control for Business Partners in 7.1

    Hi everybody,
    while in 7.0 IMG activity "Define Mapping Rules for Copy Control" in "Copy Control for Change Management" offers 3 options (partners, texts and dates) it offers only texts and dates in 7.1. Can anyone tell me where I can define any kind of mapping to copy a partner for one document to it's successor in 7.1?
    Thanks in advance!
    Cheers,
    Andy

    Hi Andy,
    sorry to say but Daniels way doesn't work. In 7.1 ChaRM and Incident the transaction type copy has changed in a way that we invoke the CRM standard Copy Control and have a BadI there only for specific things.
    Partner copy runs via CRM standard partner copy. That means:
    1.) You have assigned an access sequence in each partner Determination (area Partner Functions in Procedure) for the partner function: 
    2.) You have customized an access sequence is defined here:
    So, please just customize the partner copy as you would in CRM standard.,
    Best regards,
    Michael

  • CRM Copy control: CRM_COPY_BADI for document relationship

    Hello!
    I need CRM copy control from an opportunity to another opportunity. The implementation of badi CRM_COPY_BADI should include document relationships: target document should be related to the same documents linked in the source document.
    I cannot find a method to do this.
    Please, could anyone suggest me a solution?
    Thank you.
    Kind regards.
    Elena

    Hello Elena,
    Please follow the steps below:
    1) Go to transaction CRMV_EVENT
        Click on "Object Function/Callback" button
        Create a new entry with following values:
        Function Module: ZCRM_DOCFLOW_COPY_EC
        Object Function: CRM_DOC_FLOW
    2) Go to IMG Path: Customer Relationship Management -> Transactions -> Basic Settings -> Edit Event Handler Table :
    Here create a new entry with the following details
    Trans. Category       BUS2000111     Opportunity
    Execution Time        1                                Immediately
    Priority                    99
    Object Name            ORDERADM_I                       Administration item
    Event                       AFTER_CREATE_WITH_REFERENCE
    Attribute                   <*>
    Function                  ZCRM_DOCFLOW_COPY_EC
    Perform Function for Doc.Header = "Checked"
    Perform Function for Document Item = "Checked"
    Call Callback = space
    3) Create function module ZCRM_DOCFLOW_COPY_EC with the following signature:
    *"  IMPORTING
    *"     REFERENCE(IV_STRVAL_OLD) TYPE  ANY OPTIONAL
    *"     REFERENCE(IV_STRVAL_NEW) TYPE  ANY OPTIONAL
    **Code:
    DATA:
      FIELD-SYMBOLS:
              <ls_orderadm_i_wrk>  TYPE crmt_orderadm_i_wrk,
              <lu_orderadm_i_wrk>  TYPE crmt_orderadm_i_wrk.
      ASSIGN iv_strval_new TO <ls_orderadm_i_wrk>.
      ASSIGN iv_strval_old TO <lu_orderadm_i_wrk>.
    4) Now in this function module you can read the docflow of old opportunity (<lu_orderadm_i_wrk>) using 'CRM_DOC_FLOW_READ_OB'
    Build the new docflow entry for the new opportunity and call 'CRM_DOC_FLOW_MAINTAIN_OW'
    Please let me know if any questions.
    Thanks,
    Sandeep

  • Copying control from activity to opportunity

    Hi All,
    My client requirement is such that all the data under tab Additional Data B in transaction activity should be copied to opportunity when you create it as follow up document.Can anyone help me implement this copying control?
    Thanx,
    Lalitha

    Hi Radek,
    The Badi does not get called since any follow ups from activity does not require any copy control settings in SPRO.
    As you must be aware, that this Badi is filter dependent and the filter which is called the copy routine is assigned in the customization of Copy Control for transaction type.
    You can try using the CRMD_ORDERADM_H_BADI
    Regards,
    Shalini Chauhan

  • Possibility of creation of Master Contract through Copy controls not direct

    Hi,
    Our requirement is to create a Quantity Contract from opportunity through copy controls. At the same time the system should not allow to create a Quantity contract directly through the transaction code crmd_order.
    Is there any way to block the creation directly but allow to create by copy controls.
    Thanks in advance,
    Venki

    hi
    what i understood from your requirement is that you do not want to create contract directly,but u desired that its always get created in follow up to the opportunity
    then as i told you earlier too,have you did that in customisation of your transaction type
    like selecting the option blocked for online mentainance
    that way the contract transaction wont be able to get created directly using CRMD_ORDER
    but as you wanna create in follow up to the opportunity
    so you can select contract as short cut in opportunity transaction type
    this way u get ur issue solved
    we use BAdi when standard isnt enough to solve the probs,if above customisation doesn solve ur probs then use this BAdi CRM_ORDERADM_H_BADI.
    best regards
    ashish

  • BAPI - Sales document - Copy control issues

    Hi,
    I am creating a Credit memo referencing an invoice using the function "SD_SALESDOCUMENT_CREATE'.
    I get the invoice pricing details using RV_INVOICE_DOCUMENT_READ. Populate the inputs manually and pass those values to SD_SALESDOCUMENT_CREATE' with the flag  logic_switch-pricing set to  'G'.
    I have two issues,
    1. Group conditions(Freight) value is not copied from the value that is passed.   Please let me know
    2. pricing procedure is not copied. But I was able to overcome this by exporting the invoice pricing procedure to memory before calling the fn "SD_SALESDOCUMENT_CREATE" and importing the value in the Sales order userexit(MV45AFZZ) and change pricing procedure in tables tkomk / VBAK . Not sure if this is the correct way to implement. Please advise.
    Thank You.

    Hello
    If you want to copy all the details from invoice to credit memo request and modify the pricing type to 'G', then
    please follow the below steps
    1. Use BAPI_SALEDOCUMENT_COPY - This will copy the invoice data to credit memo.
    2. If you need to modify the Credit memo data based on credit memo type then ask the functional owner to put the custom copy control routine (VOFM routines) and you can modify the custom routine for the VBAK/ VBAP and VBKD etc as required.
    3. For the pricing issue, you need to implement a BADI in program MV45AF0T_TVCPA_SELECT. The enhancement spot is Enhancement-point TVCPA_SELECT_01 SPOTS ES_SAPMV45A.
    Here modify TVCPA-KNPRS = 'G'  when TVCPA-AUARN = < Credit memo Type>.
    There may be other validation, depending on the business need.
    Let may me know, it helps you. Thanks.
    Edited by: Atul Mohanty on May 31, 2011 8:12 PM
    Edited by: Atul Mohanty on May 31, 2011 9:14 PM

  • Copy control for texts

    Hi experts,
    I am trying to copy control for text objects between ZSMN (Copy of SLFN) & ZNSR(Copy of SLFN). In transation type "ZSMN", i have maintained text object "ZUZZ-Log", which copies all the text entries(Description, Internal Note & Query).
    I have maintained the text object "ZCPY-Log of ZSMN " in the transaction type "ZNSR".
    The requirement is:
    All the texts which has been captured in "ZUZZ" in the transaction type "ZSMN" to be copied to "ZCPY" in the transaction type ZNSR.
    I have made the copy control in the SPRO for these text objects. But still the texts are NOT getting copied from ZSMN to ZNSR.
    Need your valuable inputs
    Regards
    Senthil

    Hi Andy,
    sorry to say but Daniels way doesn't work. In 7.1 ChaRM and Incident the transaction type copy has changed in a way that we invoke the CRM standard Copy Control and have a BadI there only for specific things.
    Partner copy runs via CRM standard partner copy. That means:
    1.) You have assigned an access sequence in each partner Determination (area Partner Functions in Procedure) for the partner function: 
    2.) You have customized an access sequence is defined here:
    So, please just customize the partner copy as you would in CRM standard.,
    Best regards,
    Michael

  • Copy control - activity to opportunity

    Hello,
    Does anybody know how to set value on a field on opportunity in situation when user creates opportunity as follow up to activity?
    i tried with badi CRM_COPY_BADI but didnt work.
    Regards
    Radek

    Hi Radek,
    The Badi does not get called since any follow ups from activity does not require any copy control settings in SPRO.
    As you must be aware, that this Badi is filter dependent and the filter which is called the copy routine is assigned in the customization of Copy Control for transaction type.
    You can try using the CRMD_ORDERADM_H_BADI
    Regards,
    Shalini Chauhan

Maybe you are looking for

  • Using UML while designing Object oriented design in ABAP

    Hi, Is it a general practice in projects to use UML diagrams when you do OO design for a report in ABAP ? Or do people start writing th OO code directly ? Reards, Rajesh

  • BLOB image not shows in JSP page!!

    Hi Dear all, I had tried to configure how to show BLOB image to jsp page . The code are works fine and servlet works ok but image can not show only. can you help me that what need to be added. Please help me. Can any experts help me? BLOB image not s

  • Insert while using multi table

    Hi I have created a class and using multi table feature to retrieve fields from couple of tables. These tables are associated via Foreign key. This works fine while select, but fails while insert a new record in primary table using unitOfWork. Here i

  • How to make different inside/outside margins for only one section?

    I'm creating a Pages template and want to have several different section layouts. I've figured out most of them, but haven't been able to get one section to work as I want it. The problem is that I want a 3 inch left margin on odd-numbered pages, and

  • My AE wont open with out crashing, HELP!?

    this is what it tells me instantly when trying to start a new composition or when droping in compositins from premiere pro. it just randomly started doing this out of nowhere.