Creation of error message

Hi All
Validation rule for duplicate invoice check is done in OB28.In error message field we would like to display " document number with document type having same reference existed".
For eg.document number 1000010 doc.type YI with reference no 12345. Please note that reference no. will get change for each invoice posted.
I hope the above requirement is clear. Please let me know how to create an error message as per above details.
Regards
Ravi Kumar

Hi,
Try doing it, as i am not very much sure.
Go to TCode - GGB0
Navigate to your validation created.  Click the Message.
Have the message type = E
If you want to create a new message, double click the message Text and create a new entry as - Document Number $ with Document Type $ of reference $ already exist
In the message variables, create as -
1. BKPF - BELNR (Document Number)
2. BKPF - BLART (Document Type)
3. BKPF - XBLNR (Reference)
This will automatically display in the placeholder '$' in the message text.
Remember to activate using OB28
Regards,
Sridevi
<i>* Pls. award points, if useful</i>
Message was edited by:
        Sridevi

Similar Messages

  • Creation of Error Messages on Custom Applications

    Hi,
    We have a customized application on the Enterprise Portal. There may be a scenario when the Portal is up and running, but this application is down due to some reason. In such a scenario, what is required to be done to display a message such as "This application is currently down" to the users?
    Thanks for any help on this.

    Hi,
    Check this:
    Customizing Error Message
    Regards,
    Praveen Gudapati

  • First superclass creation - getting error message

    Hey again :)
    I just read through the Object Oriented programing tutorial. Man
    was it fun to read. :D Even though, I haven't fully understood the
    concept of interfaces and packages. But I will.
    Anyway, I made a superclass:
    public class Keyboard {
         int press, release, leave;
         press = 0;
         release = 0;
         leave = 1;
         void pressKeyboard(int newValue) {
              press = newValue;
         void releaseKeyboard(int newValue) {
              release = newValue;
         void leaveKeyboard(int newValue) {
              leave = newValue;
         void printStates() {
              System.out.println("Keyboard is pressed?: " + press + " Keyboard is released?: " + release + " Keyboard is left?: " + leave);
    }And I get the following error message:
    keyboard.java:10: <identifier> expected
         press = 0;
         ^
    keyboard.java:11: <identifier> expected
         release = 0;
         ^
    keyboard.java:12: <identifier> expected
         leave = 0;
         ^
    3 errors
    Press any key to continue
    What am I doing wrong?
    Again, I appriciate all the help I get. :)

    You have assignment statements where they are not allowed.
    You have 3 options:
    1. assign when declaring, e.g.int press = 0;2. assign in an initializer, e.g.int press;
        press = 0;
    }3. assign in a constructor, e.g.public Keyboard() {
        press = 0;
    }

  • Error Message While creation of SC No commitment item entered in item

    Hi,
    I am creating SC while creation following error message is appearing :-
    No commitment item entered in item 1 10 6534
    Where 10   :Comp code
               6534 : CC
    Is there any thing commitment related missing in SRM ?
    Thanks,
    Sachin

    Hi,
    run TA FS01
    ->  G/L Account        <enter your G/L account>
         Company Code    <enter the company code - i think its 6534 in your example>
         -> Tab "Create/bank/interest"
             -> "COMMITMENT ITEM" <======
    I hope that helps!
    Best regards,
    Georg

  • Error message during cube creation

    Hi expert,
    System show the following error message during cube creation, please info how to solve this problem. Thanks.
    Define the characteristics of the validity table for non-cumulatives
    Message no. R7846
    Diagnosis
    The InfoCube contains non-cumulative values. A validity table is created for these non-cumulative values, in which the time interval is stored, for which the non-cumulative values are valid.
    The validity table automatically contains the "most detailed" of the selected time characteristics (if such a one does not exist, it must be defined by the user, meaning transfered into the InfoCube).
    Besides the most detailed time characteristic, additional characteristics for the InfoCube can be included in the validity table:
    Examples of such characteristics are:
    A "plan/actual" indicator, if differing time references exist for plan and actual values (actual values for the current fiscal year, plan values already for the next fiscal year),
    the characteristic "plant", if the non-cumulative values are reported per plant, and it can occur that a plant already exists for plant A for a particular time period, but not yet for plant B.
    Procedure
    Define all additional characteristics that should be contained in the validity table by selecting the characteristics.
    In the example above, the characteristics "plan/actual" and  "plant" must be selected.
    The system automatically generates the validity table according to the definition made. This table is automatically updated when data is loaded.

    Hi,
    Go to the Extras Tab in the definition of the Cube and there select " Maintain Non-Cumulatives" and there select the Plant check box. You can also check Material but it is not recommended. Now try to activate the cube. I think it will work for you.

  • Error message during TO creation back ground

    Hi All,
      We have configred the movemet type 309 and 321 with auto matic TO creation, after that we have schuduled a job (with program RLAUTA11)to create TO automatically , but for some of the posting changes TO es are creating automatically, but some of the posting changes TO are not creating and in the job log we found the error message"No quants exist for posting changes"  message no : L3 094.
    Could any one please kindly show the resolution for this issue.
    Thanks & Regards,
    Murali.

    Short Text
    No quants exist for posting changes
    Diagnosis
    No quants requiring a posting change were found.
    Procedure
    Check your entries.
    If memory serves, there is some called "quant" that is used in the TO creation. Obviously, with the quant that you have specified for that TO, nothing can be done. This is not exactly an ABAP question, you might need to ask your MM/WM consultant.
    Additionally, you may use "where used" feature in SE91 to find where in the programs this message occurs and what validations happen before that.

  • Error Message WY 030 . Vendor master creation

    Hi all
    The Error Messgae *WY 030 :Purchasing organization &1 assigned to company code &2, not &3*:+ Need to activate as a 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
    Thanks & Regards
    DP

    strange.
    in my system WY 030 message is this: Entry & in table & does not exist
    what do you call a wrong purchasing organisation?
    I guess you have several organisations in the system.
    lets make an example:
    purchasing PORG1 is assigned to company code CC1
    purchasing PORG2  is assigned to company code CC2
    purchasing PORG3 is assigned to company code CC3
    and I guess
    you want prevent a user to create a vendor master with company code CC1 and purchasing org PORG2
    You just cannot do this.
    All company codes are valid and all purchasing orgs are valid.
    It is just to combination that would logically not make sense while creating.
    but if this vendor is used in all companies, then you have 3 CC views: for CC1, CC2 and CC3,
    and you have 3 purchasing views for PORG1, PORG2 and  PORG3
    would you still say that a vendor master with CC1 must not have PORG2 ?

  • Error message display for PO creation with reference to internal orders

    Sir,
    While creating PO with Tcode ME21N (item category I) with reference to ' Internal Order with Funds provided (Tcode KO12), system displaying error message  when Budget is exceeded.
    But when Funds provision is not mentioned (Funds value is initial in KO12) , error message is not being given by the system during Po creation with ME21N.
    Where should I configure in img(Tcode SPRO) , so that system will throw error mesage while creating PO without Budget Provision (Funds not mentioned ) in Internal Orders.
    Regards,
    Srinivasa Murthy

    Hi Anupam,
    The error message display as follows. (when the PO Price exceeds the Planned Funds kept for internal order)
    This error comes during PO creation Process and PO can not be saved. This error message display is correct.
    Item 001 Order 600643 budget exceeded
    Message no. BP604
    Diagnosis
    In document item 001 Order 600643, budget  for fiscal year 2009 was exceeded by 99,960,000.00 INR.
    But  my question is 'when funds have not at all been mentioned for the internal order' then system has to throw the same error as mentioned above. But it is not happening. System is allowing the PO to save which is not correct.
    Regards,
    Srinivasa Murthy

  • Error in IDOC creation of Inbound Delivery (VL31N) with  Error Message Number VL561

    H,
      I'm getting an error message when generating a test IDOC of Message type DESADV and IDOC type DELVRY03 to create Inbound delivery with reference to a standard purchase order.
    Essential transfer parameters are missing in record: PO Number and Item
    Could you one help me out in solving this.
    Thanks,
    Raj

    Hi ,
    Goto SM13 .
    Find the terminations based on user and creation date.
    Get the same analysed by ur ABAP team.
    Also check the confirmations in PO at Item level.
    Regards
    Ramesh Ch

  • Not able to display error message in PR creation.

    HI Experts,
    In PR creation process i am not able to display error message.
    BADI: ME_PROCESS_REQ_CUST
    method : PROCESS_ACCOUNT, PROCESS_ITEM
    I have used Include mm_messages_mac for handling error .
    MESSAGE e112(XXX) WITH XX-XX. this is my error message.
    even tried this also  mmpur_message 'W' 'ZMM_PUR' '001' '' '' '' ''.
    Please provide solution for this.
    Regards,
    Jayant

    Hi,
    In devepoment system im able to display the message but not in quality,code is 100% algined with quality.
    In quality system error message is being executed but not displayed,i mean control is comming out after the error message.
    i am using
    message EXXX(XXX).
    regards,
    Jayant.

  • Custom Error Messages in Sourcing Cockpit do not prevent PO creation

    Hi forum gurus,
    We are implementing SRM 5.5 SP 9 in extended classic mode. We have implemented sourcing cockpit too.
    We have coded an error message in the 'BBP_ITEM_CHECK' BADI for the sourcing cockpit and it appears correctly in the sourcing cockpit when necessary.
    However, the system still allows the PO to be created, despite the error message being visible prior to clicking on the 'Create Purchase Order' button.
    Any ideas? I will create a customer message to SAP with this anyway, but hoped someone may know for certain how to resolve it!
    Thanks,
    Nick

    Hi,
    Use the BADi "BBP_DOC_CHECK_BADI".
    See the foll thread:
    authority check on Creation of Purchase order usin badi BBP_ITEM_CHECK_BADI
    BR,
    Disha.
    Pls reward full points for useful answers.

  • Creation of work center CR01 (error message in last page)

    Hi
    During creation of work center .After all the configuration being done ,in the last page the error message displayed is (ACTIVITY SET CAN NOT BE ALLOCATED TO 2009).
    Some of the major setting done in the last page is
    This is Costing Lab
    1) work Center
    2)Activity description (Like set up, Machine and Labouring)
    3)Selection of activity type
    4)Preferred Unit
    Per
    After this when i save the error message is displayed mentioned above  (Message number is KL008)
    Please help ....!!!!!
    Thanks in advance
    Rupesh Jha

    Dear Rupesh,
    1. Please enter the CCtr categories value as "*" in the basic data tab.
    1)in KL02 for this particular activity type give as *
    2. Enter ATyp category field value ar "1" in the basic data tab.
    2) in the field A type mainatin -1
    3. Actl Acty Type Cat field value as "As in planning".
    in this field also mainatin as 1
    YOU MUST SPECIFY A COST ELEMENT FOR ACTIVITY CAT 1
    first creat a cost element in  KA01 (pramairy) & in KA06 (secondry)
    then asiign in KL02 for the required activity types
    Regards
    kumar

  • Creating Error message during creation of SC using create limit item option

    Hi,
    I am using option "create limit item" option to create a service SC, now i need to set an Error message if the value in the "value limit" field is lower than the value in the "expected value" field during the creation of sc and i should not be able to order such cart. Currently there is no message displayed and i can create a SC with the lower value in the value limit field.
    Please suggest.
    Regards
    GGL

    Hi. Try BBP_DOC_CHECK_BADI to issue a custom error.
    Regards,
    Dave.

  • Error message while creation of material for wrong warehouse no

    dear all,
    i have assigned plant and storage location to warehouse no x,created the material for the same.our question is why the system is not showing warning or error message if we create the same material ,plant and stg location combination to a diff warehouse no Y.
    Eg:
    material    plant   stg location   warehouse no
    12345      1000   1001             111
    12345      2000   2001             111  ?????.how is this possible as i have assigned this plant and stg location combination to a different warehouse no:222
    Is there any settings available in SPRO to solve out this problem.
    Regards,
    velu

    Hi,
    System will not give any error message at the time of Creation of materials, you can create for any other Warehouse no which is not assigned to Plant , Str loc.
    But the system will throw the error while doing any transaction with respect to the Material with different combination of plant , str loc, warehouse no
    This is drawback of Standard SAP.
    rgds
    gsc

  • Display an error message in Portal during creation of Object Link

    Hi,
    I have a requirement where I need to throw an error message in Portal during creation of Object Link.
    The requirement is whenever the user clicks on Item and try to create a Object Link for Material-Plant combination, if the Mat-Plant combination exist, than I have to throw/display an error message.
    I tried for some enhancements in BAPI_BUS2172 but it does not work out.
    Please help.
    Thanks in advance.
    Arbind

    Hi,
    If you include the UI, it will display at the top of the screen..
    Please see below how to create a message in the message editor.
    http://help.sap.com/saphelp_nw04/helpdata/en/72/1d6526263ff24995016a152705eab2/frameset.htm
    and this is how you access the error message in the application ti display it to the end user
    http://help.sap.com/saphelp_nw04/helpdata/en/72/1d6526263ff24995016a152705eab2/frameset.htm
    Regards,
    Ganesh N

Maybe you are looking for

  • Help with exporting and printing

    I only recently started to use FW and I am stuck and can't find an answer. First whenever I go to print a item through FW it is always to big for the paper. I know I can shrink it but wouldn't that look different. Second I export it as a jpeg and imp

  • Creation of payment terms on for payment on instalment basis trans  OBB8

    Hi I have a few doubts in creation of payment terms 10% - advance payment - 60 days invoice date 65%  - on shipment of goods - 60 days invoice date 20% - on receipt of final documentation  - 60 days invoice date my doubt is do i need to consider rema

  • What is the maximum number of samples that can be acquired with a single trigger using PCI-6036E DAQ card?

    1. My PCI-6036E card has a FIFO of 1024 bytes in AI. Maximum how many samples can be acquired with single trigger for digitizing a waveform? 2. PCI-6036E DAQ card has got a AO with 10ks/s update rate? Can I generate a pulsed output with the AO of thi

  • Cross platform - Using AI on PC and Mac

    If I have a PC and Mac both running CS3 and I'm using Opentype fonts, how easy/hard is it to work on an AI file back and forth between the two computers?

  • Problem in using Font class

    In this code i try to make font preview on the word "Test" by selecting font name , style and size but when i select font name and style the word " Test" disappear why ?? please say to me the correct way to do this . my code : import java.awt.BorderL