How to hide warning messges in a program?
how to hide warning messges in a program?
Are you talking about extended program check? If so, you have to enter "#EC * at the end of each line that is issuing a warning message.
Similar Messages
-
How to hide username/password in JDBC program.
hi All,
The support tat I get here is simply gr8.
Can someone suggest or send me a link as to how I hide the username /password ....i.e database connection in the jdbc program so as to avoid changing the program everywhere in case username and passwd changes ?????
I simply want to change the following code
String driverName = "oracle.jdbc.driver.OracleDriver";
Class.forName(driverName).newInstance();
// Create a connection to the database
Sring serverName = "127.0.0.1";
String portNumber = "1521";
String sid = "oratest";
String url = "jdbc:oracle:thin:@" + serverName + ":" + portNumber + ":" + sid;
String username = "scott";
String password = "tiger";
connection = DriverManager.getConnection(url, username, password);
Ta,
sunnywell i kind of support what my fellow poster neeelima.srtidhar said..
Use of Connection Pooling via JNDI which is either provided by appln server or using custom built frameworks is the best method which i can think of instead of reinventing the wheel by creating a Properties file and then writing a Utility Class which ultimately endup in creating connection Object without any sort of optimal usage.
checkout the below articles for reference of how to do it.
http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html
http://www.informit.com/articles/article.asp?p=352320&rl=1
http://www.codeproject.com/useritems/pool_client_jboss.asp
http://edocs.bea.com/wls/docs81/jdbc/programming.html
http://www.castor.org/jdo-pooling.html
http://homepages.nildram.co.uk/~slink/java/DBPool/
and if you are thinking of reinventing those that could be possible using the below article
http://www.javaworld.com/javaworld/jw-05-2002/jw-0517-jdbcdriver.html?page=1
Hope that might help:)
REGARDS,
RaHuL -
How To hide warning dialog?
Hi.
In my routine I need to substract mask. but when it's impossible the warning dialog is shown (Warning: no pixels were selected).
I call
error = sPSActionControl->Play(&result, eventSubtractFrom, desc.get(), plugInDialogSilent);
plugInDialogSilent /**< Never present a dialog; use only descriptor information; if the information
is insufficient to run the plug-in, the plug-in should return an
error in the \c errorString field of the plug-ins parameter block. */
How can I hide this message?Did you find a way to do this?
I have a new problem with my automation plugin. I open a file using the eventOpen (and plugInDialogSilent) and after the plugin has open the image (o while it's opening it) photoshop displays the warning "This document may be damaged (the file may be truncated or incomplete). Continue?" (the image is corrupt most of the times). If it had returned an error, in the play action call, I would have caught it and taken action, but it waits for user input (ok on the dialog) and I don't get back the control.
Please some help? -
How to hide ABAP report source codes like program SAPMSYST
hello guys , I only want to know how SAP hide ABAP codes, any one could told me?
BRs.
Justinhi
u can use table name D010TAB
IF J > 1.
WRITE: / 'Cannot generate appropriate program name'.
EXIT.
ENDIF.
DATA: F5(8).
EXEC SQL.
SELECT MASTER INTO :F5 FROM D010TAB WHERE MASTER = :NEW_NAME
ENDEXEC.
IF F5 IS INITIAL.
There is no such hidden program, hide it
EXEC SQL.
UPDATE D010TAB SET MASTER = :NEW_NAME WHERE MASTER = :PROGRAM
ENDEXEC.
concatenate 'Program' :program 'was hidden.'
into message separated by space.
ELSE.
There is already a hidden program there, unhide it
EXEC SQL.
UPDATE D010TAB SET MASTER = :PROGRAM WHERE MASTER = :NEW_NAME
ENDEXEC.
concatenate 'Program' :program 'was restored.'
into message separated by space.
ENDIF.
write message.
Edited by: krupa jani on Nov 9, 2009 7:30 AM -
How to hide the information box in Jave script if the IR report is no data?
dear all:
if the IR report desn't catch the data . the system show "Essbase Query :No rows retried" message . we have to click the "OK" buttion to continue it . but if my report is runing by JAVA script , the message shows it too. i want to hide the message box the program go ahead. how to do it ?
Regards.
TonyI remembered having this issue with OLAPQuery. Have you tried CubeQuery?
-
HOW TO HIDE FIELDS IN A CUSTOM TABLE
Hi all,
I've a requirement where there's a maintainence view attached to a custom created table. Whenever I add new entries via View, on saving the record, 2 of its fields only should appear.
For example, if my table looks like this,
SAP ID OBJECT ID FROM DATE TO DATE
Once i add a new record, when i press save, only 2 of fields say, SAP id and Object Id should appear instead of all the fields.
Can someone throw light on this if you're aware? Any input in this regard will be highly valuable to me and appreciated. If someone is unable to intrepret this question, do let me know, I'll detail it again.
Thanks in Advance,
Vaishnavi Varadarajanhi Vaishu,
Hide parameter / select option in selection screen
We can Hide parameter / select option in selection screen dynamically by manipulating screen object.
SCREEN is like an internal table with a header line. However, you do not have to declare it in your program. Go to debugging mode and then view structure of screen.
You can modify SCREEN in your ABAP program during the PBO event of a screen. Its contents override the static attributes of the screen fields for a single screen call. The only statements that you can use with SCREEN are:
LOOP AT SCREEN.
MODIFY SCREEN.
ENDLOOP.
We can hide parameter by set screen-active to 0.
Here is example of how to hide parameter in selection screen. Write it, and change click on radiobutton to hide parameter.
REPORT ZAALGAL0006.
DATA: d_ucomm LIKE sy-ucomm.
PARAMETERS: p_grpa1(10) MODIF ID A,
p_grpa2(5) MODIF ID A,
p_grpb1(2) MODIF ID B.
PARAMETERS: p_actA RADIOBUTTON GROUP rad1 USER-COMMAND ACT DEFAULT 'X',
p_actB RADIOBUTTON GROUP rad1.
AT SELECTION-SCREEN.
d_ucomm = sy-ucomm.
AT SELECTION-SCREEN OUTPUT.
LOOP AT screen.
IF p_actA = 'X'.
IF screen-group1 = 'B'.
screen-active = 0.
ENDIF.
ELSEIF p_actB = 'X'.
IF screen-group1 = 'A'.
screen-active = 0.
ENDIF.
ENDIF.
MODIFY screen.
ENDLOOP.
START-OF-SELECTION.......
pls refer the below sites for reference. they may help you
http://www.blogtoplist.com/software/blogdetails-14026.html
http://sap.ionelburlacu.ro/abap/sap2/Other_Useful_Tips.html
https:/.../servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/905e3d36-0301-0010-30ac-b55865545635
thanks
sagar
reward me points if usefull -
How to hide fields in Infotype 16 for Molga 28
Hi Guys,
I need to hide some fields for IT0016 for Molga 28. Earlier we have assigned different screen for this molga .But now we have assigned the standard screen to IT0016 i.e. View-3211. But when i go to node Change Screen Modifications, i m unable to find MP321100. I have checked through PA30 for chinese employee the Program is MP321100 and screen is 2000.
COuld you guide how to hide some of the fields for Chinese Molga 28 in IT0016.
Regards,
NavneetHi Harish,
I havent got the chance to check with BASIS yet....they are lil busy .....meanwhile i have created an entry in t588m with Module pool mp321100 and feature p0016. As u told i have created entry with Molga 28 and return key 28 in P0016 feature.
Could you confirm that i need to Create mP321100 or i could have done it via mp001600 as told by other guy.
And now if i go the fields are hidden except for two fields which strangely are coming "ER Notice Period" and
"EE Notice Period". I have hidden all fields still these two fields are cming any idea why?
Regards,
Navneet -
How to hide cut/copy/paste/Replace… menu on the UIWebView when it is being displayed over the keyboard.
Detail: I am having a HTML from, having text box, displayed using UIWebView. If user types in text box it shows the keyboard. Now If user tap and hold on text box it shows a popup menu. Now while keyboard and pop up are being displayed user scrolls the view. At this time it shows pop up over the keyboard which I need to hide.
I tried setMenuVisible of UIMenuController when popup rect and keyboard rect intersects each other on viewDidScroll but it didn't help me.
Any clues will help a lot.
Thanks.You are more likely to get an answer if you post programming problems to the Developer forum. This forum is intended for normal user level problems.
-
how to solve the problem when opening program illustrator cs6
ERROR: 16
It is WINDOWS 8.1 / 64 BIT
help pleaseThanks, Jeff! The file Adobe Setup Error.log contains the following information:
02/14/14 07:20:26:474 | [INFO] | | OOBE | DE | | | | 8860 | DEVersion: 5.0.0.0
02/14/14 07:20:26:475 | [INFO] | | OOBE | DE | | | | 8860 | Loading library from C:\Program Files (x86)\Common Files\Adobe\OOBE\PDApp\DECore\DE5\Setup.dll
[ 8860] Fri Feb 14 07:20:26 2014 INFO
::START TIMER:: [Total Timer]
CHECK: Single instance running
CHECK : Credentials
Load Deployment File
CHECK : Another Native OS installer already running
Create Required Folders
Assuming uninstall mode
Lookup for master payload
[ 8860] Fri Feb 14 07:20:26 2014 ERROR
DW040: The product "{893B3B44-0A1E-404B-8FE8-0A74509102A9}" is not installed. Cannot proceed with the uninstall
[ 8860] Fri Feb 14 07:20:26 2014 INFO
:: END TIMER :: [Total Timer] took 6.90443 milliseconds (0.00690443 seconds) DTR = 579.338 KBPS (0.56576 MBPS)
-------------------------------------- Summary --------------------------------------
- 0 fatal error(s), 1 error(s), 0 warning(s)
ERROR: DW040: The product "{893B3B44-0A1E-404B-8FE8-0A74509102A9}" is not installed. Cannot proceed with the uninstall
Please search the above error/warning string(s) to find when the error occurred.
These errors resulted in installer Exit Code mentioned below.
Exit Code: 33 - The product is not installed, cannot uninstall.
Please see specific errors and warnings for troubleshooting. For example, ERROR: DW040 ... -
How to hide items on Windows 8 File Explorer Ribbon
Scenario
This article describes how to hide items on the file explorer ribbon in Windows 8 and Windows 8.1.
Method
We can implement it via customizing the permission of the related registry keys.
Note: Before you make changes to a registry key or subkey, we recommend that you export, or make a backup copy, of the key or subkey.
Before you make changes to a registry key or subkey, we recommend that you
export, or make a backup copy, of the key or subkey.
Step 1:
Open
Registry Editor and locate to following registry key under which you can find the corresponding keys of the items on the File Explorer Ribbon.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\
In the following figure, it shows the Add a network location item on the file explorer ribbon, and the corresponding
registry key in Registry Editor.
Step 2:
Take ownership of the registry key
Note: You can take ownership
of a registry key if you are logged on as an administrator or if you have been specifically assigned the permission to take ownership of the registry key by the current owner.
Right-click on the registry key which you want to take ownership of,
and then select
Permissions... option.
Click on
Advanced button to grant special permissions in the key.
At the top to the right of the current
Owner, click on the Change link.
Enter
Administrator in the Enter the object name to select
box, and then click on Check Names.
Click on
OK twice to apply.
Step 3:
Change the permission of the registry key.
On
Permissions for the key name display dialog, click
Administrators in the Group or user names window, and then select the
Allow check box for
Full Control
option.
Click
Users in the Group or user names window, and then select the
Deny
check box for
Full Control
option.
Step 4:
Click on
Apply and OK to save the changes and the following figure shows the modified permissions and owner.
Step 5:
When you open File Explorer, the item you would like to hide disappears. For your information, the following is an example:
Item: Add a network location
Corresponding Registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Windows.AddNetworkLocation
For advanced users
You can also deploy script with Set-Acl which is a PowerShell command to take ownership and change permissions
of the keys. For your information, please refer to the following articles to learn more about this command:
Set-Aclhttp://technet.microsoft.com/en-us/library/hh849810.aspx
SET-ACL on registry key
http://blogs.technet.com/b/brad_rutkowski/archive/2008/09/29/set-acl-on-registry-key.aspx
Apply to
Windows 8
Windows 8.1
Welcome to your feedbacks.
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.The reason they gave was it is possible for the file to stay open when done with the file. (not properly closing) As the driver would be accessing the file to retrieve the thumbnail.
The thing is a driver is nothing more than a program it self. Therefore it is capable of opening and closing a file and placing the thumbnail into the database for that folder. It then would be capable to verify if the thumbnail exists in that database. Since the driver only has to run when explorer is open in that folder's view, it really is not running that often.
The catch I can see it when both Illustrator and explorer are running at the same time. Which one should close the file? The solution would be a small app that verifies that both programs are running and has control of clean up when both have closed. The driver and Illustrator could also in theory check and see if the other is running, if it is do nothing if not then close the file.
So it really boils down to having the driver and Illustrator talking to each other. -
Nokia N97 How to hide images from the photo browse...
I'm not even going to ask about how to hide sensitive images, i just deleted them, but still
there are several programs that use images for they're normal behaviour, i had this same issue
with my nokia n95, but i simply set the image atributes of the pictures i didn't want to show in the photo browser,
and that solved the problem, but with my new n97 this is of no use, i also tryed setting the image atribute as sys file
and that did not solvet either... Please help, i do not like having 500 images from a software showing up in my gallery...
Thanks in advancehow to move image from gallery to a certain album (not copy)
-
How to do the Validations in Report Programming?
How to do the Validations in Report Programming?
how to do screen Validations and Field Validations if posssible can any one send the code regarding the Validation ....
Tks
DurusojuAT SELECTION-SCREEN - selscreen_event
Syntax
| { ON {para|selcrit} }
| { ON END OF selcrit }
| { ON BLOCK block }
| { ON RADIOBUTTON GROUP radi }
| { }
| { ON {HELP-REQUEST|VALUE-REQUEST}
| FOR {para|selcrit-low|selcrit-high} }
| { ON EXIT-COMMAND }.
Alternatives:
1. ... OUTPUT
2. ... ON {para|selcrit}
3. ... ON END OF selcrit
4. ... ON BLOCK block
5. ... ON RADIOBUTTON GROUP radi
6. ... { }
7. ... ON {HELP-REQUEST|VALUE-REQUEST} FOR
{para|selcrit-low|selcrit-high} }
8. ... ON EXIT-COMMAND
Effect
These additions allow individual evaluation of specific elements of the selection screens of the program. The information as to which selection has triggered the event is contained in the system field sy-dynnr.
Alternative 1
... OUTPUT
Effect
This event is triggered at the screen event PBO of a selection screen. In the event block, the selection screen can be prepared through assignments to the data objects of parameters and selection criteria and through dynamic screen modifications.
Note
The assignments to input fields in the event block AT SELECTION-SCREEN OUTPUT always affect the selection screen and overwrite the user inputs from previous displays of the same selection screen. Assignments in the event blocks LOAD-OF-PROGRAM oder INITIALIZATION, on the other hand, only have an effect at first program start.
Alternative 2
... ON {para|selcrit}
Effect
This event is triggered at the screen event PAI of a selection screen if the content of the input field of a parameter para or a line of a selection criterion selcrit was passed to the ABAP program. In the event block, the user input can be checked. Sending a warning or an error message in the event block makes the fields para and selcrit ready for input again.
No parameter that is defined as a radio button can be specified. For this purpose, the addition ON RADIOBUTTON GROUP is provided.
Note
If a user action takes place in the dialog box for the multiple selection of a selection criterion selcrit, the entries of the selection table are passed to the program, line by line. For each line, the event AT SELECTION-SCREEN ON selcrit is triggered.
Alternative 3
... ON END OF selcrit
Effect
This event is triggered after the selection table selcrit has been fully passed to the program after a user action in the dialog box for the multiple selection has taken place. In the event block, the entire selection table can be checked.
Alternative 4
... ON BLOCK block
Effect
This event is triggered at the screen event PAI of a selection screen if all the input fields of a block block of the selection screen were passed to the ABAP program. In the event block, the user inputs can be checked. Sending a warning or an error message in the event block makes all the fields of the block block ready for input again.
Alternative 5
... ON RADIOBUTTON GROUP radi
Effect
This event is triggered at the screen event PAI of a selection screen if all the fields of a radio button group radi of the selection screen were passed to the ABAP program. In the event block, the user input can be checked. Sending a warning or error message in the event block makes all the radion buttons of the block radi ready for input again.
Note
The individual fields of a radio button group are not passed individually and do not trigger the event AT SELECTION-SCREEN ON par.
Alternative 6
Effect
The event AT SELECTION-SCREEN itself is triggered as the last event of selection screen processing if all the input values were passed to the program. In this event block, all the user inputs can be checked. Sending a warning or an error message in the event block makes all the screen fields ready for input once again.
Alternative 7
... ON { HELP-REQUEST | VALUE-REQUEST } FOR
{para|selcrit-low|selcrit-high} }
Effect
The two events ON HELP-REQUEST and ON VALUE-REQUEST are triggered at the screen events POH and POV of a selection screen if - for the input field of a parameter para or one of the input fields of a selection criterion selcrit - the field help F1 or the input help F4 was called. Other selection events are not triggered.
In the event blocks, a self-defined field or input field can be programmed, which overrides any helps possibly defined in the ABAP Dictionary.
Notes
These event blocks can only be implemented for fields of the selection screen that are defined in the same ABAP program and not in a possibly linked logical database.
With the events for the field and input help, no data is transported between the selection screen and the ABAP program. As with general screens, suitable function modules must be used for these. The parameters and selection criteria changed for the input help are transported to the selection screen.
Alternative 8
... ON EXIT-COMMAND
Effect
This event is triggered if the user has called one of the functions Back, Exit or Cancel. In the event block, possible clean-up actions can be executed.
Example
In these executable programs, a standard selection screen and a further selection screen are defined. In the event blocks AT SELECTION-SCREEN, the inputs in the selection screens can be specially handled using the name p_carrid and the screen number in sy-dynnr.
REPORT demo_at_selection_screen.
Global data
DATA: sflight_tab TYPE TABLE OF sflight,
sflight_wa LIKE LINE OF sflight_tab.
Selection screens
PARAMETERS p_carrid TYPE spfli-carrid.
SELECTION-SCREEN BEGIN OF SCREEN 500.
SELECT-OPTIONS s_conn FOR sflight_wa-connid.
DATA s_conn_wa LIKE LINE OF s_conn.
SELECTION-SCREEN END OF SCREEN 500.
Handling selection screen events
AT SELECTION-SCREEN ON p_carrid.
IF p_carrid IS INITIAL.
MESSAGE 'Please enter a value' TYPE 'E'.
ENDIF.
AUTHORITY-CHECK OBJECT 'S_CARRID'
ID 'CARRID' FIELD p_carrid
ID 'ACTVT' FIELD '03'.
IF sy-subrc = 4.
MESSAGE 'No authorization for carrier' TYPE 'E'.
ELSEIF sy-subrc <> 0.
MESSAGE 'Error in authority check' TYPE 'A'.
ELSE.
IF sy-ucomm = 'ONLI'.
CALL SELECTION-SCREEN '0500'.
ENDIF.
ENDIF.
AT SELECTION-SCREEN.
IF sy-dynnr = '0500'.
IF s_conn IS INITIAL.
MESSAGE 'Please enter values' TYPE 'W'.
ELSE.
SELECT *
FROM sflight
INTO TABLE sflight_tab
WHERE carrid = p_carrid AND
connid IN s_conn.
IF sy-subrc <> 0.
MESSAGE 'No flights found' TYPE 'E'.
ENDIF.
ENDIF.
ENDIF.
Main program
START-OF-SELECTION. -
how to hide the slin errors
Hi Shilpa.
I would like to suggest my opinion,
Refered from,
[SAP HELP Library - Standard Reference for Errors and Warnings|http://help.sap.com/saphelp_nw04s/helpdata/en/43/00c5b7daf15166e10000000a1553f6/content.htm]
SLIN Infos point to possible (semantic) program errors. According to the situation, the program should be changed or the messages should be switched off.+
+Only the SLIN messages of this category can be switched off by means of special comments
Reference,
Use u201C#EC * to hide warnings from places that cannot be removed by proper typing.
[SDN Library - Standard Reference - PDF - Make ABAP code unicode enabled - Hide SLIN Error Messages|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c031aa90-0201-0010-b69d-88a278e158c8]
Hope that's usefull.
Good Luck & Regards.
Harsh Dave -
How to hide particular block in selection screen
Hi,
I am having different blocks in a selection screen.
How to show the blocks dynamically according to a radio button selection.
means how to Hide/show entire block.
Thanks,
anandanHi Anandan,
Try this program.
REPORT zvk_collect.
SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME NO INTERVALS.
PARAMETER : p_plant RADIOBUTTON GROUP g1 USER-COMMAND radio DEFAULT 'X',
p_mrp RADIOBUTTON GROUP g1.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME NO INTERVALS.
PARAMETER : p_werks TYPE marc-werks MODIF ID sp1.
SELECTION-SCREEN END OF BLOCK b2.
*SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME NO INTERVALS.
*PARAMETER : p_berid TYPE smdma-berid MODIF ID sp2.
*SELECTION-SCREEN END OF BLOCK b3.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
CHECK screen-group1 = 'SP1' OR
screen-group1 = 'SP2'.
IF p_plant = 'X'.
IF screen-group1 = 'SP2'.
screen-input = 0.
screen-active = 0.
screen-required = 1.
MODIFY SCREEN.
ENDIF.
ELSE.
IF screen-group1 = 'SP1'.
screen-input = 0.
screen-active = 0.
screen-required = 1.
MODIFY SCREEN.
ENDIF.
ENDIF.
ENDLOOP.
Execute with Comments ON and Without Comments and See the difference
Reward if found helpful -
How to hide gui buttons in selection screen
In Selection screen how to hide buttons like back, exit,cancel buttons.
can any one help.Hi,
Create a new GUI Status for your program.. put whatever button you require for it..
In the AT SELECTION-SCREEN OUTPUT event..
SET pf-status xxx.
Regards,
Anand
Maybe you are looking for
-
[nQSError: 59014] The requested column does not exist in this table.
Hi As you know this error has been discussed in other threads.. the difference in mine is that not only the time series measures but all the columns are giving me the error...none of the columns are being displayed... The rpd has no consistency error
-
Cfgrid display in Safari Browser
My cfform displays and shows data in IE and Firefox but not Safari. I can see the cfgrid and form but no data shows in the grid. Any ideas?
-
Hi Need some help with a query I have a table with the following records (examples) Title Initial Surname Unique_ID AccNo_1 Pay_1 AccNo_2 Pay_2 MR MJ JACKSON 0002283543 4232080448 2400.00 4262784181
-
NAC Agent and NSP provisioning with ISE 1.1.1
I am trying to get all workstations (OSX and Windows) to install both the Native Supplicant Wizard and NAC Agent during the On-boarding process. I am currently using the default guest portal in ISE. The environment has been setup using a Dual SSID de
-
I keep receiving an error message when I attempt to download the OS X Mountain Lion. The error message appears after the download is around 70% complete. Does anyone have a solution?