MIRO validation

Hi,
I configured Withholding tax, while posting invoice using MIRO, I want to put fields Business place and Section code are mandatory.
I am trying Validation for this, but could not possible how can i put this fields as mandatory.
Very Urgent
Rgds
sunfico

Hi Sun,
To make the business place mandatory at the time of the creation of the MIRO document, the following tables are to be maintained:
The buisness place is created in table J_1BBRANCV.
The business place is attached to the plants in the table J_1BT001WV,
and in case you want to take the amounts to different GL accounts based on the business place, then the settings are to be made in the table J_1IT030K_V..
In case you want the business place to be mandatory at the time of the creation of the document in FB60, then you have to create a screen variant in SHD0.
Assign points if useful
regards
Venkatesh

Similar Messages

  • MIRO Validation BADI / USER EXIT

    Hi All,
    Need a line item level validation for invoice amount validation with PO line item.
    Please suggest me BADI / USER Exit name for same.
    Thanks,

    Use this exit.
    LMR1M001.

  • 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 PM

    Hi
    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

  • Validation for MIRO

    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,

  • 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.

  • 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&regards,
    Rajesh

    Hi,
    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.

  • 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,
      Srinivas

    Hi,
    check this thread:
    BADI IN MIRO
    Best regards.

  • Payment method and cost center validation check in MIRO while save or simul

    Hi,
    I want to put a validation check between payment method and cost center while posting MIRO against PO (MIGO done) . If my payment method and cost center matches then system should allow that entry otherwise should popup a message .
    We tried this with user_exit - EXIT_SAPLMRMP_010 enhancement LMR1M001 .
    But thing is it is not getting triggered at all either at the time of simulation or at the time of saving . We are also looking into BADI - update_invoice .
    Any body having any idea on this please share.
    Thanks

    Hi,
    Please don't open multiple threads for the same question..Please close this one..
    THanks,
    Naren

  • MIRO header validation - only to park when fail

    Hello friends,
    We have implemented MRM_HEADER_CHECK badi in MIRO to check and validate unplanned delivery cost.
    Techy MRM_PROT_FILL fm to fill the errors.
    Everything going fine, errors are showing in MESSAGE button in MIRO. But eventhough of error sytem is allowing to post the document, which we don't want to and we only want to allow to park the document.
    Any expert ideas where and how to control to not to allow posting the document when this validation fails. Any ideas/approach is welcome.
    Thanks in advance.
    Manohar

    thanks for quick response,
    yes we implemented this badi and placed this validation. Validation is working fine it is even shoing the error message in 'message' button on MIRO.
    but the document is getting posted evenafter error messages....
    hope u got my problem..

  • Validating PO vendor with MIRO vendor

    Hi experts
    our client have some requirement
    when we are doing MIRO with reference to PO ... as PO vendor will take automatically for MIRO and also the system should not allow any vendor in MIRO other than PO vendor......
    But the system is allowing like ( it is accepting any vendor in MIRO). what needs to be done to achive like.
    whose job is this ( which consultant will do ).....??
    Thanks in advance
    Alex

    Dear Satya,
    Can you share how you have solved the above requirement, as i too have same requirement in my organization.
    Regards ,
    Nagabhushan

  • PO-MIGO-MIRO date validation

    Hi
    We have found many MIGO entries with document date prior to purchase
    data and many invoice document date prior to MIGO date.
    Auditors have objected to it and would like to know whether SAP does
    not have any option to control this.
    Please let us know if this can be controlled in SAP through
    confifuration

    Hi,
    I am not aware of any configuration to control document dates. However you can explore using user-exits to check document date with PO date and display warning/error message.
    Cheers !

  • Runtime error in MIRO while using User/Screen exit

    Hello,
    I have implemented an exit in ABAP for MIRO which when transported to Quality server through runtime error.
    I have used EXIT (SMOD) : LFDCB001 which contains FM -> EXIT_SAPLFDCB_001 and include -> ZXM08U31. In this exit I have written my code to disable Inv. Party field. This field exist in Details Tab in Miro Transaction.
    Location of the field: MIRO -> Details (tab) -> Inv. Party (Field)
    Code written in include ZXM08U31 is:
    LOOP AT SCREEN.
      IF screen-name = 'INVFO-LIFRE'.
        screen-input = 0.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
    This exit is assigned to a project in CMOD and I tested the same in Development system. It is working perfectly.
    Now I transported the TR (Includes program ZXM08U31 and Customer enhancement projects ZMIRO). Now when I run MIRO in quality server it triggers the my logic and then through runtime error.
    Runtime error says:
    Short text
        Dynpro does not exist
    Error analysis
        The system attempted to use dynpro 0400 in program "SAPLXM08".
        This dynpro does not exist.
    I agree that screen 400 does not exists in program for MIRO but it does not exists in development system as well. So if the runtime error is valid in QEC server then why not in DEV server. And when it can run successfully in DEV server why cant it run in QEC server.
    Hope I have explained all the things in detail.
    Please provide me the solution since user can bombard anytime for the MIRO dump everytime in QEC.
    Regards,
    Harjeet Grover

    Hi Harjeet,
    Reason of your Dump is that the enhancement "LFDCB001" which you used contains one Function module exit "EXIT_SAPLFDCB_001" and another one screen exit in calling screen  "SAPLFDCB" number 0150.
    So when you activate your project these above mentioned both components were activated.
    So when you execute transaction SAP looks for called screen "SAPLXM08" No-0400 but as you havn't created and program go for DUMP.
    Solution - Just Create called screen  "SAPLXM08" No-0400 and activate.
    Thanks,
    Vijay

Maybe you are looking for

  • Update taking too much time

    I have 2 tables      clean_d(d_name,d_code) <D_CODE COLUMN IS BLANK>      dict_d(d_name,dr_code).. d_name is primary key for dict_d table. I have to join the tables on d_name field and update d_code column in clean_d with corresponding dr_code from d

  • Reg ALV grid display

    Hi Expert, I am facing simple problem regarding alv display. While retrieving data, records are shown in internal table (It_final), but it doesn't goes to alv display in output. The code is: FORM merge_data .   SORT it_qasr BY probenr prueflos  vorgl

  • Financial Statement and Alternative Account Number (China)

    Hi all, I have created a nice financial statement based on "normal" GL account number, and through this I can have a nice formatted balance sheet and profit and loss account. For china, I need the financial statement with the alternative account numb

  • HT5127 how do you remove final cut pro x

    i had installd a final cur pro x and i  install a final pro cut  but it does not come up so how can i get red of the final pro cut x and find the other one thanks

  • Hi ! When Creating  Cap file

    Hi ! I am compiling javacard source but this error why error ? Command is Conveter -config HelloWorld.opt Error Warning :Method <init> in class HelloWorld.HelloWorld contain local variables, but not local variable table. Warning :Method install in cl