2010 Nov 02 1:00 PM
Hi Masters of MIRO,
I have REQUIRMENT where i have to display an ERROR message.
currently IF company code, Ref NO & Inv Date alreday exists it issues an error message.
Check if invoice already entered under accounting doc. no. 5100000010 2011
Message no. M8108
now i want add another field called AMOUNT to Company code, Ref NO & Inv Date
IF 4 OF THEM exists THEN only an ERROR message should COME.
how can i achieve this...is their any USEREXIT or BADI where by we can enhance.
much appriciated in advance.
thank you,
pasala.
2010 Nov 02 1:44 PM
Hi,
Wheneven you post a PO based invoice an accounting document gets created. We have implemented the similar case using FI validation. In FI vaklidation during creation of accounting document we have implemented this duplicate sort of invoice check and this is working perfectly.
Thanks
Nabheet
Hi Masters of MIRO,
I have REQUIRMENT where i have to display an ERROR message.
currently IF company code, Ref NO & Inv Date alreday exists it issues an error message.
Check if invoice already entered under accounting doc. no. 5100000010 2011
Message no. M8108
now i want add another field called AMOUNT to Company code, Ref NO & Inv Date
IF 4 OF THEM exists THEN only an ERROR message should COME.
how can i achieve this...is their any USEREXIT or BADI where by we can enhance.
much appriciated in advance.
thank you,
pasala.
2010 Nov 02 1:44 PM
Hi,
Wheneven you post a PO based invoice an accounting document gets created. We have implemented the similar case using FI validation. In FI vaklidation during creation of accounting document we have implemented this duplicate sort of invoice check and this is working perfectly.
Thanks
Nabheet
2010 Nov 03 5:56 AM
hi Nabheet,
Thank you for the reply,
am a ABAP developer and the message that we get is in MIRO.My concern is...is it Developers work or Functional work?
if Developer work...how can i achieve this.... the message is been issued by SAP and it is not the Customized Message.
can i have some response pls?
thank you,
laya.
2010 Nov 03 6:00 AM
See sometimes what happen not all the things are achieved by customization...and sometime its becoz of less functinal knowledge. what i will sugeest is first ask your functional guy if he has any option if not then implement the alidation you are done.
I hope it clarifies your question.
you have the solution.:)
Nabheet
2010 Nov 03 6:13 AM
hi Nabheet,
the SAP message issues me when i dont set the amount in amount field... it looks only INVOICE DATE, REFERENCE AND COMPANYCODE.
i want the message when INVOICE DATE, REFERENCE, COMPANYCODE and AMOUNT are identical then i wan the message.
now eventhough the amount is not identical i still get the message....but do we have the control of the SAP messages?
do we? please correct me if am wrong.
laya.
2010 Nov 03 6:18 AM
Hi,
In customizing if it allows you to enter amount also thenits okie otherwise you can create validation where you can compare n number of fields you want to compare.
@Fucntional:Please provide your inputs on how many fields can be added for same.
Nabheet
2010 Nov 03 6:27 AM
hi Nabheet
CURRENT :
i go to miro TCODE and set the INVOICE DATE, COMPANYCODE and REFRENCE NO...
SAP ISSUES A MESSAGE :
Check if invoice already entered under accounting doc. no. 5100000010 2011
NEW REQ :
IF INVOICE DATE, COMPANYCODE , REFRENCE NO and AMOUNT are identical then only the message should come
message : Check if invoice already entered under accounting doc. no. 5100000010 2011.
hope am clear in what i say....
how ever their is no custmizing and the message come straight from SAP.
Thank you,
laya.
2010 Nov 03 6:37 AM
I guess a BTE is there for duplicate invoice check which is activated in your case.Pleae put a break point at messages and you will see fromwhere this mesage comemost probably through BTE.
Nabheet
2010 Nov 04 8:37 AM
Hi
Ok now I've understood what u need
The problem is SAP standard check the duplicated invoice for Company Code, doc. date and doc. reference so just as your actual situation; if it's not set the control for reference, then SAP will use the amount.
That means standard control doesn't use Company code, Document Date, Reference and Amount together.
In the FM MRM_FI_DOCUMENT_CHECK is called the BTE for Argentin only, that any BTE is available there
Moreover the problem is your control is more selective than SAP one, that mean u should deactive the standard control and insert a your own one.
U can try to use the BTE for invoice checking as 00001020, 00001025 or 00001060
But it could be very dangerous to deactive in standard control, so u should consider to change (or enhance) the standard function module MRM_FI_DOCUMENT_CHECK
Max
2010 Nov 04 8:51 AM
Hi Max,
thanks a lot for the reply..with lot of info much appriciated.
to be honest i have never used BTE'S can i please have some more info as to how to use the BTE for this perticular issue?
thanks,
laya.
2010 Nov 04 9:06 AM
Hi
See the [help|http://help.sap.com/saphelp_nw04/helpdata/en/3b/7f3e8be57c11d1951f0000e82dec10/frameset.htm]
Max
2010 Nov 02 1:56 PM
Hi
Probably u need to set your customizing correclty only: Materials Management->Logistic Invoice Verification->Incoming Invoice->Set check for duplicate Invoices
Max
Edited by: max bianchi on Nov 2, 2010 2:57 PM
2010 Nov 03 5:58 AM
hi Max,
from your explanation it may be Functionals work i think...can you be little more clearer please?
thank you,
laya.
2010 Nov 03 6:03 AM
Hi,
In customization also I guess you will be having the restriction on the number of fields where as via enhancement it will not. Max please correct me if i am wrong..
Nabheet
2011 Dec 01 7:19 AM
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |