Skip to Content
avatar image
Former Member

BAPI for MIR7 transaction with no PO data in ECC 6.0

Hi All,

Can anybody provide me BAPI's for transaction MIR7 with no PO data available.

Data available to post: Header data like -> Comapny Code, doc typ/date, post date, currency key & header text etc..

Item date like:

Item data-1->Debit Data-> comp code, post.key, vendor a/c, amount, item text, assignment, tax amount etc..

Item data-2->Credit Data-> comp code, posting key, account no, amount, cost center, material, partner, tax code, wbs element, assignment, item text

Can anybody give the BAPI's for the same functionality.

Note: The BAPI should Park Vendor Non-PO Invoice data trough MIR7 transaction and we are in SAP version ECC 6.0

Thanks in advance.

Thanks,

Deep.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Sep 06, 2008 at 10:44 AM

    Hi,

    Any solution for above post!

    Thanks,

    Deep.

    Add comment
    10|10000 characters needed characters exceeded

    • The importing parameter in red will return you the parkdoc-invoicenumber, and parkdoc-fiscalyear.

      CALL FUNCTION 'BAPI_INCOMINGINVOICE_PARK'

             EXPORTING

               HEADERDATA                = HEADERDATA

      *   ADDRESSDATA               =

            IMPORTING

              INVOICEDOCNUMBER          = PARKDOC-INVOICEDOCNUMBER

              FISCALYEAR                = PARKDOC-FISCALYEAR

             TABLES

               ITEMDATA                  =  IT_ITEMDATA

      *          ACCOUNTINGDATA            =  IT_ACCOUNTDATA

                GLACCOUNTDATA             = IT_GLACCOUNTDATA

      **   MATERIALDATA              =

      *   TAXDATA                    =       IT_TAXDATA

      **   WITHTAXDATA               =

      **   VENDORITEMSPLITDATA       =

               RETURN                    = IT_RETURN

                     .