BAdi while saving in CRM_DNO_MONITOR

Hi Experts,
   In CRM_DNO_MONITOR  transaction, I am processing a ticket / transaction number. There when I save a ticket number
I want to have some restrictions on the fields "Category"  and  "Ext.Reference.No.". Is there any BAdi to imply this
while Saving. I am unable to find out. Kindly help me.
Thanks and regards,
Venkat.

Hello Venkat,
transaction CRM_DNO_MONITOR is just a report of CRM documents (ChaRM & SD on Solman). The transaction that you re actualling using in order to modify tickets is CRMD_ORDER.
When saving a ticket CRMD_ORDER check if implementation of badi ORDER_SAVE exists.This Badi can be used in order to implement different checks and to cancel saving by raising error 'DO_NOT_SAVE'
Hope this helps,
Regards,
Khalil

Similar Messages

  • What is the BADI  while SAVING purchase order using me22n?

    what is the BADI  while SAVING purchase order using me22n?
    while i will save purchase order through me22n, badi should be fire what is badi for that?
    regards,
    dushyant.

    Dushyant,
    Hopefully you know how to implement the BADI ME_PROCESS_PO_CUST now.
    The following are the codes that you can put in the method "Post".
      DATA: LW_HEADER        TYPE MEPOHEADER,
            LW_POSTED_HEADER TYPE MEPOHEADER,
            LW_VALID         TYPE MMPUR_BOOL,
            ITAB_ITEM        TYPE PURCHASE_ORDER_ITEMS,
            LW_ITEM          TYPE MEPOITEM,
            ITEM_INTERFACE   TYPE PURCHASE_ORDER_ITEM,
            ITAB_ACCT        TYPE PURCHASE_ORDER_ACCOUNTINGS,
            ACCT_INTERFACE   TYPE PURCHASE_ORDER_ACCOUNTING,
            LW_ACCT          TYPE MEPOACCOUNTING,
            LW_POSTED_ACCT   TYPE MEPOACCOUNTING,
            W_ACCT_CHANGED  TYPE C,
            W_GRANT_AMT      TYPE EKPO-NETWR,
            W_FINANCE_AMT    TYPE EKPO-NETWR,
            W_FLAG           TYPE C.
    Check if PO header data is valid
      CLEAR LW_VALID.
      CALL METHOD IM_HEADER->IS_VALID
        RECEIVING
          RE_VALID = LW_VALID.
      CHECK LW_VALID = 'X'.
    PO header data is valid
    Get the newly updated PO header data
      CLEAR LW_HEADER.
      CALL METHOD IM_HEADER->GET_DATA
        RECEIVING
          RE_DATA = LW_HEADER.
    Get the posted PO header data
      CLEAR LW_POSTED_HEADER.
      CALL METHOD IM_HEADER->GET_PERSISTENT_DATA
        IMPORTING
          EX_DATA = LW_POSTED_HEADER
        EXCEPTIONS
          NO_DATA = 1.
      IF SY-SUBRC <> 0.
        CLEAR LW_POSTED_HEADER.
      ENDIF.
    Get PO line items
      REFRESH ITAB_ITEM.
      CALL METHOD IM_HEADER->GET_ITEMS
        RECEIVING
          RE_ITEMS = ITAB_ITEM.
      LOOP AT ITAB_ITEM INTO ITEM_INTERFACE.
    Check if PO line item is valid
        CLEAR LW_VALID.
        CALL METHOD ITEM_INTERFACE-ITEM->IS_VALID
          RECEIVING
            RE_VALID = LW_VALID.
        IF LW_VALID <> 'X'.
    This PO line item is not valid
          CLEAR W_ACCT_CHANGED.
          EXIT.
        ENDIF.
        CLEAR LW_ITEM.
        CALL METHOD ITEM_INTERFACE-ITEM->GET_DATA
          RECEIVING
            RE_DATA = LW_ITEM.
    Get the account interface
        REFRESH ITAB_ACCT.
        CALL METHOD ITEM_INTERFACE-ITEM->GET_ACCOUNTINGS
          RECEIVING
            RE_ACCOUNTINGS = ITAB_ACCT.
        LOOP AT ITAB_ACCT INTO ACCT_INTERFACE.
          CLEAR LW_ACCT.
    Get the newly updated PO item data
          CALL METHOD ACCT_INTERFACE-ACCOUNTING->GET_DATA
            RECEIVING
              RE_DATA = LW_ACCT.
          CLEAR LW_POSTED_ACCT.
    Get the posted PO item data
          CALL METHOD ACCT_INTERFACE-ACCOUNTING->GET_PERSISTENT_DATA
            IMPORTING
              EX_DATA = LW_POSTED_ACCT
            EXCEPTIONS
              NO_DATA = 1.
          IF SY-SUBRC > 0.
            CLEAR LW_POSTED_ACCT.
          ENDIF.
          IF LW_ACCT-LOEKZ <> LW_POSTED_ACCT-LOEKZ OR
             LW_ACCT-KOSTL <> LW_POSTED_ACCT-KOSTL OR
             LW_ACCT-PRCTR <> LW_POSTED_ACCT-PRCTR OR
             LW_ACCT-PS_PSP_PNR <> LW_POSTED_ACCT-PS_PSP_PNR.
    Account assignment was changed
    We will force this PO to go through workflow
            W_ACCT_CHANGED = 'Y'.
          ENDIF.
        ENDLOOP.
      ENDLOOP.

  • User exit or BADI while saving purchase order

    Hello,
    I want to use an user exit or BADI while saving of purchase order. The objective is to check the material group of the line item while saving. We don´t want to allow to save purchase orders for one material group.
    Can you please guide me.
    Thanks
    Srinivasan

    Hi
    The Business Add-In (BAdI) ME_PROCESS_PO_CUST enables you to extend the business logic of the Enjoy purchase order on an individual basis.
    You can thus influence the dialog transactions ME21N, ME22N, ME23N, and ME29N, and the BAPIs BAPI_PO_CREATE1 and BAPI_PO_CHANGE.
    Typical applications for this BAdI include:
    Processing of own objects
    Processing of additional data on standard objects
    Implementation of additional checks and derivationsChange of data in standard fields
    Change in field selection
    you can use this BADI for checking the material group
    Thanks & Regards
    Kishore

  • User Exit/Badi while saving the PO before it is processed

    Hi,
    We have a requirement where in we have to change the release strategy of a PO on saving it , but,before it gets processed. Please let me know if there is any user exit or badi for this scenario.
    Thanks,
    Prasath N

    Hi,
    Thanks for your reply.
    But by the time the above user exit / badi is executed, the PO is outputted, i would like to change the release strategy b4 the PO gets outputted. Any suggestions?
    I am in ECC 6.0.
    Thanks,
    Prasath N

  • User Exit/BADI to modify MCHA-HSDAT while saving a process order

    Dear all,
    I would like to know if there are any user-exits or BADI's to modify MCHA-HSDAT field, while saving process order.
    Scenario: There are two material types ZBUL and ZFDF. After releasing the process order and when I save, an entry in MCHA table for material with material type ZFDF is created.I should make a check if MCHA-HSDAT of this ZFDF material is equal to MCHA-HSDAT of ZBUL.
    If not, I should replace MCHA-HSDAT of ZFDF material with the HSDAT of ZBUL material.
    I have checked user exits 'PPCO0007' and PPCO0014 and PPCO0020 but I could not find MCHA structure to update.
    Do, I need to create an implicit enhancement for this?
    Thanks in advance!
    Aravind

    Aravind,
    Do the following steps in order to find the best exit for you.
    for e.g. using enhancemnt PPCO0020 FM EXIT_SAPLCOKO_005. Use the "Where used list" to get the point where this FM has been called. So in this case you can use "(SAPLCOKO)MCHA" as field symbol.
    Any question, let me know.
    Alex

  • User exit or BADI for FB60 while saving data.

    Hi All,
    I want apply check while saving the document in FB60 transaction.
    I want to check for account number and quantity.
    I check some BADI and exits but couldn;t stop while saving the document.
    If anybody has worked on this or have any idea let me know.
    Thanks in advance.
    - Umesh

    1. Try the BTE P/S events mentioend below. These should work for validation. Can be configured in transaction FIBF. You can create your own function module and add the validation.
    <b>00001020</b> POST DOCUMENT:       Prior to Final Checks    
    <b>00001025</b> POST DOCUMENT:       Final Checks Completed   
    <b>00001030</b> POST DOCUMENT:       Posting of Standard Data
    2. You can also used Validation of Accounting documents;
    Transaction: <b>OB28</b>

  • Want a UserExit or a BAdi that gets triggered while saving a PO

    Hi Gurus,
      Can anybody help me by telling which UserExit or BAdi gets  triggered while saving a Purchase Order.
    My requirement is:
      While I create a PO using a Purchase Requisition that was created for a Process Order and save it, I want to update the Vendor Batch Number of the PO  to the  Vendor Batch Number that I created in the Customer screen of the Process Order.
    Hence for this I want a UserExit or a BAdi that gets triggered while saving the PO....

    Hi
    Use the BADI
    ME_PROCESS_PO_CUST and the method
    PROCESS_HEADER
    for your requirement
    Reward points if useful
    Regards
    Anji

  • BADI which triggers while saving Marketing Attribute Set

    Hi,
    Could you please help me out with any BADI which triggers while saving Marketing Attribute Set.
    Thanks,
    Sandeep

    Hello Sandeep,
    Can you trt this bad CACL_VALUE_CHANGE
    thanks

  • Badi / Exits while Saving  a PO

    Hi Experts ,
    Is there any BADI / User Exits exits while Saving a PO  from External System.
    Thanx in Advance
    pradipta

    Pradipta,
    Check BADIs:
    ME_PROCESS_PO, ME_PROCESS_PO_CUST
    Thanks

  • Issue while saving data in excel

    My client on SAP BPC 10 NW.
    We got a issue while saving the data in EXCEL.
    Though the users are saving single record in excel it popping up to user as, he/she is trying to save 4 records and then user clicks on yes button all it is giving is wrong results.
    All the script logics and badi's will get trigger only after hitting on the save and yes buttons. so i suspect that something wrong with excel or EPM add in.
    You have any suggestions here?

    I am trying to enter 9 records in 2014.DEC, 2015.JAN, 2015.FEB
    I am getting pop up that 96 records are getting saved.

  • Error while saving: Dynprooutput without connection to user

    Hello experts,
    I have following problem:
    While creating an sales order, I've implemented a badi
    which gives me a popup (POPUP_FOR_INTERACTION)
    if the customer has some longtext.
    The popup is working fine, but when I save this order,
    I get error in smq2 (inqueue) sysfail: no dynprooutput without connection to the user.
    It seems that the badi is called while saving the order.
    How can I solve this problem ? Another popup-type ?
    What do you think ?
    Best regards
    Gerd

    not solved but closed the message

  • PO line item delete while saving ( based on custom selection)

    Hi ,
    We are trying to implement PO line item auto delete while saving the PO ( based on auto conversion or though me21n manual ) and this should work based custom selection / custom table  . We had tried to implement through exit and BADI but it’s not working .
    Let me know if anyone having idea on this or implemented same scenario in past .
    Thanks ,
    RB

    Hi Raghavendra,
                           I understand that you are facing problems due to non-availibility of Header data in PROCESS_ITEM. But the same can be pulled live from the program. Sample pseudo code and reference link provided below. Hope it helps your ABAPer gain an insight.
    REF: Getting Header Data in ITEM_PROCESS
    DATA: ls_item TYPE mepoitem,
    ls_header TYPE mepoheader,
    ls_header_obj TYPE REF TO if_purchase_order_mm.
    *Get PO Header data
    CALL METHOD im_item->get_header
    RECEIVING
    re_header = ls_header_obj.
    CALL METHOD ls_header_obj->get_data
    RECEIVING
    re_data = ls_header.

  • Email Billing document as PDF Attachment while saving from VF01/02

    Hi,
    Can anybody suggest if there is any BADI/User Exit/Configuration exists in order to email Billing document as a PDF attachment while saving from VF01 or VF02?
    We need to trigger this while saving the Output type say, VF02 GOTO -> HEADER -> OUTPUT (select the output type) -> SAVE - should send an email with PDF attachment.
    I have written the code for sending email with PDF attachment. Presently this code is included in the Print program for the sapscript and an email is sent when an output is issued from VF01/02/03 where as the requirement is to send email whenever the document is saved.
    Thanks in Advance,
    Srinivas

    Hi,
    While saving subroutine FORM_OPEN will get triggerred, and this will be included in the Z Program. If it is not contained in the Z program, include this subroutine. This subroutine will have include RVADOPFO.
    The above include will have the function module ADDR_GET_NEXT_COMM_TYPE, and the import parameter LVS_COMM_VALUES will contain the address number and email address to whom the pdf needs to be sent.
    So here, i.e. In place of standard include RVADOPFO, put custom include ZRVADOPFO, and modify the code as below.
    After the function module ADDR_GET_NEXT_COMM_TYPE, read the email address from any custom table based on the various conditions or hard coded value, then move it to the below variable.
    LVS_COMM_VALUES-ADSMTP-SMTP_ADDR.
    And remaining functionality will be taken care by the standard code. i.e. converting the spool to PDF and attaching it while sending the email etc....
    If I am not wrong, the same functionality will work  even while saving the sales order etc..
    Regards,
    Santu.

  • User exit for MIRO while saving

    Hi
    I need to validate the Company code in Txn MIRO with the company code of the PO that's been processed
    Is there any user-exit which gets triggered while saving the document in txn MIRO.
    I know the following BADI INVOICE_UPDATE gets triggered while saving the documents, as i am new to the BADI functionality, i am unable to proceed further with the implementation of it in the system.
    Can some one let me know how to implement a BADI.
    Cheers

    Hi Sushis ,
    check this link abt badi
    http://help.sap.com/saphelp_nw04/helpdata/en/ee/a1d548892b11d295d60000e82de14a/content.htm
    and u have to choose this method is useful
    <b>CHANGE_AT_SAVE     Invoice Document at Save
    CHANGE_BEFORE_UPDATE     Invoice Document Before Update
    CHANGE_IN_UPDATE     Invoice Document During Update</b>
    let me know if u required more info.
    regards
    Prabhu

  • Popup in pruchase order while saving

    Hi Gurus,
    I have checked in forum but didn't find any solution for my requirement, kindly help for resolving the issue,
    reqmt: I need a pop-up while saving the purchase order with some information text and two options (Yes/No), if i click on Yes system will save the PO and if i click on No system will remain in the PO. is this possible ? if yes then please let me know the location where i should write the code.
    thanks in advance,
    help will be appricated.
    Thanks
    N.Kapoor

    Hi,
    The badi - ME_PROCESS_PO_CUST will work.
    Just confirm whether the BADI implementation & the method are active or not.
    It has the methods - CHECK & POST.
    I recommend the method CHECK. If you use POST method, then you can stop the PO from posting (means will not save) but a PO number will be generated and it will be lost.
    Please check and let us know if your break-point still not stopping at this method.
    It worked for me.
    Regards,
    Selva K.

Maybe you are looking for

  • Change MOT in purchase order using CIF Inbound user exit

    Hello APO Experts, Objective is to change start date of purchase order ( date at source location) in APO based on some date in R3. Planning to bring R3 date using CIF Outboud user exit( CIFPUR01)  in R3 and then further requirement is to a) calculate

  • Bluetooth syncing to my Audi

    I'm having issues syncing bluetooth with my handsfree in my car. Bluetooth seems really weak for the iPhone. Any feedback wouuld be appreciated

  • Connecting a WAP54G to a Cable Modem

    How do I connect and configure my WAP54G wireless access point to my new Cable Modem? I have it connected to the modem but I cannot access it to configure it. It appears to be working but before I got the cable modem I had it connected to a router an

  • Freight Calculation basis Handling Unit in Delivery

    Hi Expts. Could anybody help me how to identify shipment cost (freight) on the basis of Number of Handling Unit in a Delivery. Example: 1-One Delivery 2-Multiple quantity of material (10 qty) 3-Packed in multiple handling units (2 in one HU, 5 HU) Fr

  • Inserting user text into .pdf

    I'm creating an interactive presentation using PowerPoint and Adobe Captivate 4 (I may upgrade to version 5 soon, though). I'd like to create "reflection" slides in my presentation where I pose several questions, and users can type their thoughts int