ME31K BADI for checking Data in Commitment Plan/ Acct assignment

I am trying to find a BADI or User Exit to check Account Assignment / Commitment Plan Data, to work in TCodes ME31k or ME32K.
I tried using ME_PROCESS_OUT_CUST , But its only for BAPI.
Any Similar BADI to check in ME31K or ME32K.
Appricate any help

alex ice wrote:
Hi.
> 'Can we do any derivation or check to get the account assignment populated automatically in the Commitment Plan ?
>  Account assignments screens are avaliable in the commitment plan so i think we dont want to apply this note.'-i don't think so, because as said in this note it's coding error.
Thank you. I will impliment the Corrections
>
> 'We have alaready activated the Fields to be transferred. I dont have a clue where we will set the account assignemnt specifically for contracts (in the case of PR and PO it comes automatically as per the derivation rule mainted)'-it derives not from contract,but from  Earmarked fund,which generates from Com. plan.
Ok.Then i think some issue in the Earmarked fund.. How we can check this. Please guide.
>
> 'One more error : While running transaction FM_MRP_PR if the budget exceed the PR not pupulating the account assignment filed (if it is in the budget it is populating) and we are getting error message "Instance 10000120 of object type Purchase Requisition could not be changed ,Message no. BAPI003" Please advice how we can overcome this error.' when you get this error(also put it's number), if while changing, then check PR item number,if it's=0 then customize in OMI5
Message is  PR No  "10000120     10     Annual budget exceeded by 560,400.00 QAR (FM PB Availability Control) for document item 00010 ,
"Instance 10000120 of object type Purchase Requisition could not be changed ,Message no. BAPI003"
I have checked transaction OMI5 and Plant with Item PR 10 and Item no stock trans Res is 100. and hope this is correct.
Please Guide.
Regards
Hari

Similar Messages

  • Badi for check tax number field

    Hi guys!
    Can anyone tell if exists a badi that ckecks the field 'TAXNUM' in transaction 'BP' after we put a value there.
    I've already check in the transaction 'Bus7' and i only find the function for the event 'check before saving' -'BUP_BUPA_EVENT_DCHCK'.
    Thanks in advance.
    Hugo.

    Hi everybody!
    I need understand how implement check of taxnum using transaction BUS3 - view BUTX01.
    I need check tax number in transaction FPP2.
    I see a post very interesting:
    Badi for check tax number field
    I create a module function but inside of module function i don't have data for my validation. I think i make a mistake. Help please!
    If somebody have a tutorial would be great!!
    Thanks!

  • User exit or a badi for checking the vendor email id in me22n on me29n

    hi all,
    can anybody suggest me a user exit or a badi  for checking the email id of the vendor in me21n or me22n or me29n.
    i.e. a user exit or a BADI which gets hit either at the time of creation or release of a purchase order.
    plz suggest me a solution its urgent.
    regards,
    santosh

    Hi Santosh,
    Have you looked BADI <b>ME_PROCESS_PO_CUST</b> or user exits <b>EXIT_SAPMM06E_016</b> / <b>EXIT_SAPMM06E_017</b>?
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • BADI for check tax numbers in BP

    Hi,
    I need a BADI for check that the user pick two types of tax numbers (ES0 and ES1) in BP when createa a new IC.
    All BADIs that I find only execute on update and don't send exception.
    Anyone can I help me??
    Thanks

    Thanks Micheal
    but I need some additional information.
    I need to know how to get an error message in the function module I created.
    Thanks a lot

  • Userexit or Badi for vl01n date check

    Hi experts,
                     While preparing VL01N, BLDATE, WADAT,WADAT_IST  date should be a current date,
    if else i won t allow that delivery to PGI. kindly give userexit or badi  for this issue.
    Thanks and Regards
    G.Vendhan

    Hi,
    Use these steps to find Badi easily.
    1. Go to the TCode SE24 and enter CL_EXITHANDLER as object type.
    2. In 'Display' mode, go to 'Methods' tab.
    3. Double click the method 'Get Instance' to display it source code.
    4. Set a breakpoint on 'CALL METHOD cl_exithandler => get_class_name_by_interface'.
    5. Then run your transaction.
    6. The screen will stop at this method.
    7. Check the value of parameter 'EXIT_NAME'. It will show you the BADI for that transaction.
    Hope this helps u.
    thanks.

  • BADI for transfering data from one modal to another modal within single appset

    Hallo Experts,
    My Business Requirement is Transfer of data from one modal to another in same environment and did this taking reference from below document.(How to custom badi for replicating destination app)
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e04b5d24-085f-2c10-d5a2-c1153a9f9346?QuickLink=index&…
    Document contains TR for implementing BADI, but this document supports bpc version 7.0 and we are using is bpc 10.0.
    So i make all compatible changes in BADI implementation and activate it. Now i am testing using transaction UJKT using following script.
    and the result is records successfully written back to application MIS, but when i check data is not moved to target application MIS.
    I am facing stuck situation in my project work. Please Suggest. Hope for positive reply.
    Script:
    *XDIM_MEMBERSET WM_ACCOUNT = WM_041,
    *XDIM_MEMBERSET WM_UOM_02 = UOM_004
    *XDIM_MEMBERSET WM_UD_2 = WM_07
    *XDIM_MEMBERSET WD_EXT_MAT_GRP =CHALK-PH-I,CHALK-PH-II,CHAVN-PH-I,CHAVN-PH-II,NASHIK-WM,RAJASTHAN-WM,TAMILNADU-WM
    *XDIM_MEMBERSET CATEGORY= Plan
    *XDIM_MEMBERSET AUDITTRAIL=Input
    *XDIM_MEMBERSET P_ENTITY = SIL
    *XDIM_MEMBERSET RPTCURRENCY = LC
    *START_BADI DAPP
       DESTINATION_APP ="MIS"
       RENAME_DIM ="WD_EXT_MAT_GRP= PRODUCT"
       ADD_DIM ="PLANT=NO_PLANT","MIS_ACCOUNTS=CAIN0058040008","COST_CENTER=NO_COST_CENTER","FLOW=Opening","UOM=AMT","CUSTOMER_SALES_2=NO_CUSTOMER","CATEGORY=Plan","AUDITTRAIL=Input"             
       DEBUG = ON
       WRITE = OFF
       QUERY = ON
    *END_BADI
    Please find attached result.
    Regards,
    Dipesh Mudras.

    Hello,
    Here is the manual to copy data between apps (it works with BPC NW75):
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0480970-894f-2d10-f9a5-d4b1160be203?quicklink=index&overridelayout=true
    It works me, but now I need to modify the Script Logic to make that a "property" from the origin dimension has to be copied to the destination dimension as "id", like follow:
    //*XDIM_MEMBERSET CATEGORY = %CATEGORY_SET%
    //*XDIM_MEMBERSET TIME = %TIME_SET%
    //*XDIM_MEMBERSET ENTITY = %ENTITY_SET%
    //*XDIM_MEMBERSET RPTCURRENCY =  %RPTCURRENCY_SET%
    *START_BADI FiltroPD
         WRITE = OFF
         APPL = $APPLICATION$
         ADD_DIM = "ORIGEN = APPVENTAS"
         ADD_DIM ="O_COSTE = no_input"
         ADD_DIM="CECO = no_input"
         RENAME_DIM="P_ACCT = RATIOS.P_ACCT "
    *END_BADI

  • Exit or BAdi for GR date validation.

    Hi,
    I am trying to validate GR date field in MIGO.My requirement to restrict GR date if GR date is less than PO creation date.I found MB_MIGO_BADI but it is triggering only if change the field and reverting back to the transaction.It is  triggering  for post but not for check PLease help in this regard.
    Ibrahim

    Hi,
          Check these BADI's
    MB_CIN_LMBMBU04 posting of gr
    MB_CIN_MM07MFB7 BAdI for India Version exit in include MM07MFB7
    MB_CIN_MM07MFB7_QTY Proposal of quantity from Excise invoice in GR
    MB_DOCUMENT_BADI BAdIs when Creating a Material Document
    MB_DOCUMENT_UPDATE BADI when updating material document: MSEG and MKPF
    MB_DOC_BADI_INTERNAL BAdIs when Creating a Material Document (SAP Internal)
    MB_MIGO_ITEM_BADI BAdI in MIGO for Changing Item Data
    MB_QUAN_CHECK_BADI BAdI: Item Data at Time of Quantity Check
    Regards

  • BAdI for CRMD_ORDER data validation

    Hi,
    I'm trying to do an enhacement over crmd_order, so when the user puts a date into "Requested Delivery Date" (Shipping Tab) this date automatically copies into "Pricing Date" field (Prices Tab).
    So I need a way of detect when the user changes the value of "Requested Delivery Date", I think that using a BAdI or user-exit that executes each time the user change values into screen fields it's a good idea, but I can't find anything that fits to my requeriments.
    Looking into the internet I've found badis for the save command, but I need to control this each time the user changes data into screen.
    Any idea of how can I do this?
    Thanks in advance

    Hi Arjun,
    as far as I know this method executes whenever the user pushes save button. But what I need is a badi that executes whenever the user changes data from the "Requested delivery data" field.
    Doing some debugging I've found that CRM_SALES_BADI executes always, but I'm not very sure that this is the right badi for my requeriments
    Thanks for your answer

  • Code  of ME_process_cust_Po BADI for checking item data?

    Hi all,
    While users are creating new PO in ME21N, I have to check the condition records for the Materials they entered.
    If the condition record is not maintained for the respective material The creation of PO while saving it , should not be  allowed  and a message should be displayed.
    Please mention  the respective method and code to do this?
    Thanks
    Vamshi.

    Hi ,
    this is the sample code for Item check, by using mm_messages_mac(include u can raise error msg based on the INFNR(info record) field.
      DATA: ls_mepoitem TYPE mepoitem,
            ls_customer TYPE mepo_badi_exampl,
            ls_tbsg     TYPE tbsg.
      INCLUDE mm_messages_mac. "useful macros for message handling
    here we check customers data*
      ls_mepoitem = im_item->get_data( ).
      IF ls_mepoitem-loekz EQ 'D'.
    a physical deletion of the item was carried out. therrefor we have to*
    delete customer data on the level of the item*
        ls_customer-ebeln = ls_mepoitem-ebeln.
        ls_customer-ebelp = ls_mepoitem-ebelp.
        CALL FUNCTION 'MEPOBADIEX_SET_DATA'
          EXPORTING
            im_data                    = ls_customer
            im_physical_delete_request = 'X'.
      ELSE.
    update/insert operation*
        CALL FUNCTION 'MEPOBADIEX_GET_DATA'
          EXPORTING
            im_ebeln = ls_mepoitem-ebeln
            im_ebelp = ls_mepoitem-ebelp
          IMPORTING
            ex_data  = ls_customer.
    check customers data*
    check field badi_bsgru. This should be carried out only for new items. Once the PO is posted the*
    field should no longer be changeable. This is done in Method FIELDSELECTION_ITEM.*
        IF im_item->is_persistent( ) EQ mmpur_no.
          IF ls_customer-badi_bsgru IS INITIAL.
    Place the cursor onto field badi_bsgru. The metafield was defined in BAdI ME_GUI_PO_CUST,*
    Method MAP_DYNPRO_FIELDS.*
            mmpur_metafield mmmfd_cust_01.
            mmpur_message_forced 'W' 'ME' '083' text-002 '' '' ''.
          ELSE.
    check whether the field is valid*
            *SELECT SINGLE * FROM tbsg INTO ls_tbsg WHERE bsgru EQ ls_customer-badi_bsgru.*
            IF NOT sy-subrc IS INITIAL.
              mmpur_metafield mmmfd_cust_01.
              mmpur_message_forced 'E' 'ME' '083' text-004 '' '' ''.
    invalidate the object*
              CALL METHOD im_item->invalidate( ).
            ENDIF.
          ENDIF.
        ENDIF.
    check field badi_afnam*
        IF ls_customer-badi_afnam IS INITIAL.
          mmpur_metafield mmmfd_cust_02.
          mmpur_message_forced 'W' 'ME' '083' text-003 '' '' ''.
        ENDIF.
      ENDIF.
    regards
    Prabhu

  • Badi for checking the vendor number entered in ME31K

    Hi all,
    My requirement is to check the vendor number that user has entered in me31k and give messege accordingly.
    Is there any badi to implement it?
    badi me_process_pocust perhaps will not work in this case.
    Plz help.

    Hi Santosh,
    Have you looked BADI <b>ME_PROCESS_PO_CUST</b> or user exits <b>EXIT_SAPMM06E_016</b> / <b>EXIT_SAPMM06E_017</b>?
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Mode for check data from R/3 (with tables name)

    I have some table´s technicals names that will be check if the data loading in this is forwarding to BW.
    Anyone can tell me what´s the procedure to know if data from some R/3´s table (standard) is being load into BW ????
    Regards.

    In this instance - it's via datasource 0MATERIAL_TEXT
    To find this out - I checked the description of the table - then based on experience knew it to be that datasource
    Difficult to give you hard and fast rules for EVERY table!
    This one was simpel it was a view on MAKT - others could be inside thousands of lines of function module reads, inside changepointer BADIs - anywhere!

  • Need BADI for checking customers visiting hours in activity

    Hi all,
    I'm looking for a BAdI where I can check the visiting hours of the related customer in an appointment. I've found BAdI CRM_ACTIVITY_H_BADI but it doesn't give me the data about the related customer.
    I would like to write a message when the time of the appointment is not in range of the customer's visiting hours.
    Does anybody have an idea?
    Thanks,
    Diana

    Hi
    you can do this check while saving in badi ORDER_SAVE. method eg check_befor_save.
    i don't think that in any of documents badis you will have customer no, but you will have docs guid.
    then you can do crm_order_read to read partners.
    Regards
    Radek

  • Exit\badi for check MR8M transaction BUDAT field

    hello expert,
    I must check the field RBKP_V-BUDAT of the MR8M transaction. there is a user-exit\badi to do it?
    thanks in advance.

    Yes, it's custom, below is the documentation :
    HY SIMGINVOICE_UPDATE
    Interface name : IF_EX_INVOICE_UPDATE.
    method IF_EX_INVOICE_UPDATE~CHANGE_AT_SAVE
    Use                                                                               
    You can use the business add-in (INVOICE_UPDATE) to further process the
        following functions or, if necessary, forbid them:                                                                               
    o   Creating invoices (invoices, credit memos, subsequent debits,     
            subsequent credits) in Logistics Invoice Verification                                                                               
    o   Parking documents in Logistics Invoice Verification, and making   
            changes to these documents, for example, deleting them                                                                               
    Standard settings                                                                               
    The business add-in is not active in the standard system.

  • ABAP for checking data in a characteristic

    Hi Experts,
    i want to load datas into a cube from a flat file, but I need to check whether the characteristic value (e.g. for 0material) I load is already in the characteristic (0material) or not. If yes, I have to get an error msg, and these records should not be loaded into the cube.
    Could you write me the ABAP code for this which I have to include into the update rule?
    Thx!

    Hi Joe,
        Use RETURNCODE to skip perticular record based on your logic.
    <b>RETURNCODE</b>: You use the variable RETURNCODE to control writing to the data target. Only when RETURNCODE equals 0  is the calculated RESULT Value written to the data target.
    If RETURNCODE<> is <> 0, there are two behavior patterns, depending on whether it is a characteristic (key field in InfoCube) or a key figure (a data field):
    For key fields, the data record is skipped and the next data record is processed. For key figures, key figure processing ends and the content of the corresponding key figure is initialized and transferred to the target table.
    Caution: This behavior is not problematic when you update additively because in that case only a 0 is added. For minimum and overwrite update modes, however, this behavior is problematic. You should not use a RETURNCODE here, because otherwise existing entries will be initialized, that is, existing etnries will be overwritten by initial values.
    Write a fields level routine for 0material, sample code below...
    Select single MATERIAL from /BI0/PMATERIAL WHERE MATERIAL = COMM_STRUCTURE-MATERIAL.
    IF Sy-subrc = 0.
    RETURNCODE = 0.
    else.
    RETURNCODE = 4 or 8.
    endif.
    Hope it Helps
    Srini

  • Exit or BADI for checking insurance relantionship

    Hi
       I need to make some checkings on insurance provider on insurance relationship screen on NP10. I've been looking for them and i've got user-exits NVVH0000 and NVVH0001. I've implemented my checkings, and activate them, but the code is not executed. Using where-used list, i've check these function modules aren't used anywhere. Is there any way to achieve these exits to be executed??
    So I've seek for a BADI, and I've found ISH_INSREL_CASE_SAVE. This works fine, but it's only executed when a change on insurance relationship is carry out, and I need to made my checks always.
      Can anybody help me??
    Thanks and regards

    Hi Daniel
    The badi ISH_NV2000_PAI is called on that screen.
    If it doesen't work, please let me know.
    With best regards
    Matías

Maybe you are looking for