Use of   "MRMN0001"  in MIRO exit

hi gurus ...
v want to know the use of MRMN0001 exit in MIRO  ...

Hi,
Not sure what function you want to acheive, but basicly you can use any code in the user-exit macro's customizing code, but at last you must fill in the spcified return value to make the user-exit macro work.
Best Regards,
Ada

Similar Messages

  • MIRO : exits and badis

    Hi,
    i'm looking for exits/badis in the MIRO transaction (Enter Incoming Invoice) after pushing the Save-button.
    For transaction/event :
    - Invoice : for some conditions a subprocess with creation of a sales order must started (---> done in badi INVOICE_UPDATE method CHANGE_BEFORE_UPDATE)
    - Credit memo : under some conditions a invoice cancellation must been done
    - Subsequent debit or credit : under some conditions not possible, so error message must been created.
    So what i need in the badi or exit, is the value of the transaction/event (RM08M-VORGANG), and the possibility to stop the process and show an error message, or to go on with the process and create a sales order or invoice cancellation.
    best regards,
    Hans
    by the way, i know all the standard answers on MIRO-exit questions, but this doesn't work so far.

    Hi,
      Exit Name Description
    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 being INVOICE_UPDATE
    Regards

  • Set PF-STATUS and use SY-UCOMM in an Exit FM

    Hi,
    I am working on an Exit function, and I am trying to read the screen status and then the user's actions, so that I could code for the SY-UCOMM. For some reason, my program is not working. Is it possible to add the PF-STATUS and SY-UCOMM to the Exit function to process the user's actions? Please advise.
    Thanks,
    RT

    Hi Ravikumar,
    I was able to use the parameters in the Exit provided in the Exit FM to process the necessary data. I have other requirements where I would have to code in the Exit FM to detect the user's actions and process them within the Exit to manipulate the tables. I added some code specified in the previous post, but it doesn't seem to get the OK_CODE; therefore, no processing of the data was happening when I tested by clicking on the yellow arrow to exit. I am able to determine the OK_CODE though.
    Would you have any sample code suggestions when using the Exit for SET PF-STATUS and SY-UCOMM?
    Thanks so much.
    RT

  • Combine two reports in query designer using key figure with sap exit

    Hi experts,
    i want to combine two reports in query designer using key figure with sap exit
    in the report 1 key figure calculation based on the open on key date(0P_DATE_OPEN)
    to calculate due and not due in two columns
    in report 2 key figure calculate in the time zones using given in variable Grid Width (0DPM_BV0) like due in 1 to 30 days, 31 to 60 days...the due amount based on the open on key date(0P_DATE_OPEN)
    to calculate in 1-30, 31-60, 61-90, 91-120, 121-150 and >150 days in 6 columns
    now i have requirement like this
    not due, 1-30, 31-60, >60, due,1-30, 31-60, >60 in 8 columns
    or
    not due, due, 1-30, 31-60, 61-90, 91-120, 121-150 and >150 in 8 col
    thank you

    Hi Dirk,
    you perhaps know my requirement,
    for the management to make used in one report,
    we have in reporting finacials Ehp3.
    Vendor Due Date Analysis - which show due, not due
    Vendor Overdue Analysis - show only due and analysis in time grid frame
    i want to combine in one report that show NOT DUE, DUE, DUE time frames in grid.
    krish...

  • How to use formula variable in customer exit

    Hi all,
            I just want to use formula varible in customer exit
    For eg,
             I have created formula variable with user manual lnput eg: ZFM_V01 = 30
    Another char variable  with user manual input eg: 0keydate = 28/02/2011
    Required output,
    I just want to read my ZFM_V01 value in customer exit
    Result = 0KEYDATE - ZFM_V01
    EG:
    result = 28/02/2011 - 30
    Required result = 29/01/2011
    Kindly guide me how u get formula varibale value into customer exit(CMOD) and find the required result. please help me.
    Thanks & Regards,
    R. Saravanan

    Sorry, Bhanu,Ashwin need more info
    As my understand ::
    Function module RSW_CURRENCY_TRANSLATION uses the following parameters
    Import parameters
    I_CTTNM : Currency translation key (optional)
    I_AMOUNT: Amount in source currency  (not optional !!) (data type: floating point !!)
    I_SCUR : Source currency (optional) I_TCUR : Target currency (optional)
    I_TIME_IOBJVL : InfoObject for determination of the time reference (optional)
    I_SCUR_IOBJVL : InfoObject for determination of the the source currency (p.eg. 0COMP_CODE) (optional)I_TCUR_IOBJVL : InfoObject for determination of the the target currency (p.eg. 0COMP_CODE) (optional)
    I_PERIV : Fiscal year variant (optional)
    I_RATE : Exchange rate (optional)
    Export parameters
    E_AMOUNT : Amount in target currency (data type: floating point !!)
    E_RATE : Exchange rate
    E_SCUR : Source currency
    E_TCUR : Target currency
    I created a Currency key(ZXX) which takes CAD and converts to GBP on Planned Exchange rate (P) with time reference 0CALMONTH.
    In my case :
    Currency Key : ZXX (Confused here)
    Source Curr :CAD
    Target Curr :GBP
    I need a Variable ,which takes time reference and gives back the exchange rate .
    ,,I am I missing some thing ?
    Sudh

  • Use of Project(CMOD) in exits:

    Hi all,
    Can anybody tell me what is the exact use of Project in user exits.
    Thanks in advance.

    hi,
      SMOD : for single user .
    CMOD: for USER-GROUP.(set of users doing the same task will be kept in one group based on the requirement for the group we will set authorizations.)
    thnks,
    raji

  • No Query Result After Using Hierarchy Node Variable (Customer Exit)

    Hi
    I have problem at my query. It doesn't show anything in BEx but when i check the data in BW using tcode LISTCUBE i can display the data.
    This problem happen when i change the restrictions for one of characteristic in filter value.
    The characteristic is custom Infoobject (ZCPARTNER), which like Infoobject Partner Unit.
    Previously I set the restriction with constant value, example : A500,A700,A710,A720,A730,A740 and it worked before.
    But when I change it using hierarchy node variable (customer exit), this problem is arise.
    Here is my code at ZXRSRU01
      WHEN 'ZHIEPART'. --> hierarchy node variable
       BREAK-POINT.
        IF i_step = 2.
        Read from ZZCONSGR information
          LOOP AT i_t_var_range INTO loc_var_range
             WHERE vnam = 'ZZCONSGR' OR vnam = 'ZOCONSGR'. --> read input value from consolidation group variable
            CLEAR l_s_range.
            CLEAR l_s_range-low.
            IF loc_var_range-low EQ '000000000000030000'
               OR loc_var_range-low EQ '000000000000010130'.
              l_s_range-low = 'MEZBUNITMDI'.
              l_s_range-high = '0HIER_NODE'.
            ELSEIF loc_var_range-low EQ '000000000000040000'
               OR loc_var_range-low EQ '000000000000010160'.
              l_s_range-low = 'MEZBUNITMPI'.
              l_s_range-high = '0HIER_NODE'.
            ENDIF.
            l_s_range-sign = 'I'.
            l_s_range-opt = 'EQ'.
            APPEND l_s_range TO e_t_range.
            EXIT.
          ENDLOOP.
        ENDIF.
    Here the hierarchy in BW system:
    XXX Cons Unit Hierarchy Set; InfoObject ; Node Name
    - XXX Cons Unit Hierarchy Set; 0HIER_NODE; ZBUNITALL
      - XXX DownStream ... ; OHIER_NODE; MEZBUNITMDI
         - ME/A730; 0CS_UNIT; MEA730
         - ME/A740; 0CS_UNIT; MEA740
      - XXX Power ; OHIER_NODE; MEZBUNITMPI
        - ME A800 - A808; OHIER_NODE; MEZBUNITMPI
        - PT Mitra xxx; 0CS_UNIT;  MEA820
    Anyone can help my problem? Thank you
    Regards,
    Satria B Tandyono

    Hi Satria,
    Instead of following code ---
    CLEAR l_s_range-low.
    IF loc_var_range-low EQ '000000000000030000'
    OR loc_var_range-low EQ '000000000000010130'.
    l_s_range-low = 'MEZBUNITMDI'.
    l_s_range-high = '0HIER_NODE'.
    ELSEIF loc_var_range-low EQ '000000000000040000'
    OR loc_var_range-low EQ '000000000000010160'.
    l_s_range-low = 'MEZBUNITMPI'.
    l_s_range-high = '0HIER_NODE'.
    ENDIF.
    try this ---
    IF loc_var_range-low EQ '000000000000030000'
    OR loc_var_range-low EQ '000000000000010130'.
    l_s_range-low = 'MEZBUNITMDI'.
    ELSEIF loc_var_range-low EQ '000000000000040000'
    OR loc_var_range-low EQ '000000000000010160'.
    l_s_range-low = 'MEZBUNITMPI'.
    ENDIF.
    Note : whenver the option is EQ, the system takes only low value.

  • Use of Touch Drag Enter/Exit

    I want to delete an item when click a button and drag it into a trash button. Can I and how can I do this by using Touch Drag Enter and Exit in Builder?

    Hi Big Will,
    I'm afraid I misunderstand your issue.  Let's get straight on some terminology so I can help you better.
    1-"2 steps at the same time" to me means that you have two different steps in your sequence but you want them to execute simultaneously and asynchronously of each other.   OR 
    2- it could mean that you have one step and the batch model is set up to run two different testsockets which would create two different threads for the same step.  Then you want those two different threads to run at the same time.  OR
    3-it could mean that you have 2 steps in a sequence that execute in order and for those two steps you want a synchronized section in which the steps get executed at the same time within each thread your batch process model spawns.  Which one do you mean?
    First of all that is the incorrect usage of the Batch Synchronization step.  That step is for different threads of the same sequence.  So like your batch model will spawn 3 testsockets (threads) of the same sequence.  The synch sections are for synchronization among the threads.  Not for steps within a single thread. 
    I'm attaching a small example of what I think you want.
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~
    Attachments:
    Asynch2Steps_Old2.seq ‏31 KB

  • When i try to export my videos using quick time conversion FCE exits out on me. why does it do that?

    When i try to export my videos using quick time conversion FCE exits out on me. why does it do that?

    Does it always happen at the same time during the export?
    Can you play through the entire Sequence in FCE without any problems?
    What are your Sequence settings in FCE>
    Have you rendered fully prior to exporting?
    Which export settings did you use?
    -DH

  • Can it be used commit statement in user-exits?

    Can it be used commit statement in user-exits?
    How to badi is different from other enhancement?
    What are the two default components systems automatically creates when we create a new badi?
    What is the business object for purchase order?

    Hi,
       1) commit statement in userexit:
    You should not do that.
    After the user exits code is triggered, the transaction's own commits statements will commit the database anyway
    2)You could say: BAdI = enhancement using interfaces
    It is just the most up-to-date version of SAP's enhancement concept.
    go thru this.
    http://www.esnips.com/web/BAdI
    http://www.allsaplinks.com/badi.html
    New to Badi
    Regards
    Kiran Sure

  • User Exit / Enhancement Point to set exchange rate using GR date in MIRO

    Dear experts,
    I'm trying to set exchange rate not as default but using GR date (When I input the PO number and click enter, the exchange rate should be set). So when system set the exchange rate, it will use the PO date, not GR date.
    What user exit / enhancement point / BADI should I use?
    I've already tried all user exit and BADI for MIRO but still not succeed. Is there anyone who could help me?
    Thank you very much..
    Regards,
    Shirley

    Hi,
    So as to capture Exchange Rate w.r.t PO date, it is suggested to go for Development/Enhancement with required import purchasing doc types in it. While doing GR and before posting the document you need to capture the Exch Rate as per PO date and replace with GR date Exch rate present in it through development.
    Regards,

  • Will MIRO exits generally fire in MR8M also?

    In this thread here:
    MIRO equivalent of MIGO exit_saplmbmb_001 (or MB_DOCUMENT_BADI)
    Krishna Reddygari was kind enough to provide a list of exits and BAdIs related to MIRO.
    My question now is:
    is it usualy the case that if an exit fires in MIRO, it will also fire in MR8M?
    The reason I'm asking is as follows.
    Regardless of whether the customer uses MIRO or MR8M, I have to update two custom fields in EKPO line items.
    So I'm hoping that the exit or BAdI that I choose for MIRO will also fire in MR8M.

    No prob with the points.
    If you end up using it, have in mind two things which are not so visible in the documentation:
    Note that you must not send any system messages in the methods. One exception to this is the method CHANGE_AT_SAVE. In this method, you can issue a system messages if the exception ERROR_WITH_MESSAGE is triggered simultaneously.
    Note: only for non-exit commands: you can check the command type in the SAPLMR1M GUI statuses - DELE for preliminar document deletion is one example - or else you get a dump
    The statement Commit Work must not be performed, since this leads to data inconsistencies in the database.
    Good luck.
    Regards

  • How to use the variables of Function exit in the include program

    i have a problem of using the variables of a function exit in the include program..
    If i use those variables there will be an error indicating 'Field FEBVW_IN is unknown. It is neither in one of the specified tables nor defined by a DATA statement'. Please help... Below is the code of the function exit:
    FUNCTION EXIT_SAPLIEDP_202.
    ""Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(IDOC_CONTROL_INDEX)
    *"     VALUE(IDOC_DATA_INDEX)
    *"     VALUE(FEBVW_IN) LIKE  FEBVW STRUCTURE  FEBVW
    *"     VALUE(FEBKO_IN) LIKE  FEBKO STRUCTURE  FEBKO
    *"     VALUE(FEBEP_IN) LIKE  FEBEP STRUCTURE  FEBEP
    *"     VALUE(FEBRE_IN) LIKE  FEBRE STRUCTURE  FEBRE
    *"     VALUE(FEBPI_IN) LIKE  FEBPI STRUCTURE  FEBPI
    *"  EXPORTING
    *"     VALUE(I_FIMSG) LIKE  FIMSG STRUCTURE  FIMSG
    *"     VALUE(FEBVW_OUT) LIKE  FEBVW STRUCTURE  FEBVW
    *"     VALUE(FEBKO_OUT) LIKE  FEBKO STRUCTURE  FEBKO
    *"     VALUE(FEBEP_OUT) LIKE  FEBEP STRUCTURE  FEBEP
    *"     VALUE(FEBRE_OUT) LIKE  FEBRE STRUCTURE  FEBRE
    *"     VALUE(FEBPI_OUT) LIKE  FEBPI STRUCTURE  FEBPI
    *"  TABLES
    *"      IDOC_CONTROL STRUCTURE  EDIDC
    *"      IDOC_DATA STRUCTURE  EDIDD
    *"      IDOC_AVIP STRUCTURE  AVIP OPTIONAL
    *"      IDOC_AVIR STRUCTURE  AVIR OPTIONAL
    *"      IDOC_AVIT STRUCTURE  AVIT OPTIONAL
    *"  CHANGING
    *"     REFERENCE(IDOC_AVIK) TYPE  AVIK OPTIONAL
    *"  EXCEPTIONS
    *"      PROC_ERROR
      INCLUDE ZXF08U10.
    Here is the code for the include program.
      INCLUDE ZXF08U10
    MOVE febvw_in TO febvw_out.

    Sometimes you will get this error message when checking include code in exits even though there is really no error - it happens because the include does not realise it is in the function due to the navigation index being out of date.
    Try activating the code - it may work even though the check said there were errors.
    You can also get this issue when trying to drill down on the field in the include to view its structure.
    Andrew

  • Using Formula Variable in Customer Exit variable

    Hi,
    I want to assign valuees of 2 Formula Variables to one cstomer exit variable based on some Characteristic.
    Example. Formula variables are Early and Late. If Early = 3 and Late = 4 , I want to pass value to the Customer Exit variable as Low = 3 and High = 4.
    The problem is in I_T_VAR_RANGE there is no value for formula variable in LOW field.
    Other variables based on Characteristics have values in this field.
    What can I do in this case?
    Regards
    SSS

    SSS,
    You can restrict your characteristic with two variables in the value range options of restricting.
    One can be used as low and the other can be high.
    Hope that helps.
    Thanks.

  • Using Reconciliation account in Miro

    Hi,
    I would like to know is it possible to include new tab in Miro for reconciliation account or it can be done only with using access key for table SKB1. What are the customizing steps for this. I need of this function to deduct down payment to vendor in invoice receipt. When I use f-54 the system made :
    Dt Vendors (Recons Acc)
         Ct Vendor advance payment
         Ct Tax acc for purchasing
    It is not allowed from our legislation.
    I have to made following postings:
    1/ Posting Invoice for vendor down payment:
    Dt Vendor Down payment (Reconcilliation Acc)    5000
    Dt Tax acc for purchasing                                  1000
            Ct Vendor Acc (Reconciliation Acc)            6000
    2/ Posting Payment (This is clear. Only for example) 
    Dt Vendor Acc (Reconciliation Acc)                    6000
            Ct Bank Acc                                             6000
    3/ Posting final invoice:
    Dt Materials/Stocks                                          15000
    Dt Vendor down payment(negative posting)          -5000
    Dt Tax Acc                                                        2000
            Ct Vendor Acc                                          12000
    4/ Posting payment:
    Dt Vendor Acc                                                 12000
            Ct Bank Acc                                            12000
    Thanks in advance:
    Daniela

    Hi Kuntal,
    you can define per reconciliation account 1 - n alternative reconciliation accounts.
    (SPRO: Financial Accounting (New) - Accounts Receivable and Accounts Payable - Business Transactions - Postings with Alternative Reconciliation Account - Define Alternative Reconciliation Accounts.)
    Only those defined accounts can be used for customers / vendors with this default rec.account.
    The master data of all reconciliation accounts must be similiar and marked  in field
    KNB1-XMITK for "Reconcil.acct ready for input" (FS00 Create/Bank/Interest), both the default and the alternative rec.accounts.
    There is no programming to do.
    Coming from SD there is a special menu in customizing to assign alternative
    rec.accounts:
    Sales and Distribution - Basic Functions - Account Assignment/Costing - Reconciliation Account Determination
    Prerequisite is the FI definition as described above for FI.
    Then you have to define a determination procedure ex. KOFIAB with a account determination ex. KOAB.
    The procedure has to be assigned to the billing types you want to work on.
    Further you need a decision table and rules to assign finally the reconciliation accounts for the determination (KOAB) and the rules given.
    Hope I could help you.
    Kind regards,
    Theresia

Maybe you are looking for