Error message in case of One time vendor in MIR7 and MIR4.

Hi,
We have a requirement where we need to give a warning message when an invoice document is parked in case if it is a One time vendor and bank details are missing. It should be an error message if user is trying to save it as completed or posting the document. We have already found a BADI INVOICE_UPDATE method CHANGE_AT_SAVE for giving error / warning message but we also want the same to be appeared in the popup coming when we press Messages button in MIR4 screen same way as standard messages are shown. I know that there is a table T_ERRPROT which need to be populated in order to show the messages in the popup window but could not find any appropriate user exit or badi to populate this table. Any suggestion or solutions are welcomed.
Thanks and Regards,
Jaideep,

Hi,
in badi HEADERDATA_CHECK you have available as input parameter I_RBKPV.
do something like:
* 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>[].
    DATA: c_okqx(17)   TYPE c VALUE '(SAPLMR1M)OK-CODE'.
    FIELD-SYMBOLS: <fs_okqx> TYPE ANY.
    ASSIGN (c_okqx) TO <fs_okqx>.
    IF NOT gt_errtab[] IS INITIAL.
      READ TABLE gt_errtab INTO gs_errtab WITH KEY msgty = 'E'.
      IF sy-subrc = 0.
        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.
  ELSE. "THIS IS THE NEW PART
   IF i_rbkpv-YOURBANKFIELD IS INITIAL. "This is the New part
        CASE <fs_okqx>.
          WHEN 'BU'. "POST
              CLEAR <fs_okqx>.
              MESSAGE s031(zxx). "Please fill in bank details
        ENDCASE.
   ENDIF.
  ENDIF.
Best regards.
Edited by: Pablo Casamayor on Jun 2, 2009 6:39 PM

Similar Messages

  • Message no. ME021: One-time vendor not defined

    Hi guys,
    I create a vendor without problem, but when i try to create a purchase info-record, here is the message i have.
    One-time vendor not defined
    Message no. ME021
    Diagnosis
    It does not make sense to allow a one-time vendor in this situation.
    Procedure
    Check the vendor number you entered.
    Can somebody have an idea of what i can do, i'm still a beginner, so if you need more information let me know.
    Thanks'

    if this starts all of a sudden, then something must have happened in your system.
    maybe someone modified coding, maybe someone implemented OSS notes and this is is a side effect.  maybe it was just a customizing change (which I dont know) .
    I woulod just check the transports done between the date were it worked succesully and the date it started with the porblem.
    Check the transports made to your system in SE10 (click the binocluar button there to get a selection screen to search for transports)

  • How to suppress vendor's screen in FB03  (in the case of one time vendors)?

    FB03 > Display Document
    Double click on one of the line items (for One time Vendor Accoutns only) and the Vendor "Address and Bank Data" screen  pops up with the Tax information.
    We need to suppress this screen.
    How to do it?
    Thanks,
    Ven

    Hello Venkat,
    Unfortunately, the display screens will also be affected !!
    If you have to suppress the display of Just the One-Time Vendor details...then only a modification to the Standard will help you.
    Pass on the below details to your ABAPer....
    The PBO Module 'cpd_pruefung' has to be commented in the Flow logic for required Screens for Main program SAPMF05L
    a) 0301 - Customer Item
    b) 0302 - Vendor Item
    c) 0303 - Spl G/L Item
    d) 0304 - Down Payment Item
    e) 0320 - Bill of Exchange Item
    f) 0321 - Bill of Exchange Payment Request
    g) 2320 - Bill of Exchange Item
    Hope this info helps you.
    With Regards
    Vijay Gajavalli

  • One Time Vendor in F110

    Hi,
    1) In PO, under address tab, we entered a generic name and address for one time vendor.
    2) In IV (MIRO), we create multiple invoices for the PO under different payees by changing the one-time vendor's name and address.
    3) In payment (F110), we create proposal for the one-time vendor. In proposal list, each invoice generates a different payment number, however they are all lumped under the generic name we entered during PO under "payment to" field. After payment run, the payment list appears the same as the proposal list. The cheques printed show the correct payee entered during MIRO though.
    Anybody knows how I can get the proposal list and payment list to reflect correctly?
    Thanks.
    Edited by: newbird on Nov 1, 2010 10:01 AM

    Hi,
    Do you able to find a solution for your requirement.
    My business need is also similar to your. If you have got a workaround,can you kindly share it.
    Regards,

  • Vendors: One-time Vendor

    Master Data u2013 Vendors: One-time Vendor
    Plz. suggest how To control creation of One-time Vendor by creating authorisation groups and assigning to limited users ids.
    How to cofigure it.....
    Rgds,
    Navin

    Hi Navin,
    One time vendors can only be used for specific vendor account groups. Their is a flag for each account group in configuation for this. If one does not exist you will have to create a new vendor account group.
    To create a One Time Vendor use XK01 and select the OTV account group.
    When creating say a PO use your OTV account the transaction will prompt you for name, address etc (unlike a normal vendor).
    You experienced a problem with OTV's whereby users couldn't be bothered to create permanent vendors and just used the OTV account, so beware of that.
    For further inputs refer the links.
    [SDN Thread|one time vendor]
    [Ont time Vendor|http://www.portal.state.pa.us/portal/server.pt/gateway/PTARGS_0_2_5333_711_208572_43/http%3B/pubcontent.state.pa.us/publishedcontent/publish/global/files/management_directives/financial_management/310_28.pdf]
    Regards,
    Shyamal

  • International version for one-time vendor

    Dear all,
    is it possible to bring out the international version screen when booking the one-time vendor invoice?
    Thanks and regards

    Hi Tao,
    I am facing the same problem. I maintain the international address versions for TW (language ZF - Chinese tranditional). It works just fine for regulat vendors, however when it comes to a one-time vendor (account group CPD), I can only enter either the English or the Chinese name in the one-time vendor screen, during the invoice entry.
    I checked the international version is maintained in FK02 of the one-time vendor. Where and how do I enter the vendor name in EN anf ZF in the same document?
    I also am struggling with the account holder field, which is unavailable for one-time vendor.
    Please advise.
    Thank you,
    Inna

  • Automatical payment(F110) for one time vendor

    Hi
    Can we use automatical payment (F110) for one tiem vendor ?
    When I do it , system always cancel payment proposal .

    Hello,
    The One time vendor is a vendor and there is no difference and SAP doesn't restrict nothing for this case.
    You said : " When I do it , system always cancel payment proposal " : You means, the system said "No payment" in the proposal ?
    Please give me the error message (Edit -> Proposale -> Display Log)
    Thanks

  • EDI FI Invoice and One-time vendors

    Hello all,
    I'm trying to integrate an FI Idoc ( INVOIC02 ) on a one-time vendor and I get this error :
    <i>No batch input data for screen SAPLFCPD 0100</i>
    I has a look at IDOC_INPUT_INVOIC_FI and the interface creates a batch input to create the invoice. I guess wen creating an invoice in FB01 on a one-time vendor there is a popup (SAPLFCPD 0100) to key in vendor datas. It seems that IDOC_INPUT_INVOIC_FI doesn't managed this screen (i've tried to fill my idoc with vendor detail) because this screen is never generated.
    Does someone have any additionnal information on that or have already managed to process and create an invoice on a one-time vendor via EDI ?
    Thanks in advance
    Jean-Michel
    ps : points will be rewarded
    Message was edited by:
            Jean-Michel Brunod

    I am facing the same problem now. Have not found anystandard processing yet. Still targeting manual implementation.
    Standard solution would be appreciated in any case.

  • About adding one time vendor

    hi,
    we are upgrading SRM 5.0 to SRM 7.0.here we have a requiremnt like we want to maintain some  number range .i.e for exp(001-10) as one time vendors, where these vendors are not maintained in R/3 system as they are one time vendor. so when create a shopping cart with this kind of vendor the shoping cart is going to error in process as these vendors are not maintained in R/3.so can we replicate these vendor details in backend without any eror.please suggest.

    I have done the following -
    1.Transaction Code used - F-51
    2.Checked the option Transfer with Clearing to transfer entries from One Time Vendor to Full time Vendor; entries being KR and KG <b>NOT</b> KZ.
    3.For <b>KZ</b>, with the same transaction code, I opted for Outgoing Payment Option.
    Would anyone let me know, whether choosing Outgoing Payment for KZ for such a case is justified?
    Rest F-51 was used for transferring the amount in a whole, but not invoices individually.
    Could somebody suggest a solution to this kindly?
    Thanks.
    Message was edited by:
            Bhatia

  • ITunes 10.6.0.40 will not open on Windows 7, no error messages come up. Have tried un-installing it and re-installing it many times.

    iTunes 10.6.0.40 will not open on Windows 7, no error messages come up. Have tried un-installing it and re-installing it many times. Please help.

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    If the advice above doesn't resolve things you could try this alternate version:
    iTunes 12.1.0.71 for Windows (64-bit - for older video cards) - itunes64setup.exe (2015-01-28)
    which is a 64-bit installer for the 32-bit version of the core application, similar to previous 64-bit releases.
    Or roll back to the previous build:
    iTunes 12.0.1.26 for Windows (32-bit) - iTunesSetup.exe (2014-10-16)
    iTunes 12.0.1.26 for Windows (64-bit) - iTunes64Setup.exe (2014-10-16)
    tt2

  • One Time Vendor-Transactions Need to be Transferred to Major Vendor Acct

    A. One time Vendor Account is 50001.
    B. Some of major Vendor entries have been Uploaded to One Time Vendor.
    C. Although Balances Tally, in the financial Statements but AP Vendor Balance is messed up.
    D. Major / Normal Vendors are - Polestar (Vendor), GAC (Vendor), etc.
    How to transfer these entries to Normal Vendor Accounts from One Time Vendor, when Financial Statements for the year have been printed and transactions are posted.
    Urgent Help requested.
    Thanks.
    Message was edited by: Bhatia
            Bhatia

    I have done the following -
    1.Transaction Code used - F-51
    2.Checked the option Transfer with Clearing to transfer entries from One Time Vendor to Full time Vendor; entries being KR and KG <b>NOT</b> KZ.
    3.For <b>KZ</b>, with the same transaction code, I opted for Outgoing Payment Option.
    Would anyone let me know, whether choosing Outgoing Payment for KZ for such a case is justified?
    Rest F-51 was used for transferring the amount in a whole, but not invoices individually.
    Could somebody suggest a solution to this kindly?
    Thanks.
    Message was edited by:
            Bhatia

  • Error message: "Warning: unresponsive script". Afterward, the system freezes and will then crash. Crash reports have been submitted many, many times without response. I have tried the fore-mentioned solutions with either no results or very bad results

    Error message: "Warning: unresponsive script". Afterward, the system freezes and will then crash. Crash reports have been submitted many, many times without response. I have tried the fore-mentioned solutions with either no results or very bad results which I filed a report but did not receive an answer. The application to block scripts actually worsened the problem and I could not correct the situation for a while (no response from Firefox, at all). I have also been through this procedure without any one contacting me, AT ALL.
    == URL of affected sites ==
    http://http://www.facebook.com (always) and www.YouTube.com (sometimes)

    There does appear to be any support whatsoever from mighty "non caring" FIREFOX & people are getting fed up. We may as well try another system, if they can't be bothered to provide any support for their system, we can't be bothered to use their system.
    Brianeng

  • I am trying to download the latest version of iTunes to my PC (windows XP) and I keep getting an error message or two. One is that it can't uninstall the previous itunes version, the other is that it can't find itunes.msi.

    I am trying to download the latest version of iTunes to my PC (windows XP) and I keep getting an error message or two. One is that it can't uninstall the previous itunes version, the other is that it can't find itunes.msi. I have tried removing  the old version in add/remove programs, but it says the same error. I tried deleting every thing that has itunes in the file/folder/etc and it didn't help.

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • FI doc post (IDoc FIDCCP02 - One Time Vendor entry)

    I am posting an FI document and entering a one time vendor. In segment E1FISEG, field HKONT I enter 'ONETIME' (one time vendor). In segment E1FISEC, I enter the one time vendor info. When I create the IDoc, I get error 'No account specified in item 0000000001'. Any idea where this account comes from? It works fine when I create an FI doc with a one time vendor using trans FB01 manually.

    Hi Ray,
    what's about struc. E1FINBU
    and field E1FINBU-LIFNR ?
    i think you do'nt fill E1FISEG-HKONT for vendor-line!
    regards Andreas

  • I keep getting an error message when downloading a new app which states " Zinio and 5 other apps cannot be purchased at this time" and then it let's me purchase the app that I was looking at? Can anyone explain that?

    I keep getting an error message when downloading a new app which states " Zinio and 5 other apps cannot be purchased at this time" and then it let's me purchase the app that I was looking at? Can anyone explain that?

    apple_master New Delhi, India
    This solved my questionRe: Unable to Purchase 
    Apr 16, 2012 10:22 PM (in response to eight4seven)
    This worked for someone
    I had this problem for about six weeks. I was following this forum but was too unsure of what might happen to try the fixes that were suggested.
    About two weeks ago I decided to delete the downloads.28.sqlitedb file (usingDiskAid(a free program), on a PC running Windows 7). The original downloads.28.sqlitedb was 936 KB. The new one that the system created is 80 Kb., and has stayed at about that size. After about four days I also deleted all the other contents of the Download folder. Ten days later and still no more problems. Downloads are much quicker, nothing greys-out (as was happening frequently before).
    Everything has worked well since with no more error messages.
    I am using an iPod 4G, iOS 5.1 (originally iOS 5.0). I do not have a manifest file, and as far as I know, have not had one. DiskAid can search the whole "hard drive" on the iPod.
    Deleting downloads.28.sqlitedb and the contents of Downloads worked for me.

Maybe you are looking for

  • HP Photosmart Studio quits 10.8.4

    Just started have problems with my C4780 printer & HP Photosmart Studio running latest software on 10.8.4 On opening it just quits and will not reload on trying again. Grateful for help. thank you Mike

  • My iTunes library has disappeared

    All my playlists I created, purchased items and stuff imported from my hard drive gone from iTunes after getting a message saying the library could not be consolidated. How do I get everything back? All that's left is the music I burned from CDs. Thi

  • Special g/l bal carry farroud

    sir i have closed fy07-08 but special g/l (A)bal in vender and custimer nt carried farroud ,how i will do it in ecc 6 please help me chinmaya

  • Intercompany Consignment STO

    Dear Experts, We have an Intercompany STO process. Purchase order type NB Delivery type NLCC Invoicing IV afrer PGI The PGI makes Mvt 645 at supplying plant  and Mvt 101 at receving plant For Consignment inventory we need that the 645 will be Stock T

  • HT1725 Every time i rent a movie, playback never works! :(

    I rented the hunger games in the itunes store, and it downloaded in about half a minute or so much to my delight. Unfortunately, when i tried to play the movie i got a picture with gray and green boxes and what little image left was completely pixila