Displaying BEx Error Messages in WebI
Hi
Is it possible to have the BEx error messages displayed in a WebI Report?
We have various scenarios where an error message is returned from customer exit variables, which is displayed nicely in the browser if the BEx query is executed, but is not shown at all when the same query is run in a WebI document.
Is there a way to get this done?
Cheers,
Andrew
Hi Andrew,
a very good suggestion of course, but sadly missing from the XI3.1 integration scenario.
My understanding is that the BW OLAP BAPI (as used externally by WebI, via MDX universes) does not surface these error messages natively .. so this warning isn't sent to the front-end
To some extent, this problem also remains in BI4.0 where the JCo error-handling still isn't fully captured between APS DSL Bridge and the BW BICS API . (unless low level tracing is enabled)
would be interesting to know what tips might be out there in the ecosystem, but i haven't seen any match winners to date.
Regards,
H
Similar Messages
-
How to display an error Message in Web Dynpro
Hello,
I want to display an error message in Web Dynpro. I'm using this,
IWDMessageManager message = wdComponentAPI.getMessageManager();
message.reportSuccess("<some relevant debug message>");
However, the message is always shown at the bottom of the screen. It is possible to select the location in the screen for showing this object? Or what is the best way for doing this? I've tried to use a Label but I can't set the type (warning, error, info) it's only a message.
Thanks
Regards
SUHi,
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 -
Display Custom Error Message in OIM 11g
Hi,
I'm trying to display an error message from a validation event handler but seems that am missing something. When the "oracle.iam.platform.kernel.ValidationFailedException" is thrown from a validation handler an error message is displayed: "An error occurred". If an error code is provided (see code below) then the message looks like: "An error occurred. The corresponding error code is ERR-0001". I guess that some resource bungle with corresponding messages should be provided.
the code used:
package test;
public class UserGeneralValidationHandler implements oracle.iam.platform.kernel.spi.ValidationHandler
@Override
public void validate(long processId, long eventId, Orchestration orchestration)
throws ValidationException
String errorCode = "ERR-0001";
String message = "Simple validation message.";
ValidationFailedException ex = new ValidationFailedException(message);
ex.setProcessID(processId);
ex.setErrorCode(errorCode);
throw ex;
Q:
1.What is missing for complete solution?
2.What is the algorithm that used by OIM to find default or non default resource bundle?
3.How to change out-of-box validation messages? For a sample "The organization ABC does not exist." message is shown if non existing organization is provided during user creation and I'd like to have a different one.
Regards
Sergerename OIMUI.jar to OIMUI.zip
find logging_en and loggin.properties.
Modify the "IAM-2050512" error message with your custom message
Find Agent and agent_en.properties.
Find Note[ERROR_SUBMITTING_REQUEST].text. Modify the message. Make sure the message must be the same with in logging.properties("IAM_2050512")
Deploy
change the OIMUI.zip to jar
replace the existing OIMUI.jar
login to weblogic and redeploy OIM (oim.ear)
no need to restart OIM server.
Test:
create a request in web console again, you must see the custom message when you hit the submit button
hope this helps.
-rad -
Hi Experts,
How do I throw errors in web UI. I am enhancing a component/view. I want to display errors if some conditions don't satisfy.
Warm Regards,
AbdullahSolved it this way.
Credit to Fabian Joiris and his reply in this [thread|Show BAdI error message in Web UI]. I could not understand his thread earlier though.
DATA:
lr_global_messages TYPE REF TO cl_crm_genil_global_mess_cont,
lr_core TYPE REF TO cl_crm_bol_core.
lr_core = cl_crm_bol_core=>get_instance( ).
lr_global_messages ?= lr_core->get_global_message_cont( ).
CALL METHOD lr_global_messages->add_message
EXPORTING
iv_msg_type = 'E'
iv_msg_id = 'ZCRM'
iv_msg_number = '000'
iv_msg_text = 'Error Message'
iv_show_only_once = 'X'.
Warm Regards,
Abdullah -
ICI - How to display custom error messages in SAP CRM
Hello,
we are working on a custom Contact Center which interfaces with SAP CRM Version 7 with Enhancement Package over ICI.
The basic call functions like accepting, hanging up, holding and retrieving are fully implemented and are working already.
Our goal is to display error messages in the CRM so that clients know there is something wrong, for example why he can't be log in successfully (e.g. the telephony server isn't reachable).
We already found the ICI Documentation file which provides us the CRM SOAP error codes and tried to send SOAP Fault messages, but never got
them to screen.
Please find an attached example screenshot what we mean exactly, reproduced by trying to make a call with CRM user while BCM CDT isn't
running in the background.
Regarding to this topic we've the following questions:
- Is it possible to display custom error messages on the CRM or is this functionality limited to SAP?
- Could you provide us some further information on how to use this feature exactly (implementation details?) and how the SOAP XML should look like to get it work?
Thank you in advance!
Best regards
René HolyNewUser7 wrote:
Please correct me if I am wrong
I need to create an entity adapter and attach an error handler with the adapter? or can i handle that in the event handler itself. I coulnt find any api for handling errorsYou can do it both ways but since we are talking about event handler now, then in 9.x you need to extend com.thortech.xl.client.events.tcBaseEvent class for creating a event handler. In tcBaseEvent class there are various flavors of handleError method. So use that as per my note earlier and you should be good.
HTH -
Displaying Custom Error Message in ALV
Hello Experts,
Usually, when an error occurs in editable ALV, the standard WD ALV functionality marks the particular error cell in red and displays the error message.
I want the same functionality for custom error messages in event ON_DATA_CHECK. I'm able to display the message, but looking for a way to mark cells as well.
Please help....Hello friend,
I think this link will help you much more clear on the coloring of the ALV concepts.
http://help.sap.com/saphelp_smehp1/helpdata/en/5f/ec57c72a1349c8bfdda56d976e9399/frameset.htm
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0625002-596c-2b10-46af-91cb31b71393?QuickLink=index&overridelayout=true
Thanks,
Sri Hari -
Display custom error message in enhancement spots
Hi all,
Is there someone here who've encountered having the need to display custom error message in an enhancement spot? Could you help me please.. I can't find any reference from the net.
Thanks in advance
Regards,
ArisHi,
The error message can be only displayed in enhancement spots based on thr program flow.
You have to determine where its getting called for ex: in PBO or PAI etc.....
You have to find the right place to display the error messages . for ex: using a memory id ...... -
How to customize the error messages in web analysis reports
Does anyone know how to customize the error messages that web analysis shows ,
I want to customize the below error message with a custom error message
"Document does not exist or no authorization to open document.Error occurred while loading document"
Does anyone know how to do this ?Rajesh,
you may want to check these links
How to the Change the Application Stopped Message
How to Change the Dispatcher Running, No Server Connected Message
http://help.sap.com/saphelp_nw70/helpdata/en/65/18fc3f9ec4e669e10000000a155106/frameset.htm
Thanks
Bala Duvvuri -
Display an error message during a few seconds
Hi!
When submitting a form, I am displaying a error message saying that the actions performed work fine. Afterwards I would like this message to disappear after a few seconds. How can I do that ?
in the function called by my action button that submit the form i have:
public void saveForm() {
// .... operations ....
context.addMessage(null,new FacesMessage("Everything is ok"));
}Hi,
I doubt if there is anything you can do from the action method
saveForm(), however this you can do it from the client side just
put some seconds delay in onload method in javascript and
redirect to some other page.
Thanks
Ansar -
ADF-BC/JSF How to display acustom error message from a backing bean
Hi all
Can anybody provide an example of how to manipulate the list of error messages from a JSF backing bean.
In my code I use a different navigation case and this directs the user to the page displaying the error message but I am sure that there must be a more elegant way.
Thanks in advance
ThanassisThanks Kris
I think you 've put me on the right track here, it's just that in my case what I really want to do is prevent my users from editing records not belonging to their own group. This is done via a selectOne table component and then the backing bean code tests if the value #{row.UserGroup} matches the #{bindings.LoggedOnUserGroup.inputValue}. If the values are equal then the beans returns the navigation case to the edit page. Otherwise it returns the navigation case for the "cannot edit" page.
So what I am thinking is to return null and somehow raise the right kind of exception in order to display the error in the af:messages tag.
Thanassis -
Displaying an error message with a link to the error field
By default, ADF validation usually displays an alert with an error message and a link to the error field.
I have some custom validations where I finally display the error message with this:
public static void MessageError(String messageText){
//String messageText="No se han encontrado estos datos";
FacesMessage fm = new FacesMessage(messageText);
* set the type of the message.
* Valid types: error, fatal,info,warning
fm.setSeverity(FacesMessage.SEVERITY_ERROR);
FacesContext context = FacesContext.getCurrentInstance();
context.addMessage(null, fm);
My customer is asking for displaying a link to the error field in this kind of error alerts as standard errors do.
Is there any way to get this ?Can't you include this in your message?
You may want to check Duncan's blog https://blogs.oracle.com/groundside/entry/get_more_from_your_messages whichgives more inside on what you can do
Timo -
ITunes displays -48 error message when syncing iPod Nano on Windows XP
My girlfriend's mom's iPod Nano ran out of charge while jogging so she decided to charge it on her daughter's iHome. The next day she went to use her iPod but it was totally empty of all music and files. When she tried to sync it to iTunes, she received an eror message stating, "An unknown error has occurred (-48)" from iTunes and a Windows message stating that some iPod folder/file was corrupted.
If anyone receives such a message, I was able to correct it by:
-Plugging in your iPod to your PC
-Ignore the error messages
-Go to My Computer
-Find your iPod's drive letter (ie. G:)
-Right-click on it and select Properties
-Go to Tools Tab >Error-checking and select Check Now
You should be able to sync your iPod as before. I do not claim to be an expert so be warned that it may not work for you. Good luck!Hey ermides,
Thanks for the question. The following resource provides information if you are receiving a -50 error message when syncing:
iTunes displays -50 error message when syncing iPod on Windows XP - Apple Support
http://support.apple.com/en-us/ts1539
Thanks,
Matt M. -
ITunes displays -50 error message when syncing iPod on windows 7
I am trying to sync my ipod and appears this error
iTunes displays -50 error message when syncing iPodHey ermides,
Thanks for the question. The following resource provides information if you are receiving a -50 error message when syncing:
iTunes displays -50 error message when syncing iPod on Windows XP - Apple Support
http://support.apple.com/en-us/ts1539
Thanks,
Matt M. -
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.
ArbindHi,
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 -
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 Iyeri 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
Maybe you are looking for
-
Need help to where small sql query
{ names numbers types id | name | | id | phone | who | type | | id | type | | 1 | jenny | | 1 | 867-5309 | 1 | 3 | | 1 | home | | 2 | tom | | 2 | 555-1212 | 3 | 1 | | 2 | cell | | 3 | smith | | 3 | 364-4311 | 3 | 2 |
-
Can we reduce the SIZE of the text in TEXT Module?..Smart form
Hello, Can we reduce the size of the TEXT module in Smart form. As the text that I am putting in the Text Module is taking more space and it is displaying in the next page. What are the steps that I can take to display the text in the same page. Reg
-
Smartforms and 2D Barcodes.
Hi, we use the new SAP Technology to print barcodes with smartforms. How to print more than 255 into a Barcode? As you know there is a limitation, that the variable in the smartforms cann't be longer than 255 charachters and it is sometimes too shor
-
Hi I have completed a working approval process in ECC6 for trip expenses. This will be eventually used via ESS in the portal. (EP7). As part of the process in ECC6 I have a couple of new Dialog screens that allows the user to choose an approver. My q
-
RowInconsistentException does not show for the 2nd time
Hi, I have a simple page with a few input fields and a save button. The input fields are derived from a ViewObject based on a single Entity Object. I open the page in two browsers. I follow the below steps: 1) make changes in first browser 2) make ch