BADI in MIRO transaction for G/L account validation

Hi Experts,
Can I know the Badis availabe in MIRO transaction Code.
and list me the procedure to findout the Badis available for a perticular t-code.
Let me come with my exat requirement,
I need to check whether the G/L account number assigned is valid or not.
I think now I am clear with my requirement.
Regards,
Sujatha.

Hi Anjireddy,
that BADI contains the following methods, but they are not triggered when I do my requirement.
CHANGE_AT_SAVE          Invoice Document at Save
CHANGE_BEFORE_UPDATE     Invoice Document Before Update
CHANGE_IN_UPDATE     Invoice Document During Update
Suggest me regarding.
Regards,
Sujatha.

Similar Messages

  • Restirct users in "MIRO Transaction for G/L Account Tab"

    Dear Experts,
    In MIRO Transaction there are two Tabs PO reference and G/L account .
    My requirement is , I Need to Display G/L account Tab only for some  particular users.I Mean those restircted users would not able to use that Tab(G/L account).
    so can u please tell me the procedure .

    Create transaction variant/screen variant from SHD0 and assing two different transaction name(for both case).
    as per aurthorization allow user to use them.
    for creating transaction variant just refer:
    https://www.sdn.sap.com/irj/scn/advancedsearch?query=howtocreatetransactionvariant&cat=sdn_all

  • Regarding BADI , INVOICE_UPDATE ( MIRO transaction )

    Hi All,
    In Miro transaction, I need to do some manipulationwith  the amount field ( WRBTR ) from the line items of the invoice.
    I have found the BADI 'INVOICE_UPDATE' and method for this is 'CHANGE_AT_SAVE'. I can see all the line items entered on the miro screen into the the internal table TI_RSEG_NEW.
    However in the method it does not allow me to write the code to change the TI_RSEG_NEW table.
    Please help me out in achieveing this requirment.
    -Sanjay

    Hai.
    check this.
    User exit in the invoice
    USEREXIT_NUMBER_RANGE (module pool SAPLV60A, program RV60AFZZ)
    The internal set of numbers used in the standard is given in the table of kind of invoice and can be changed in this user exit. This user exit is called only when putting on the invoice.
    USEREXIT_ACCOUNT_PREP_KOMKCV (module pool SAPLV60A, program RV60AFZZ)
    In this user exit additional fields for the account identification are taken up in the communication structure KOMKCV (head fields), which is not intended in the standard.
    USEREXIT_ACCOUNT_PREP_KOMPCV (module pool SAPLV60A)
    In this user exit additional fields for the account identification in the communication structure become KOMPCV (position fields) aufenommen, which is not intended in the standard.
    USEREXIT_NUMBER_RANGE_INV_DATE (module pool SAPLV60A, program RV60AFZC)
    Dependent on the set of numbers over the table TVFKD the invoice date is set (country-specific requirement from Italy).
    During the use of this user exit the user exit USEREXIT_NUMBER_RANGE is automatically inactively switched.
    USEREXIT_FILL_VBRK_VBRP (module pool SAPLV60A, program RV60AFZC)
    This user exit is called only when putting on the invoice. It is used, in order to supply the head and the position of the invoice which can be provided with deviating or additional data.
    USEREXIT_PRINT_ITEM (module pool SAPLV61A, program RV61AFZB)
    Printing the position line of an invoice can be supplemented or changed.
    USEREXIT_PRINT_HEAD (module pool SAPLV61A, program RV61AFZB)
    Printing the headline of an invoice can be supplemented or changed.
    User exit in the program RV60AFZD
    A short description of the user exits are contained in the program:
    o USEREXIT_RELI_XVBPAK_AVBPAK
    o USEREXIT_NEWROLE_XVBPAK_AVBPAK
    o USEREXIT_NEWROLE_XVBPAP_AVBPAK
    USEREXIT_FILL_VBRK_VBRP (module pool SAPLV60A, program RV60AFZC
    Use RV60AFZZ Include
    regards.
    sowjanya.b

  • MIRO USEREXIT for change GL account

    I have the requirement
    when i post the invoicement for good receipt
    I need change the GL account by purchase group
    anyone can give me some suggestion about use which userexit?

    Hi,
    You can use user exit ZXMBCU02 in enhancement -
    MBCF0002 ( EXIT_SAPMM07M_001 ).
    However you cannot directly chnage as MSEG is available as importing parameter and whatever you change here will have no impact on main prog. Instead you can use following code -
    FIELD-SYMBOLS <F2> TYPE ANY,"Field Symbol for the GL ACCOUNT
    DATA : W_KONTO_NAME(50) VALUE '(SAPMM07M)DM07M-KONTO'.
    ASSIGN (W_KONTO_NAME) TO <F2>.
    MOVE "GLACCOUNT" TO <F2>.
    "GLACCOUNT" is the new GL account you want to change.
    or try field exit:
    report RSMODPRF
    Regards,

  • BADI INVOICE_UPDATE - MIRO Transaction

    Hi,
    can anyone let me know how to code the BADI INVOICE_UPDATE.
    I'm trying to get the PO number and based on the PO, need to get few more info from another table. i have already went to SE19 and created a implementation for this Badi. And then in the method, i need to code this.
    Please help.
    Thanks.

    i have successfully triggered the BADI. But one more question, since i'm using CHANGE_BEFORE_UPDATE, it is generating the Invoice Document. And i'm checking in the BADI, that the PO number can be used for the Material Invoice or Service Invoice, based on the Document Type.
    Since i couldn't get the PO number in the MIRO User Exit, so i tried BADI. But the new invoice document is getting generated and if it is wrong PO, it comes out from the screen and the invoice document number range is missing.
    So is there any other BADI, upon entering the PO number, i need to validate.
    Thanks

  • Display transaction for the non Account Holder on FPL9

    We are using a single Contract Account with Multiple Business Partners. The systems allows only one account to be an account holder which means all transactions will be allocated to the account holder. Is it possible to post an amounansact on the non Account Hoder BP and see the transactions on FPL9.

    Hi,
    This is possible. You need to configure contract account category at SAP Customizing Implementation Guide -> Financial Accounting -> Contract Accounts Receivable and Payable -> Basic Functions -> Contract Accounts -> Configure Contract Acct Categories and Assign Number Ranges.
    There is an check box, where you can decide to allow one or more than one business partner can be assigned per contract account.
    Hope this helps.
    Regards,
    Avinash

  • MIRO No for a given Acc doc no

    Dear all,
    Can anyone please suggst how to find MIRO no for a given accounting doc no
    Regards
    Sivaprasad.
    Best answer will be rewarded with gud points.

    Hi,
      use fb03 transaction-->accounting document number-, company code, fisacl year of the document--
    press enter.
      there  are two way's  to find MIRO number from this document.
      1. click on header or press f5
       2.goto menu bar-->environment>original document--
    >here system will show you the MIRO document.

  • MIRO slow for non excise items

    Hi Experts,
    When i do MIRO for Excise items it only takes 3-4 minutes but for non excise items it takes 25 minutes approx.
    WHen i enter the PO number it takes 5-10 minutes to get the PO item list. When i change the tax it again take 5-10 minutes
    Overall posting MIRO for non excise item it takes 25 minutes
    I also tried indexing on MSEG: MANDT LFBJA LFBNR LFPOS & MSEG EBELN EBELP but it also didnt work out.
    Can anyone please elp me on this.
    Regards,
    Nik

    If not already performed, check the following OSS botes (there are many others, check for you configuration)
    - [Note 759703 - Performance problems in MIRO|https://service.sap.com/sap/support/notes/759703]
    - [Note 1085468 - Performance issue in MIRO transaction for Indian companies|https://service.sap.com/sap/support/notes/1085468]
    - [Note 158519 - Performance optimization in logistics invoice verification|https://service.sap.com/sap/support/notes/158519]
    Also try to use tools like SE30, ST12 or ST05 to find where is the bottleneck.
    Regards,
    Raymond

  • Making a field mandatory in MIRO transaction

    Hi all,
    I have an issue like this
    In the MIRO Transaction , for credit memo , I need to make the field INV.REF. as a mandatory field.
    Kindly suggest me on this .
    thanks,
    Sumit

    Hi,
    1.- in transaction OLMRLIST enter:
    Transaction = MIR7
    screen variant = ZWHATEVER
    Program = SAPLFDCB
    screen = 20
    2.- click on button create (here you´ll go to transaction MIRO)
    3.- Click on button "save" and a popup will appear
    4.- Click on button "continue"
    5.- Click on "Back" and here you will see the variant details
    6.- Look for row of field "Inv.Ref." and check the checbox of column "Required"
    7.- Save and activate
    8.- Later on you can modify your variant too
    Best regards.
    Edited by: Pablo Casamayor on Apr 15, 2009 12:02 PM

  • Required help for badi for GL tab in MIRO transaction

    Hi,
    I am working in MIRO transaction.
    I am having a requirement as below:
    While creating invoices, In the gl tab when we enter gl account number system should populate Tax jurisdiction code by default.
    I am using BADI EXTENSION_US_TAXES method MM_ITEM_TAX_MODIFY but it populates the tax jurisdiction in PO reference tab not in GL tab.
    Please advice
    Regards,
    Suvarna Nandi

    Hi
    Have you tried with enhancement FYTX0002? See also Note 302998 - Collecting fields for user-exit. It's an idea.
    I hope this helps you
    Regards
    Eduardo

  • Cross Company MIRO Transaction - BSEG-TXGRP Not Valued for Account Type "S"

    I am working with the ABAP group to create tax reports for audits and sales tax charged by vendor.  I am basically wanting a line item report of all purchases along with any tax applied to each line.  Therefore, I am, for the most part, using tables BKPF, BSEG, and BSET.  For our US transactions, we have one company paying the invoice on behalf of all other US companies.  Essentially, every transaction is a cross-company transaction.  The problem is I am having a hard time tying BSEG to BSET by line item.  For FB60 transactions, I can tie BSEG-TXGRP to BSET-TXGRP; however, for MIRO transactions, BSEG-TXGRP is not valued for Account Type "S" (GL Accounts).  Any ideas?  I could not find a note to capture this issue.  There was a note, but it was with regard to Account Types "D" and "K" I believe, vendor and customer accounts.
    Any help would be greatly appreciated.
    Thanks,
    Deanna

    So,
    Did you ever resolve this.  I have the EXACT problem right now.   Inter-co. MIRO documents only getting TAXGRP popuplated for Original Co. Document (not cross-co. document).
    Thanks,
    - Tim

  • Difference in Profit center for GR/IR account in MIGO & MIRO Transaction

    1) We have created material 106267 with material type ROH. We have assigned profit center 1001052999 (common profit center) to material.
    2) We have created WBS element MUM-RIV002.SS.RC.RF with profit center 1001052002.
    3) We have created PO 4000000236 for account assignment category u2018Qu2019 for the above material with WBS element MUM-RIV002.SS.RC.RF   . After posting GRN for PO 4000000236 we have identified that for GR/IR account profit center is taken from material master & for stock account profit center is taken from WBS element.
    Please find the below Flow
    In MIGO
    Entry
    Accounting Document number in Entry View
    5000001125
    PSKY          G/L Code      Description
             Amount
         Curr.
              Profit Center
         WBS element
    89          231101     RAW MATERIAL STOCK     2,000.00     INR          1001052002     MUM-RIV002.SS.RC.RF
    96          162101     GR/IR-Material     -2,000.00     INR          1001052999     MUM-RIV002.SS.RC.RF
    Document number in Ledger View
    L.item     PK     SG     Account     Description         Amount     Curr.     Tx     Profit Ctr     WBS element
    1     89          231101     RAW MATERIAL STOCK     2,000.00     INR          1001052002     MUM-RIV002.SS.RC.RF
    2     96          162101     GR/IR-Material     -2,000.00     INR          1001052999     MUM-RIV002.SS.RC.RF
    3     50          162001     InterSegment Clrg     -2,000.00     INR          1001052002     
    4     40          162001     InterSegment Clrg     2,000.00     INR          1001052999     
      It should take profit center from WBS element for GR/IR account & Stock account but for GR/IR account profit center is taking form material master & for stock account profit center is taking from WBS element.
    MIRO
    Entry
    Accounting Document number Entry View
    5100000657
    PK     SG     Account     Description         Amount     Curr.     Tx     Profit Ctr     WBS element
    31          100000     Ambuja Cement Ltd     -1,996.00     INR     V4          
    86          162101     GR/IR-Material     2,000.00     INR     V4     1001052002     MUM-RIV002.SS.RC.RF
    40          254001     VAT Receivable     80     INR     V4          
    50          172103     TDS PAYABLE -194C     -42     INR               
    50          176101     WCT-TDS payable     -42     INR               
    Document number in Ledger View
    PK     SG     Account     Description         Amount     Curr.     Tx     Profit Ctr     WBS element
    31          160100     CRS-Domestic Supp     -1,996.00     INR     V4     1001052002     
    86          162101     GR/IR-Material     2,000.00     INR     V4     1001052002     MUM-RIV002.SS.RC.RF
    40          254001     VAT Receivable     80     INR     V4     1001052002     
    50          172103     TDS PAYABLE -194C     -42     INR          1001052002     
    50          176101     WCT-TDS payable     -42     INR          1001052002     
    In the MIRO Accounting Document profit center for [162101] GR/IR-Material A/C has taken from WBS element
    Please note that we are using document splitting with Profit center is mandatory
    We have created same scenario for Cost center. After posting the GRN profit center is taken from cost center for both GR/IR account in MIGO & MIRO accounting documents.
    Plez help

    Hello
    ANy suggestion for question & if solved do let me know

  • User Exit/BADI's for MIRO Transaction

    Hi All,
    I need to modify the header text field  in DETAILS Tab of MIRO transaction. This text needs to be populated based on the line item conditions. I am not able to find any proper BADI or user exit where in i can get both header and line items details so that i can modify Header Text Field.
    Please help me out in same.
    Regards,
    Jayant

    Hi,
    in badi MRM_HEADER_CHECK try something like:
    * Get line item conditions
        CONSTANTS: c_ydrseg(18) TYPE c VALUE '(SAPLMR1M)YDRSEG[]'.
        DATA: wa_drseg TYPE mmcr_drseg.
        CLEAR wa_drseg.
        FIELD-SYMBOLS: <fs_ydrseg> TYPE table.
        ASSIGN (c_ydrseg) TO <fs_ydrseg>.
        DATA:  lt_ydrseg TYPE STANDARD TABLE OF t_mmcr_drseg.
        lt_ydrseg[] = <fs_ydrseg>.
    IF NOT lt_dyrseg[] IS INITIAL.
    LOOP AT lt_ydrseg INTO wa_drseg.
      IF wa_drseg-mwskz = 'WHATEVER'. "HERE GOES YOUR CONDITION
    * Modify Header text
        CONSTANTS: c_bktxt(21) TYPE c VALUE '(SAPLMR1M)RBKPV-BKTXT'.
        FIELD-SYMBOLS: <fs_bktxt> TYPE ANY.
        ASSIGN (c_bktxt) TO <fs_bktxt>.
        <fs_bktxt> = 'HERE_GOES_YOUR_VALUE'.
      ENDIF.
    ENDLOOP.
    ENDIF.
    Best regards.

  • User exit/BADi to populate the header text in MIRO transaction

    Hi all,
    I am searching user exit or badi to populate the header text in MIRO transaction.
    My requirement is, before post the invoice I need to populate the some text in Header text field (MIRO -> Details tab -> header text field). I need to populate this field in the MM document as well as FI document (Accounting Document). I have tried all the user exits and BADi's related to MIRO/MRRL. Doesn't work. If anybody knows please share.
    Thanks,
    Santosh
    Edited by: Santosh Ghonasgi on May 13, 2010 4:48 PM

    Hello santosh,
    I am not sure whether a suitable exit / BADI exists to update the header text in MIRO directly.
    there is one related forum:
    User exit/BADi to change the header text in MIRO transaction
    Hope, it may helpful for you to proceed with some other parallel solution.
    Regards,
    Selva K.
    Edited by: Selvakumar Krishnan on May 13, 2010 5:29 PM

  • Critical :MIRO TRANSACTION-POP UP SELECTION FOR MULTIPLE VENDOR SELECTION

    Hi experts ,
    I have a requirement in my project in which AP ( accounts payable ) requires pop up selection box in MIRO when there are multiple remit to address exist for the same vendor.Currently AP does not have the ability to see  when mulitple remit accounts exist for a vendor.   This is causing payment to be sent to the wrong place.so the requirement is 1.Modify the MIRO transaction to determine if a multiple remit-to vendor scenario exists and issue an info message to the user so that he/she can perform a vendor search.
    Modify MIRO to Issue Info Message for Multiple Remit-to Scenario
    If possible, find an appropriate BAdi or user exit where an info message can be issued.  The message must be issued after entry of the purchase order number.
    Determination of a multiple remit-to case is as follows:
    -     User in transaction MIRO enters a value in the purchase order number field and presses enter or other function key
    -     In exit code:
    o     the vendor number is determined from the purchase order entered
    o     the vendor master is then searched and the following vendor records are returned as matches:
         ADBR remit-to vendors defined as partners to the purchase order vendor number
         Vendor records with the same tax ID number as the purchase order vendor number
         ADVN vendor records with the same value in LFA1-ZZMCOD2 in the first 12 characters only
         Include the vendor number defined to the purchase order number entered
    o     If the search returns more than one vendor record, then issue the info message u201CMultiple remit-to vendors may exist.  Please validate vendor on PO with vendor on the invoice.u201D
    can anybody provide any inputs in this.
    regards
    Prasun

    I have wondered about this for a while. I was trying something tonight and it seemed to do what you need. I suggest you save your document before trying it.
    Select one of your popups.
    Copy Style
    Select all the popups
    Paste Style
    With all selected, go to the Inspector and add another item to the list.
    All popups should now have the new item. The selected values should not have changed. Copy/paste style is required to make this work.
    Please let me know if this works for you. I've tried it a few times and it seems to do the trick.

Maybe you are looking for

  • Can the Apple TV steam from iCloud

    I would like to place a presentation in the cloud and stream it to a flat panel TV.  Can I?

  • Question regarding dropped inquiries.

    recently some of my Transunion inquiries have been coming off my credit report couple of months before the 2 year mark.  which is great. transunion has jumped 20 points in the last month.  my question is equifax inquiries are still there.no of them h

  • Dynamic target

    hi all, I have one Form, 3 frames(A, B, C) and 3 buttons(A, B, C) on a jsp page. I like data to be display to frameA when I click on buttonA, or B to B, or C to C. How do I do that? thanks all

  • Album shows no downloaded videos from whatsapp

    When down videos of Whatsapp they do not appear in the main grid (all content) Album, I have to go into folders and then (wahtsapp videos), why will be this happening? The album was not well, everything descended was already possible to see in (all c

  • ACS v 4.1 ID # or serial # ?

    Hello, We have an ACS version 4.1 on our environment running on a win 2003 server and I would like to know how to find the serial # or ID of the application to see if we have a support contract for it ?? Thanks for your help