MIRO - User exit at save to put on a payment block

I need to do some consistency checks at the save of MIRO.  In this user exit I need the option of putting the payment on a payment block.  I have found some enhancements but I haven't found any which will allow me to put it on a payment block.
Regards,
Davis

use this BADI
MRM_PAYMENT_TERMS

Similar Messages

  • MIRO - User Exit during SAVE: Read items & Update header

    Hi there!
    During MIRO after pressing save...
    I search for an user-exit or BAdI, to READ ITEM DATA and UPDATE HEADER DATA (XBLNR) after SAVE but before UPDATE.
    I have searched this forum, but with no luck. Many more then me seem to have the same problem. The most common answer have been to try BAdI INVOICE_UPDATE, but that BAdI only give READ access and NO UPDATE, so no luck there..
    To summarize all my searching here and findings... I list all exits I have tested...
    User-Exits
    LMR1M001 User exits in Logistics Invoice Verification
    LMR1M002 Account grouping for GR/IR account maintenance
    LMR1M003 Number assignment in Logistics Invoice Verification
    LMR1M004 Logistics Invoice Verification: item text for follow-on docs
    LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Posting
    LMR1M006 Logistics Invoice Verification: Process XML Invoice
    MRMH0001 Logistics Invoice Verification: ERS procedure
    MRMH0002 Logistics Invoice Verification: EDI inbound
    MRMH0003 Logistics Invoice Verification: Revaluation/RAP
    MRMN0001 Message output and creation: Logistics Invoice Verification
    BADI - When saving in MIRO the following BAdI were passed...
    PPA_CUST_BADI
    /CCIS/FICLRDC_ENH
    INVOICE_UPDATE  << only read no update
    ME_DP_CLEARING
    AC_DOCUMENT
    FI_LIMIT_PROCESS
    AC_QUANTITY_GET
    FMRE_BUS_PROCESS
    EXIT_XFMPRI_001
    CO_DOCUMENT_INFO
    INVOICE_UPDATE (method change_before_update ) << only read no update
    MRM_RANSACT_DEFAULT
    MRM_HEADER_DEFAULT
    Other BAdI's
    MRM_HEADER_CHECK - Bara ingående värden för kontroll
    MRM_HEADER_DEFAULT - Tyvärr sätter bara XBLNR precis när man går in i MIRO...dvs för tidigt.
    MRM_ERS_HDAT_MODIFY  - EJ anropad...
    Would be greatful for any ideas on this matter...
    Best regards
    Henrik

    Hello Henrik,
    In BADI INVOICE_UPDATE there are 3 methods CHANGE_AT_SAVE, CHANGE_BEFORE_UPDATE and CHANGE_IN_UPDATE.
    Of these CHANGE_AT_SAVE is called before INSERT / UPDATE statements are executed. We can use this to update RBKP-XBLNR.
    We can't use CHANGE_BEFORE_UPDATE and CHANGE_IN_UPDATE methods as they are called after INSERT / UPDATE statements are executed and before COMMIT.
    You can update RBKP-XBLNR through INVOICE_UPDATE~CHANGE_AT_SAVE method using call stack technique like below. You can replace 'VALUE' in the below code with the value based on your calculation using other variables like s_rbkp_new, ti_rseg_new etc.
    method IF_EX_INVOICE_UPDATE~CHANGE_AT_SAVE.
      DATA: lv_name_xblnr(30) TYPE c VALUE '(SAPLMRMP)RBKPV'.
      FIELD-SYMBOLS: <fs_rbkpv> TYPE mrm_rbkpv.
      ASSIGN (lv_name_xblnr) TO <fs_rbkpv>.
      IF <fs_rbkpv> IS ASSIGNED.
        <fs_rbkpv>-xblnr = 'VALUE'.
      ENDIF.
    endmethod.
    Best regards,
    Vishnu Tallapragada

  • MIRO : User-exit to block an invoice

    Hello,
    I try all miro user-exits and badi and nothing works.
    I need to block some invoices in MIRO. The badi is good but no export parameters (I try dynamic assignment but it dumped !!)
    I you've any idea, I will reward
    Thanks

    Hi Fabrice,
    Please take a look at these threads..
    User Exit for FB60 ( Enter Vendor Invoice )
    Please help me find a User exit to block a Vendor
    cheers,
    Prashanth
    P.S : Please mark helpful answers

  • User-Exit at Save for KL01

    Hi,
    Is there any user-exit at save for transaction KL01.
    Here is my requirement.
    Where ever am employee is hired in HR ( transaction PA40; Action = Hire) i have to automatically create an Activity Type ( t.code : KL01 ). I am doing this in user-exit PBAS0001, component EXIT_SAPFP50M_002 on HR side.
    The next this is, once activity type is created using transaction KL01, i have to automatically trigger a activity type planning, transaction KP26.
    So, i need a user exit at Save in transaction KL01, so that i can trigger KP26 from there. I found one exit COOMKS02, but i its not triggeting from KL01.
    Does any one know any user-exit in KL01 which trigger at save. Please let me know
    Thanks,
    Pratik

    Hi Sharad,
    Thanks for your reply.
    I always have an option for executing both KL01 and KP26 fron PBAS0001, but what i was thinking that if there is any exit available at save in KL01, i can trigger KP26 from there.
    If i could not find any exit, i will call both KL01 and KP26 from PBAS0001 itself.
    Thanks,
    Pratik

  • User exit on SAVE event in tranasaction CS01

    Hi all,
    Please tell me user exit on save event in transaction cs01.
    Thank you.

    Hi,
    Check the following user exits.
    PCSD0001            Applications development R/3 BOMS                          
    PCSD0002            BOMs: Customer fields in item                              
    PCSD0003            BOMs: Customer fields in header                            
    PCSD0004            BOM comparison                                             
    PCSD0005            BOMs: component check for material items                   
    PCSD0006            Mass changes user exit                                     
    PCSD0007            Check changes in STKO                                      
    PCSD0008            WBS BOM: Customer-specific explosion for creating          
    PCSD0009            Order/WBS BOM, determine URL page                          
    PCSD0010            Order/WBS BOM, determine explosion date                    
    PCSD0011            Knowledge-based order BOM, parallel update                 
    PCSD0012            Customer - Mat. number/mat. number during material exchange
    PCSD0013            Customer-specific processing of an explosion for BOM browser
    hope it helps
    Regards
    Rajesh Kumar

  • USER-EXIT on SAVE event for IE01

    Hi,
    I need USER-EXIT on SAVE event for t-code IE01.
    EXIT IEQM0003 work only first time after pressing "SAVE".
    IF i press "SAVE"  second time equipment will be created.
    Edited by: andriy.hulyk on Jan 26, 2012 12:45 PM

    Here is my code:
    IF DATA_ILOA-TPLNR IS INITIAL.
      AUTHORITY-CHECK OBJECT 'ZZ_MC_FLC'
      ID 'ZZFLC' FIELD '*'.
      CASE SY-SUBRC.
        WHEN 0."SAP-ALL User
          EXIT."OK
        WHEN 12."User without restriction
          EXIT."OK
        WHEN OTHERS.
          AUTHORITY-CHECK OBJECT 'ZZ_MC_FLC'
          ID 'ZZFLC' FIELD '01'.
            CASE SY-SUBRC.
              WHEN 0."Create eq. only with FL for some work centers
                MESSAGE E250(ZPM) WITH 'test' RAISING POSTING_NOT_ALLOWED_EXT.
            ENDCASE.
        ENDCASE.
    ENDIF.
    If i press "SAVE" firs time it work great. But next pressing just create new equipment. My restriction does not work(

  • MIRO User exit - processing order

    Hi
    I've had a user request to try to copy the text line entered in the header part of MIRO into the posted transactions in BSEG so that when GL account analysis jobs are run eg FS10N, relevant text info is shown as well (as it does when manual invoices are posted). I've worked on the User exits available and with the Export/Import to memory option I thought that I'd cracked it.
    I used the Export option in EXIT_SAPLMRMP_010 as required input data is available there. Then I used the Import option in EXIT_SAPLMRMP_004 as that exit is used to post data to the accounting functions. For testing I put a breakpoint into each of them.
    During testing, I was surprised to find that EXIT_SAPLMRMP_004 was actually processed before EXIT_SAPLMRMP_010 during MIRO although I proved that the concept would work would work by manually keying some text into the relevant field at the breakpoint as it appeared in BSEG afterwards.
    Can anyone please advise if there is an easy way to discover the order of processing of the exits available to MIRO (dozens of includes in SAPLMR1M!!) so I can put the Export option into the correct place.
    Thanks
    Jim Jackson

    Hi Jim,
    You can try with BTE (Business Transaction Events).
    Goto SE37 - SAMPLE_PROCESS_00001120 (this is the standard BTE for account document posting). copy this with ZSAMPLE_PROCESS_00001120.
    In this you cannot modify the tables t_bkpf and t_bseg. you can use t_bkpfsub and t_bsegsub.
    For this a little bit config is required.
    1) Goto t-code FIBF-> settings->Products->... of a customer.
        Click new entries -> product name- ZPRODUCT , text - any text, RFC dest -                                     ZSAMPLE_PROCESS_00001120, A - enable check box -> save.
    2) Go back -> settings -> P/S Modules -> ... of a customer.
        Click new entries -> event - 00001120, Product - ZPRODUCT, Ctr - Country key, Appl - FI-FI,   Function module - ZSAMPLE_PROCESS_00001120 -> save.
    3) Go back -> settings -> Process Modules -> ... of a customer.
        Click new entries ->Process - 00001120, Ctr - Country key, Appl - FI-FI, Func module - ZSAMPLE_PROCESS_00001120, Product - ZPRODUCT -> save.
    Now goto SE37->ZSAMPLE_PROCESS_00001120
    logic.
    loop at t_bkpf.
    loop at t_bkpfsub.
         move 'your value' to t_bkpfsub-value.
         modify t_bkpfsub index sy-tabix.
    endloop.
    endloop.
    loop at t_bseg.
      loop at t_bsegsub.
          move 'your value' to t_bsegsub-value.
          modify t_bsegsub index sy-tabix.
      endloop.
    endloop.
    ''your value' is imported value.
    no need to worry abt modified values. after execution of BTE it will go to standard prog and copy the values of t_bkpfsub[] and t_bsegsub[] to SAP tables. so pls be perfect with code. SAP wouldn't allow change the values in t_bkpf[] and t_bseg[] values. you can add your own fields in bkpf_subst and bseg_subst.
    But make sure that, pls write the code in FM with conditions like cocode doc type etc. bcz this BTE is very important. it will executes before acc doc is posted.if you do not specify any conditions it will execute for all co codes in acc doc. it will affect business. you can debug this BTE. put a break point in FM and see the values while post the MIRO.
    once import the values free memory id and clear the variables what ever u used in BTE.
    Best Regards,
    Mohan.

  • Miro user exit  does not hits

    Hi ALL,
       i have implenented   LMR1M001---- EXIT_SAPLMRMP_010 user  exit, but  while miro  it does not   hit expression:
    I  put break-point  in EXIT_SAPLMRMP_010- ZXM08U16.
    I have created project in following way.
    In tcode CMOD  create project  ZMIRO.
    In enhancement  assigment   create LMR1M001.
    In exit  EXIT_SAPLMRMP_010-ZXM08U16.
    I write code.
    and activated both project and include.
    and i  set debug mode active.
    But while running miro. it does not hit:
    In miro i  am doing following operation.
          select subsequent debit.
         In Basic data tab i insert
    date.
        In Detail tab i insert Un
    planned delevery cose
        Insert
    Purchase order no.  
    And press Enter.
        After Pressing
    enter, It exutue directly without  calling user exit.
    Please help me,
    Thanks,

    Hi,
    May be this exit is not called for your scenario or the condition to trigger that exit may not have met.
    Just activate your SQL Trace and then run MIRO. Just check in the tace log whether your exit is called. Else you may use another one.
    Regards,
    Renjith Michael.

  • MIRO User-Exit or BADI Name

    Hi all,
    How can i control MIRO referans field during saving Vendor Invoices? What is the name of User Exit or BADI name?
    Best regards,
    Munur EBCIOGLU

    SE18 > INVOICE_UPDATE >
    based in ur requirement you can use:
    Methods:
    CHANGE_AT_SAVE     Invoice Document at Save
    CHANGE_BEFORE_UPDATE     Invoice Document Before Update
    CHANGE_IN_UPDATE     Invoice Document During Update

  • COR2 User Exit at Save for Process Order Manipulation

    I am trying to find a User Exit where I can manipulate fields at the item level, specifically batch or CHARG.
    PPCO0007 seems to only have the header fields,  batch is an item level field. Other exits seem to already save the order prior to my making the change.
    Any suggestions will help.
           Thank-You.

    Dear,
    User exit ZXVBZU02 assign value to RESB-CHARG first
    BAdI WORKORDER_UPDATE, and put break-points in method AT_SAVE, AT_RELEASE, IN_UPDATE
    Please refer this thread,
    User exit for transaction code COR2
    Regards,
    R.Brahmankar

  • Asset master user exit at save

    Hi!
    Can anyone tell me, which user-exit is running at the save moment, while creating or modifying an asset master data (AS01, AS02 transaction)?
    Only the user exit is interesting me, which is running when the user is pressing the "SAVE" button, random user-exit lists are unwanted.
    Thank you
    Tamá

    Hi,
    Following are exits available for AS01. Just put break point in each exit and test it at the time saving asset whether it is triggering it or no. Then you will come to know the exact one.
    TRAN0001                                User exit for asset transfer
    AAPM0001                                Integration of asset accounting and plant maintenance
    AFAR0003                                External changeover method
    AFAR0004                                Determination of proportional values for retirement
    AINT0004                                Change amount posted for certain areas
    AINT0005                                Dummy for extended syntax check. Do not use.
    AISA0001                                Assign Inventory Number
    AIST0001                                Exchange number range in master data maintenance
    AIST0002                                Customer fields in asset master
    AMSP0002                                Determine relationship type for two company codes
    Reward points if helpful.
    Regards,
    CS.

  • User exit after save for purchase order create/change

    After generating the purchase order no (ME21) i need to save that PO no into a custom table.....can u plz tell me such user exit where i can do this???

    Hi,
       BADI ME_PROCESS_PO_CUST.
    1. Method to implement would be POST.
    2. Method POST has parameter IM_HEADER which is in reference to IF_PURCHASE_ORDER_MM.
    3. This reference has method GET_CONDITIONS.
    4. call this method to get conditions data.
    5. Make all the changes based on the logic and use method SET_CONDITIONS to change the values.
    User exit will be MM06E005.
    EXIT_SAPMM06E_012.
    <b>Reward points</b>
    Regards

  • MIRO User - Exit to Change the Profit Centre..?

    I need to change the Profit Centre in the Accounting document(for Vendor Line Item) and Profit Centre Accounting Document(For Payable Line Item) Created by MIRO Transaction.Can any one let me know if there is anyuser-exit or badi to achieve the same
    Thanks a lot for your help .
    Regards,
    Gopi.K

    hi
    These are all the user exits avalilable for MIRO transaction.
    LMR1M001            User exits in Logistics Invoice Verification
    LMR1M002            Account grouping for GR/IR account maintenance
    LMR1M003            Number assignment in Logistics Invoice Verification
    LMR1M004            Logistics Invoice Verification: item text for follow-on docs
    LMR1M005            Logistics Inv. Verification: Release Parked Doc. for Posting
    LMR1M006            Logistics Invoice Verification: Process XML Invoice
    MRMH0001            Logistics Invoice Verification: ERS procedure
    MRMH0002            Logistics Invoice Verification: EDI inbound
    MRMH0003            Logistics Invoice Verification: Revaluation/RAP
    MRMN0001            Message output and creation: Logistics Invoice Verification
    I think you can use this exit.
    LMR1M002 
    Regards.
    Lavanya.

  • MIRO user exit  at material document creation

    I need to find out where or how material documents are created.  Right now we have one material document per day per invoice so a single document can have many payments made against it (if they are made in the same day).  What I need to do is change it so that each payment has its own material document.  If you have 3 payments against invoice 001 in the same day then you have three material documents against that invoice instead of just one.
    I am assuming this is done, or can be changed, in a user exit.  If not is this a configuration issue?
    Regards,
    Davis

    Here is the list of User Exits and BADIs for MIRO.
    Enhancement/ Business Add-in            Description
    Enhancement
    LMR1M001                                User exits in Logistics Invoice Verification
    LMR1M002                                Account grouping for GR/IR account maintenance
    LMR1M003                                Number assignment in Logistics Invoice Verification
    LMR1M004                                Logistics Invoice Verification: item text for follow-on docs
    LMR1M005                                Logistics Inv. Verification: Release Parked Doc. for Posting
    LMR1M006                                Logistics Invoice Verification: Process XML Invoice
    MRMH0001                                Logistics Invoice Verification: ERS procedure
    MRMH0002                                Logistics Invoice Verification: EDI inbound
    MRMH0003                                Logistics Invoice Verification: Revaluation/RAP
    MRMN0001                                Message output and creation: Logistics Invoice Verification
    Business Add-in
    INVOICE_UPDATE                          Business Add-In: Logistics Invoice Verification

  • User exit for save data in T.code PA40 ABAP-HR

    Hi Expart,
    what is the user exit which is trigger when we save the data through pa40 transaction which check the latest update in the database.
    Kindly give me exit name .

    Hi Vikash ,
    Please refer to below Exits :
    HRPBAS01            User Exit for HR Master Data
    HRPC0001            HR: PC download authorization
    HRRPAI01            User exit for FB HR_ENTRY_DATE and HR_LEAVING_DATE
    PARA0001            Enhancement for Determining the Number of Periods
    PARA0002            Enhancement for Calculating Annual Salary; IT0008,14,15
    PBAS0001            PA: Pers.Admin./Recruitment: Default values and checks
    PBAS0002            PA: Enhancements for Personnel Administration - Menu
    PBASRP01            PA: User exit distributed reporting
    Hope this will help you.
    Regards,
    Nikhil

Maybe you are looking for

  • Connect iPhone to ipad2 via Bluetooth?

    Hi my ipad2 won't connect to my iphone4 yet it's allowed me to complete pairing any help please? Thanks

  • Activity in Work Center

    Dear All, My question it's regarding at activity in work centers. I defined "setup time" like first activity, and I established an value for the plan price, for the activity type. Normally, this setup activity it's applicable just for first piece and

  • Linked text to webpage, but webpage shows error

    Hi In DW CS4. I have a link on text on a webpage. The link when clicked, goes to a bad error link page, although, that page successfully works when you visit/navigate through that companies website. It just doesn't work through mine. Could this be so

  • Issue after upgrading to 6.0.196.0

    Hi, We tried to upgrade to the latest code 6.0.196.0 from 4.2.207.0 on our 4402 controllers.  We have 3 of them and ~70 1242APs.  The controllers upgraded sucessfully, but many of the AP's don't seem to be coming back after the upgrade.  We checked a

  • When I try to burn a music CD, it insists I am burning a data DVD

    When I select a playlist and tell it to burn the playlist the disc as an Audio CD, I get the following message:    "You have inserted a blank DVD but originally selected a CD format. Are you sure you wish to create a data DVD instead?" Since I asked