VA01 Error Message - Partners Validation

Hi Experts,
I have written a code to validate the partners(Sold-to & Ship-to) while creating a sales order in VA01 (program 'MV45AFZB') ( user exit form: USEREXIT_CHECK_VBAK).
If an invalid relationship is detected, this enhancement will display an error message and stop the sales order creation until the correct sold-to/ship-to relationship is entered or maintained.
I could able to give the error message based on the validation but the all the fields(Sold-to & Ship-to) on the screen are grayed out and are not ready for input.
Please suggest if there is any way to make these fields input enabled.
We are using SAP version ECC 6.0
Thanks in advance,
Anil

Hi Keshav,
    Thanks for your reply. By including the code in SAVE_DOCUMENT_PREPARE of MV45AFZZ I could able to give the error message. Still all the fields are grayed out. and I need to rerun the transaction VA01 with the correct sold-to and ship-to partner data.
     Please suggest is there any other way to correct the ship-to data without re running the transaction VA01. After displaying the error I want the Ship-to and sold-to fields should be displayed as input enabled fields.
Thanks,
Anil

Similar Messages

  • Error Code :-5002 Error Message :Enter valid currency  , '51100000-01-001-0

    Hi all,
             I have found a error "Error Code :-5002 Error Message :Enter valid currency  , '51100000-01-001-01'" while adding the DELIVERY document.
    I have made a customer and assign then "EURO" currency and add delivery document then it prompts error.
    Could anyone solve this problem. is there any setting which i am missing..??
    Regards
    Sandesh

    HI Sandesh,
    Check Sap note :1252328
    and also check below thread of similar issue:
    Re: 'Invalid Currency' error when attempting to deliver order
    Hope this will solve your issue.
    Thanks,
    Neetu

  • Error message: "Enter valid currency [Message 173-57]" during Deposit transaction

    Hi All,
    Is there a specific reason why can't I deposit from a "Multi-currency" cash account to a "specific (i.e., USD)" cash account using the Banking> Deposits> Deposit module.
    I have already read below threads related to this issue.
    Error message "Enter valid currency [Message 173-57]" during cash deposit
    Can't Create Cash Deposit of Journal Entry due to "Invalid Currency" Error
    Transfer Between bank accounts in different currencies
    GL Postings between different currency accounts
    foreign currency transactions
    SAP Business One Note: 1260658 - Transfer monies between different monocurrency accounts
    I have posted successfully e  cash transfer from multicurrency to monocurrency cash account thru Journal Entry, However, I wanted to know the reason why it is not possible to post this transaction thru the Banking> Deposit module.
    Appreciate your feedback on this matter.
    Thanks!

    Hi,
    Same error message is appeared in 8.81 PL10. So this is not due to PL. If you select other than local currency at deposit currency, this error appears.
    Let me check and update.
    Thanks & Regards,
    Nagarajan

  • I have OS10.6 and when I try to update I receive error message after validating packages and updates to not tke.

    I have OS10.6 and when I try to upload updates I receive an error message when validating the packages. No updates take place.

    Are you using Software Update? And what is the error message?
    You are on 10.6.0? Why don't you download the combo updater for 10.6.8 directly from Apple and try to install it from there:
    http://support.apple.com/kb/DL1399

  • Error message - "Overlapping validity areas were found for country BR"

    Hi Experts,
    For a certain output type Y953 (e.g. for the shipment 2002355665 related to the DN 3087912658), an error message "Overlapping validity areas were found for country BR" is coming in as error.
    The error message is appearing during the idoc processing of the shipment.
    This is an incident of Dangerous Goods.
    I would like to know if it is technically / functionally possible to find out as to why exactly this mesage is coming and how can we rectify the problem.
    From technical point of view we checked that this message was not being called in the SAP system but was dynamically called.
    kindly let me know of any breakthrough as this issue is critical as dangerous goods are being transported without needed documents printed.
    Thanks in advance.
    RIttik

    Check whether note 836139 helps you.
    thanks
    G. Lakshmipathi

  • Error message "No valid source context supplied"

    Hii,
    I will add buttons to my html page. So far, I inserted the following code to my bsp page:
    <% DATA: ls_button type CRMT_THTMLB_BUTTON,
                      lt_button type CRMT_THTMLB_BUTTON_t.
                      CLEAR ls_button.
                      ls_button-type = cl_thtmlb_util=>gc_icon_edit.
                      ls_button-on_click = ''.
                      ls_button-enabled = 'X'.
                      ls_button-text = 'Cancel'.
                      append ls_button to lt_button'.
    %>
    <thtmlb:areaFrameSetter toolbarButtons = "<%= lt_button %>"
                                            maxButtonNumber = "1" />      
    When I remove the buttons, that I inserted before with the configuration tool (button Coniguration) and test my page, I get the following error message:
    Cannot display view Z_SHOW/Upload of UI Component Z_SHOW
    An exception has occured
    Exception Class  CX_BSP_ELEMENT_EXCEPTION-:No valid source context supplied
    Methode              CL_BSP_ELEMENT=>IF_BSP_ELEMENT~RAISE_ERROR
    Source Test Row: 3
    Can anyone explain me, how to fix the error message?
    Thanks and regards,
    Harris

    I have the same error,could you tell me how to solve it .thanks !
    无法显示视图 ZGSWIDET/DetailsEF
    已出现异常 例外分类  CX_BSP_ELEMENT_EXCEPTION - : No valid source context supplied 
    方法:  CL_BSP_ELEMENT=>IF_BSP_ELEMENT~RAISE_ERROR 
    源文本行:  3

  • Error message on validation script

    Hi Guys,
        I created a validation script for MA to check the fill on the extention collection as below.
    productColln = doc.getExtensionCollection("PROD_HIER");
    productItr= productColln .iterator();
    for(member : productItr){
              if(!hasValue(member.get("fieldA"))){
                   exception.chainAtEnd(member.createApplicationException("fieldA","Please enter Max Value"));
              if(!hasValue(member.get("fieldB"))){
                   exception.chainAtEnd(member.createApplicationException("fieldB","Please enter the Unit Price"));
    if(exception.getChain() != null){
        throw exception.getChain();
        1. When the 'fieldA' and 'filedB' are blank, the error message is shown only for 'fieldA'. After i complete 'fieldA' the error message will be shown for 'fieldB'. It seem like it will show only for first one which is put in the chain. I would like the message to show all message in the chain.
        2. When the error message is shown the both fileds are covered by the red line but i would to have the red ' ! ' appear on the tab (ex. for product tab) as well. How can i implement that?
    Noppong,
    Thank you in advance

    Hi Noppong
    My understanding is once system gets an exception, it skips to throw statement and the subsequent exceptions, if any ,are skipped. Use of chain exception allows one to write one throw statement in the code rather than multiple throws at various points.
    I may be wrong so appreciate if someone can validate this.
    Regards
    Mudit Saini

  • How to display an error message after validation in Formatted Search?

    Hi SBO experts,
    if an error is detected on validation in a Formatted Search, how to display an error message to the user entering the data?
    Thanks & Regards,
    Raghu Iyer

    i created a formatted search query & attached it to the field 'Quantity' at Line Item level in Sales Order screen. just for testing purpose, i eneterd the following code lines in the query validating 'Quantity'
    if $[$38.11.0] > 50
    begin
    select @error = 1
    select @error_message = 'Vendor code cannot begin to X sign.'
    end
    the system throws the error : Internal error (8180) occurred [Message 131-183]
    actually, i need to display an error message to the user if Quantity is not in multiples of the OITM.SalFactor2
    if $[$38.11.0] % (SELECT T0.[SalFactor2] FROM OITM T0 WHERE T0.[ItemCode]  = $[$38.1.0]) > 0
    begin
    select @error = 1
    select @error_message = 'Error in Quantity.'
    end
    but, this expression to get the remainder itself seems to have some error
    $[$38.11.0] % (SELECT T0.[SalFactor2] FROM OITM T0 WHERE T0.[ItemCode]  = $[$38.1.0])
    i guess, % operator is used for modulo (to find the remainder of one number divided by another.) ? am i right ?
    Regards,
    Raghu Iyer

  • Error message: no valid initialization after client copy

    Hi,
    We recently did a client copy of our quality BW and R/3 systems from preproduction. In the 'new' clients we have problems with the delta process for 2LIS_13_VDITM. We get an error message that there was no valid initialization in the system, where in fact a valid initialization has taken place (everything from preprodcution was copied).
    The source systems setting where corrected using BDLS, but the entries in R/3 tables roosprmsf / roosprmsc were still pointing to the old system. This has now been corrected.
    One problem remains. There is no entry for 2LIS_13_VDITM in table RSSDLINIT. I suspect that this causes the error message. Can anybody confirm this ? Is there a standard way to add the correct entry (with the package number of the init package) in table RSSDLINIT or realign table RSSDLINIT with table roosprmsf in R/3 ?
    Thanks in advance !

    Hi,
    After system copy. You will ahve delet your whole data and reload every thing.
    In case you are getting dump when you double click infopacakge then delete your data source entry in RSA7 in source system and then go for fresh init load and then continue with delta load. Before goign for fresh init load you will have to first delet the init load entry.
    This must help
    Regards,
    Rohini
    Message was edited by: Rohini Garg

  • VA01  error message

    Hi Experts,
                    I do have one issue.
    The issue is that for example I have a text "SUDHEER"  for Delivery and Billing block in VA01 Tcode..
    If the enduser enter the value "SUDHEER" in Delivery or Billing Block when he saves it the message should comes as u have entered wrong text .so that  the enduser undertsands that he should enter other text in Delivery and Billing Block.
    I have written the code for this, but with an Error message.For this purpose the screen is unable to proceed .so i need a code how to enter another text when wrong text is placed.
    If i give Information message if we save it,it will be saved so i need allow the enduser till he enters data in the Delivery and Billing Blocks correctly instead of "SUDHEER".
    The code is as follows.
    if
      ( t180-trtyp = 'H' )  and
      ( vbak-lifsk    =  'SUDHEER' or vbak-faksk = 'SUDHEER' ) .
       message e398(00) ' Wrong Entry'.
    Thanks in Advance,
    Sudheer.

    You can do that here...
    in the include.
    MV45AFZB
    i did that once, here you can raise the error message, place your code in the below form.
    *&      Form  USEREXIT_CHECK_VBAK
    *       This Userexit can be used to add additional logic for         *
    *       checking the header for completeness and consistency.         *
    *       US_DIALOG  -  Indicator, that can be used to suppress         *
    *                     dialogs in certain routines, e.g. in a          *
    *                     copy routine.                                   *
    *       This form is called from form VBAK_PRUEFEN.                   *
    FORM USEREXIT_CHECK_VBAK USING US_DIALOG.
    ENDFORM.

  • Groovy expression for error message in validation

    hi...
    using groovy expression i want to display a dynamic error message...(ie.i have a date field the date cant be a past date..if i enter the past date like (02-04-2012 )the error message should display with this date)

    For a validation rule on an entity attribute, you can use a Groovy expression to decide whether
    an error or a warning message should be displayed using the following expression:
    adf.error.raise("THIS_IS_AN_ERROR_MESSAGE")
    adf.error.warn("THIS_IS_A_WARNING_MESSAGE")
    In your case, you can customize the message and access the date attribute in the message as source.HireDate(Assuming HireDate is the date attribute)
    Hope it helps.

  • Error Message on Validations

    HI ALL,
    How do we customize item validation error msg? such that my error msg Inline in Notification should look like this:
    <label of PX_ITEM1> : Value must be specified
    <label of PX_ITEM2> : Numeric value must be specified
    <label of PX_ITEM5> : Value must be specified
    this way, users may know which items (or fields) was validated with error. this can be done manually for each item validation, but is there a way to create a template for all error messaging with format <label of item> : <error msg> ?
    Thanks!
    BROKEN.

    Broken,
    you may take a look at the following links:
    http://inside-apex.blogspot.com/2007/01/one-small-step-for-man-one-giant-leap.html
    http://inside-apex.blogspot.com/2007/01/apexlib-automatic-required-and-format.html
    http://inside-apex.blogspot.com/2006/12/hacking-apex-error-page.html
    They will handle your default errors like field required, number or date picker check already in the browser and also for security reasons again on the server. The raised errors are customizable with a template.
    Patrick
    Check out my APEX-blog: http://inside-apex.blogspot.com

  • Custom Error Message for Validation.....

    Here is my Validation:
    I want the error which is grown from what is wrong on the page to display after the validation.
    the GUI for validation will not let me leave the Validation ERROR box empty...just not sure how to get around this.
    DECLARE
    isValid BOOLEAN := TRUE;
    message VARCHAR2(4000):='';
    BEGIN
    if (:P14_EXISTING_METRIC_NAME IS NULL and :P14_METRIC_NAME IS NULL)
    then
    message := 'Metric Name is Not Chosen:';
    isValid := FALSE;
    end if;
    if   (:P14_EXISTING_SUB_VALUE IS NULL and :P14_METRIC_SUBNAME IS NULL)
    then
    message := message || ' Sub Metric Name is Not Chosen:';
    isValid := FALSE;
    end if;
    if NOT REGEXP_LIKE(:P14_METRIC_VALUE,'expression')
      then
    message := message || ' Value is not Numeric:';
      isValid := FALSE;
    end if;
    if NOT isValid
    then
       raise_application_error (-20001,message);
    end if;
    END;Edited by: bostonmacosx on Feb 27, 2013 12:05 PM

    SO what I did was make sure that the process doesn't go false:
    and at the end just checked my messages and added an error on the end. WHEW hope this helps someone in the future.
    DECLARE
    isValid BOOLEAN := TRUE;
    message VARCHAR2(4000):=NULL;
    BEGIN
    if (:P14_EXISTING_METRIC_NAME IS NULL and :P14_METRIC_NAME IS NULL)
    then
    message := 'Metric Name is Not Chosen<BR>';
    end if;
    if   (:P14_EXISTING_SUB_VALUE IS NULL and :P14_METRIC_SUBNAME IS NULL)
    then
    message := message || ' Sub Metric Name is Not Chosen<BR>';
    end if;
    if (NOT REGEXP_LIKE(:P14_METRIC_VALUE,'^(\d{1,99})\.(\d{0,99})$') or :P14_METRIC_VALUE IS NULL)
      then
    message := message || ' Value is not Numeric<BR>';
    end if;
    if message IS NOT NULL
    then
    apex_error.add_error (
            p_message          => message,
            p_display_location => apex_error.c_inline_in_notification );
    end if;
    END;Edited by: bostonmacosx on Feb 27, 2013 12:52 PM

  • Getting Error Message: "No valid packages (-9997) in Disk Utility

    I am having some permission issues with my iBook G4 12". But when I run Disk Utility and select the HD and tell it to Repair Disk Permissions, I am prompted for an administration password (I AM the administrator) and then, once entered, in the Disk Utility status window I get:
    Verify permissions for "[hard disk name]"
    Error: No valid packages (-9997) -- in Red Lettering
    Permissions verification complete
    Can anybody inform me what is going on and what I need to do?
    Tom
    MacBook   Mac OS X (10.4.8)   2GHz MacBook, 1GB RAM, 80GB Hard Drive

    Tom --
    I'm sorry to be the bearer of bad news, but apparently files have been deleted from your Receipts folders.
    See this article for more info:
    http://docs.info.apple.com/article.html?artnum=25704
    I hope your BaseSystem.pkg file has just been moved, and not deleted.
    But if it's gone, there are instructions in that article to fix the problem.

  • InputJSP - Servlet - Error Message- InputJSP : validation

    Hi,
    I would like to develop a JSP where the user is allowed to enter the data. I want to validate the input fields in the sevlet controller and may be also connecting to bean in servlet.
    How do I get display the error for the user and after that I want to get back to Input JSP for user input.
    I would really appreciate any replies for my question.
    Thanks,

    Why won't you validate the fields by using javascript on the client side before you submit? or if you wanna validate user password then yes you can send the info to servlet, there you connect to database, compare and sendRedirect back to jsp file with everything stored in a session object, then in jsp you check if that session object is null, if not then it means it came from the servlet so now you can fill the fields with the values from that session instead of making the user retype everything. so it's a loop from jsp to servlet and back to jsp in case some field does not match or something.
    Good Luck

Maybe you are looking for

  • Insert pages from a single document multiple times

    I'm trying to create a simple program that I can use to display PDF files that I can use to play at the piano. I perform often, and need to create "play lists" from which I can pull all, or part of, a PDF file containing music and display it. I have

  • What is the best way to reinstall my OS (10.9.1) and applications on a 2009 Model ID: 10,1 iMac?

    Hello All at Apple Support, I have a 2009 iMac and it's time to replace the hard drive before it fails. I've searched a lot of sites and found this hard drive: Toshiba (by Hitachi) 2.0TB DT01ACAxx series (3.5 inch SATA 6GB/7200rpm/64mb cache) at Othe

  • Key Mapping with Oracle Reports

    I am currently trying to run report requests using the Oracle Report Server however the problem that I have is that we need to send database username/password information over the network. From a security perspective this is not acceptable. One way w

  • What Licensing Should i use CUWL or UCL ?

    I have some doubts regarding LICESING for the Following Devices which are going to be freshly implemented . Here i have choosen 2 Cisco Call Manager 8.5 ( 2 Qty) , 1 Cisco Unity Connection 8.0 , 1 Unified Contact center 8.0 , Unified Presence 8.0 , 2

  • ADF BC : polymorphic activation issue

    hi Please consider this example application created using JDeveloper 10.1.3.4.0 at http://www.consideringred.com/files/oracle/2010/PolymorphicActivationIssue10gApp-v0.01.zip It has Entity Objects AdPresEmployees and ItProgEmployees that extend the Em