FM to display warning message at status bar
Hi,
can any body give me the FM to display the warning message
at status bar.
Thanks in advance
Hi,
To give a warning message , you dont need any function module. You can use the keyword 'MESSAGE' and give the type as 'W'.
Do a F1 on the keyword MESSAGE for further details.
regards,
Advait
Similar Messages
-
Display a message in status bar when error in a block based procedure
Hi
I have a block based on procedures.
If I have an exception when I try to insert a record for example, how can I display a user friendly message in the status bar ?
here is my insert procedure :
PROCEDURE emp_insert2(t IN emptab) IS
BEGIN
FOR i IN t.first..t.last LOOP
INSERT INTO emp (empno, ename, job, hiredate, sal)
VALUES(t(i).empno, t(i).ename, t(i).job, t(i).hiredate, t(i).sal);
END LOOP ;
EXCEPTION
When DUP_VAL_ON_INDEX then
Raise_Application_Error( -20002, '^This identifier already exists^' ) ;
END emp_insert2;When I use the ON-FORM trigger and ERROR_CODE and ERROR_TEXT variables, I get an FRM-XXXX message saying :
40735--INSERT-PROCEDURE trigger raised unhandled exception ORA-00001.
I want a message like :
ORA-20002 This identifier already existsHello,
ORA-20500: ^This identifier already exists^ ORA-06512: à "SCOTT2.EMP_PKG", ligne 48
I cannot figure out what is the problem described by the second part of the message.
why numeric or value error in this case ? ( ligne 48 corresponds to the raise_applicaion_error instruction )There is no problem with the second part it is just for showing the line number it not the numeric or value error the code for numeric or value error is ORA-06502. See the below link for more information
http://www.techonthenet.com/oracle/errors/ora06512.php
So, now you can display your customized message in status bar using the error code which you defined in RAISE_APPLICATION_ERROR like below...
DECLARE
errcode VARCHAR2(50) := DBMS_ERROR_CODE;
errtxt VARCHAR2(1000) := DBMS_ERROR_TEXT;
BEGIN
IF vErrCode='-20500' THEN
MESSAGE('Here display your customized message.');
ELSE
-- Handle the rest errors...
END IF;
END; -Ammad -
How to display a message on status bar while an LOV is active?
Hi,
Can any suggest me that how can I display my custom message on the status bar of my form, while an LOV is displayed on the screen.
I populate an LOV in an Item in the form. I need my status bar to display a message while my LOV is Displayed and also this message to be there on the screen when we moves between the records on the LOV.
This can be partially achieved by 'message' built-in, but the text message so displayed disappears as soon as u move between the records displayed by the LOV.I want this to be retain there even when we move between records(the data displayed in the LOV) in LOV.
Can anyone suggest the solution?
Many thanks in advance.
Cheers
Nareshhi i am not sure about displaying the information on status bar , what i feel is u can do something like this.
take one display item which shud be non database item and u can assign the message u want to display to this display item when ever u navigate thro' records.
i hope this can solve ur problem
thanks and regards
chaitali -
Hi all,
I have an enhancement in which i need to pass a custom warning message through badi ' INVOICE_UPDATE ' in the status bar for TCode MIRO, i am able to display the message with a popup screen but i am unable to display it into status bar.
How can i display that warning message in the status bar ?
can we pass the custom warning message through a BADI into the status bar ?
Thanks & Regards,
Pooja Joshiif your system settings are normal system warning message will always come in the status bar only
any way click on customizing of local layout icon in standrad tool bar (in any screen),
goto options
inthat see the options tab, in that ,if check box wiht 'dialogue box with warning message' is checked ,
un check the check box,
click on OK
now execute your code normally and see -
SAP GUI 7.20 and Animated Messages in Status Bar
Hello Experts,
Is there a way to disable "animated" display of messages in status bar when Signature Design is active? Currently messages are scrolled from left to right and then fade in. (Please note that this is a different from "Animated Focus" or "Animation" feature and only unique to Signature Design Theme). It would be nice to disable the animation so messages are immediately displayed without disabling Signature Design. I have asked this question in the past and there was basically no way to accomplish this. Is there any hope that this would be included in future patches for SAP GUI 7.20?
Thank you!
AbdulDaniel,
Have you had any luck with this issue? We recently installed SAP GUI 7.20 patch 2 and are having similar issues. While working in t-code SWDD, "Workflow Builder", I am automatically logged out of SAP and the LOGON pad also closes out and I forced to sign back in. This is happening when I drag and drop an event into a step and enter in information that should normally prompt a warning/error message after hitting the "Enter" key.
Thanks in advance.
Edited by: Michael Kostek on Oct 7, 2010 9:11 AM -
How to display messages in status bar
Hello,
Im developing some forms that will be published in EBS 12.1.1
Im using Oracle Forms Builder v 10.12.0.2.
Those forms are based on the Template form.
I have the following problem: Messages are not displayed in the status bar (for example messages about how many records were affected when the user press Save)
Do you know if I need to set up any property or another task that I need to do in order to see the messages ?
Thanks in advance,
Sergio MaestriSergio,
Even though your form is based on the Apps Template form, double-check to ensure it has all of the triggers it should have, like the Form level Key-Commit. The easiest way to make this comparison would be to open your custom form and then open one of the EBS forms like "ARXCUDCI". If your comparison shows no significant differences you might be dealing with a situation when the message is displaying in the Console (status bar) but something else is clearing the console. Check for any Clear_Message calls.
Hope this helps.
Craig...
If my response or the response of another was helpful, please mark it accordingly -
How to pass message in Status Bar
How can I pass message in status bar.
I typed bellow line but get some error.
void itemFileOpen_actionPerformed (ActionEvent e) {
statusBar.setText(" need Help ");
Error: (456) method setText(java.lang.String) not found in class oracle.dacf.control.swing.StatusBarControl.
Warning: Deprecated APIs are used. Please recompile with the 'deprecation' option for details.
nullSergio,
Even though your form is based on the Apps Template form, double-check to ensure it has all of the triggers it should have, like the Form level Key-Commit. The easiest way to make this comparison would be to open your custom form and then open one of the EBS forms like "ARXCUDCI". If your comparison shows no significant differences you might be dealing with a situation when the message is displaying in the Console (status bar) but something else is clearing the console. Check for any Clear_Message calls.
Hope this helps.
Craig...
If my response or the response of another was helpful, please mark it accordingly -
ALV Report - Field Overflow message in status Bar
Hi
I am trying to display ALV report , ALV report is displaying fine but on execution of report , an message in status bar is coming as "Field copy Number can not be totalled because of field overflow."
Can anyone tell why such messgae is comming?
Thanks,
DebadattaJust a wild guess, treat the below as an example.
Eg:
assuming one field in the output is of length 2 type i.
values: 20, 30, 60, 45.
Totalling the values result as 155. but due to the length of the field as 2. We can encounter the overflow message.
Considering the above example, manually total the values of your numerical columns and see if any of the column is execeeding the specified length.
Regards
Eswar
Note: Reward if you find the info useful. -
Hi ,
i am getting an error message in pop-up box ,can we show this same error message in status bar..?
Thanks.Hi shiva ,
data : dtype type c value 'S'.
MESSAGE E053(z4) DISPLAY LIKE dtype.
my code is like that,but still it shows in popup window.
can you check it once...?
Thanks -
Supress message in status bar when using Call Transaction
Hi,
I have designed a RF program and I am using a BDC program to call LT11 transaction for confirming TO.
As this was a Flowrack storage type we will assign Source HU during TO confirmation. So I went for a BDC.
But after confirmation I am getting a Status message TO XXX confirmed in the status bar which is also displayed in the RF Screen for every line item confirmed. I want to supress this message.
I am getting this message in the messtab table as well by using Call Transaction. So how can I supress this message in Status bar.
Please let me know for more information.
Thanks,
Manoj.>
kaka79 wrote:
> I have designed a RF program and I am using a BDC program to call LT11 transaction for confirming TO.
> But after confirmation I am getting a Status message TO XXX confirmed in the status bar which is also displayed in the RF Screen for every line item confirmed. I want to supress this message.
> I am getting this message in the messtab table as well by using Call Transaction. So how can I supress this message in Status bar.
The CTU (CALL TRANSACTION ... USING ...) captures and stores all the messages into the message internal table (... MESSAGES INTO itab ...), but they are not displayed. So, if one of them appears in the status bar, it's because there is an additional MESSAGE ... statement in the program using the CTU. So look at it and add a condition before the MESSAGE statement to not output this exact message (click the message on status bar to get the message number, or debug the program to get it from the message internal table). -
Regarding message in status bar
Hai SDN members , i have to display message in status bar , my requirement is like this ,ihave three fields in gui screen 1 is shipment num ,2 is shipment type and 3 is packing ref . and if i give the input in this three fields ,then the shipment number should be displayed in status bar
hi,
u want message after pressing some button or enter?
u need to write this in USER_AOMMAND module of PAI, in when case..
like
when 'SAVE'.
MESSAGE s000(zmsg_fmtr) WITH srn.
here zmsg_fmtr is my message class
and this is my 000 message in that mssage class
Record Saved Successfully with Serial Number &
in place of & my passing parameter (srn) will come on status
reward if usefull... -
How can i display warning messages in user exit EXIT_SAPLMGMU_001 (MM02)
Hi all,
while modifying the material master using MM02, i have added new conditions to display messages in user exit EXIT_SPALMGMU_001.
But using this user exit i am not able to display warning messages.
Can you please help me with this?
Sample code which i have included in exit :
SELECT SINGLE mstav FROM mara
INTO w_mstav
WHERE matnr = wmara-matnr.
IF wmara-mstav NE w_mstav.
IF wmara-mstdv NE sy-datum.
wmara-mstdv = sy-datum.
MESSAGE w177(z03_mm) WITH text-s04 text-s21.
ENDIF.
ENDIF.
Thank you all in advance.As written in the SAP documentation of the Enhancement , you can only raise error message using a
MESSAGE .. RAISING APPLICATION_ERROR.
You could manage the "warning" yourself, sending an error first time and keeping a trace of the check in some STATICS variable, and not raising the error again if data input remains unchanged between two call of the include.
<i>----
EXIT_SAPLMGMU_001
Where Is the Customer Exit - EXIT_SAPLMGMU_001 called?
The customer exit is in function module MATERIAL_UPDATE_ALL. The
function module checks the data for errors (logical relationships,
foreign keys, fixed domain values, and so on) when the material master
is updated.
Use
o New fields
You can make checks possible for new fields of your own. These
checks must be identical to the checks that you carry out for your
new fields in online maintenance.
o Existing fields
For existing fields, you can extend and intensify the checks.
You can also change data for descriptions and general material data
(MARA). For example, the descriptions can be generated from attributes
of the material.
Limitations
You cannot bypass existing checks.
Interface to Application
The respective data of the current logical transaction is contained in
the structures, for example, in structure WMARA for MARA. Nonrelevant
structures are transferred with their initial values.
General material data that can be changed (CMARA) has the structure
MARU. This MARA view contains fewer internal fields than MARA itself. If
WMARA is filled, CMARA is also filled when accessed.
The customer exit contains the exception APPLICATION_ERROR for your
self-defined error situations.
Using the language element MESSAGE .. RAISING APPLICATION_ERROR, you can
terminate the current (logical) transaction and display your message in
the log. </i>
Regards -
Link URL containing feed: is not displayed correctly in the status bar
When a link contains feed: in the URL, it is not displayed correctly in the status bar.
The actual URL is
a href="feed:http://www.....com/feed/"
but the URL shown in the status bar is
feed://http//www.....com/feed/
IE8 shows the correct URL in the status bar. Not sure if this is a problem, but thought I would report it.Such a feed works for me even if it is displayed differently then you expect on the status bar.
<pre><nowiki>data:text/html,<a href="feed:https://support.mozilla.com/en-US/questions/758020/feed">feed</a></nowiki></pre> -
Check space in the end to display warning message.
I am currently working on validations on functional locations in the EDIT MASK. the code is already written for validations on to check for space in the beginning of the each level in the edit mask. however user requirement is that the program should produce warning messages for spaces regardless of where they appear in the Edit Mask. we have not validated to check for space at the end of each level.
I have checked with condense ,shift string right deleting trailing spaces however I am not able to check for space at the end of levels.
when i debugged the program the level8 length shows as 2 even though there is only one char in the level8. i
could you please suggest any possible solution or any keywords that would help. you can go through the below code which is already written for checking space in the begining.
here l_level1
Level 8 errors
l_length = STRLEN( l_level8 ).
IF ( l_level8 = space AND l_dash_count > 6 ) OR
l_dash_count > 7 OR
l_length > 4.
lt_mask_err-error = '8E'.
APPEND lt_mask_err.
l_errlvl8 = c_y.
ENDIF.
Level 8 Warning
IF rb_bdc <> c_on AND p_warn = c_on AND
( l_level8 <> space AND l_level8+0(1) = space ).
lt_mask_err-error = '8W'.
APPEND lt_mask_err.
ENDIF.
i have added this code to display warning message using shift.
l_lev8 = l_level8.
shift l_lev8 right.
l_length = STRLEN( l_lev8 ).
IF rb_bdc <> c_on AND p_warn = c_on AND
( l_lev8 <> space AND l_lev8+0(1) = space ).
lt_mask_err-error = '1W'.
APPEND lt_mask_err.
ENDIF.You can use REGEX for string parsing, it is really handy. If you would like to test it out check out program "demo_regex_toy".
Trailing space:
FIND REGEX '[ ]+$' IN lv_text.
leading space
FIND REGEX '^[ ]+' IN lv_text.
Any space
FIND ALL OCCURRENCES OF REGEX '[ ]+' IN lv_text. -
Problem with displaying warning message in exit EXIT_SAPMM06E_012
Hi,
I need in EXIT_SAPMM06E_012 exit display warning message.
I've created klass Y0108MM_Z1 and message 000 in it.
When i display as error message -> message e000(Y0108MM_Z1).
everything is fine.
but when use message w000(Y0108MM_Z1) it doesn't apear.
Please help it is very important for me.
Regards,
Greg.
Message was edited by:
Grzegorz SkibinskiHi,
I think message will appear.
For testing please do from the main screen press Alt+F12 > options> options tab --> check " dialog box at warning message " and test your scenrio.
Here warning message appear in a dialog box.
a®
Maybe you are looking for
-
Changing HD 1440 X 1080 video into NTSC
Hi, I took most of my video in HD 1440 X 1080 and am finding it too slow to render. I want to complete my project soon. Is it possible to easily change the 1440 X 1080 video int NTSC so that the project won't take so long? Thanks, Andy
-
I have posted picutre I took from my I phone, and have posted them on I cloud, I am unablet to view those picture on my I Cloud desk to computer, the photos Icone is not present.
-
Table lock up solution in oracle 10g
The Business where I work want to create a message pop up screen to resolved locking issue with Yes /no button. The problem is that there are two forms that are updating the same database tables, what the business want to achieve is to be able to cre
-
iCloud error
-
I am self employed and I want to be able to offer private tuition in PhotoShop and Illustrator, alongside Corel PaintShopPro and MS Office that I already teach. Can I get these two products, or all, at the 'educational' price?