Error message when doing SUBMIT

Hello there,
i am just working on BSP pages that call ABAP Reports with "Submit" and display the Results within the BSP.
My Problem now is that some reports may come up with an Error message (type 'E') that stops the report and the processing of the BSP Page. The page displays then a "500 internal SAP Error".
I found a good weblog here: /people/mark.finnern/blog/2003/09/16/bsp-in-depth-message-statement-handling but also to encapsulate the Submit by a function call does not help here. The page stops when calling the submit.
Is it somehow possible to prevent the BSP-Page from terminating and catch the error message from the Report? I can not modify the Reports that are called.
Thanks for any help,
Stefan
6.20 SP49

Hi Stefan,
If your report returns the error message or message id, you could pass this on as an export parameter in your wrapping function back to your BSP event.
To display the error message on the same BSP page, include the following code in the event where err_msg is the error message from your report passed on to the function:
page->messages->add_message(
condition = 'REPORTERROR'
message = err_msg
severity = page->messages->CO_SEVERITY_ERROR ).
In the layout of the BSP page include the following code where you want the error message to be displayed:
<font color="red"><%= page->messages->assert_message( 'REPORTERROR' ) %></font>
Make sure the condition has exactly the same name in the event and the layout.
Additionally you could also use the SY-SUBRC after your SUBMIT statement and display a generic message for an internal error if the SUBMIT statement itself fails.
Regards,
Rohini.

Similar Messages

  • Error message when doing a back up

    Hello,
    I am getting  an error message when trying to back up my iPhone 6 through iTunes. My iPhone 6 is 128GB. I'm up to date using iOS 8.3 I've never had a problem until today. What can I do to remedy this?
    Also, my "other" is now up to 13.5GB. Do I need to wipe the phone and start from scratch? Thank you for any help on this!

    Jailbroken?

  • Error message when doing settlement for Internal order

    Hi,
    Can someone please help me to resolve the following error:
    When trying to run settlement for an internal order, following error message is generated:
    Item 001 Order xxxxx budget exceeded
    Message no. BP603
    Diagnosis
    Budget was exceeded by xxxx amount in document item 001 Order xxxxxx.
    Also following points may be relevant:
    - System status ISBD for Internal Order is active
    - There is no PR/PO for the order, direct invoice from FI is created through tcode FB50
    - Availability control: Activation Type 1, Overall field ticked in customization
    - Tolerance  Limits:  Availability control action .... Usage 85 % - Warning message, Usage 100 % - Error message
    Thanks,
    Ankita

    Hi Loong,
    Thanks for reply.
    I have already tried drilling down the report S_ALR_87013019 , however following are the only things available from the report.
    1. There is a year independent overall budget for the order of 92500 amt.
    2. Actual in 2009 is 7870.41 and in 2010 is 77980.24. So the total actual amt is 85850.65 overall.
    3. The available budget is 6649.35. i.e Over budget minus actual utililized amounts.
    Since, in the report it shows that the budget is available then I am unable to figure out why does it give error for exceeding budget by amt 50100.65 at the time of settlement.
    Regards,
    Ankita

  • Duplicate error message when doing validation

    hi am geting two same error when validation,i what to display only one error message
    am in jdeveloper 11.1.1.6.0,am geting duplicate validation error message
    this is how am doing validation
    <af:inputText value="#{bindings.Organisationname.inputValue}"
                                      simple="true"
                                      columns="20"
                                      maximumLength="#{bindings.Organisationname.hints.precision}"
                                      shortDesc="#{bindings.Organisationname.hints.tooltip}"
                                      id="it1" autoSubmit="true" required="true"
                                      validator="#{pageFlowScope.orgvalidation.chkOrgName}"
                                      label="Organisation Name">
                          <f:validator binding="#{bindings.Organisationname.validator}"/>
                        </af:inputText>
    public String checkName(String orgname){
    ResultSet rs;
    Row curPerson;
    String value= null;
    OrgAppModuleImpl am =(OrgAppModuleImpl)ADFUtils.getApplicationModuleForDataControl("OrgAppModuleDataControl");
    try {
    System.out.println("valueadded "+orgname.toUpperCase());
    value =am.findbyOrgname(orgname.toUpperCase().trim());
    System.out.println("valueadded "+value);
    catch (Exception e) {
    e.printStackTrace();
    return value;
    public void chkOrgName(FacesContext facesContext, UIComponent uIComponent,
    Object object) {
    // Add event code here...
    String value =(String)object;
    String evalue=  checkName(value);
    if( evalue == null){
    }else{
    FacesMessage message = new FacesMessage();
    message.setSeverity(FacesMessage.SEVERITY_ERROR);
    message.setSummary("Organisation Name already exists.");
    FacesContext context =  FacesContext.getCurrentInstance();
    context.addMessage("esecurity", message);
    throw new ValidatorException(message);

    yes i what two diffirent validation which is required=true and checking for duplication this is not what am talking about,what am talking about is the two message for duplicate validation for checking duplicate,am geting this message twice in the error message
    public void chkOrgName(FacesContext facesContext, UIComponent uIComponent,
    Object object) {
    // Add event code here...
    String value =(String)object;
    String evalue=  checkName(value);
    if( evalue == null){
    }else{
    FacesMessage message = new FacesMessage();
    message.setSeverity(FacesMessage.SEVERITY_ERROR);
    message.setSummary("Organisation Name already exists.");
    FacesContext context =  FacesContext.getCurrentInstance();
    context.addMessage("esecurity", message);
    throw new ValidatorException(message);

  • Error Message when doing a Stock transffer using Mvt Type 309  using MIGO

    Hi Team,
    I am getting an error message M7-441 "Selection by multiple account assignment was not restricted", when doing a stock transfer.
    I am not able to understand the exact issue here, any help is appreciated.
    Regards
    Raj

    M7441 seems to be a new error message which came with EHP4
    I can only see that it is used in MB51 report (do you search for material documents in MIGO when you get this error?)
    according to the coding in my system this is just a warning message, not an error message, hence you could continue by cklicking the okay icon.

  • Error message when testing Submit by Email button

    I used Adobe LiveCycle for the first time to create a form.  I added both a Submit by email and Print buttons.  When I go to Adobe Professional to test my form to email, I get an security error message that the documet is trying to connect to my email address as the correct domain.  I then have the option to Allow or Block.  When I click Allow nothing happens and I don't get the email in my inbox.
    Please assist as I need to send out this form and want users to be able to send w/out an issue.
    Thanks.

    You have multiple options to sending whole PDF format.
    1) Set the submit button to submit whole PDF format by using a mailto: [email protected] in the submit button action URL.
    2) Set the submit button to fire a javascript that submits whole PDF format. See Adobe's Javascript reference guide for instructions.
    Note: Methods #1 and #2 require Adobe Acrobat or Extended Reader Rights; because, Adobe Reader users are restricted to submitting just the data formats; such as FDF,XML, XFDF, XDP, and HTML. Beware extending reader rights to a PDF form using Adobe Acrobat places end user EULA restrictions, such as not more than 500 end user submissions for each form.
    My Recommendations:
    #3) Set the submit button to point to a URL of a server-side script; such as ASP.net. Then set the format to a data format; such as FDF, XML, XFDF, or XDP; and use ASP.net and iTextSharp (Free) to merge the data with a blank PDF form; and attach the submission to an outbound SMTP mail message and send without 3rd party email software such as MS OUTLOOK.
    #4) A combination of #1 and #3; where you enable usage rights on the PDF using Adobe Acrobat; and send to a server-side script which bypasses client-side email software.
    Check out the following website for online examples that submit to a server side script:
    www.pdfemail.net/examples/

  • ERROR MESSAGE WHEN DOING SIMPLE QUERY TO RETRIEVE LARGE AMOUNT OF DATA

    Hello,
    Am querying my database(mysql) and displaying my data in a
    DataGrid (Note that am using Flex 2.0)
    It works fine when the amount of data populating the grid is
    not much. But when I have large amount of data I get the following
    error message and the grid is not populated.
    ERROR 1
    faultCode:Server.Acknowledge.Failed
    faultString:'Didn't receive an acknowledge message'
    faultDetail: 'Was expecting
    mx.messaging.messages.AcknowledgeMessage, but receive Null'
    ERROR 2
    faultCode:Client.Error.DeliveryInDoubt
    faultString:'Channel disconnected'
    faultDetail: 'Channel disconnected before and acknowledge was
    received'
    Note that my datagrid is populated when I run the query on my
    Server but does not works on my client pcs.
    Your help would br greatly appreciated here.
    Awaiting a reply.
    Regards

    Hello,
    Am using remote object services.
    USing component (ColdFusion as destination).

  • Error message when doing HCM "change employee salary" on portal

    Hi experts,
        We have a problem when user did the "salary change" HCM form on HR portal.
        We checked the workflow log by SWIA, work item 23546, and there are error messages described as below:
    Error when processing node '0000000005' (ParForEach index 000000)
    Work item 000000023546: Object FLOWITEM method EXECUTE cannot be executed
    Error updating the process object
    Exit CL_HRASR00_POBJ_WF_EXIT triggered exeception for event STATE_CHG and (target) status READY->
    Transaction brackets of the workflow has been damaged
    Error when creating a work item
    Error when creating a component of type 'Step'
    Error when processing node '0000000005' (ParForEach index 000000)
    Error when starting work item 000000023546
    Agent determination for step '0000000005' failed
    Error in resolution of rule 'AC17900012' for step '0000000005'
    No authorization for user PRONKAI content Form Scenario content group ZPSP activity P
    Error when creating a work item
    Error when creating a component of type 'Step'
    Can anyone help me to analyze the error messages and the possible reason to cause this error?
    Any useful hint will be appreciated.

    Gentlemen - the problem has been found and resolved. Seems like the XML Data Source cannot contain a reference to a validating DTD. Once the following reference was removed AND I used employee instead of Employee in the template all worked.
    <!DOCTYPE employees SYSTEM "employees.dtd">
    I assume this is correct - not being able to contain a DTD reference? I will also, tomorrow (read that as probably Monday) be trying the same thing using XML Schema vaildation.
    THANKS for the help - Casey

  • Error message when doing invoice verification.

    Hi Gurus,
    During doing invoice verificition with delivery notes.Im getting a error message that level F1 belong to cash postion,source symbol PSK.Plz any body can help me to solve it
    Thanx

    Hi
    Planning level  belongs to the cash position, which means you can only use it for G/L account line items.
    Levels are defined and allocated to a source symbol in view V_T036. The source symbol is allocated to the cash position or the liquidity forecast in view V_T039.
    Please check these Tables using Transaction SM30

  • Csm error message when doing deploy to device

                       hi
    i have csm 4.3 and i did deploy to file and it was a success , when i am doing deploy to device i am getting an error saying:
    an error response from the device prevented succeful completion of this operation. the device provided the following description: crypto map CSM_outside_map 1 match address CSM_IPSEC_ACL_24:unable to locate access-list CSM_IPSEC_ACL_24
    when i am doing preview their is no problem
    what this message meen?

    Hello,
    Am using remote object services.
    USing component (ColdFusion as destination).

  • F-04: give error message when clearing AP items with payment block key(R)

    Hi all,
    Customer wants to prevent payment for AP items with payment block key(BSEG-ZLSPR) .
    I want system giving error message when doing payment clearning with t-code:F-04.
    How can I realize it ?
    Thanks Grus!
    Lynn

    Please configure the following nodes properly:
    Financial Accounting>>Accounts Receivable and Accounts Payable>>Business Transactions>>Outgoing Payments Global Settings>>Payment Block Reasons>>Define Payment Block Reasons & Define Default Values for Payment Block
    For the error message: You may define a validation in OB28 with the help of ABAP consultant

  • Keep getting an error message when updating 10.6.8

    keep getting an error message when doing a software update for 10.6.8

    I've tried both ways but it does the same thing.  I have iTunes v 10.3.1.
    I get an error message before I try to install iTunes:
    iTunes can’t verify the identity of the server “ax.itunes.apple.com”. The certificate for this server is invalid. You might be connecting to a server that is pretending to be “ax.itunes.apple.com”, which could put your confidential information at risk. Would you like to connect to the server anyway?

  • I am receiving an error message when starting up iTunes: iTunes was unable to load data class information from sync services. Reconnect or try again later. (what does this mean?)

    I recently updated my iTunes to the most recent version and I am receiving an error message when starting up iTunes: iTunes was unable to load data class information from sync services. Reconnect or try again later. (Does anyone know what this means and if it is going to cause me issues?)

    http://support.apple.com/kb/TS2690?viewlocale=en_US&locale=en_US

  • I keep getting the error message when trying to update iMovie There was an error in the App Store. Please try again later. (20)" Does anyone know how to fix it?

    I keep getting this error message when updating imovie "There was an error in the App Store. Please try again later. (20).  Does anyone know how to fix?

    If you're having problems with the App Store you might try this:
    1 - enable the Debug menu in App Store:
    open the Terminal application.
    copy the command below and paste into the Terminal window:
    defaults write com.apple.appstore ShowDebugMenu -bool true
    followed by Enter.
    launch App Store, login.
    2 - select the Debug ➙ Reset Application option:
    3 - try again.
    OT

  • HT3275 Since updating OS to Mountain Lion from leopard, I get the following error message when trying to backup with time machine on external drive.  Could not complete backup to media share.  The network backup disk does not support the required AFP feat

    Since updating OS to Mountain Lion from leopard, I get the following error message when trying to backup with time machine on external drive.  "Could not complete backup to media share.  The network backup disk does not support the required AFP features."  What are AFP features and how do I get Time Machine to backup to my current external backup?

    This means that your NAS does not support the required encryption. Update your NAS to the latest firmware or ditch it and buy a Time Capsule (they are the most reliable when using TM).

Maybe you are looking for

  • Snow Leopard corrupted main Mac HD,..can't boot to it HELP Please!

    Boy did I have a day today!! A couple of days ago, I achieved and re-installed OSX 10.5. Upgraded to 10.5.8. Then, I installed Snow Lep and upgraded to 10.6.2. Now, I did all of this in safe boot since at the time, my graphics card was broken. I got

  • Bug with digitally signed/encrypted emails

    Summary: In Lion, inbound emails that are digitally signed and/or encrypted do not contain any indicators that show that the email is encrypted and that the sender has digitally signed it. Even worse, if the contents of a digitally signed email have

  • Prime infrastructure 1.2

    Hi all, Yesterday I installed my first Cisco prime infrastructure 1.2. I'm a bit confused now, is this the integrated version of LMS and NCS? At first sight, there's not a lot LMS in it. I don't see topology services, netconfig etc. Since the release

  • Lumia 730 dual sim glance screen

    When will the glance screen going to be available for Nokia Lumia 730 dual sum ?

  • Cant get afterburner screen recorder to work

    Hi I can't get the after burner screen video recorder to work. I follow all the steps to creating hotkeys, but my hotkeys stay dead no matter what I do. Can someone trouble shoot me this prob? Been stuck for days with it now. thx