Error in transaction MIRO

Hi Experts,
When i use trasaction MIRO, i am getting the following error when i press messages after entering all data.
"Ln 001 Acct 30101000 needs Profit ctr in CD ledger"
Please let me know the solution for the same.
Thank you.

Hi AP,
How could i check the derivation rule? Is there any transaction for that?
Regards,
Nobin

Similar Messages

  • CALL Transaction 'MIRO' return error messages in MESSTAB

    Dear All,
    We have created a test function module to call transaction 'MIRO', the function works fine on one server but the same give error messages on other server.
    The messages returned by call transaction is as follows
    ======================================================
    Messages retunrned by 'CALL Transaction MIRO' as on server I (success)
    ======================================================
    1 MIRO SAPLMR1M 6000 I E F5 096 1,002,010.00 INR Advance to Vendors CTU
    2 MIRO SAPLMR1M 6000 S E F5A 034 BusA CTU
    3 MIRO SAPLMR1M 6000 S E M8 060 5200000423 CTU
    ======================================================
    Messages retunrned by 'CALL Transaction MIRO' as on server II (error)
    ======================================================
    1 MIRO SAPLMR1M 6000 S E F5 480 RE Doc. Header Text CTU
    2 MIRO SAPLMR1M 6000 I E M8 584 CTU
    3 MIRO SAPLMR1M 6000 S E F5 480 RE Doc. Header Text CTU
    4 MIRO SAPLMR1M 6000 S E 7Q 333 1008473 CTU
    5 MIRO SAPLMR1M 6000 E E F5 480 RE Doc. Header Text CTU
    In fact, when the MIRO screen is displayed to user and user enter the data in MIRO and simulate, there is no error.
    But when we post the transaction the screen is exited without displaying the invoice document number.
    Where as if we call MIRO directly, it works fine without any error.
    Kindly help.
    Regards
    Ruhi Hira

    The sample code is
    FUNCTION Z_TEST_MIRO.
    ""Local Interface:
    *"  EXPORTING
    *"     REFERENCE(ERRCODE) TYPE  N
    *"     REFERENCE(INVOICENUMBER) TYPE  C
    *"     REFERENCE(OLDINVOICENUMBER) TYPE  C
        DATA: BEGIN OF tran_opts,
            dismode   TYPE ctu_params-dismode VALUE 'A',
            updmode   TYPE ctu_params-updmode VALUE 'S',
            cattmode  TYPE ctu_params-cattmode,
            defsize   TYPE ctu_params-defsize ,
            racommit  TYPE ctu_params-racommit,
            nobinpt   TYPE ctu_params-nobinpt VALUE 'X',
            nobiend   TYPE ctu_params-nobiend,
        END OF tran_opts.
        DATA: BEGIN OF MESSTAB OCCURS 10.
            INCLUDE STRUCTURE BDCMSGCOLL.
        DATA: END OF MESSTAB.
        ERRCODE = 0.
        GET PARAMETER ID 'RBN' FIELD OldInvoiceNumber.
        DATA BEGIN OF BDCDATA OCCURS 1.
            INCLUDE STRUCTURE BDCDATA.
        DATA END OF BDCDATA.
        CALL TRANSACTION 'MIRO' USING BDCDATA OPTIONS FROM tran_opts MESSAGES INTO MESSTAB.
        LOOP AT MESSTAB.
            WRITE: / MESSTAB-TCODE,
            MESSTAB-DYNAME,
            MESSTAB-DYNUMB,
            MESSTAB-MSGTYP,
            MESSTAB-MSGSPRA,
            MESSTAB-MSGID,
            MESSTAB-MSGNR,
            MESSTAB-msgv1,
            MESSTAB-msgv2,
            MESSTAB-msgv3,
            MESSTAB-msgv4.
            IF MESSTAB-MSGTYP = 'S' AND MESSTAB-msgid = 'M8' AND MESSTAB-msgnr = '060'.
                invoicenumber = messtab-msgv1.
            ENDIF.
        ENDLOOP.
        IF OldInvoiceNumber = InvoiceNumber OR InvoiceNumber IS INITIAL.
            ERRCODE = 1.
        ELSE.
            ERRCODE = 0.
        ENDIF.
        REFRESH BDCDATA.
    ENDFUNCTION.

  • How to use the functionality of Simulation for the Transaction MIRO

    Hi Group,
    I have a requirement to call SAP from MS Excel and check for the SImulation option as under:
    The Excel will pass the values of Invoice Number, Posting date, PO number, PO Item number, Company code and etc., through the call of BAPI   -   'BAPI_INCOMINGINVOICE_CREATE'  in order to create Invoice in the SAP system.
    But the above BAPI is creating the Invoices in SAP system. Rather, I need to just check(thru SIMULATION) the records and come back to MS Excel with the MIRO numbers that will be created and the errror messages that will be returned back.
    In summary, I have to add two Buttons as:
       POST : this has to create MIRO(invoice Numbers) in the SAP System(populating the Success/Error Messages by calling
                   the above BAPI   -  This functionality is working fine now
       SIMULATE: this has to do  same functionality of "POST" option but should not create MIROs in the SAP system
                          Currently I am not able to achieve this as the above BAPI is creating MIROs in SAP.
    Kindly provide your inputs on how to go about incorporating the above SIMULATION functionality, by giving some simulation BAPIs that can be used for my functionality.
    Thanks for your help in advance.
    Regards,
    Vishnu.

    Hi Group,
    In continuation to my previous posting, I would like to give more inputs as under:
    when I was using the BAPI - BAPI_INCOMINGINVOICE_CREATE (unless I commit the transaction), MIRO would not be created in the system.
    Now, when I run the BAPI again with a different set of data, the Invoice Number is getting incremented by one.... this I dont need, if the Invoice is not committed and if I run the next time, I need to get the same Invoice Number....
    How can I achieve this task?
    Kindly let me know your inputs on this.
    Regards,
    Vishnu.

  • Special G/L accounting with transaction MIRO

    Hi,
    I trying to use special G/L funcionality using transaction MIRO. In Standard it is not possible but i read that is possible using an user exit/badi. I tryed with my own code but it did not work. Have anyone code that will solve our problem??
    Best Regards
                           João Fernandes

    Hello Joao,
    I have opened an OSS note for this and here is the reply I have got:
    "10.09.2008 - 11:15:10 CET - Reply by SAP
    Dear Dirim,
    Thanks for your reply. I do agree with your requirment and also gone through the link.
    The incident you have reported is not related to a coding error, but to a feature not supported by the functionality available within standard SAP. Therefore, a Solution cannot be delivered via the standard maintenance process.
    If you believe that this feature is of general interest to other SAP users, you may apply to get in touch with a SAP User Group ( i.e. DSAG or ASUG) in order to check the feasibility of opening a development request, aiming to enhance SAP's product portfolio offering for future releases. Further details about this could be found in the link http://service.sap.com/rollin
    Please see attached notes for more information.
    11 Requested function not contained in standard system
    397871 Solution only possible via customer project
    Kind Regards,"
    So now I'm looking for people who can help me raise this in their respective user group, so that we will have the same request for many countries at once.
    Can you help me out?
    Thanks,
    Dirim

  • Error committing transaction in Stored Proc call - prev solns not working

    Hi All,
    Our process invokes a DB adapter to fetch the response from the table for our request via Stored Procedure call but facing the below issue. Its a synchronous process. Stored Procedure is present inside the Package and we are calling the Stored procedure using that Package.
    What we did is created a DB datasource of XA type and tried to call the Stored Proc but it was giving a problem “ORA-24777: use of non-migratable database link not allowed” and hence according to this thread Using DB links in Stored proc call in DB adapter 11G SOA we have modified the datasource as non-XA type.
    While we do that, we could see that Stored Proc is called and the response is present in the reply payload inside the flow trace. But the instance is getting faulted and the error is “Error committing transaction:; nested exception is: javax.transaction.xa.XAException: JDBC driver does not support XA, hence cannot be a participant in two-phase commit. To force this participation, set the GlobalTransactionsProtocol attribute to LoggingLastResource (recommended) or EmulateTwoPhaseCommit for the Data Source.”
    We have tried the properties of global transaction support as one phase commit, emulate two phase commit and logging last resource but error remains the same.
    Database from which we are getting the response is of version "Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production". Will the database link error arises even if we connect to Oracle Database?
    Please could you advise me solutions to resolve this issue.
    Thanks in advance.

    You are using Non-XA because it means (among all others) that the commit issue can be handle by the DB as well.
    The Emulate Two Phase property imitating the XA transaction in that way, that it allows you to manage a local db transaction.
    You can stay with XA connection, but then you will have to use "AUTONOMOUS_TRANSACTION pragma" in your procedure.
    Enter the following link to find good explanation about all of your questions:
    http://docs.oracle.com/cd/E15523_01/integration.1111/e10231/adptr_db.htm#BGBIHCIJ
    Arik

  • Error in Transaction data

    Hi Folks,
    In System logs, daily I am encountering the message as "Error in transaction data".
    The messages are listed in SM21 in sequence as -
    Error processing batch input session PMFMASSIGN
    > Queue ID: 07011706105177351507
    > Transaction no. 1, block no. 1
    > Error in transaction data
    On more detailed analysis, after drilling further through each message I found the following message relevant -
    Documentation for system log message D2 0 :
    Entry relating to an error during the processing of a batch input session.  In the batch input session the data for the next transaction is requested.  However, the data read is no transaction data. The session has probably been destroyed in the database.
    Please explain as why the issue is occuring. I remember some time back, I executed RSBTCDEL2 on Production to clear invalid batch sessions but had to terminate due to long run.
    Kindly help me fix this.
    Regards,
    Nick

    One interesting discovery I just found in R/3, was this job log with respect to the above process chain:
    it says that the job was cancelled in R/3 because the material ledger currencies were changed.
    the process chain is for inventory management and the data load process that get cancelled are for  the job gets cancelled in the source system:
    1. Material Valuation: period ending inventories
    2. Material Valuation: prices
    The performance assistant says this but I am not sure how far can I work on the R/3 side to rectify this:
    Material ledger currencies were changed
    Diagnosis
    The currencies currently set for the material ledger and the currency types set for valuation area 6205 differ from those set at conversion of the data (production startup).
    System Response
    The system does not allow you to post transactions after changing the currency settings to ensure consistency.
    Procedure
    Replace the current settings with the those entered at production
    start-up.
    If you wish to change the currency settings, you must use programs to convert data from the old to the new currencies.
    Inform your system administrator
    Anyone knowledgable in this area please give your inputs.
    - DB

  • Error In Transaction F-44 for Foreign Vendor Payment

    Hi Experts,
    User is getting the Error In Transaction F-44 (G/L account 14281001 xxxx does not exit) while doing Vendor Payment to Foreign Vendors.
    When I checked in Vendor Master Data, Reconcilliation account is maintained for all Foreign(other) & Foreign(Intercompany) Vendors.
    The GL 14281001 is maintain in the account determination configuration for other Foreign Vendors.
    User is getting this Error After successful FF67 transaction Process.
    Please advice.

    Hi Amitash,
    GL is created @ COA level & not mark for deletion. This GL is not created in Company code. I discussed with user she was saying
    F-44 transaction is booked a realized gain/loss while a foreign vendor invoice clearing vs payment. Normally this realized gain/loss must be booked directly to the foreign vendor account which is linked to GL XXXXXXXX for all IC foreign vendors and linked to GL YYYYYYYY for all other foreign vendors .
    It will be not correct to book a foreign vendor realized gain/loss to a separate account therefore a new GL 14281001 should not be created in comp code XXXX,  instead of incorrect GL14281001 SAP must select either GL XXXXXXXX for IC foreign vendors or GL YYYYYYYY for all other foreign vendors.

  • Error in transaction SOAMANAGER from Dev ECC6

    Hi,
    I am getting below error in transaction SOAMANAGER  -- Application & scenario comm -- single service admin -- select service Z* -- apply selection -- Open Web Service navigator for selected binding then getting error as below:
    Error:
    Cannot download WSDL from http://<host>:8010/sap/bc/srt/wsdl/bndg_DF5CDA3549E109F1A9D000145E7A77A0/wsdl11/allinone/ws_policy/document?sap-client=010: It is not allowed to access this service. If you believe you should be able to, please contact your system administrator
    I appreciate if you could help me in this.
    - Pankaj

    Hi Pankaj,
    This error message is caused by security considerations. The WS Navigator can access only web services which are deployed on the local engine. To allow the WS Navigator to access an external hosts, you have to add
    these hosts, to the WS Navigator white list. The white list is a list hosts which the WS Navigator should be able to access.
    Please refer to this link, which describes where the white lists are maintained in the visual administrator: http://help.sap.com/saphelp_nw04/helpdata/en/7c/f257422d095542e10000000a1550b0/content.htm
    When configuring the white lists one can use wild card. For instance. If a web service deployed on www.sap.com should be accesseed by the WS Navigator, then the the white list should contain *.sap.com. The whitelist can contain more then one host, in that case they should be separated by an comma or semi-column.
    Hope this can fix your issue.
    Regards,
    Blanca

  • LSMW - Error BDC_INSERT, Transaction code .. is invalid XD01

    Dear all.
    I have done the following Steps:
    1 - Maintain Object Attributes. Chose the Object type Batch Recording, then created a Record using the name (CLI_PMR). And created the Batch record and then assign the fields name.
    2 - Maintain Source Structures – Created the Struture (CLI_PMR1)
    3 - Maintain Source Fields – Assign the fields name and length that I used in my program. (CLI_PMR1).
    4 - Maintain Structure Relations – Assign the Struture (CLI_PMR1 to CLI_PMR)
    5 - Maintain Field Mapping and Conversion Rules – The normal thing in this point.
    6 - Specify Files - Specified the Legacy Data, path for the file.
    7 - Generate Read Program – Generated the Program.
    8 – Read Data – Executed this Step and every thing is correct
    9 - Generate Conversion Program – Generated the program
    10 - Convert Data – Convert data
    11 - Display Converted Data – Every thing is fine, with no errors
    12 - Create Batch Input Session- At this the error message appears Error BDC_INSERT, Transaction code .. is invalid  time.
    At the time we have created other LSMW programs for this T-Code and every thing is OK.
    I'm using the T-CODE=XD01
    Best Regards
    Pedro Miguel Rodrigues

    Hi, I had the same problem in LSMW when generating a batch input for trx IE01. The cause was that there were tab/newline-characters in my text file (some descriptions contained tab-characters). Since I used a tab delimited file, these tabs/newlines in the fields messed up my file.
    The excel file contained multiple lines per cell in some description fields. When this was exported to tab delimited text, it contained additional tabs. After checking the contents and removing the tabs/newlines from Excel and performed a new export to txt-file, it was solved.
    Best regards,
    Jan-Peter Molenaar
    SAP EAM Consultant

  • Vendor Invoice creation through EDI (Transaction MIRO)

    Dear All,
    We want to implement Vendor Invoice creation thro EDI .(Transaction
    MIRO)
    We are not finding any suitable EDI Function Module in SAP which
    would take care of more than 20 items and run a MIRO or any
    equivalent transaction .
    Can any one please advise if any Function module exists ? We need it for
    Invoice creation with GR reference as well as without GR reference .
    Thanks
    Sanjay.

    Thanks Naren,
    I will come back after checking the fn module.
    - Sanjay

  • Payment terms display in transaction MIRO

    Dear all,
    When we use transaction MIRO we have the correct display from the payment terms and the display is correct.
    When we use the transaction MIR4 in ordre to see the invoice the value of the payment term (0000, 0060...) has disapear but the number of days are correctly indicated.
    How can we still having the value of the payment terms (0000, 0060...) in MIR4?
    Thanks!
    David

    Hi,
    Please refer this link:
    value in payment terms field not dispalyed in invoice after saving MIRO
    Regards,
    Pramitha.

  • Error: [129]: transaction rolled back by an internal error:  [129] transaction rolled back by an internal error: exception 141000274: exception 141000274: TRexUtils/ParallelDispatcher.cpp:275 message not found; $message$=

    Hello Gurus,
    I have a couple of calculation views in HANA and each of them has text fields (like Employee Name, Country Name etc.).
    As part of my project requirement, I have join those two views and get all the fields that exist in them.
    When I am doing so, I am getting a weird error as shown below.
    Error: [129]: transaction rolled back by an internal error:  [129] transaction rolled back by an internal error: exception 141000274: exception 141000274:
    TRexUtils/ParallelDispatcher.cpp:275
    message not found; $message$='TSR HTKD JFSDFM'
    Please check lines: 59,
    Upon, researching further, I could see that the value 'TSR HTKD JFSDFM' is the value in text field of Employee Name.
    I did try to increase the length of the field and change the data types but nothing has worked.
    Could you please help me in getting this one resolved.
    Thanks,
    Raviteja

    Hi,
    I am exactly facing the same issue:
    Error: [129]: transaction rolled back by an internal error:  [129] transaction rolled back by an internal error: exception 141000274:
    But i found a fix :-) .....
    This may be a very late reply but it would help people who desperately searching for an answer for this issue.
    I used CAST function .. The problem is, we are selecting data from table and of course we dont know the size of the data (attribute) @ runtime. We assign the length by looking at the table attr length or view op attr length. But what happens is the junk data which exceeds the limit of the allocated space hence we get this error.
    So i used CAST function to truncate the excess junk values (may be spaces).
    Example:
    I have a ATTR view of date in the format YYYY-MM-DD which means 10 char size.
    In my CALC view I have created date OP column of VARCHAR(10) but I get the above error for no reason. Eventhoug i am 100% sure about my ATTR date would be max of 10 char my CALC view is failing @ runtime.
    So i did a CAST on date as CAST(my_date as varchar(10)) and the magic happend. It works .......
    But you need to be careful in using this because if you use CAST you may lose data. Careful. In my case i dont.
    Somebody from HANA team should look at this issue from SAP and solve this. I am sure it is a serious bug from HANA (eventhough i am using SAP HANA SP09 Rev 92 the most latest as of today !!!!!!!!!! )
    Enjoy....
    Thanks & Regards
    Prakash K

  • How to add a button to the toolbar in transaction MIRO

    Hi, I wanna know if some1 could tell me how can I add a custom button in the standard toolbar of transaction MIRO.
    The client have the lastest version of SAP so I have enhancement point to add the functionality of the button, but how can I add the button without registering the object in the OSS.
    Thx.

    Hi Siva,
    Create one custom program Eg:zxyz activate it. Now open se80 give program name:SAPMV50A and open gui status.
    In GUI Status right click on 'W0' copy it to custom 'ZW0' and the custom program name which created first.
    Now goto your custom program and write
    double click on 'ZW0' and create your custom button in application toolbar.
    activate it and activate your program.
    Now come to stander program SAPMV50A open screen 1000.
    in moduel  'initialisieren' double click on perform cua_setzen.
    again double click on module initialisieren and by using enhancement framwork functionality implement the below logic.
    Finally you will get the button in application toolbar.
    Reward if it is help full.
    Regards,
    Quddus.

  • Need to create a message INVOIC from transaction MIRO

    Hy,
    try to find an answer on following prob.
    I need to send the billing information from transaction MIRO to another system. They want to have a INVOIC02. I know how to create a message but i have not found a solution (wich function) to create a INVOIC02 with all information.
    Any help ?? Is there another solution or do i have to develop the filling of the IDOC ?
    Thanx
    Jens

    Hi again,
    thanx for the answers. Helpful but not solving my prob. Perhaps i have to describe a little bit more.
    My prob is not to create the IDOC. I can handle that. My problem is to find the right function to fill that IDOC.
    On transaction M806 i have created a new Output type. But i do not know wich Processing Routine i have to use to fill the IDOC INVOIC02. I tried the Program RSNASTED and the the Form Routine ALE_PROCESSING.
    Now the whole settings i made :
    TA M806
    New type : Ytcm
    Program :    RSNASTED
    Form Routine : ALE_PROCESSING
    TA WE81
    New message type : YTCMS2
    TA WE82
    New message type : YTCMS2
    Basic type :                INVOIC02
    WE20
    Partner LS
    Outbound : 
    Message type :  YTCMS2
    Basic type  :  INVOIC02
    Message control
    Application :   MR
    Message type :  YTCM
    Process code : SD09
    With that settings i create the IDOC but this is not filled with the information of the billing (Transaction MIRO).
    So i think perhaps the process code or the settings in TA M806 a not right.
    Thanx again for helping me.
    Regards
    Jens

  • How add a new field in transaction MIRO

    Hello !
    I need to add a field (tiban-iban) in a subscreen of transaction MIRO, and I don't know how
    Screen concerned
    SAPLMR1M / n° 6510
    I need to add the field (display only), and fill it from table tiban.
    Thanks
    Aussie

    hi
    u can check the transaction varients in  SHD0
    Adding new field (ie Goods Recievd date ) at item level in MIRO tcode.
    How to add a field to the Vendor Info on MIRO?
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=addfieldin+miro&adv=false&sortby=cm_rnd_rankvalue
    regards
    kunal

Maybe you are looking for