Should Give Error Message

Hi all
Purchasing organization 001 assigned to company code 001,
when user want to create Vendor with P.Org 001 and comapny code 002
the system should give error message
During Vendor creation ,if the wrong purchase organisation is selected, system is allowing to create the vendor master.
Even though ,I have done the Setting in the following , the error message is not reflectiog
1. Message Control for Vendor Master Data
2.T.code : OBMSG
3.T.code : OBA5
Kinldy let me know the steps if possible let me know userexit to solve this......
Thanks & Regards
chand

Hi,
In the exit FM EXIT_SAPMF02K_001 you have your company code and Purch. Org. in the following fields:
I_LFB1-BUKRS (Company Code the vendor is being created in)
I_LFM1-EKORG (Purch. Org the vendor is being created in)
Having above, you can check in the table T024E ( here you have assignment of Purchasing Org to Company Code) if there is assignment between Purch. Org and Company Code.
Hope it helps.
Regards,
w.

Similar Messages

  • Material- chapter ID is not maintained system should give error message

    Dear All
    Requirement is as that while creating the sale order & if the material- chapter id is not maintained then system should give error message saying that the combination is not maintained.
    Client is using the TAXINN procedure.
    I think in TAXINJ it works well.
    Whether it can be done in TAXINN also through SD Module itself.cleint is using the automatic creation of excise invoice.
    Kindly help .
    with regards
    Rohit

    hi rohit,
    For TAXINN procedure system will not throw it as an error.
    if you want it to throw:
    use MV45AFZZ : USEREXIT_SAVE_DOCUMENT.
    say your SAP system to compare  and check for the values in J_1IVCHID-J_1ICHID
    if it is not equal to.
    then throw an ERROR message against it when saving the document.
    balajia

  • Sales Order : Unit Price U_MRP it should give Error Message

    Hi All,
    I am using SBO 2005 B PL 25.
    When the user add SO, and select the items and update the field of Unit Price and press Tab it should match Unit Price with one another UDF U_MRP. If Unit Price is > then U_MRP then it should give me error message and cursor should go back to Unit Price.
    Is it possible through using SBO_SP_TransactionNotification or any other way.
    Best Regards,
    Chintesh Soni

    Hi Istvan,
    I have selected the type of UDF is Units and Total -> Amount.
    Below is the full SP_TransactionNotification procedure..
    USE [TEST_DB_190808_MRP_Excise]
    GO
    /****** Object:  StoredProcedure [dbo].[SBO_SP_TransactionNotification]    Script Date: 08/21/2008 18:00:07 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    ALTER proc [dbo].[SBO_SP_TransactionNotification]
    @object_type nvarchar(25),                     -- SBO Object Type
    @transaction_type nchar(1),               -- [A]dd, <u>pdate, [D]elete, [C]ancel, C[L]ose
    @num_of_cols_in_key int,
    @list_of_key_cols_tab_del nvarchar(255),
    @list_of_cols_val_tab_del nvarchar(255)
    AS
    begin
    -- Return values
    declare @error  int                    -- Result (0 for no error)
    declare @error_message nvarchar (200)           -- Error string to be displayed
    --select @error = 0
    --select @error_message = N'Ok'
    --     ADD     YOUR     CODE     HERE
    IF @transaction_type = 'A' AND @object_type = '17'
    BEGIN
    If exists
    (Select t.Price From RDR1 t
       Where t.Price > t.U_mrp
         and t.DocEntry=@list_of_cols_val_tab_del)
    begin
    SET @error = 1 --10
    SET @error_message = N'Errorr text '
    end
    END
    -- Select the return values
    end
    With Warm Regards,
    Chintesh Soni

  • Deletion marked material should give error message while creating proc ord

    Hello,
    i had marked the material for deletion through T-code MM06 & saved.
    Now when i'm creating the process order for the deleated material, System is giving only Warning message that " Material XXXX in plant XXXX has been marked for deletion."
    But my requirement is system shold give an ERROR message while creating Process Order for the deleted material.

    Yes Brahman is Right,
    Check the followig..
    Go to OMCQ and change the message category  to E- Error message instead of W- Waring message in Message no M7 127, but
    not  M7 121.
    and check it,
    Regards,
    Pavan idlur.

  • How to give error message for the screen element text field when wrong i/p

    How to give error message for the screen element text field when wrong i/p
    when wrong input given
    eg. 
    I have a text box with SBOOK-CARRID
    so when user give wrong entry in text box i.e LG
    then I should give some error stating that the the input is invalid or not available ,
    now it showing the error of standard messages,
    i want manual message to be displayed when error comes.
    Thank you,
    Regards,
    Jagrut Bharatkumar Shukla

    Hi all,
    Thank you for your valuable reply,
    but the thing is that its a screen field,
    i.e text box not a selection screen
    i created in screen layout
    with name sbook-carrid
    now i want to get error message display if wrong i/p is given
    thank you.
    Regards,
    Jagrut bharatkumar Shukla,

  • Playing mp4 audio gives error message "Video can't be played because the file is corrupt"

    Playing a particular mp4 audio file directly from a website link gives error message "Video can't be played because the file is corrupt". However other mp4 audio files from this same website do work correctly. What can I do to get all the the mp4 audio files to play directly from the same website? I must have the correct plugins, etc. since the other files play. This file is not playing from YouTube, is it on the website.
    Thank you for your help.

    What is the link to the site and file in question?
    MP4 files should be handled by Firefox itself, not a plug-in.
    # Click the ≡ Menu Button and choose Add-ons.
    # Click Plugins.
    # Set every plug-in to "Never Activate".
    # Try loading the file again. Is there any difference?
    You have two versions of Flash Player installed. Perform a clean installation of Flash Player as follows.
    # From the following page, save the uninstaller somewhere handy, like the desktop.
    #* [http://helpx.adobe.com/flash-player/kb/uninstall-flash-player-windows.html#main_Download_the_Adobe_Flash_Player_uninstaller Uninstall Flash Player for Windows | Adobe Support]
    # From the following page, save the installer for other browsers. If you also use Flash Player in Internet Explorer, also save the ActiveX version.
    #* [http://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-windows.html#main-pars_text_4 Direct downloads of Flash Player for Windows | Adobe Support]
    # Exit all applications.
    # Run the uninstaller.
    # In Windows Explorer, try to open the following folders. If they still exist, delete them manually.
    #* <pre>C:\Windows\system32\Macromed\Flash\</pre>
    #* <pre>C:\Windows\SysWOW64\Macromed\Flash\</pre>
    #* <pre>%AppData%\Adobe\Flash Player\</pre>
    #* <pre>%AppData%\Macromedia\Flash Player\</pre>
    # Restart your computer.
    # Run the installer for other browsers.
    # Run the ActiveX installer if you downloaded it.

  • Premiere Pro stops rendering and gives error message when encounters "RGB Color Corrector"

    Premiere Pro (and also Encore) stops rendering and gives error message when it encounters a clip containing the "RGB Color Corrector" in any clip.  It will process clips without RGBCC, but will stop when it gets to one with RGBCC activavted.  PP will render clips if other effects, such as "Fast Color Corrector", "Color Balance (HLS)", and "Three-Way Color Corrector" are selected. However, these do not have the capabilities that The other color correctors will not do what RGB color corrector does, so I need to have this working to finish a large product that is due to the client.  Please help me..... I am not using the Creative Cloud version, and can't find either a download for the new update from 2013, or a phone number to talk to anyone. 

    Using a Win7 computer with 2.8 quad core processor, 24 gig of ram, Nvidia Quadro 5000 video card.  Don't think I have any plugins.  I looked at one a while back for cleaning up grainy video, but I am not sure I paid for that.  Think I deleted it. 
    Incidentally, someone named Jim on another part of the forum mentioned that this problem has been fixed in the CC version of the program.  I am using the non-CC version because I am 68 years old and only do seminars and documentation video.  Don't need so many bells and whistles, and definitely don't need learning curves every few weeks.  CS6.0.3 works fine for me.  By the way, someone else said that maybe version 6.0.1 might work better and I should revert to that.  Not sure if it is the version i have on the disk upgrade to 5.5 that I purchased in December. 
    As it stands now, I have 7.5 hours of a seminar that is ready to go out the door.  If there is an upgrade I can get from Adobe, maybe you can tell me about it. If I have a setting incorrect in the video output format, maybe I can change that.  So far it just happens with clips in my video that have RGB color correction. 
    Rick

  • ITunes new version doesn't open at all. Gives error message

    I downloaded 7.4.3 version of iTunes and it doesn't open at all. Gives error message. "iTunes has encountered a problem and needs to close."
    I have previous version of iTunes in my spare HD, in the same computer, and it works perfectly fine.
    I have unistalled and re-installed again and again many times including with the help of Apple Support help in the phone and came up with no clues of what's going on.
    How can I get a previous version of iTunes to download to my PC? I have looking for a place on Apple's website where I could probably have my issue resolved, but I found nothing.
    Thank you.

    Thanks to Jim Zack, the problem is solved.
    If you're having this problem, go find the solution at the following page and read Jim's suggestion.
    http://discussions.apple.com/thread.jspa?threadID=1155613

  • In Windows 7, iTunes  gives error message "An iPhone has been detected, but it could not be identified properly. Please disconnect and reconnect the phonon then try again.

    In Windows 7, iTunes  gives error message "An iPhone has been detected, but it could not be identified properly. Please disconnect and reconnect the phonon then try again."
    I have a iphone 4S. It has been activated on Win 7 computer and synced. But overnight this meassage reappears.

    I have same error except that i get it even when my phone is not connected.

  • HT1222 I tried to download Itunes update 11.1.4 to my windows xp desktop computer. Somehow, It was not succesful. Now , I cannot open Itunes. It gives error message of R6034-runtime error. How can I resolve it?

    Hi,
    I tried to download Itunes update 11.1.4 to my windows xp desktop computer. Somehow, It was not succesful. Now , I cannot open Itunes. It gives error message of R6034-runtime error. How can I resolve it?

    Click here and follow the instructions.
    (99025)

  • Since the last update my i tunes wont launch it just give error message Error 7 (Windows error 127) how do i fix it please?

    Since the last update my i tunes wont launch it just give error message Error 7 (Windows error 127) how do i fix it please?

    Like many others I have been reading about online I am having the same error.  I tried the fix listed above and simply wasted 30 minutes of my time. I scheduled a time for Apple to call and help me through this and their solution was for me to call Microsoft for some reason?!!  iTunes made me upgrade then stopped working - I really don't see how this is a Microsoft problem??
    Like Darren if a solution is not found quickly I will also have to sell my phone as the only way to get videos and music on my phone is through the software that you made me upgrade, broke and won't help me fix.

  • HT1212 iPhone diabled, tried to use iTunes to restore, but iTunes gives error message (0XE8000084). Now what to try to reset iPhone?

    iphone disabled, tried to use iTunes to restore, but iTunes gives error message (0XE8000084). How to restore iPhone?

    Try here   =   http://support.apple.com/kb/TS3221

  • Doing GR for a material type, system should give a message like QI required

    Dear Friends
    While doing MIGO(GR) for a material type, system should give a message like Quality Inspection required
    but Client requirement is not to maintain QM view or Inspection Type 01for  material type
    Any setting required 
    Thanks & Regards
    Gajendranath

    Hi
    Please check user exit QBCK0003 |Extended QM check for goods receipt                        
    Regards
    sujit

  • I am not able to sign in toone of my hotmail account, it gives error message where as I am able to sign in to my other hotmail ids

    Hello,
    I have three email ids with hotmail.com. I am not able to sign in to my email which I opened last, a few days back. Until yesterday I could log in and see the inbox etc of the said id. But now when I try to sign in, it gives error message
    ERROR
    The requested URL could not be retrieved
    Surprisingly when I try to open my two other emai ids with hotmail, I can open it easily and everything is normal with the other two ids. I wrote to hotmail help center, they have asked me to get in touch with firefox as I am using this browser. Please note I was using Internet Explorer and two days back I shifted to Mozilla Firefox. Please help, it is very very URGENT..

    Sign Out When Sign In http://forums.adobe.com/thread/1450581?tstart=0 may help
    -and http://helpx.adobe.com/creative-cloud/kb/unable-login-creative-cloud-248.html
    -and 'looping' https://forums.adobe.com/thread/1504792
    or
    A chat session where an agent may remotely look inside your computer may help
    Creative Cloud chat support (all Creative Cloud customer service issues)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html

  • Trying to install adobe photoshop on macbook pro but at 50% it gives error message and kicks out dis

    trying to install adobe photoshop on macbook pro but at 50% it gives error message and kicks out disc

    copy the disc contents to a desktop folder and click setup in that desktop folder.
    if that fails what ps version are you trying to install and what is your os version?

Maybe you are looking for

  • HP Laserjet M1319f MFP scaner not scan continues pages.

    Hi. I am using HP Laserjet M1319f MFP ALl in one printer & scanner software. Previously installed in windows 7, scanner function works, it will scan multiple docs in one pdf or one file. But now i have windows 8.1 installed. I have install the Printe

  • Replace \n with br in JEditorPane

    Hi, I use a JEditorPane to edit some HTML-text. The problem is that the return-key produces a "\n" and not a "<br>". First I tried to replace all "\n" with "<br>" but the problem is that JEditorPane formats the source code on several lines. Eg: <tabl

  • Changing hostname for embeded OC4j

    I have a web-application that computes a hash number based on the server name in which the app is running. Needless to say, running OC4J from JDeveloper in debug mode creates a url like: http://<host_ip>:<port>/app/index.jsp. I need to make it launch

  • Fields in idoc

    Hi , i have a requirement.....let me know if one field in the idoc do not have data will that field apper in the idoc as blank or the field itself will not reflect in the idoc. Please confirm. Thanks

  • Upgraded to DW CC 2014.1, FTP/SFTP isn't working at all

    There's a HostNexus webserver I usually connect to but since I upgraded to DW CC 2014, it only spits back errors. I can connect successfully to the server in FileZilla (using FTP explicit). I've looked through the forum and tried various suggestions