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,

Similar Messages

  • BAdI or USEREXIT for changing data of purchase order header - ME21N

    hello all,
    I would like to ask you any way to change the field "reason for change" of the Purchase Order  header.
    I tried implementing the method PROCESS_HEADER of IF_EX_ME_PROCESS_PO_CUST
    or changing reason_code of structure ekko in user exits EXIT_SAPMM06E_006 and EXIT_SAPMM06E_006
    but it seems not to work.
    How can i do?..
    sap. v. ecc 6.0

    >
    Shiva Kumar wrote:
    > Use the user exit : EXIT_SAPMM06E_012: This is triggered on saving of a PO...and user can add validations etc in the exit...
    > Cheers
    It doesn't work...
    >
    Martin Voros wrote:
    > you get reference to object IM_HEADER in method PROCESS_HEADER of BADI ME_PROCESS_PO_CUST. On this object you can call two methods - GET_DATA and SET_DATA. GET_DATA returns structure with type MEPOHEADER. You can change your field here and then call method SET_DATA with your modified structure. This should work.
    > Cheers
    ..same thing for this solution...
    the field that i want to change is RSCOD inside structure EREVGRID...it seems to have also get_data and set_data methods ( IF_REVISION_ITEM_DCM ),
    but I don't know which BAdI to implement that has a object type ref to EREVGRID...
    Edited by: E_M on May 13, 2008 11:08 AM

  • Exit for Changing GL Account in VF01

    Hi,
    We have requirement where in we need to give a different GL account at the time of Billing through VF01 for a particular customer. We have ruled out using configuration of u201Crevenue account determinationu201D for some reasons.
    I would like to know from the experts on the forum, whether there is any user exit that can be used to change the revenue account itself at the time of posting of accounting document while billing through VF01. I found the exit (EXIT_SAPLV60B_004: Change a GL account item ACCIT You can add information to a GL account item (such as quantity specifications) with this exit). Please advise if this exit can be used to change the GL account itself.
    Thanking you all.
    Regards
    SAI

    Hi,
    Your question is not clear. I could provide tables for Incoming Invoice, RBKP (Header), RSEG (Item).
    Regards
    Mohammad Shaik.

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

  • 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

  • Userexit for changing line item from header, tcode VA42, VA41

    Hi All,
    I have a Zfield (VBAK) for the sales document (contract) at the header level in Additional tab.
    Also the same zfield is present in VBAP table for all line items.
    When this field is maintained by the user using Tcode VA41 or VA42 the line item zfield should also get updated.
    I am trying to find out if User Exits
    1. USEREXIT_MOVE_FIELD_TO_VBAK
    2. USEREXIT_SAVE_DOCUMENT_PREPARE
    might work. Can anyone tell me if there is access to line items in the above 2 user exits which I can modify.
    Thanks,
    Kajal

    Hi Breakpoint,
    Yes I did use table XVBAP in uesr exit SAVE_DOCUMENT_PREPARE.
    But somehow my changed values in XVBAP table is not reflected in the table VBAP.
    Am I missing something here.
    My piece od code  in the user exit :
    FORM XVBAP_ZZREBREL_CHANGE  TABLES t_xvbap STRUCTURE vbapvb
                               USING  P_VBAK_ZZREBREL TYPE vbak-zzrebrel.
    data wa_xvbap type vbapvb.
      IF p_vbak_zzrebrel = 'X'.
        LOOP AT t_xvbap into wa_xvbap.
          wa_xvbap-zzrebrel = 'X'.
          MODIFY t_xvbap from wa_xvbap INDEX sy-tabix TRANSPORTING zzrebrel.
          clear wa_xvbap.
        ENDLOOP.
      ENDIF.
    ENDFORM.

  • HR userexit for changes to employee infotype

    I would like to add a function module to a few infotypes to invoke a bapi on the save to that info type. Which user exits should I put my function mod in when say infotypes pa0001,0002,0006,0105  are changed.

    Example code from ZXPADU01/02 for ECC6.0
      when '0001'.
        if i0001-begda ge '20060401'.
        MOVE innnn TO i0001.
          call method cl_hr_pnnnn_type_cast=>prelp_to_pnnnn
            exporting
              prelp = innnn
            importing
              pnnnn = i0001.
        do what ever you want to here.........
    case P0001-BUKRS.
    when 10.
      do condition 10
    when 20
    do condition 20
    when others.
    endcase
        MOVE i0001 TO innnn.
          call method cl_hr_pnnnn_type_cast=>pnnnn_to_prelp
            exporting
              pnnnn = i0001
            importing
              prelp = innnn.

  • Userexit for changing financial period(MONAT)

    Hello.
    We need to change financial period(BKPF-MONAT) on FI document which is created by Other Goods Receipts(Trcd:MB1C).
    In additoion, we also need to do it following documents.
    -Profit center document
    -FI-SL document
    Does anyone know how to handle this situation ?
    Thanks and Regards,
    S.Hirai

    Hello,
      Can I know how you have changed the monat field in bkpf table while creation of fi document.
    Regards
    Srinivas

  • Change Reconciliation Account

    Hello,
    The user ask me to change Reconciliation accounts for some vendors and customers.
    I've done the following steps:
    1/ Set the u201CReconciliation Accountu201D field in the vendor master as optional field (customizing)
    2/ Define Adjustment Accounts for Changed Reconciliation Accounts (customizing)
    3/ Run Balance Sheet Adjustment Program - F101(FAGLF101 in ECC6)
    But, there is no posting, and nothing happened.
    My questions :
          - What FAGLF101 is supposed to do exactly ?
          - The vendor/customers can have open items before executing FAGLF101 ?
    Thanks you

    Hi Tarek
    I hope you have actually changed your Recon. account
    You can change the reconciliation Account in the Vendor or customer Master provided the field Status in your configuration allows changing the Reconciliation Account. Also, it is ideal that you change the reconciliation Account when the balance on the Reconciliation Account is Zero.
    To clear the reconciliation Account one option is that you create a new open item managed GL Account and use Transaction FB05 to clear each open item in the vendor Account one at a Time and post on the new open item clearing Account. Then change the reconciliation Account in the master data and then again use FB05 to post the transactions back on the vendor Account one at a time.
    Refer - Change the Reconciliation account
    Rgds,
    Zub

  • Changing reconciliation account on Vendor Master.

    Hi All,
    We want to change the reconciliation account for 5 Intercompany vendors. The business reason is to differenciate the normal and Intercompany vendors.
    I wanted to know how to send the open items from the old reconciliation account to the new reconciliation account for a Vendor.
    Thanks
    Rajanikanth

    Hi Fren,
    The reconciliation account can still be changed. However there is some configuration changes needs to be done.
    A. Set the u201CReconciliation Accountu201D field in the vendor master as optional field.
    Transaction code: OB23 (IMG)
    Change both Accounting and Centrally part.
    Set the status of u201Creconciliation accountu201D field to optional entry from display only
    Next move on to:
    B. Define Adjustment Accounts for Changed Reconciliation Accounts
    Transaction Code: OBBW
    Finally move to,
    C. Run Balance Sheet Adjustment Program
    Transaction Code: F101
    Hope this helps you.

  • Userexit to change PO Line items

    Hi All,
    We are looking for a userexit for changing the PO line items (EKPO-SPINF)......searched the entire forum but not working.....
    we were trying to implement MM06E005........however none of the function modules in it are triggered......
    Any help.....

    Hi Faheem,
    Thanks for the reply.
    We are on 4.6c system...hence we do not have this BADI available...
    What i am trying to understand is whether we can use exit MM06E005 to modify standard fields.....though we do not have any customer fields...
    What i feel is no since....the BADi will not be triggered from those custom screens.........
    Please correct, if i am wrong....
    But its hard to believe that we cannot modify standard fields of PO when creating purchase order......in 4.6c

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

  • BADI of USEREXIT for MIRO

    I need to automaticaly change Payment conditions depending on some conditions on item level. There is algorithm which we got from our customer for this calculation. So, i need userexit or badi where I can implement enhancement.

    Hello,
    Following user exits are present in MIRO
    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
    No of Exits:         10
    Saurabh

  • Is there any userexit for MIR7 and   MIRO transaction?

    Hai friends,
           Is there any userexit for MIR7 and MIRO transaction at the time of pressing "save as completed" or "save" button. I want to check the sales certificate and invoice verification for the document number entered in MIR7 and MIRO.
    Regards,
    safiq
    NOTE:useful points will be rewarded.

    hi,
    these r the exits related to mir7.
    Transaction Code - MIR7                     Park Invoice
    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
    put a break point in each exit,like break username and test the transaction .

  • Changing ITunes Account for Apps

    How do I change my Itunes account for apps? When I go to update my apps, it still has my old account (my password does not work) and I have since created a new account (divorce issues). I have made a new password request for my old account and I do not get an email from Apple to do so. Everything else on my iphone is under my new account (Itunes, store, etc).
    VERY FRUSTRATING!

    How do I change my Itunes account for apps?
    You can't. Apps are DRM protected & tied to the account used to originally purchase them. Contact iTunes support & request they add the apps in question to your download queue for your new account. Explain the situation & most likely, they will do so:
    http://www.apple.com/support/itunes/

Maybe you are looking for

  • I can no longer get to my saved passwords anymore.

    I currently am running Nightly 34.0a1 and I'm unable to access my saved passwords. The window that usually comes with asking for the password does not show up. I've never had a problem with this until I updated to Nightly.

  • Enabled users are not seen in the rtc database

    Hi, I have installed Lync 2013 into our environment and I am having an issue where users enabled for Lync are not able to log into the client, receiving the error: "You didn't get signed in. It might be your sign-in address or logon credentials, so t

  • G550 Intel TV Wizard/HDMI not working

    Hi Support, G550, Where it comes under? Under which series it comes? Is it IDeaPad or THinkpad? WHere can i search for this G550 Support. I facing the problem of Intel TV Wizard which is not working and i could not connect to TV trhough HDMI port. ht

  • Feature not support in oracle 10g

    Hi to all, We've planned to migrate oracle 9i to oracle 10g. Sys DBA will do the migraion.I'm App DBA and i want to know what are all the feature the not support in oracle 10g comparing to oracle 9i. Please give information in details. Thanks in adva

  • Linksys connection problems (ready to throw the thing out the window)

    I own a G4 powerbook OSX 10.3.9. and use a WRT54G v5 router. Everything was working fine up until a week ago. Now, I am CONSTANTLY losing my connection and because of this, I have to reboot the router every day. Even then the signal only works for a