Throwing error message in BEx variable
HI,
I am using one of the variables in the user exit in cmod. in step1 & step2 I determine some values to be poplated in the variables. What is the ABAP command if say I want to show an error message on the variable screen? For Example, if I want to print that the value is invalid or something
I want to re-phrase my quesitons a little bit.
IN user exit there are 3 i-steps. What I want to do is the following.
In i-step 2 I determine the values for 4 variables based on the 2 values that have default values. This works fine.
However, if the user changes selection, I want to be able to check in i-step3 what user input and return an error i f values are not valid, so that the query does not run. It seems like step3 does not let me do it.
Thank you,
Andrei
Similar Messages
-
Error message in Bex Variable screen
Hello All,
In my BW I have a new variable of type interval for the selection criterion calendar year/month .
I want to check high value of the interval if it is lesser than or equal to current calendar year/month (that is 201405) then report can be executed.Else if it is greater than current calendar year/month (that is 201405) an error message has to be displayed for the user to change the value.
Can anyone help me in knowing how this can be done.
Many Thanks,
PSHi,
This can be handled by writing code in Cmod i_step = 3.
IF I_STEP = 3.
LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM = 'Give the tech.name of user input variable'
IF LOC_VAR_RANGE-HIGH GT SY-DATUM+0(6).
CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
EXPORTING
I_CLASS = 'RSBBS'
I_TYPE = 'I' " It will throw Warning Message
I_NUMBER = '000'
I_MSGV1 = 'Give the message which you need to display'.
RAISE no_replacement.
ENDIF.
ENDLOOP.
ENDIF.
Hope this gives an idea.
PS:In case you need to throw an error message then replace I_TYPE = 'I' by I_TYPE = 'E' .
Regards,
AL
Message was edited by: Anshu Lilhori -
Error message during BEx analyzer execute
Using BEx analyzer, system show error message like below:
Variable 0P_FVAEX could not be replaced;
Program error in class SAPMSSY1 mehtod: UNCAUGHT_EXCEPTION
System error in program CL_RSR_REQUEST and form TEXT_ELEMENTS_GET:VARIABLES_SUBMIT(see long text)
Who can solve this problem? Thanks!
Message was edited by:
Almini SanbraDear sanbra,
We have faced the same error and its resolved after applying the
Following:
I have applied the following Note
1079186 Error when you filter by characteristic values
Please also apply the following patches to your system:
Support packages and patches ->SAP netweaver->SAP Netweaver->
SAP Net weaver 2004s->Entry by component->BI java
Update with the latest patches
1)BIBASES12P_4-10003477.SCA Patch for for BI BASE SERVICES 7.00 SP12 4
2)BIWEBAPP12P_4-10003476.SCA Patch for BI WEB APPLICATIONS 7.00 SP12 4
3)BIIBC12_0-10003495.SCA SP for BI INFORM. BROADCASTING 7.00 0
Regards,
Suman Raju.
***********IF useful some points please*********** -
How to catch error message inside a variable?
Hi,
I'm trying to catch the error message inside a variable using this this command below:-
<%=odiRef.getPrevStepLog("MESSAGE")%>
Could you please tell me what is the right approach to capture the error message inside a variable.
Thanks
AnindyaHi Bhabani,
I have done this and select an oracle schema.But the variables only captures the (null).Please look into this.You must have one step prior to this refresh variable. Then only it can get the status as given below.
Returns the one-letter code indicating the status with which the previous step terminated. The state R (Running) is never returned.
D: Done (success)
E: Error
Q: Queued
W: Waiting
M: Warning
If you want the complete error details then you will face issues in case of multi line message. For this best option would be jython variable.Could please provide me some idea how to use this jython variable.I will update you on this soon
Thanks
Anindya -
Sync throws error message -48 (unknown error)
Synch throws error message and then does not synch music.
I'm having this same problem. In my case the library file is on my main internal hard drive, but is partitioned to the e: logical drive. Permission should not be a problem.
-
To throw error message on line item
Hi Experts,
I am using the user exit MV45AFZZ_MOVE_FIELD_TO_VBAP of sale order and it is getting triggered when we press 'ENTER' after filling the line item details of a sale order.
In my requirement i have to check some conditions on the line items and have to throw error message on that particular item sothat the user can delete that item and can proceed with the remaining.
But i am not able to throw error message on the particular item.
Please help me to throw error message on the particular tabstrip corresponds to the item.
Thanks in Advance,
ShajuYou can try this fm
CALL FUNCTION 'DD_POPUP_TO_CONFIRM_CANCEL'
EXPORTING
textline1 = text-902
textline2 = text-903
title = text-901
start_column = 25
start_row = 6
defaultpos = 'C'
IMPORTING
answer = cancel_rc.
CASE cancel_rc.
WHEN 'A'.
WHEN 'C'.
LEAVE PROGRAM.
WHEN OTHERS.
ENDCASE.
Based upon user inputs you can handle conditions (CANCEL_RC) accordingly. -
Error message in Bex after I make display attribute navigational
Hello,
Regarding 0FIAR_C03. There's a display attribute called "Customer Classification". I made it navigational and re-activated the cube. Thereafter, the existing queries on this cube display the following error message when I try to edit them:
1) Variable 0P_KEYD2 for characteristic Posting Date has been converted to a required entry.
2) Variable 0P_KEYD3 for characteristic Clearing has been converted to a required entry.
Does anyone understand what this means and how I can resolve it?
Thank you,
JimHello Bhanu,
Yes, I can edit the query after seeing these messages.
I also received an error message within the RSA1 after I turned on the Navigational Attribute, but it seemed like more of a warning than an error message, so I was not concerned....until I ran into this error immediately upon going into Bex.
In my past experiences, I never had an issues after making something navigational, but this seems to be related to that change....
Thank you. -
Error message into a Variable.
Dear users,
I have a rather usual (unusual from the weekend beers for me though!!) query which I can't figure out a proper way to implement.
My requirement is like this:
I have a message class in which I want to define a text 'Employee number & not found'.
I want to use this in the program, but not to raise this error. Instead, I want to move this error message with the Employee number into a Character(200) variable.
So instead of using MESSAGE e0xx(messageclass) USING employee number, I would like to move the error text into a variable which looks like:
lv_text = e0xx(messageclass) USING '1234' which stores the text 'Employee number 1234 not found' in lv_text.
How would I acheive it??
Thanks, V!Try tis way
message e999(00) with i_emp-empno into lv_text.
press f1 in message will provide you more details
a® -
Error Message in BEx Report Designer 7.0
I am getting the following error message when I try to add a data provider (Query) to BEx Report Designer:
RSBOLAP 017 Java Communication Error: RFC destination NOT_CONFIGURED does not exist
Would anyone be able to provide feedback on what to do?Hi Selva Kumar,
Its a Basis Issue , report to a Basis asministrator about the configuration of Report Designer .
For info refer this link:
https://forums.sdn.sap.com/click.jspa?searchID=21289661&messageID=6734602
Cheers,
Tanish -
How to display error message with some variable
Hi
I want to display errror message along with material number which is thr in d LOOP .
Basically i want some variable to display along with error message .
Can anybody suggest me how can i go about it?
Edited by: sonal musale on Apr 14, 2009 12:06 PMHi,
In the message class, suppose you use 001 for invalid material message.
So keep it like:-
Invalid Material : &1
in the message class for 001.
Now in loop use as:-
loop at itab into wa.
"perform validations
"if validation fails for current material
MESSAGE e001 WITH wa-matnr.
endloop.
Similary you can use more variables:-
Invalid Material : &1 &2 &3
MESSAGE e001 WITH <variable1> <variable2> <variable3>.
Hope this helps you.
Regards,
Tarun -
Throwing error message for a component
I have a form in which there are several fields. One of field is LOV for which i do some validation on valuechangeListener. If that validation fails, i send error to the form for that particular field. It is working fine. but after this if user submits the form, it is submitted. In case of validation failed by framewrok, it is not submitted. HOw i can set that component in error state so that form is not submitted. I am using following code to throw error or component:
FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR, null, "Invalid value");
FacesContext context = FacesContext.getCurrentInstance();
context.addMessage(binding.getClientId(context), msg);
I am using Jdeveloper 11g with latest patch set of ADF i.e. 11.1.3.xHi,
actually you are not throwing an error but set a message to display to the user. Can't you just create a validation for the input field. The field has a property for you to define a managed bean validation reference. You can generate the method skeleton from JDeveloper.
Frank -
'ORA-01722: Invalid number' error message in BeX
Hi Gurus,
We have a new report built on top of a DSO. When I run this report, I get the message 'ORA-01722: invalid number'. On furthur testing, I found that when I move two objects 'Date Changed' & 'Time Changed' [both are 'Z' objects we created] from the 'Rows' to 'Free Characteristics', the report runs as expected. So the issue seems that it is with these two objects. One of them is of type 'DATS' & the other of type 'TIMS'. These two are mapped to respective 'Date' & 'Time' fields in SAP R3.
SID's exists in the Master Data tables for both these objects. The data for both the fields contains the normal 'Date' & 'Time' values.Running the query using RSRT shows the same error message. The RSRV check on this report says that 'Query execution not possible as the variables contain invalid values'.
I have seen a couple of other posts in SDN with similar issues but none of them have a solution identified so far. Just wanted to check if anyone who has experienced this issue have been successfully able to resolve it?
Thanks
ArvindHi Ravi,
Thanks for your prompt reply. Yes, the 'Date' & 'Time' objects have 0DATE & 0TIME as reference objects.
I couldn't find any invalid vallues for these date and time fields. If invalid values were present, wouldn't the DSO activation have failed?
Thanks
Arvind. -
Hi,
Please help with this seemingly unfixable issue:
When I go to synch my iPod (30 GB/Video), iTunes crashes and shutsdown and I get an error message with this this string:
EventType : BEX P1 : iTunes.exe P2 : 9.2.0.61 P3 : 4c18061b
P4 : iTunes.dll P5 : 9.2.0.61 P6 : 4c1805f8 P7 : 0004be7e
P8 : c0000409 P9 : 00000000
My attempts to fix have been, and none of these worked:
1. Run FULL Virus Scan
2. Run FULL Adaware Scan
3. Run FULL Malwarebytes' Anti-Malware Scan
4. Apple Tech Suppor Recommended I uninstall (in this order) iTunes, QuickTime, Apple Software Update, Apple Mobile Service, Bonjour, Application to Apple Support. After this I went in to my Registery and deleted any iTunes/iPod/Apple files. I did the same in Windows Explorer (Application Data and Program Files). I also did a Registery scan (Uniblue Reg. Cleaner Software).
5. Shutting down all programs running.
6. "Restoring" my iPod
When I start to synch my iPod after about 100 songs an (Windows) iTunes Error message pops up and crashes.
Please help if you can and if you actually know how to fix this!
Al thanks!!
Steven
I went to open up the ref. file FYI and a lot computer language showed up including (if this is important)
EXE NAME="kernel32.dll" FILTER="GRABMIFILTERTHISFILEONLY">
<MATCHING_FILE NAME="kernel32.dll" SIZE="989696" CHECKSUM="0x2D998938" BINFILEVERSION="5.1.2600.5781" BINPRODUCTVERSION="5.1.2600.5781" PRODUCT_VERSION="5.1.2600.5781" FILE_DESCRIPTION="Windows NT BASE API Client DLL" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft® Windows® Operating System" FILE_VERSION="5.1.2600.5781 (xpspsp3gdr.090321-1317)" ORIGINAL_FILENAME="kernel32" INTERNAL_NAME="kernel32" LEGAL_COPYRIGHT="© Microsoft Corporation. All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0xFE572" LINKER_VERSION="0x50001" UPTOBIN_FILEVERSION="5.1.2600.5781" UPTOBIN_PRODUCTVERSION="5.1.2600.5781" LINK_DATE="03/21/2009 14:06:58" UPTOLINKDATE="03/21/2009 14:06:58" VER_LANGUAGE="English (United States) [0x409]" />Hi,
I thought I would hijack the thread since the OP seems to have gone missing, and I'm having the same issue, and have taken the same steps to correct it - to no avail.
Itunes does NOT appear to be crashing at the same song/album. Rather, when I connect my ipod Video, it crashes before it can even begin syncing. Any help would be greatly appreciated. -
Configuring error message in BEx link in SPM 2.1
Hi,
Currently working on Spend Performance Management(SPM) 2.1 application. I am trying to configure error message which pops up along with BEx link whenever we run reports with large amount of data.
I would like to configure error message so that it displays "Large data in report", hence user find it easier to understand why he is being given BEx link.
Please guide me on this.
Regards,
Deeraj.Hi ,
As suggested above , you'd have to remove content creator role if your user profile has it .
When you go to
- application properties > General > Warning mesg for large reports(field) and
- change the default message ,
- hit save logout of the application ,
- log back in
- go back to application properties > General > Warning mesg for large reports(field) and
Do you see the message you had entered in step 2 above? -
FORM16 in Portal ESS throws error message
Hi All,
While trying to click on FORM16 in Portal ESS, it throws below error.
"No data has been found for the specified selection."
Required permissions have been provided ADS is also configured.
while executing t-code :hressin_f16 it shows PDF form in R/3 for 2010 to 2011.
At the same time in R/3 while we execute for 2009 to 2010 period it throws a message No data has been found for the specified selection.
what i think is its picking for the year 2009 to 2010 instead of 2010 to 2011. so what should we do now.
Can any one suggest on this.
Regards,
kishore.
Edited by: kishore kumar on Dec 21, 2010 8:56 AM
Edited by: kishore kumar on Dec 21, 2010 10:05 AMHi Siddharth Rajora ,
Thanks for the reply, we have already done the process what this FORM16 Configuration states.
Here i would like to know why that error message is showing.
Regards,
kishore.
Maybe you are looking for
-
Hello, I am having trouble running my program in the command prompt. I got it to compile etc. Its a program that involves inputting a list of numbers. BUt when I press "Enter" after inputting the list, nothing happens. Is there something to signify t
-
Report name for services where used in task lists
plz let me know report name for services where used in task lists.
-
When downloading/uploading any file with Firefox, Finder shows date but not time
On my iMac, as I either upload or download a file using Firefox after installing Lion, the Finder window that opens for me to tell it where to either download the file to or upload it from, shows dates of all the existing docs there, but not the time
-
Check Transaction Code in Status Profile Config
Dear, Has anyone knows how to check or what tcode can check the availability of Transaction Code for a certain transaction when setting status profile? Example : For complaint, FINI or INPR or else... I want to use the transaction for Campaign. Pleas
-
Advice on creating Answers with different line heights
Some of my answers have 1 line, some have 2, some even have 3 lines. Any recommendations on configuring my Quiz slide so that the boxes automatically resize? Currently, I have two problems: 1) I need to manually page-layout every slide where one or m