Problem in changing follow up document Transaction type using CRM_COPY_BADI

Hi,
I am creating follow up document ( Service Contract ) to another service contract. Now Based on a condition, in CRM_COPY_BADI, I have to change the follow up document type forcefully to Service Contract Quotation.
Menas, eventhough I select ZSC, I have to change it to ZSCQ using CRM_COPY_BADi.
Can you please help me, how to do it.
Thanks
Sandeep

Yes, Rajesh is right. You can use action profile for that kind of stuff. For the action just use the method call COPY_DOCUMENT. And of course you then create several action which trigger this method and in action parameters define which action is triggerred when.
Regards.

Similar Messages

  • Transaction type used for FA posting to depreciation area 01 (ordinary dep)

    Hi Expert,
    There is a difference between my ordinary dep area 01 and book dep area 03.
    area 01 is having a USD100
    area 03 is having zero USD
    I need to zerolized area 01.
    I have created a new TTY and limit the dep area posting to 01 in OAYA. However, when I tried to post via ABZE, it is giving me an error message AA350.
    Diagnosis
    According to Table T093A, if you use transaction type 050, area 03 has to adopt values from area 01 (chart of depreciation TPGL). However, the specifications made in Table TABWA for the two areas do not agree.
    Procedure
    Maintain the transaction type using the Customizing menu. Both areas have to have either the indicator 'propose for posting' or 'has to be posted'.
    I have checked both tables and it is not allowing me to post to area 01 only. I have done this before by creating a new TTY and post to area 02 and it works.
    Please advise soon how to rectify this.
    Thanks.
    Angel.

    Hi,
    please check ion OABC if area 02 takes over the values identically.
    regards Bernhard

  • Sending manual Email creates a follow up document of type Complaint.

    Here are the steps which I have followed:
    1. I login to IC WebClient and create a complaint. Close the Browser.
    2. Login back to the ICWebClient. Click on Inbox and open the last created complaint. Click on Email (On the NavBar) and manually send an email to any user. Click on End button and close the browser.
    3. Login back to the ICWebClient. Click on Inbox and do a search.
    You see there is another complaint document created which is actually a follow up document for the complaint which I have created. And this follow up document stores the email sent. <i>The problem is that two documents of type ‘complaint’ are getting created. One a main document and the other follow up document which stores the email sent.</i>
    What we want is if the agent sends an email for a complaint, then we want all the emails to be stored as part of that complaint transaction document.
    Am I missing any setting or is this is the standard behavior of SAP.
    Message was edited by:
            Rakesh Jain

    Hi Rakesh,
    Check this SDN post:
    FM or Sample program to send email
    Hope it will help
    Thanks,
    Arjun
    Pl. Reward points........................

  • How to change the description of Transaction Type

    hi ,expert
       i want to change the description of Tansaction type.
        eg, change the description of BUS2200 :'RFx  '   to 'RFQ' . 
        please give me some advice. thanks in advance.
         regards
                claud

    Hi Claud,
    Go to SPROSRM ServerCross App Basic SettingsNumber rangesDefine transaction typesSelect BUS2200 and double click on transaction typesHere you will see BID (transaction type)--Just double click on this and in the screen that follows change the description.
    PS: The system will generate a transport request.
    Regards,
    Nikhil

  • Problem in creating follow-on document (RFQ) for a bid invitation.

    Hi Experts,
    We have an issue while creating follow-on document(RFQ) for a bid invitation.
    Process is as follows :
    We have a bid invitation and sent it to two vendors. After this, created two responses one is accepted and another one is rejected.
    Now the accepted bid is ready to "Create follow-on Document(RFQ)". But when we do this, the bid with rejected vendor also including in the follow-on document. This should not be the case.
    The follow-on document should include only the accepted bid, but not the rejected bid.
    Could anyone tell me how to achieve this ?
    Thank you very much in advance.

    As far as I understand, what you described is the standard behavior. ALL undeleted vendors are copied over to the follow-on RFQ regardless if their bids have been rejected or not. What you can do is to implement BBP_DOC_CHANGE_BADI for BUS2200 and explicitly remove the vendors which created rejected bids. Make use of the header field "copy_of_guid" to identify the originated RFQ.

  • Excise Transaction type used in J2IUN

    All SAP Gurus,
    which Excise Transaction type is used in J2IUN?
    Regards,

    there will not be any ETT for Utlization process..
    ref the link
    Re: Exise Transaction type and Document Type for part 2 record created by J2iun

  • How does the transaction type use?

    Hi everybody:
        A question often comes out of my mind, it makes me confused.
    When you post a accounting document in Asset module by using f-91.... input a transaction type in it, then the system can post to an G/L account for you. I wanna know how the transaction type links to a general ledger account?
    and I guess there must have some relations between the transaction type (maybe transaction type group) and AO90 configration.
    Any help will be really appreciated

    Hi expert
    I m a newcomer,so my expression may be ambiguous, sorry about that
    As U said that Here u mention the GL accounts against which ur acquistion, depreciation, sale of asset , scrape, loss/gain on sale of asset are maintained.
    I still dont kown How a GL Acc in AO90 i.e acquistion links to a transaction type(or transaction type group). U know there are lots of GL Accounts in AO90 acquistion group. When  I post a doc in fi, which Acc is chosen by the system? and how?
    Regards,
    James

  • To change vendor no for condition types using BAPI_PO_CHANGE

    Hii,
    how to change vendor no for certain condition types using BAPI_PO_CHANGE.
    Is it possible .
    Any parameter is there.
    Plz help urgent
    Title edited by: Alvaro Tejada Galindo on Jun 12, 2008 5:23 PM

    Hi,
       It is possible.
    wa_pocond-vendor_no = wa_konv-lifnr.
    wa_pocondx-vendor_no = 'X'.
       wa_pocond-condition_no = wa_konv-knumv.
        wa_pocond-itm_number = wa_konv-kposn.
        wa_pocond-cond_type = wa_konv-kschl.
        wa_pocondx-condition_no = wa_konv-knumv.
        wa_pocondx-itm_number = wa_konv-kposn.
        wa_pocondx-cond_type = 'X'.
        wa_pocondx-change_id = 'U'.
        APPEND wa_pocondx TO it_pocondx.
        CALL FUNCTION 'BAPI_PO_CHANGE'
          EXPORTING
            purchaseorder                = wa_konv-ebeln
          POHEADER                     =
          POHEADERX                    =
          POADDRVENDOR                 =
          TESTRUN                      =
          MEMORY_UNCOMPLETE            =
          MEMORY_COMPLETE              =
          POEXPIMPHEADER               =
          POEXPIMPHEADERX              =
          VERSIONS                     =
          NO_MESSAGING                 =
          NO_MESSAGE_REQ               =
          NO_AUTHORITY                 =
          NO_PRICE_FROM_PO             =
        IMPORTING
          EXPHEADER                    =
          EXPPOEXPIMPHEADER            =
         TABLES
           return                       = it_return
           poitem                       = it_poitem
           poitemx                      = it_poitemx
          POADDRDELIVERY               =
          POSCHEDULE                   =
          POSCHEDULEX                  =
          POACCOUNT                    =
          POACCOUNTPROFITSEGMENT       =
          POACCOUNTX                   =
          POCONDHEADER                 =
          POCONDHEADERX                =
           pocond                       = it_pocond
           pocondx                      = it_pocondx
          POLIMITS                     =
          POCONTRACTLIMITS             =
          POSERVICES                   =
          POSRVACCESSVALUES            =
          POSERVICESTEXT               =
          EXTENSIONIN                  =
          EXTENSIONOUT                 =
          POEXPIMPITEM                 =
          POEXPIMPITEMX                =
          POTEXTHEADER                 =
          POTEXTITEM                   =
          ALLVERSIONS                  =
          POPARTNER                    =
          POCOMPONENTS                 =
          POCOMPONENTSX                =
          POSHIPPING                   =
          POSHIPPINGX                  =
          POSHIPPINGEXP                =
          POHISTORY                    =
          POHISTORY_TOTALS             =
          POCONFIRMATION               =
        COMMIT WORK AND WAIT.

  • Matarial master changes for a particular material type using BD21

    Hi All,
    <b>I am facing one problem related to change pointer in ALE.</b>
    I have configured the ALE layer between two systems successfully.
    <b>I have used filter group</b> on material type and also I have done the <b>reduction of IDOC.</b>
    When I trigger the material master data changes using BD21, it triggers the data for all the material type where as I want to trigger the material master data chages to particular material type only.
    Can anybody suggest some solution for this.
    Note: Please don't say to use <b>filter group on material type</b>......I have already done that.
    The correct solution will be rewarded with 10 points!
    Thanks & Regards
    Prabhat

    The firs thing I would do is verify the config.  Make sure the message type of the created IDocs matches the message type to which the filter is applied in the distribution model.  If everything looks ok, place break-points at the following locations:
    In FM MASTER_IDOC_DISTRIBUTE, on the call PERFORM DIST_MODEL_READ_FOR_MESTYP.  This subroutine reads the filters from the distribution model.  Verify the values in internal table RECEIVERS_AND_FILTERS are correct.
    In FM MASTER_IDOC_DISTRIBUTE, in FORM IDOC_SELECTION_AND_SERVICES, on the call to FM IDOC_DATA_APPLY_FILTER_VALUES.  This function should return the filtered results.  IDOC_DATA contains the data segments of your IDoc and CONDITION_BLOCKS contains the filter.
    When you run BD21, you should hit these break-points.

  • Change the FM Document from MIRO (using BTE)

    Hi,
    At the moment to post the document from MIRO, I need to change the fields Commitment Item (FIPOS) and Funds Center (FISTL) of financial accounting document in order to FM document takes the new values. 
    I Used the FIBF with a BTE (Event 1120), the fields FIPOS and FISTL in the financial accounting document were changed but the FM document does not take the new changes.
    Somebody can help and determine which can be the problem or if I need to do something different.
    Thanks a lot.
    Sandra M. Pulido

    Hi,
    This is my code in the function:
        LOOP AT t_bseg.
            READ TABLE T_BSEGSUB WITH KEY TABIX = v_tabix.
            t_bsegsub-fipos = v_fipos.
            t_bsegsub-fistl = v_fistl.
            MODIFY T_BSEGSUB INDEX v_tabix.
        ENDLOOP.
    You can see that is the same like yours and changed the values in the financial document but this last one is the base for the other document (FM).
    It's right that I can only substitute the field avalaible in the structure BSET_SUBST and these fields doesn't exist in structure but with an append structure I did.
    Thanks for your answer,
    Sandra M. Pulido

  • Problem in changing end date of PA-Infotype using HR_INFOTYPE_OPERATIONS .

    Hi All,
    I am trying to change the end date of an active record in an infotype using HR_INFOTYPE_OPERATIONS FM. But am getting an error, 'Infotype does not exist'.
    I am using operation as 'MOD' and passing appropriate parameters as required.
    it would be great if someone can help me out to understand, why could that error be coming?

    Hi Santosh,
    With this FM you cannot change the enddate as enddate is a key field and used to determine the exact record in the database.
    Why don't you use PA30 to change end date of an infotype record?
    Or else delete the row first w. HR_INFOTYPE_OPERATION DEL and insert it again with INS operation and new end date.
    Regards,
    Dilek
    Edited by: Dilek Ersoz Adak on Jan 8, 2010 7:54 AM

  • Printing problems, black mark appears on document when printing using auto portrait/landscape

    As the title says, pdf is fine on screen but when printing using auto portrait/landscape a black mark appears on the screen as in the photos below
    when the orientation is selected the line disapears and the print works correctly
    Anyone have any idea why this would happen?
    Thanks
    Ben

    Hello Pelle,
    Thanks for the feedback. Our printing code in Adobe Reader Touch doesn't have that capability right now, but since you mention it we should probably do what you're requesting by default. I'll put that into our backlog for a future update, but I can't say yet when it will be available.
    In the interim, if you have pages that are different orientations, you can print them in blocks manually to get what you want, but I understand that's a hassle.
    Dennis

  • Change PO number/document type

    Hi,
    we are using SRM 5.0, extended classic scenario.
    We have defined three document(transaction) types for PO in srm.
    One of them is a Dummy type-when this one is selected i need to change the type (and a number because of number ranges) of this PO depending on some conditions for items. I need to do this change propably when the PO should be stored in the backend. How can i do it? should i use outbound badi and change the number of PO? how can i get the next "free" number of PO with specified type? but i think that i will loose connection between srm PO and backend PO-so how should i update SRM PO?
    thanks
    JJ

    You can probably do the changes already when saving the PO. I think what you can do best is to use BBP_DOC_CHANGE_BADI with filter BUS2201 (for PO). Do a check on sy-ucomm to decide whether the save button has been pressed or not. Here you have most of your item data available. Sometimes however some of your item data is not present in the BADI (quite annoying really), use FM BBP_PO_MEMORY_GET to get the order that is stored in memory (all screen changes are already reflected in the return data. Check the FM in
    The reason I advice to use DOC_CHANGE is because you have all data available you need. In the other BADI that comes to mind BBP_DOC_SAVE_BADI you have to call several FMs to get an updated PO.
    I don't know if the correct number is retrieved then, just see if it does. If so, great, if not, you can probably do something with FM GET_NEXT_NUMBER (or any variation of those words as I don't have access to a system right now).

  • Change Transaction type in a Business Activity

    Hi,
    There is a requirement in our project to change the business activity transaction type say ZXXX to a new transaction type ZYYY.
      Is there any standard function module which can accomplish the same.
    Any help appreciated

    Hi Kumar,
    I am not sure whether this is possible or not but you can give a try. Use FM CRM_ORDER_MAINTAIN and in the structure ct_orderadm_h change the field PROCESS_TYPE.
    Thanks,
    Vikash.

  • Change the transaction type and BP from contract in use - TRM

    Hello good morning
    We are a Brazilian company and we have some contracts on the SAP TRM.
    These contracts are in partnership with a Bank called UNIBANCO. The
    transaction type used for these operations is classified as "linked".
    However, the bank Unibanco was recently acquired by Itau bank. The new
    bank does not want to keep those contracts with us. Then we have to
    change the transaction type to "NOT linked" to companies and keep the
    contracts normally. It would be necessary because it will change the
    accounting postings of operation and the business partner.
    We could settle the current operation and insert it again on the SAP
    using the new business partner and a new transaction type. However
    there is some taxation that could not be applied again and we will lost
    the past historic of operations.
    Could you suggest some solution for that?
    Best regards

    Of course, my friend.
    TRM - Treasury and Risk Management.
    It is related ERP - Financial Supply Chain Management.
    Best regards

Maybe you are looking for