Pop up message on the variable screen in portal when report is run
Hello
I have a requirement to pop up a message stating " Date should not be entered before 2010 "on the variable screen of the report if date is entered before 2010 by the user when the report is run.
Please can someone tell me how to implement this?
thanks
Hi Tom,
The logic could be to include code in CMOD forat variable with ISTEP=2.
IF I_STEP = 2.
LOOP AT i_t_var_range into wa_t_var_range where vnam = 'Date Varaible'
<write condition to check the year entered. First, using function module DATE_TO_PERIOD_CONVERT, extract year from Date>
< CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
EXPORTING
I_DATE = ZT_SDT
I_MONMIT = 00
I_PERIV = 'Variant'
IMPORTING
E_BUPER = zbuper
E_GJAHR = zbdatj this is the year entered
EXCEPTIONS
INPUT_FALSE = 1
T009_NOTFOUND = 2
T009B_NOTFOUND = 3
OTHERS = 4>
>
Then check the year for the condition.
If correct.
exit.
else.
CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
EXPORTING
I_CLASS = 'RSBBS'
I_TYPE = 'E'
I_NUMBER = '000'
I_MSGV1 = 'Date should not be entered before 2010'.
raise again.
endif.
endif.
endloop.
Hope this helps you.!
-Pradnya
Similar Messages
-
Message at the variable screen
Hello,
I would like that message pops up at the variable screen during the execution of the report.
How can I implement this functionality?
ThanksHi,
Use the following Code, don't write in between Case and EndCase, after ENDCASE you write code for I_STEP = 3.
See PDF
https://websmp203.sap-ag.de/~sapdownload/011000358700002765042003E/HowToVerifyVariableInput.pdf
Re: send message from EXIT_SAPLRRS0_001
DATA: LOC_VAR_RANGE LIKE RRRANGEEXIT.
IF I_STEP = 3.
LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM = 'MONTH'.
IF LOC_VAR_RANGE-LOW(4) LE 2010.
CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
EXPORTING
I_CLASS = 'RSBBS'
I_TYPE = 'I' " It will through Warning Message
I_NUMBER = '000'
I_MSGV1 = 'Pls Enter Year Greater then 2010'.
RAISE no_replacement.
ENDIF.
ENDLOOP.
ENDIF.
DATA: LOC_VAR_RANGE LIKE RRRANGEEXIT.
IF I_STEP = 3.
LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM = 'MONTH'.
IF LOC_VAR_RANGE-LOW(4) LE 2010.
CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
EXPORTING
I_CLASS = 'RSBBS'
I_TYPE = 'E'
I_NUMBER = '000'
I_MSGV1 = 'Pls Enter Year Greater then 2010'.
RAISE Again " It won't allow user untile he/she give correct values
ENDIF.
ENDLOOP.
ENDIF.
Thanks
Reddy -
Removed variable still shows up in the variable screen of a Web report
Hello,
I am using a variable screen in a web report. I changed the variable on 0CALMONTH, but I still can see the old one. Two variables now show up. In Bex, only the new one can be seen.
Does anyone knows the reason for that? I'm using BW 7.0 with the 3.5 reporting functionalities.
Thanks in advance, NathalieNathalie,
i'm sorry, it's not datasource... it's dataprovider
delete the dataprovider from the the HTML Code...you could see the DataProvider in <Object>... </Object>
suppose let us assume that you have DataProvider and DataProvider. you are not using DataProvider3, delete from the HTML code.
delete this block from HTML.
<object>
<param name="OWNER" value="SAP_BW"/>
<param name="CMD" value="SET_DATA_PROVIDER"/>
<param name="NAME" value="DATAPROVIDER_3"/>
<param name="QUERY" value="NEWQUERY123"/>
<param name="INFOCUBE" value="ZSD_OPST3"/>
DATA_PROVIDER: DATAPROVIDER_3
</object>
Create a new Web application that will give you correct result.
Can you please update the thread.
all the best.
Regards,
Nagesh Ganisetti. -
How do you change the variable screen on Portal to show Key?
Hi All,
I have a report on our Portal. In the variable screen, the users are asked to optionally enter Cost Centre. When they choose to select values (pressing the button on the right) the singles values which are shown are 'Text' only. I know in analyser, the user can switch by selecting the spanner icon - 'Display Key/Text'
How do you change to Key within the variable screen on the portal?
Many Thanks
MichelleThank you for your reply Amrita,
The display in the query had been set to Text & Key as follows
Properties of Cost Centre -> Display Tab -> Value Display Section -> Display As 'Text and Key', Text View 'Standard' and Use Characteristic Setting 'Unticked'
Is there another section that I should be amending to ensure the 'Key' also appears in the variable screen?
Many Thanks,
Michelle -
Web-based BEx: How to display a customized message on the variable screen??
Hi All,
I'm now using the web-based BEx. Recently I want to display a customized message (e.g. the usage of the report) on the first page (i.e. the variable entry screen) of the query. Is it possible?
Thanks.
BR,
M. NgHi marco,
Check here. itmay help you.
Custom Messages WAD
Thanks,
Vijay. -
Adding messages to the Variable entry screen in web report
I need to add a message or note to the variable selection screen on a web report. I need this message or note to be displayed somewhere on the same screen with the variable list. I found something similar in BW Expert regarding pop-up messages, but this does not work with web templates. Does anyone know of a way to add a static (or dynamic) message to this initial screen of a web report?
In my clients place, they are ready to do the SAP Mod based on "CL_RSR_WWW_VARIABLE_SCREEN" to have a Alert Message which sort of based on different idea.
Does anyboay have an idea on where to make the change?
Thanx
Arun -
How to add customize message on the variable selection screen in the query
Hi all,
Can we add an customise message on the variable selection screen in the query? If yes please let me know how it can be achevied?
Thanks,
RaniHi Rani,
I faced a similar issue (for what I understand your request is).
My requirement for the Variable Screen was to do:
1) place a link to a ppt file
2) remove buttons "Save", "Save As...), "Delete"... the standard buttons come when running the Query or WebTempl
We were using a Web Templ for BI7.0
I struggled trying to find out how to do it. My conclusions are:
- WAD, not sure we can accomplish it using a Web Template but i did not "play" a lot with the Web_Template Properties in order to know
- XHTML, I was told in my post HTML modification was the way, but I have close to nil background in HTML and couold not find the way of accessing the Variable Entry screen
For instance, I had to remove similar buttons and change some font size from a link on the Web Template (WAD), which was pretty straight forward. In WAD the buttons come with its own icon and to increase the Font size for that link we used XHTML (<font size="2" >). But the heck of the variable screen...well, i just did not get trhough to it to modify it in any way.
Good luck,
Definetly in a Query I would say that no.
alex
PS: If anyone had a better insight, please feel free to share it. -
Adding a message to the variable selection screen
Hi there
I have been asked to find a way to add a message to the variable selection screen.
It appears that DIVISION needs to be added to the selection screen, as this makes the query run faster. However, they don't actually want the user to enter a division, as this causes other problems.
So, ideally, I would be able to add a message to the variable selection screen that advises users against entering a value for division.
I don't know how to do this.
I create the web template, and I can therefore add messages or anything you like to the template, but I don't believe I have any control over the variable selection screen.
Does anyone know if this is possible?
We are running a 2004s system if that helps.
Cheers,
AndrewHello,
Well i think if you make the variable used for division not ready for input it would not be available for the users to input anything.
you can find the checkbox for this in the properties of the variable in query designer.
Hope this matches your requirement.
Regds,
Shashank -
Display message in BEx variable screen in 7.0
In BEx 3.5 I was able to display a message to the user when they enter a value they are not authorized for in the variable screen. This was done using the function module RRMS_MESSAGE_HANDLING in the variable user exit at step 3 and raising no_replacement.
This is no longer working as of BEx frontend 7.0. Is there a way (or different function module) I can display a message to the users on the variable screen?
Edited by: Troy on Dec 19, 2008 8:56 AMI am too facing same scenario. What did you do to have variable screen screen displayed ?.
-
How to order the variable screen if some variables are in differnet Queries
Hi,
i have a workbook in Bex Analyzer (BI 7.0) which contains 4 Queries (A,B,C,D). In the variable selection screen are 15 variables. One variable is used only in one Query (C). 6 variables are used in 2 Queries(1xA,B; 2xB,C; 3xA,D) and 8 variables are used in 3 Queries(A,B,C).
If I open the variable screen in the workbook the 15 variables are in a confusing order.
How can I change the order of these variables?
I tried to order the variables in the Query Designer (Variable Sequence) for every Query but it didn't work.
Best Regards.Hi Jordan,
There is a best practice when using the variables in a the queries...Make the most used ones in"Personalise variables" option available in the pop up screen for the variable selection....
Also,in order to have a correct sequence of variables ,,just arrange them in order u want using "query properties"....
Hope this helps you..and assign the points if ts needful
Regards,
Venkat. -
Error message at the selection screen while processing screen logic
Hi All,
I need to show error message at the selection screen.
I am calling the screen inside the START-OF-SELECTION, and processing the calculation and putting the data into i_final internal table. If internal table I_FINAL is empty I have to show error message saying ' DATA is empty' , this error message should be shown at the SELECTION SCREEN (Report input screen 1000) and provide the user to enter the input values once again.
But whenever I am populating error message, I am getting a pop up to chose exit, and process is terminating.
Since I am in the middle of the screen processing whenever I am giving a error message.
Please let me know how can I populate error message without terminating the process while I was in the middle of the screen processing logic.
Regards,
Maheshhi
If u are trying to validate a field use
AT SELECTION_SCREEN ON <field>
if want to validate a block
AT SELECTION SCREEN ON <block>
If Universal Validation
AT SELECTION SCREEN
and display a 'E' Message inside the block.
You can Enter Correct Value and start processing Forward.
hope this will help.
Regards
Sumit Agarwal -
Compounded characteristic are not displayed in the variable screen (BI 700)
Hi Experts,
How to display compounded characteristic in the variable screen of queriies?
Example :
IO 0PROFIT_CTR is compounded to 0CO_AREA. Tryimg to select 0PROFIT_CTR via a variable,
only values of 0PROFIT_CTR are displayed in F4 opo up, not those of 0CO_AREA.
0CO_AREA is not restricted in any way in query definiton.
This happens in BEx Analyser as well as in web apllication.
Did anybody face this issue? How to solve it?
Thanks in advance for helpful replies.
Regards
JoeHi,
Thanks for replies. Possibly I did't explain my problem i a correct way.
'I 've a variable for 0PROFIT_CTR. When I call F4 , values for 0PROFIT_CTR are displayed
e.g. as
7062 PC 7062
7062 PC /062
My problem is, that these PCs belong to different Co_areas. so i expected
3200 7062 PC 7062
4300 7062 PC 7062
3200 an 4300 are representing compounded Co_areas in this example. In 3.5 this worked perfectly,
if Co_areas was not restricted itself with a variable or a defined value.
Now I'm looking for the option to achieve this as well in 700.
Regards
Joe -
When I upgraded my iPhone 4s to IOS7, I lost all my app icons. Where did they go? Interestingly they are still listed in notifications and I could play words with friends when I got a message on the home screen that it was my turn (but still no icon)
Hey linfrommi,
Thanks for the question. I understand that you are having trouble locating some application after the update to iOS 7. To troubleshoot this issue, let’s reset the home screen layout of your iPhone, which should move all of your applications to the second “page”:
Reset iPhone settings - iPhone
http://help.apple.com/iphone/7/#/iph7a2a9399b
Reset Home Screen Layout: Returns the built-in apps to their original layout on the Home screen.
Thanks,
Matt M. -
How to change the width of the variable screen?
Hi
like in the subject mentioned i need to know how i can change the width of the variable screen....
right now i have to scroll if i want to see the right part auf the variable screen...
maybe i can change the width with css?Hi,
Using CSS specify the table width for the variable screen and include the Css in the header section of the table. -
How do change the text color in the variable screen ?
Hi Experts ,
I would like to know about , How do change the text color in the variable screen ?
Using web templates (Analytical) can get the output. It has the variable screen contains 6 fields (Company code, Country , Region , COB, Plant and Purchasing Group). I want to make RED color text on Plant. Please help me .
Thank you ,
Prasad.Hi,
I am looking for nearly the same. What I have found is that it seems to manipulate the SAP theme that is used in standard when template is executed in the portal. Just display the source code of the HTML and there you will see the included SAP theme (normally SAP_TRADESHOW). Then you have to go to the SAP portal and change this stuff. But for that you have to know where to find it and what impact this change has.
I am not pretty sure if this is the right way. But as I want to change the standard layout of a whole template to a customer specific layout I think there is no other way in BI7.0.
Regards,
Peter
Maybe you are looking for
-
Issue is TEXT_IO application API is not working in report builder 10g.
Issue is TEXT_IO application API is not working in report builder 10g. TEXT_IO application api is working in report builder 6i. (Not working in upgrade from Oracle EBiz 11i to Oracle Ebiz R12) I saw that details in some forums, client_text_io is avai
-
Photoshop Elements won't create a file, edit a file or save a file...
Hello all, I just bought an Epson 600 scanner which came with a copy of Photoshop Elements (v7, but that's another question for another day). Was working fine for awhile (a few weeks) but now I'm unable to edit any files. This is on an Intel Mac Pr
-
Portlet as item in content area folder?
I was wondering if anyone has thought of adding a new item type of type portlet to the folder container? Is is possible now or coming down the road? My problem is that I have 260 portlets that the user needs to navigate through in an artificial hiera
-
CS6 breaks ActionScript 2.0 projects. No var property for TextInput or Label.
I've been programming for years, but I'm brand new to Flash. For various reasons, I need to learn ActionScript 2.0 instead of 3.0. All I could get from Adobe's website is the trial for CS6. When I look at tutorials for AS2, controls such TextInput an
-
When do "CompositeType" Requests get generated vs regular requests?
In the FIM 2010 R2 release notes there is this segment: FIM Service: New resource type CompositeType may interfere with custom Action workflows A new resource type CompositeType has been introduced for A Request issued by the Build-in Synchronization