Report to post a parked invoices parked using transaction MIR7
Hi Experts,
I have a requirement of developing a report that will post the parked invoices, parked using the transaction MIR7. While posting I need to check whether the invoice amount is in par with PO price. If there is any price variance, I need to assign the increased price to a different G/L account.
I understand that I should use the Function Modules 'MRM_INVOICE_READ' and 'MRM_PARKED_INVOICE_POST'. But it is not working for me. Forget about assigning the PO variance to different G/L account, I am unable to even post a simple parked invoice using these function modules.
The invoice data, especially item data (ti drseg), is not sufficient to populate to 'MRMPARKED_INVOICE_POST'. Some one help me how to fill the internal table ti_drseg so as to pass it to function module 'MRM_PARKED_INVOICE_POST'.
Please provide me if any standard reports are available to post the parked invoices.
Thanks,
Naresh Babu Kandula.
Hi,
maybe something like:
REPORT zz_post_parked_invoice.
TYPE-POOLS: mrm, mmcr.
DATA: l_t_rbkpv TYPE mrm_rbkpv,
l_t_drseg TYPE mmcr_drseg OCCURS 0.
DATA: i_belnr LIKE bkpf-belnr,
i_gjahr LIKE bkpf-gjahr.
PARAMETERS: p_belnr LIKE rbkp-belnr,
p_gjahr LIKE rbkp-gjahr.
START-OF-SELECTION.
i_belnr = p_belnr.
i_gjahr = p_gjahr.
CALL FUNCTION 'MRM_INVOICE_READ'
EXPORTING
i_belnr = i_belnr
i_gjahr = i_gjahr
IMPORTING
e_rbkpv = l_t_rbkpv
TABLES
t_drseg = l_t_drseg
EXCEPTIONS
entry_not_found = 1
OTHERS = 2.
IF sy-subrc NE 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CALL FUNCTION 'MRM_PARKED_INVOICE_POST'
EXPORTING
i_rbkpv = l_t_rbkpv
ti_drseg = l_t_drseg.
IF sy-subrc NE 0.
ROLLBACK WORK.
ELSE.
COMMIT WORK AND WAIT.
ENDIF.
check also function module FM_FI_MM_PP_POST in include LF0KJF01.
Best regards.
Edited by: Pablo Casamayor on Jan 28, 2010 4:16 PM
Similar Messages
-
Creating & posting the incoming invoice (MIRO) using BAPI
Hi,
We used to give ,
Document Date = current date
Delivery Note = EX1
Select the vendor
Once we select the vendor the following data gets populated automatically such as,
Item,Amount,Quantity,UOM and so on.
For my data I get tax_code as V5.
When I select the check box CALCULATE_TAX tax amount gets populated as 120 and Balance Amount as 3120.
PO No Amount Quantity UOM INVOICESIGN
4600003648 2000 200 PCS +
4500000208 1000 100 PCS +
This data gets Populated automatically when I select EX1 as deleivery note and 000025 as vendor
Since invoicesign is '+' for both the rows I give
MATERIALDATA-SHKZG = 'S' for both the rows.
I am getting errors like:
1. Balance <> 0 debit = 6120 credit = 3120.
2. Quantity greater than amount to be debited.
and I couln't post the document.
Kindly help me in this regard .
If possible pls give me the code.For vendor invoices GLaccount will have cost centre data.the first line is always of vendor when you create vendor invoice in which vendor number is passed.
In GLaccount apss your cost centre data.
Nabhheet -
Parking Invoices -- "Save as completed" -- MIR7
Hi All,
Can you please let me know if there is any BAPI/FM available to change the status of the Invoice receipt (RBKP-BSTAT) from "Parked" (A) status to "Parked and completed" (B)?
Thanks,
Raj.Hi,
check this thread:
bapi to save as completed an incoming invoice
Best regards.
Edited by: Pablo Casamayor on Sep 16, 2009 4:27 PM -
Duplicate Invoice Check for Transaction MIR7
Hi Experts,
My client requirment is .
Currenty system checks the BUKRS,LIFNR,WAERS,XBLNR,WRBTR,BLDAT for duplicate invoice this is a standard SAP functionality for T.code MIR7.
Logic needs to be changed
Duplicate Check in SAP for Vendor invoices to only check Vendor number (LIFNR) and Reference number (XBLNR).
I have found a function module which is used to through the error message CUSTOM_MESSAGE is the FM under MRM_FI_DOCUMENT_CHECK. advise what can be done for this.
Thanks,
vikasHi Nabheet,
BSIP is the table which is used for the Vendor Duplicate invoice check.I can do the validation based on xblnr and lifnr for my requirement but i am not sure where i have to do the validations. Please suggest.
Thanks,
Vikas -
How to post invoice parked using BAPI- BAPI_INCOMINGINVOICE_CREATE
Hi all,
Can anybody help me with the following scenario:
I am parking Invoice document using BAPI: <b>BAPI_INCOMINGINVOICE_PARK</b>. It gives me a document no. which I can see in frontend system also by committing the BAPI.
But when I try to post the same using BAPI: <b>BAPI_INCOMINGINVOICE_CREATE</b> , It gives me a different document no.
Means it is not posting the document which has been parked earlier but it is creating totally a new document. Can anybody tell me using BAPIs how to post the same document that I had parked using BAPI: <b>BAPI_INCOMINGINVOICE_PARK</b>??
Thanks
SaurabhHi Shraman,
For a requirement for Intercompany GL posting, use BAPI_ACC_DOCUMENT_POST for standard posting with some advanced parameters
In Header of the BAPI, pass the hardcoded values like
DOCUMENTHEADER
OBJ_TYPE = FKKSU
OBJ_KEY = $
OBJ_SYS = System name
BUS_ACT = RFBU
Other parameters you can pass in Header is:
USERNAME
HEADER_TXT
COMP_CODE
DOC_DATE
PSTNG_DATE
TRANS_DATE
FISC_YEAR
FIS_PERIOD
DOC_TYPE
REF_DOC_NO
If you are posting a document in cross-companies 1000 & 1001, you need to pass cost-center with the line item. That is the mandatory field.
Thanks,
Guru -
How to distinguish what GR line item has been parked invoice document by MIR7
Hi Experts,
I use work flow to release MM invoice parked by MIR7. But I get trouble with PO with many GR line items (example: PO shipment cost, PO stationery ...) where we need to match consecutive many invoices from one PO. Normally, when matching invoice by MIRO, amount an quanlity will be minused, we can continue to match invoice by exist line items. But now, when we parked first invoice to one line item (invoice not be released), amount and quanlity also display old value in second invoice for this line item, user cannot distinguish what line item has been mached invoice and waiting released, this is difficult to working. Please give me solution to distinguish what line item has been parked invoice in t-code MIR7?
ThanksI think what you describe is standar system behaviour. You nee to re-think how you use Invoice Parking workflow - it is meant to manage incomplete documents, not for invoice release. You need to first post invoice doucument, only than open invoice qunatities will be updated and depending on tollerance limits and other setting release invoice for payment.
-
MASS Deleting of Parked Invoices Urgent Urgent
Hello,
How to delete the Parked Invoices.
Is there any transaction for mass delete??
Regards,
Kumarhi,
MR8M --> cancel invoice document
MRA1 --> create archive
MRA2 --> delete documents
MRA4 --> manage archive
first you archive the parked invoices and using MRA2 you can delete all archived invoice documents.
hope this may help you,
regards,
srinivas -
Business objects for parking of vendor invoices (Both FV60 and MIR7) ?
Workflow guus,
I have a situtation where I have to send certain email when a vendor invoice document is parked using
1) FI vendor invoices using transaction FV60. Can someone tell which business object has event for parking of FI vendor invoice ?
2) Logistics vendor invoices using transaction MIR7. Can someone tell which business object has event for parking of logistics vendor invoice ?
Please help.
Regards,
Rajesh.HI Experts,
I have to do LSMW for Transaction FV60 . For that i am going to use BAPI .
Please let me know the Business Object and Method for Parking Document
Thanks in advance -
Posting invoice discounts using RFBIBL00
I am generating a file to be processed by the program RFBIBL00 to clear incoming invoice payments using transaction FB05. The input file being supplied by the user already has the cash discount identified in a separate field. Can someone tell me which field(s) of BBSEG I need to move this amount into so that it fills in the 'Cash Discnt' field of the 'Post with clearing: Process open items' screen?
Not offhand, but you can press F1 on the cash discount field and get the technical information (including the field name). Then go to BBSEG and see if that field name is there.
Rob -
Post an asset revaluation by ABAWN transaction
Hi!
I'd like to post an asset revaluation by ABAWN transaction but error message AAPO106 appears
"Data inconsistency: mandatory posting depr. area not posted"
"You tried to post to asset XXXXXXXX-0 using transaction type ZZ1. According to its Customizing settings, values are required in depreciation area 01, but the current transaction does not supply any values".
Procedure for System Administration
Check your Customizing settings to see if transaction type ZZ1 was limited to only certain depreciation areas
but transaction type ZZ1 is not limited in OAYA transaction
Could you help me to solve the question?
Thanks
GiovannaHi,
you have to create a transaction type based on transaction type group 89. You find the documentation in the SAP Help Portal for posting new valuation.
[http://help.sap.com/erp2005_ehp_04/helpdata/EN/a7/ed813ee3d32b44e10000000a114084/frameset.htm|http://help.sap.com/erp2005_ehp_04/helpdata/EN/a7/ed813ee3d32b44e10000000a114084/frameset.htm]
Regards,
Markus -
Dear gurus
Im generating a report using structure RFPOSXEXT. problem im facing is that im getting all the document numbers which are open items and cleared items but im not getting the document number of a parked items. can you tell me how. ?
regards
Saad NIsarADDTIONAL :
Create your new report using the table RBKP : Invoice header...
here use the field RBSTAT and entry as PARKED...and then execute...
It will show all parked documents...
HOPE YOUR QUERY IS SOLVED NOW...
hi,
What you want exactly?? If you wanna see just Parked invoices, then can check it form FBV3 report...
FBV0 is used for post/delete the park invoices...
Hope it helps..
Regards
Priyanka.P
Edited by: Priyanka Paltanwale on Apr 9, 2009 10:22 AM -
Hi All,
I am developing a report to post the parked invoices.
For this i have used the function module 'MRM_INVOICE_READ' and the function module 'MRM_PARKED_INVOICE_POST'.
But when i select a parked invoice from the ALV Grid display and click on the post button i get a warning message like 'Invoice quantity greater than PO Quantity(NO GR)'.
Can anyone suggest how to overcome this or is there any other function module to POST the parked invoice.
In this case there is no GR done for the Purchase order.Hi,
this is how i see it:
parked invoices can only be posted when they have no errors.
With the simulation button you can display all errors available.
In your case you receive the message: Invoice quantity greater than PO Quantity
go to the invoice in question via MIR4 + F7 and correct the error.
You have two options:
1.- decrease the amount to be invoiced.
2.- increase the amount of the po.
Check as well how tolerances are set in your system.
Best regards. -
Dear All
Do we have a standard report where I could get the report for document is parked but not posted plant wise not Company code wise.
Or if any other option do generate this report.
Regards
ManojDear Manoj,
If you assign workflow for diffrent users to complete invoice document , user automatically get the list of parked invoice in his mail box which can help you to find out the parked invoices but not posted.
If found useful reward point.
Vivek Maitra -
Report for Vendor Invoices Parked against Purchase Order
Dear Team,
I want a report or table name where I can get the Parked Invoices against a Purchase order.My requirement is to know which are the invoices which are parked against a PO since ME2M shows Invoices posted, so bye anyway is it possible to get such report.
Regards,Invioces Parked
Transaction: MIR6 & MIR5
In MIR6, Select Held/Parked and execute to get the results.
In MIR5, Select Parked and execute to get the results.
Table: RBKP
FieldS:
Status - RBSTAT
( A - Parked
C - Parked and Held )
Inv Doc - BELNR
Fis year- GJAHR
Invoices Parked against a PO
Table: EKBE
Enter the below:
EBELN - PO Number (Enter the PO Number(s))
VGABE - Trans./event type (Enter P - Invoice Parking)
BEWTP - PO History Category (Enter T - VRe) This is optional -
Report to Identify Parked Invoices and Invoices without PO#
Experts:
Is there a report out there that will provide me
1. All Parked Invoices
2. All Parked Credit Notes
3. All invoices without ref to PO#
Thanks!
RahulHi,
Use Reports MIR5 and MIR6
These will suffice your requirement.
Maybe you are looking for
-
Reader not working 100%
The latest version of adobe reader is a mess. Every other document I print is unitelligible.
-
Can Photoshop Express create the writing the the sand effect? Please advise how.
Can someone please help me with creating the sand writing effect in Photoshop Express if this is at all possible?
-
HT4009 Resolving Apps that Crash!
I currently downloaded the SPRINT MUSIC + app from itunes store. The app keeps crashing and I can not make the purchases I want. How do I resolve that. I spoke with my provider and they told me to contact APPLE!
-
I'm a Mac user and this is my personal experience with CC so far (1 week). Everyone is different, everyone has different machines/specs OS etc and working with tech is not easy full stop. I do believe in the cloud concept and look forward to better i
-
Would Like to Move iTunes Location
I currently have iTunes music files on an external drive attached to my MacBook Pro. The actual iTunes meta data, covers, etc is stored on my MacBook Pro in the music directory. I also have a complete backup of all my music (very large collection) on