Validation in MIRO
Hi,
I have a requirement to produce an error message in MIRO when an invoice is being processed for a vendor within a certain WT category and the W/tax base FC is blank.
I am able to get an error for this using validation but it doesnt seem to recognise when a value is in the field and it pulls through the W/tax code as XX
Any help would be gratefully received
Thanks
I dont understand. You are writing a validation if FC base is blank and you want to fire a validation when it is filled? Can you explain exactly where it fails?
Ravi.
Similar Messages
-
User exit/BADI to have a validation in MIRO for item level
Hi Experts,
My requirement is to do a validation in MIRO (Invoice Verification) transaction, when the user enters the PO details ( T.code - MIRO ) and if the material group in the line item belongs to specific set of material groups, then I want to show a popup stating to choose a different GL account.I am searching for a suitable User exit to implement the above change which I have mentioned. So Could you please suggest me any User exit or BADI Which can be used to incorporate my changes.
Thanks in advance.
Regards,
SrinivasHi,
check this thread:
BADI IN MIRO
Best regards. -
I want" Bussines area & Section Code "
So i created the validation for all vendor transaction ie. FB60,F-43,F-48 & MIRO.
Validation is based on
Tcode & Account type
But i m not getting the compulsory field for MIRO.
For all other transation i m getting the right validation.
Then Why it doesnt take for MIRO?
What will be the sollution for that?
Plz tell me.Hi,
Do you want to subsittute the GSBER in tax line item in MIRO?
if yes, then it works as design.In general taxes should not be
posted with business area as per note 199886. Therefore GSBER
is coded to be deleted when postings do not happen directly in FI.
Due to technical reasons the logic for postings directly in FI
(such as FB60) differs: There would be no deletion.
I recommend not to substitute the business area for tax items
(to be conform with note 199886) but if you really want to do this in
general you can implement the following modification on your own risk:
function FI_SUBST_GSBER
ELSE.
If GSBER differs -> mark as not unique
IF gsber_tab-gsber <> t_accit-gsber.
CLEAR gsber_tab-flg_unique.
MODIFY gsber_tab INDEX sy-tabix.
ENDIF.
ENDIF.
>>>>>>>>>>>>>>>>>>>>>>>START-OF-DELETION>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
IF t_accit-taxit = xon AND t_accit-xbilk = xon.
IF brazil IS INITIAL. "do not clear for brazil "note 436374
CLEAR t_accit-gsber.
MODIFY t_accit.
ENDIF. "note 436374
ENDIF.
>>>>>>>>>>>>>>>>>>>>>>>END-OF-DELETION>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
ENDIF.
ENDLOOP.
Hope the above informations can help to you!
Best Regards, -
MIRO: Field Status control per GL master for non-goods receipt invoices
When posting incoming invoices in FI using FB60, the combination of GL account and CO account assignment are validated and checked against Field Status Group (FSTAG). Such controls are also in place in MM for purchase requisition (ME51N) and purchase order (ME21N), in addition to checking the account assignment category.
But there is problem in posting non-goods receipt (2-way match) invoices in MIRO u2013 system checks GL account and account assignment object according to account assignment category in PO, but not the field status based on GL account. GL account and acct assignment object are proposed by purchase order. However they can be overwritten by users with no validation, often resulting in incorrect posting. Wonder how other manage this issues in their companies.
I would like and need help in implementing a validation or user exit in MIRO which will check GL account against its CO account assignment for cost centre, order or WBS, based on the field status group of the GL master.
Q1, Where is the user-exit or validation maintained that checks the field status group in FB60 and ME21N (not in OB28 or GGB0)?
Q2. If purchase requisition and purchase order check field status group based on GL account, how can we make such controls available in MIRO?
Q3. What is the transaction code for developing a validation for MIRO? (MM MIRO not appeared in the application area of GGB0.)
Appreciated any helpHi
Th evalidation should be at the source is the Purchase Order. I beleive it is standard SAP Config to put the validation there. So once the PO has been created with the correct account assignments the GR and IR will be correct. -
Hi friends
My requirement is to do some validation in MIRO when user will press the save button. For this I am using EXIT_SAPLMRMP_010 fm exit in LMR1M001enhancement. But the problem is when I am trying to validate that and show some messages it is not showing my error message and processing is still going on. Please suggest me how to show that message and stop the processing on that point. I am using ECC 5.0 version and already checked the BADI INVOICE_UPDATE but it is also not working.
regards
shiba duttaHi,
Put the breakpoint in each of the userexit that are provided and check whether processing is going at that step.
If it is so then put the logic in that userexit.
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
Regards,
Sonika -
Validation for Business place and section for With holding tax
Dear friends
I defined validation for MIRO with respect to Business place and Section code to make mandatory, it is working fine.
But in case of F-47 / F-48 and FB60 I defined validation but not working.
Please help me in this regard
Thanks in advance
Kiran AHi
Your query is not clear? What is the prerequisite and check you have defined in validation rule? I doubt that in prerequisite you have defined the T Code MIRO. Pls check and assing the other T Codes also if that is the case.
Regards
Sanil K Bhandari -
During the invoice validation in MIRO, we can notice some difference between transport costs which were not anticipated in PR/PO. therefore I need your help to know can I balance these differences ?
thank for your helpHi
the unforeseen delivery costs are considered as unplanned delivery costs.
You can enter this amount in 'detail's tab of MIRO.
You have config options per company code for - posting unplanned del costs to a dedicated account or loading on invoice items.
warm regards
sairam -
Regarding Business Place Mandatory in MIRO
Hi SAP Gurus,
My requirement of making Business place mandatory , I have made a following Validation
Prerequisite :
{BKPF-BLART <> 'UP' AND BSEG-KOART = 'K' AND ( }
{BKPF-TCODE <> 'FB08' AND BKPF-TCODE <> 'MR8M' ) AND U102}
Check:
{BSEG-BUPLA <> ''}
Message Place :
{ Enter Business Place}
In exit U102 i have written code
IF BSEG-KOART = 'K'.
SELECT SINGLE WT_SUBJCT
INTO LV_WT_SUBJCT
FROM LFBW
WHERE LIFNR = BSEG-LIFNR
AND BUKRS = BSEG-BUKRS.
IF LV_WT_SUBJCT = 'X'.
B_RESULT = B_TRUE.
ENDIF.
ENDIF.
It is working fine for Transactions F-02, F-43, FB60. But , it is not asking to enter Business Place for MIRO .,
Plz help,
Thanks & Regards,
Pavan.Hi,
check OSS Note:
https://service.sap.com/sap/support/notes/42615
Here it says:
3. Not all the values are available yet for callup point 1 and 2 for the substitution or validation in Transactions MR01, MRHR, MRHG, MR21, etc. (all with program SAPFMM08R). You should therefore use callup point 3 for the validation in these transactions. The values for callup point 1 and 2 are already available in the logisitics invoice verification (MR1M).
Are you calling the validation for MIRO in callup point 3 (complete document)?
Best regards.
Edited by: Pablo Casamayor on Aug 18, 2009 8:54 AM -
Hi
I need add some validations to data entry in MIRO for send their respective error messages and stop data saving.
Does somebody knows some User Exit or Badi for make validations in MIRO ?
Regards
FrankHi,
you can use badi MRM_HEADER_CHECK. In order to put error message you can use function module
PROT_FILL.
* If there is any error do not allow posting
DATA: gt_errtab TYPE TABLE OF mrm_errprot,
gs_errtab TYPE mrm_errprot.
CONSTANTS: c_errprot(23) TYPE c VALUE '(SAPLMRMF)TAB_ERRPROT[]'.
FIELD-SYMBOLS: <fs_errprotj_dt> TYPE table.
ASSIGN (c_errprot) TO <fs_errprotj_dt>.
REFRESH gt_errtab[].
gt_errtab[] = <fs_errprotj_dt>[].
IF NOT gt_errtab[] IS INITIAL.
READ TABLE gt_errtab INTO gs_errtab WITH KEY msgty = 'E'.
IF sy-subrc = 0.
DATA: c_okqx(17) TYPE c VALUE '(SAPLMR1M)OK-CODE'.
FIELD-SYMBOLS: <fs_okqx> TYPE ANY.
ASSIGN (c_okqx) TO <fs_okqx>.
CASE <fs_okqx>.
WHEN 'BU'. "POST
* This is optional: you can either search for a particular message or
* do not allow any error message
* Here search for the message triggered in badi INVOICE UPDATE
READ TABLE gt_errtab INTO gs_errtab WITH KEY msgty = 'E'
msgid = 'ZXX' msgno = '030'.
IF sy-subrc = 0.
CLEAR <fs_okqx>.
MESSAGE s030(zxx). "While errors exist document will not be posted
ENDIF.
ENDCASE.
ENDIF.
ENDIF.
This is used to give error message in case before posting the document.
KR Jaideep, -
Hi all,
My problem is like this:
I have received the GR from XYZ Vendor. The entries was posted correctly with GR/IR Clearing.
and made the PO for the same with no 1234.
Now my user using the PO 1234 and changed the invoicing party in MIRO as ABC. The system allowed and passed the entries though i didnt maintain the partner function in the vendor masters. this ABC was another Vendor in this company. The entries passed the changed vendor (ABC).
Here i need to stop passing entries like this. I want a error message to prevent, this means system should not allow to use the PO for other vendors.
what customization i need to do this?
Best Regards,
SomaHi!
You can tried to Disply in Invoice party in greay area (Diplay mode), you can tried to make validation in MIRO.
thanks
Rup -
Customisd err message at MIRO - Business area V/s company code validation
Hi experts,
We have simple validation for company code V/S Business area check in place ,
While doing MIRO system throws error for a particular company code and Business area
combination the set error message ( customized - Business are does not match with company code)
This validation has given as a sub node (step) of another consolidation trx. types against GL validation (that was in place earlier, thats why)
But when we do through F-02 (Journal entry ),F-43(vendor invoice), F-22(customer invoce) for the same combination system passes the entry !!!
what may be the cause ?
the error message is the standard one set -251 this message is custom created at Validation (GGB0)
Business area doesnt belongs to the company code
Message no. /ASU/GENERAL251
One more thing Noticed
The Material PO is a account assigned (K) cost center and the
cost center Business area is 1003.
In PO plant is 1003 and i checked the MSEG the plant shows 1003
But in Logistics assignment the Business area 1001 is tagged to Plant 1003
not THE BUSINESS AREA 1003 !! . I mean at plant/valuation area to Business ara configuration
the valuation area 1003 is assigned to Business are 1001 not to Busienss are 1003!!!
Edited by: melgibson on Feb 15, 2012 1:42 PM
Edited by: melgibson on Feb 15, 2012 1:43 PMHi
thankx for the reply,
there is no exit/ set for validation here
I have done like this
Pre requisite
company code = xxxxx
Check
Business area = xxxx or BA = XXXXXX or BA = XXXXX ......
Message
E Message class /ASU/GENERAL
251
Business area doesnt belongs to the company code
Message variables
1 BSEG - GSBER
The t codes like F-43 AND f-02 1003 cc TO 1003 BA is perfectly working !!! our problem is at MIR7/MIRO
only there the error pops up even the combination is allowed in the above mentioned validation??
Edited by: melgibson on Feb 15, 2012 2:03 PM
Edited by: melgibson on Feb 15, 2012 2:04 PM -
Error:"Transaction type is not valid in GL Account(Asset Recon)",MIRO
Hi,
We are getting an error "Transaction type is valid in GL Account XXXX" while posting invoice through MIRO. This GL account is Asset recon. account.The PO is created for asset aquisition for a quantity of 9.
Initially GR was done for 9 but IR was created for 8.
Later when we tried to post invoice for 1, we are getting this error.
Can anybody tell me the probable reason behind this error?
Thanks,
Mano.Hi Mano,
could you please give me the code of the error message.
regards Bernhard -
Validations for FB70, FB75 and FB60, MIRO without Tax Codes
Hi,
can u help on the below issue.
I want to restrict the users while posting(FB70, FB75 and FB60, MIRO) without tax codes, please provide Validations for the same.
Block AR/AP for postings without tax code - AR is FB70 and FB75 - AP is FB 60 and MIRO
Thanks®ards,
RajeshHi,
Please check below validations for FB60 AND MIRO ,FB70 AND FB75
Prerequisite
BKPF-BUKRS = 'xxxx' AND SYST-TCODE = 'FB60'
OR SYST-TCODE = 'FB75' OR SYST-TCODE = 'FB70'
OR SYST-TCODE = 'MIRO'
Check
BSEG-MWSKZ
Please check ,
NARESH -
T-code:FB60 and MIRO business place validation Section Code mandatory
Hi,
My requirement is to make mandatory in MIRO and FB60 field: BUPLA-business place and field:SECCO-Section Code.
I have done validation through GGB0 . i am facing problem
prerequisite: syst-tcode = 'FB60'
check bseg-bupla <> ' ' and bseg-secco <> ' '
message 'Enter business place and business section.
This is working fine when bseg-bupla and bseg-secco is not entered .
but when user enter value in both fields bseg-bupla and bseg-secco .
in table bseg-bupla and bseg-secco both become blank.
Is ther any other method to achieve this
regads,
K.Shobha.Hi
Have you tried it with customizing tools? I understand that you can achieve it. I think that you want to populate these fields if you have a field status group for this account (check it in FS00). You can create a field status group for this account and do mandatory this fields. If you have doubts, search the help of a FI consultant.
If you see the help for this field:
Field status group
Determines the screen layout for document entry.
Fields can have the following statuses:
o Optional entry - you can enter data in the field
o Mandatory entry - you must enter data in the field
o Suppressed - the field does not appear on the screen
You can mantain it with tcode OBC4.
I hope this helps you.
Regards
Eduardo -
BADI in MIRO transaction for G/L account validation
Hi Experts,
Can I know the Badis availabe in MIRO transaction Code.
and list me the procedure to findout the Badis available for a perticular t-code.
Let me come with my exat requirement,
I need to check whether the G/L account number assigned is valid or not.
I think now I am clear with my requirement.
Regards,
Sujatha.Hi Anjireddy,
that BADI contains the following methods, but they are not triggered when I do my requirement.
CHANGE_AT_SAVE Invoice Document at Save
CHANGE_BEFORE_UPDATE Invoice Document Before Update
CHANGE_IN_UPDATE Invoice Document During Update
Suggest me regarding.
Regards,
Sujatha.
Maybe you are looking for
-
How to use offset in select query
Suppose i have data like ssonje 00000001 as a one field in database table . i have to segregate this two data. how should I do this.the first part is of 12 characters and the last is of 10 character long.
-
U00B4Business Partner Catalogue Numbers-query in SAP B1
Hello, please, could you give me an advice where I can find a query which contents Business Partner Catalogue Numbers? I mean, I have the main supplier and a lot of "secondary" suppliers. I would like to see catalogue numbers from our system for all
-
Best method for RT communication
Hi all , I am using RT OS for my project , connected with the host PC , both the places I am creating the global variable of same names , like for DMM i create 2 global variable one in host and one is RT .I am passing the infor from host one after th
-
When is the next update for the ipod 4th generation?Today is 5/7/14
i really am wondering when it is my ipod is so out of date
-
Problem installing language pack manually under Linux
I had downloaded Asian language pack to be install under Ubuntu Linux. When ran the installer script using sudo I been prompted to enter the path where Adobe Reader was installed. The problem seems to accept path name that have the word "acroread" on