Regarding GL item tab in MIRO transaction

Hi
I am working on MIRO transaction.
In GL Item tab, if we enter Account number it has to be
checked with ZMMTABLE and display error if not available.
In Ztable we have company code, account number(SAKNR) and ZFLG as key.
need to fetch by key.
How to fetch company code and account number from screen?
I am using BADI INVOICE_UPDATE, CHANGE_AT_SAVE method.
WHen i clic save button in MIRO transaction, the BADI is not triggered.
I have implementation active and made break point too.
I tried displaying invoice document in MIRO , changed the amount and clicked save button. but BADI is not triggered
Can you tell me how to debug bad? i put break point in BADI method and opened session then execute MIRO.
Pls advice how to go with.
Regards
Chandra
Edited by: princeck on Sep 20, 2011 3:14 PM
Edited by: princeck on Sep 20, 2011 4:11 PM

Hi
I want to access GL item tab account number from MIRO transaction to BADIINVOICE_BADI Method CHANGE_AT_SAVE. I entered the account number in GL account tnumber tab. but parameter TI_RBCO_NEW-BUKRS & TI_RBCO_OLD-BUKRS values are empty inside BADI method.
Can you suggest me how to find this.
Regards
Chandra
Edited by: princeck on Oct 3, 2011 2:32 PM

Similar Messages

  • Entering the text in note tab in MIRO transaction

    hai friends,
    can u please tell how to store a text in note tab in MIRO transaction usging function module.
    please help me.
    Regards,
    N.selvamuthukumar

    Hi
    I need to program the same. Can you please send the details of how you implemented it.

  • 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

  • BADI to change Item details of MIRO Transaction

    Hi Experts,
    Is there any BADI or User Exits to change Item details like 'Profit Center' in MIRO Transaction. I searched for, but nothing helps.
    Thanks in Advance.

    Hi,
    have a look at this OSS Note (search for BAdIs as of Release 6.00:):
    1156325 - BAdIs in the Logistics Invoice Verification environment
    perhaps you could consider using a substitution instead of a badi.
    Best regards.

  • Copy of header text to Line item text in MIRO transaction

    Hello Friends,
    I have a requirement where i need to copy the header text ( BSEG-SGTXT) to item text ( EKPO-TXZ01 i.e PO text) during MIRO creation.
    Is there any user exit or BADI .OR is there any other method for doing the same .
    Thanks and Regards !
    Ashish

    Dear,
    Go to se37 MRM_FINAL_CHECK.--display
    then click on that enhance source button ( shift+f4) then go to edit--enhancement operation ---show implicit enhancement option   this is how you can find out the eh=nhancementts .
    Cheers
    fareed

  • Debit/Credit indicator in header tax tab in MIRO transaction

    Dears,
    would it be possible to let me know if it's possible and how the debit/credit indicator can be included in the MIRO header tax tab?
    I'm working on a 4.6 SAP R/3 system and I have been looking to customizing settings related to the issue that I've just explained to you, but, up to now, I do not have found the point in SPRO transaction from which this function might be maintained.
    Any help would be appreciated!
    Thanks in advance
    Davide

    i hope you already know this
    in Va05 further selection criteria check thes  sales document type is there or not
    if not
    SPRO-SD-Sales-list-define selection criteria prgram SAPMV75A Display variant "k"  enter the sales document type field and save
    in Va05 create a variant for a required sales document type excluding Debit and credit document types.
    this is only my observation likes points...

  • User Exits & BAPI in MIRO transaction.

    Hi all,
    We have a scenario as below.
    We are raising PO (Say PO No.1) with upper delivery tolerance as 10% at item level. The quantity upto 10% tolerance level is received via movement type 101.
    The quantity received above 10% but upto 20% is received via separate movement type say Z01 & PO No. 2 is getting created automatically.
    The quantity received above 20% is received via separate movement type say Z02 & PO No. 3 is getting created automatically.
    Now consider that Rs. 500 received through 101 movement. Rs. 200 received through Z01 movement & Rs. 100 received through Z02 movement.
    Now our requirement is as below.
    1. At the time of MIRO,  user will give  PO No. 1 as input. System should through throw message to select PO No. 2 & PO No. 3 also.
    2. Following entries should get passed.
    101 movement :   Vendor A/C Cr.   500
                                 GR/IR A/C    Dr.           500
    Z01 movement     Vendor A/C Cr.  200
                                 GR/IR A/C    Dr.           200
    Z02 movement     Provisional GL A/C Cr.  100
                                 GR/IR A/C               Dr.            100
    As regards the Z02 movement, we are passing it via GL account tab in MIRO transaction.
    After the above entries are passed, system should also raise a debit note for 50% amount of Z01 movement as below.
    Provisional GL A/C  Cr.  100
    Vendor A/C              Dr.          100
    Can any one suggest suitable user exits/BADI/BAPI to satisfy above requirement.
    Shripad

    Hi
    1. In my opinion, there is no mechanism by which you can tag PO 1/2/3... So, while entering PO1 in MIRO, I dont think there is any mechanism by which you can get a message for Po 2 and 3
    You can still try your hand at BAPI_ACC_INVOICE_RECEIPT_POST.... Or go to T code BAPI and explore the right BAPI
    2. Regarding other requirements of Z02 and Z01, you can create a Z t code using a BDC for F-02 or BAPI_ACC_DOCUMENT_POST
    br, Ajay M

  • 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.

  • Enhansement in MIRO Transaction

    Dear xperts.
    i m new to ABAP , I need to modify the header text field in DETAILS Tab of MIRO transaction.can any one please help me how can i found the User EXIT and how can i Edit the code to for Header test field.
    i need to input the code
    LAND1 is country code
    IIF LAND1  IS NOT EQ RUS
    then
    BKTXT (header text field ) SHould not be empty and write xxxxx- /xxxx-xxxx in BKTXT
    Thanks

    Hi,
    Go to se18 transaction give the BADI name as MRM_HEADER_DEFAULT,
    then in the menu path enhancement implementation--> create implementation.
    you will get a pop up asking for implementation name , give the name as for ex: ZIMPL_MRM_HEADER
    save the implemenatation
    go to interface tab where you will find method HEADER_DEFAULT_SET
    double click on the method then write your code similar to below:
    IF i_rbkpv-bukrs = 'XYZ'.
        e_bktxt = 'TEST_BADI'.
      ENDIF.
    activate and test your transaction, hope this helps you.
    Regards,
    deepak.

  • Excise Item TAB not showing in MIRO

    Hi Expert,
    While doing Miro, Excise Item Tab not showing we have check the details Like Tax code, Chapter ID, and excise rate Material.
    Kindly help me ,
    Thanks
    Pranav

    Hi,
    Please go to transaction code MIGO and check whether excise tax exists or not ? if yes, please click on and click on Miscellaneous tab
    In case it is shown as In process we would not able to see excise details in MIRO.
    Hope, this solves your issue else revert.
    Regards,
    Tejas

  • Capture Inv. Party under Details Tab of MIRO for auto line items

    I am unable to get the "Inv. Party" in FBL3N for automatically generated line items.  For example, the entries generated based on Tax Code is not capturing the information entered in Assignment field.  The date of transaction in yyyymmdd format is being captured when FBL3N is viewed.  The layout option doesn't provide "Inv. Party" to be selected though it is appearing in the Details Tab of MIRO.
    I am presently maintaining the details of Vendor items from FBL1N for all transactions, get the data for a particular GL Code, say VAT credit due, then using Excel VLOOKUP to match and get the Vendor code to submit to tax authorities.
    Is there any simpler way out?

    Hi,
    go through this...
    https://wiki.sdn.sap.com/wiki/display/Snippets/Displaycustomerfieldsinheaderoflogisticsinvoiceverification+transactions
    Thanks,
    Shailaja Ainala.

  • 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

  • Line Item Value change in MIRO Transaction

    I have one  requirement i.e as follows.
    <b>Line Item Value change in MIRO Transaction</b>
    After getting the items in table control of  the miro screen of a particular order.
    I have to clicked on edit own condition of selected item.
    then it will show another screen ( create invoice document item - conditions)which have the all condtions details like
    Fra1 , frb1 , sd%  ,  Penalty % , gross price , frieght charges etc.
    In this screen first time it is showing line item as
    in the miro intial screen i.e. if u click po item
    10 it will show 10 only.
    after  updating fra1  value , i came back to the main screen at that time it is asking that select the any one of three.
    after selecting manual selection its fra1 was changed.
    once again if i go to the same line item by clicking
    the edit own condition(13 column if u select all information in textbox whixh is above tablecontrol right corner) it is showing line item as 1 in screen ( create invoice document item - conditions) which  should be line item as 10. ( here i took line item as 10)
    Please clarify this, why it is showing
    first time as  a original line item and
    after updating it is showing like
    for line item 10 -
    1
                   20 -
    2
                  100 -
    10
                  110 -
    11.

    "...it does not work..." is probably the worst description of a problem you can imagine. As an application developer you should know that. Do you use firebug to see what happens once it "does not work"? Any better hints?
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    https://apex.oracle.com/pls/apex/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Regarding Line item of MIRO

    Hi all,
    I am preparing "ENTRY TAX" report. In that report , for one of the columns i have to fetch "POTEXT" field in MIRO transaction. I am not getting in which table  that value will get stored. I did SQL trace too.
    If anyone could help me, i shall be thankful to them.
    Thx & regards,
    Ravi

    Rbkp & rseg  use these tables..
    If not found in above tables than check in tcode  SE75
    here u can take help of abaper..

  • 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

Maybe you are looking for

  • Curious network item popping up in sidebar

    Just installed a new HD in my MacBook Pro and took the opportunity to do some housecleaning by installing a fresh Snow Leopard OS rather than doing a Time Machine restore. Since the install I've been having an odd issue that I've never seen before, a

  • How to run SequenceFilePostStepFailure model callback after step failing with nested sequence calls

    Hi, I would like to pop up a message box immediately on any test failures.  I had thought I could use the SequenceFilePostStepFailure model callback to achieve this,but when I modify the process model callback to achieve this, I've found that the cal

  • How do I change a corrupt Microsoft Office Icon?

    When I run Disk Warrior I get this report: Folder: "Microsoft Office X" Detected that the Custom Icon is damaged and cannot be repaired Location: "MM/lost+found/2816834/Retrieved Microsoft Word/HD Backup/Applications/" I found the hidden file, but th

  • How to model a Many-to-Many relationship in java?

    Folks, I'm having trouble understanding how to properly model a many to many relationship in OO/Java. The full scenario is in this thread... http://forum.java.sun.com/thread.jspa?threadID=5288115&start=0&tstart=0 it's a college/uni assignment to buil

  • Car spinning graphic animation maybe best done in FCE?

    My initial concept for a project I am working on that shows an actual photographed car spinning around, was to use the 'bank' of cameras taking stills approach which I could duplicate by shooting the car in the studio with a white cyclic floor and ba