Can we display a message before selection screen
hi experts,
I need to give a message to user's to give information abt the selection screen .
like select values between 1000 to 2000 only.
date must be todays date.
so how i can display a message before the selection screen is displayed
try like this it may be useful for you.
load-of-program.
CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
EXPORTING
TITEL = 'Selection screen info'
TEXTLINE1 = 'Material no should be between 1000 and 2000'
TEXTLINE2 = 'Plant should be 1000'
* START_COLUMN = 25
* START_ROW = 6
start-of-selection.
if you want some more fields to pass then search popup* fn module in se37 which can be useful 4 you.
regards
shiba dutta
Similar Messages
-
Message before selection screen.
Dear Experts,
Kindly help in knowing how to display a message in small pop-up, before a Tcode takes to the selection screen.
Regards
Jogeswara RaoHi,
You just need to add following code in the program associated with your TCODE, i.e. in Load-of-PROGRAM event.
***CODE*****
REPORT ZTEST12.
PARAMETERS a1 .
Load-of-PROGRAM.
CALL FUNCTION 'C102_POPUP_TO_CONFIRM'
EXPORTING
TITLEBAR = ' '
TEXT_QUESTION = 'POPUP'
TEXT_BUTTON_1 = '1'
ICON_BUTTON_1 = ' '
I_ICON1_INFO = ' '
TEXT_BUTTON_2 = '2'
ICON_BUTTON_2 = ' '
I_ICON2_INFO = ' '
TEXT_BUTTON_3 = '3'
ICON_BUTTON_3 = ' '
I_ICON3_INFO = ' '
TEXT_BUTTON_4 = '4'
ICON_BUTTON_4 = ' '
I_ICON4_INFO = ' '
DEFAULT_BUTTON = '1'
DISPLAY_CANCEL_BUTTON = 'X'
START_COLUMN = 25
START_ROW = 6
IMPORTING
ANSWER =
TABLES
PARAMETER =
EXCEPTIONS
TEXT_NOT_FOUND = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
AT SELECTION-SCREEN OUTPUT.
**EndCode***
In the same way, you can call any Popup FM at same position..
It will be called before selection screen appears.
Thanks
Raghav M.
Edited by: Raghav Malhotra on Jun 3, 2011 6:34 AM -
How to display a message in Selection Screen
Hi,
I am inserting values into a system defined table by using a report.
For this i have created one selection screen by using all the table fields and i am inserting the values which user has given in selection screen by using Insert statement.
Now i want a message in status bar of selection screen when Insert command is success.
Please give me some help on this
Thanks
Venkatrami Reddy BHii
This is the Way...
AT SELECTION-SCREEN.
<<FOR VALIDATIONS>>
<b>START-OF-SELECTION.</b>
INSERT <<statement>>.
IF SY-SUBRC EQ 0.
<b>MESSAGE 'Record inserted' type 'S'.
LEAVE LIST-PROCESSING. "Now the message appears in Selection screen
</b>
ENDIF.
<b>REWARD IF HELPFUL.</b> -
Error Message in selection screen Status bar is getting truncated
Hi Guys,
Error Message in selection screen Staus bar is getting truncated (full message is not getting displayed).... can anybody tell me how to reslove thisHi
Maimum we can give the error message length is 50 char. If you give more than that it will get truncated.
What you can do this split 50 and 50 like that you can give 200 chnars.
Data : Text1 type char50
Text2 type char50
If sy-surc ne 0.
Message Text1 Text2 TYPE "E'' or 'S'
endif. -
How to show message on selection screen status bar if alv is empty.
Hi,
Can anyone tell me how to show message on selection screen status bar when our final internal table or alv is empty .
i am getting message on alv status bar, where no data is in alv but i want to stop it to selection screen and show message there only.
Regards,
RanuHi,
After populating the final internal table do this check,
if it_final [] is initial.
message 'No data available' TYPE 'S' DISPLAY LIKE 'E'.
exit.
endif.
This will be displayed in the selection screen itself
Regards,
Vikranth -
How can I delete short messages before reading them?
we are receiving short messages that are charged at USD 1.5 when opened. How can i deleted this messages before opening them?
Tap on "Edit" then you will get the option to select the circle to the left of the message for deletion. Tap "Delete x (number of) messages" displayed in red in the bottom left of the window.
-
Need to display TEXT in web selection screen
HI All,
We are working on CRM-BW modeling. We have one field called "product" which will have key and medium text. We need to display both key + text in web reporting selection screen. When we ran first time text was not showing in web report. Then we found and change the configuration in search help in SE11 for that field. Then we can see the text+key combination in RSRT but still we can't see the text in web report selection screen...
Now what we have to do to display text in selection screen on web...
Please give your inputs ASAP.....we are in UAT phase....
Thanks in advance
ArunHi Arun,
For you case: Display key & text in selection screen.
In BW,
You can go to query designer, then you'll go to the info-object belong to the variable (selection-screen : product). Right-click, find for the properties, Then you'll see the option for <b>display as</b>.
Choose it for Key and text.
Then save it.
Go to the report, in the selection screen, when you're choosing for the help, you'll see the value displayed by key & text.
Hopefully it can help you a lot.
Regards,
Niel
Thanks a lot for any points you choose to assign. -
How can we use list box on selection screen
hi, howe can we use list box on selection screen and how can we populate the dat ainto the list box and how can we retrive data based on list box from ther database.
thanks in advance
rajuUse the VRM_SET_VALUES function module.
DATA: list TYPE vrm_values,
value LIKE LINE OF list.
AT SELECTION SCREEN OUTPUT
AT SELECTION-SCREEN OUTPUT.
name = 'P_OBJECT'.
CLEAR list.
REFRESH list.
CLEAR value.
value-key = '1'.
value-text = 'Development Class'.
APPEND value TO list.
CLEAR value.
value-key = '2'.
value-text = 'Program'.
APPEND value TO list.
CLEAR value.
value-key = '3'.
value-text = 'Function Module'.
APPEND value TO list.
CLEAR value.
value-key = '4'.
value-text = 'Database Table'.
APPEND value TO list.
CLEAR value.
value-key = '5'.
value-text = 'Structure'.
APPEND value TO list.
CLEAR value.
value-key = '6'.
value-text = 'View'.
APPEND value TO list.
CLEAR value.
value-key = '7'.
value-text = 'Data Element'.
APPEND value TO list.
CLEAR value.
value-key = '8'.
value-text = 'Table Type'.
APPEND value TO list.
CLEAR value.
value-key = '9'.
value-text = 'Class / Interface'.
APPEND value TO list.
CLEAR value.
value-key = '10'.
value-text = 'Type Group'.
APPEND value TO list.
CLEAR value.
value-key = '11'.
value-text = 'Domain'.
APPEND value TO list.
CLEAR value.
value-key = '12'.
value-text = 'Search Help'.
APPEND value TO list.
CLEAR value.
value-key = '13'.
value-text = 'Lock Object'.
APPEND value TO list.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = name
values = list
EXCEPTIONS
id_illegal_name = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF. -
Display alv grids in selection screen based on the user event
Hi All,
I am workign on displaying ALV in same selection screen.I am able to display the ALV in selection screen.
But i have 2 buttons in my selection screen 'Create' and 'change'.
When i click on create i need with some type of data and when i click on 'change' my alv grid another type of data.Ex: if i click on crate mara data should be dispalyed when i click on change makt table data should be dispalyed and also i have user defined buttons are in my grids.
So i have used 2 containers to dispaly to different data.I am able to display the perfectly but the problem is first time when i click on create the grid is displaying when i click on change button the create alv grid is displaying down and change data is dispalying up.
I need only one alv grid at a time.Can anybody please let me know how can i do this.
Thanks,
TaraginiHello,
Also I would suggest if it is relevant data maintain in one interntal table and show/hide based on condition
through fieldcatalog (NO_OUT) parameter.
Thanks -
Hi, unable to display full text on selection screen
hi all
please any one tell me how one can display full text on selection screen because whatevery i have defined in text for selection screen variable is not displaying full text, some letters are missing.
for example :
Poste(s) du document de facturation
above text i want to display on selection screen.
but only Poste(s) du document de factur
is displying. some letters are missing
please try to solve this
thanking in advanceHi Raj,
Check this..
SELECTION-SCREEN COMMENT fmt name.
Additions
1. ... FOR TABLE dbtab
2. ... FOR FIELD f
3. ... MODIF ID mod
4. ... ID id
Effect
Generates a comment on the selection screen. For the name name , there are two options:
name takes the form TEXT-xxx where xxx is a three-character name for a text symbol. In this case, the contents of the text symbol are displayed at runtime, i.e. the text cannot be changed dynamically. name is another eight-character name. Here, you create a field with the name name in the length specified in the format fmt< /> and it is then generated as an output field on the selection screen. The contents of these comments must therefore be set at runtime (e.g. at INITIALIZATION or - in the case of comments in the database include program DBldbSEL - in the routine INIT of the database program SAPDBldb . They can also be changed when the selection screen is being processed.
Note
The field name is generated automatically and so cannot be defined with DATA .
With comments, you must always specify a format fmt (see variant ULINE ).
Note
You must program a new line yourself via the format fmt .
<b>Example
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 10(20) TEXT-001
FOR FIELD PARM.
SELECTION-SCREEN POSITION POS_LOW.
PARAMETERS PARM LIKE SAPLANE-PLANETYPE.
SELECTION-SCREEN END OF LINE.
This code displays a 20-byte long comment followed by the parameter at the normal position ( POS_LOW ) on the same line. If the user presses F1 for both objects, the documentation of SAPLANE-PLANETYPE is displayed.</b>
Regards,
Raj -
Display Warnning message before delete row
i have a table and i added a column and but in it a button that perform delete action
when i press the button a row is deleted but i want to display warning message before deleting for example
"are you sure you want to delete this row ?" Yes or No
If press yes the row will be deleted else no action is taken
how can i do this ?You can use clientListener to do this.
<af:commandImageLink text="Submit" id="cil1" partialSubmit="true" >
<af:clientListener type="action" method="customConfirm"/>
</af:commandImageLink>
<af:resource type="javascript">
customConfirm = function(event) {
var answer = confirm('Are you sure you want to delete this row?');
try
if (!answer) {
var component = AdfPage.PAGE.findComponentByAbsoluteId("cil1");
..... your action here.....
catch(e) {
alert(e)
</af:resource>
But if there is a event or event listener on the commandimagelink then it will always be called. To avoid that you could remove the actionlistener and add serverlistener and call it through the javascript function. See the "Web User Interface Developer's Guide for Oracle Application
Development Framework" for more info. -
public class Userdefined extends Exception {
Userdefined(String sparam){
System.out.println(sparam);
Userdefined(){
private static int acno[]={100,105};
private static double bal[]={100.00,200.00};
public static void main(String args[]) {
try{
for(int i=0;i<2;i++)
System.out.println("ACCCCNO------>"+acno[i]+"BAl------>"+bal);
if(bal[i]<150.00)
Userdefined udexp=new Userdefined("bal less");
throw udexp;
catch(Userdefined e){
System.out.println("--->"+e);
How can i display the message "less amt" using my parmeterized constructor.VinayTK wrote:
How can i display the message "less amt" using my parmeterized constructor.Erm ... what? You can't --- at least not with the stuff you've got there.
A properly formed question, with some idea of what you're trying to accomplish would be a huuuuge help.
Winston
BTW: Congratulations. At my age, 'first's in computing are rare; but it's definitely the first time I've seen an Exception class with a main() method.
Edited by: YoungWinston on Sep 1, 2009 9:46 AM -
Error message in Selection Screen
Hi
reference no (p_ref) is in my selection screen.
If this field contains special characters (\ / : * ? " |, ) system must prompt error message in selection screen. How to do this. Pls help me
Regards
Anbuafter input form the user
use if condtion
and validate the field and through message.........
Reward IF........
Regards
Anbu
Edited by: Anbu B on Jun 17, 2008 8:04 AM
Edited by: Anbu B on Jun 17, 2008 8:06 AM -
Can i get multiple records if selection screen is 900 using PROVIDE
Hi All,
Iam using following statement for fetching MULTIPLE records from infotype 0008. In Attributes if i declare LDB as pnp and selection screen as 900, then iam not getting any records.
Instead of th selection screen 900 is empty. then records will getting properly.
How can i get multiple records if selection screen is 900?
PROVIDE * FROM p0008
between pn-begda and pn-endda.Hi Ranjith
You can use
PYBEGDA and PYENDDA instead of PN-BEGDA AND PN-ENDDA.
Regards
Muneer.VK -
How can I display my i pad 2 screen on a TV or through a projector?
How can I display my i pad 2 screen on a TV or through a projector?
Hello Jchningson,
This can be done with the 30-pin Digital AV Adapter.
Apple 30-pin Digital AV Adapter
http://store.apple.com/us/product/MD098ZM/A/apple-digital-av-adapter
Cheers,
Allen
Maybe you are looking for
-
Shutdown immediate hangs ORA-12012, ORA-12008, ORA-06512
We have a problem while immediate shutting down the database: alert.log: Errors in file /data_archiv/oracle/admin/EGB/bdump/egb_j001_7708.trc: ORA-12012: error on auto execute of job 3 ORA-12008: error in materialized view refresh path ORA-01089: imm
-
Flag "SEPA mandate required" (XSEPA) not editable
Hello everyone, we would like to set the parameter "SEPA mandate required" (XSEPA) for some countries and payment methods (transaction FBZP), but this flag is grayed out and can't be selected: How is it possible to edit this filed? Thank you in advan
-
I previously downloaded CS6 Master Collection and selected Illustrator and Photoshop. Now I need to add InDesign. I called a while back and someone helped me download almost everything, I think. I just need help with the next phase. They said somethi
-
i m doing a project on "Loosely coupled architecture".It means 2 applications working independent of each other. But they can notify changes to other applications if required using xml files. Suppose 1st appl can send name,rno,class,div 2nd appl want
-
Sun Studio 11 Dbx Java error.
Hello! Each time I try to download ANY program into the dbx I got the following error: Annotation: Exception occurred in Request Processor java.lang.NoClassDefFoundError at com.sun.tools.debugger.dbxgui.utils.IpeUtils.getUnixEnv(IpeUtils.java:51