How can we hide the key fields of ztables in sm30 display?
experts.. pls help me....
Hi,
Use events in table maintenance generator '05' and write the code.
Go to se11-table name-utilities-table maintenance generator-extras-events in table maintenance generator . In the source code
Put form hide.
<code>.
endform.
Or.
In SE80
Goto Function Group
Then click on Screen
Then click on Element List Tab
Below u can see list of ur fields strting with ZTT-......
And against that u can have to uncheck the checkbox in INPUT column ......
So that the input for the field will be disabled..... when u go in edit mode......
Regards,
Jagadish
Similar Messages
-
How can I hide the text of a SMS or MMS displayed on my iPhone?
When I receive a sms some of the text of the SMS is showed on the iPhone. How can I avoid this, only showing that a sms has been received. Kenneth
The SMS Preview option allows you to hide the SMS excerpt, but is it possible to hide the sender name too? (ie the pop-up just says "Text Message Received"?)
Thanks,
Steve -
How can we remove the key from the dataset which has json
uid
id
Json
4588
51
{ "key": "1/0/234", "element1":{ "a":10 "b": "test1" } }
4589
52
{ "key": "1/0/234", "element1":{ "a":10 "b": "test1" } }
4590
53
{ "key": "1/0/234", "element1":{ "a":10 "b": "test1" } }
I have the above dataset resulting from merge operation .
UID -Integer data type
ID- Integer data type
Json- String data type holding json document
How can I remove the " key" element from the json field and make my dataset look like
Expected output which will strip of key value pair from the json column
uid
id
Json
4588
51
{ "element1":{ "a":10 "b": "test1" } }
4589
52
{ "element1":{ "a":10 "b": "test1" } }
4590
53
{ "element1":{ "a":10 "b": "test1" } }
MudassarHello Mudassar,
In SQL Server / T-SQL we don't have a native JSON support, so you would have to implement a solution on your own = parsing the string and remove the "Key" + it's value.
Olaf Helper
[ Blog] [ Xing] [ MVP] -
How can I get the "text" field from the actionEvent.getSource() ?
I have some sample code:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.util.ArrayList;
public class JFrameTester{
public static void main( String[] args ) {
JFrame f = new JFrame("JFrame");
f.setSize( 500, 500 );
ArrayList < JButton > buttonsArr = new ArrayList < JButton > ();
buttonsArr.add( new JButton( "first" ) );
buttonsArr.add( new JButton( "second" ) );
buttonsArr.add( new JButton( "third" ) );
MyListener myListener = new MyListener();
( (JButton) buttonsArr.get( 0 ) ).addActionListener( myListener );
( (JButton) buttonsArr.get( 1 ) ).addActionListener( myListener );
( (JButton) buttonsArr.get( 2 ) ).addActionListener( myListener );
JPanel panel = new JPanel();
panel.add( buttonsArr.get( 0 ) );
panel.add( buttonsArr.get( 1 ) );
panel.add( buttonsArr.get( 2 ) );
f.getContentPane().add( BorderLayout.CENTER, panel );
f.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
f.setVisible( true );
public static class MyListener implements ActionListener{
public MyListener() {}
public void actionPerformed( ActionEvent e ) {
System.out.println( "hi!! " + e.getSource() );
// I need to know a title of the button (which was clicked)...
}The output of the code is something like this:
hi! javax.swing.JButton[,140,5,60x25,alignmentX=0.0,alignmentY=0.5,
border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@1ebcda2d,
flags=296,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,
disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,
right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=true,
rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=first,defaultCapable=true]
I need this: "first" (from this part: "text=first" of the output above).
Does anyone know how can I get the "text" field from the e.getSource() ?System.out.println( "hi!! " + ( (JButton) e.getSource() ).getText() );I think the problem is solved..If your need is to know the text of the button, yes.
In a real-world application, no.
In a RW application, a typical need is merely to know the "logical role" of the button (i.e., the button that validates the form, regardless of whether its text is "OK" or "Save", "Go",...). Text tends to vary much more than the structure of the UI over time.
In this case you can get the source's name (+getName()+), which will be the name that you've set to the button at UI construction time. Or you can compare the source for equality with either button ( +if evt.getSource()==okButton) {...}+ ).
All in all, I think the best solution is: don't use the same ActionListener for more than one action (+i.e.+ don't add the same ActionListener to all your buttons, which leads to a big if-then-else series in your actionPerformed() ).
Eventually, if you're listening to a single button's actions, whose text change over time (e.g. "pause"/"resume" in a VCR bar), I still think it's a bad idea to rely on the text of the button - instead, this text corresponds to a logical state (resp. playing/paused), it is more maintainable to base your logic on the state - which is more resilient to the evolutions of the UI (e.g. if you happen to use 2 toggle buttons instead of one single play/pause button). -
How can I hide the class file ??
Hi !
I has a question, when i write a program of Java, then use the command "javac" to compiler to class file for other people using, but the class file can be disassembled and convert to source code. How can I hide the class file and let people can not disassemble, or can not see the source code. ThinksSee these....
http://www.saffeine.com/
http://www.jarsafe.com/
I recently read this. This will help you.
http://developer.java.sun.com/developer/qow/archive/160/index.jsp
Enojy....
Rajesh -
How can I program the text fields in my email forum to have rounded corners
How can I program the text fields in my email forum to have rounded off edges or corners.
this is the code im using.
// insert code here// insert code here// prepare email field
var email = sym.$("email")
email.html("Enter your Email: ");
inputEmail = $('<input />').attr({'type':'text', 'value':'', 'id':'email'});
inputEmail .css ('font-size', 14);
inputEmail .css ('width', 350);
inputEmail .css ('background-color', '#4e4e4e');
inputEmail .appendTo(email);
// prepare topic field
var topic = sym.$("topic");
topic.html("Topic: ");
inputTopic = $('<input />').attr({'type':'text', 'value':'', 'id':'topic'});
inputTopic .css ('font-size', 14);
inputTopic .css ('width', 350);
inputTopic .css ('background-color', '#4e4e4e');
inputTopic .appendTo(topic);
// prepare message field
var message = sym.$("message");
message.html("Message: ");
inputMessage = $('<textarea />').attr({'type':'textarea','rows':'10', 'cols': '25','value':'', 'id':'message'});
inputMessage .css ('font-family',"Arial,Helvtica,sans-serif");
inputMessage .css ('color',"#ffffff");
inputMessage .css ('font-size', 14);
inputMessage .css ('background-color', '#4e4e4e');
inputMessage .css ('box-shadow', '#4e4e4e');
inputMessage .css ('width', 350);
inputMessage .css ('height', 150);
inputMessage .appendTo(message);
var submitBtn = sym.$("btn");
submitBtn.html("Submit");
submitBtn.css("text-align", "center");
submitBtn.css("font-size",14);
submitBtn.css("font-weight","bold");
submitBtn.css("color","#ffffff");Try this: inputEmail.css ('border-radius', '25px');
attachment
more details -
How can we change the input field on a view stop showing zeros
Hello,
To make screen look consistent with other character input field. How can we change the input field on the view stop displaying zeros even though the data type is NUMC and data type should not be change?
Edited by: sap_learner on Mar 25, 2010 5:44 PM
Edited by: sap_learner on Mar 25, 2010 5:49 PM
Edited by: sap_learner on Mar 25, 2010 5:55 PMhello Manas Dua,
Thanks for your help. I am able to resolve my problem.
My code will help the future comers to resolve this kind of issues.
*The code is applied to method WDDOINIT of the default view.
DATA lo_nd_terms_input TYPE REF TO if_wd_context_node.
DATA lo_nd_terms_input_i TYPE REF TO if_wd_context_node_info.
DATA lv_zeros TYPE wdy_attribute_format_prop.
lv_zeros-null_as_blank = 'X'.
lo_nd_terms_input = wd_context->get_child_node( name = wd_this->wdctx_input ).
lo_nd_terms_input_i = lo_nd_terms_input->get_node_info( ).
lo_nd_terms_input_i->set_attribute_format_props(
EXPORTING
name = `ENTER THE ATTRIBUTE NAME`
format_properties = lv_zeros ).
Edited by: sap_learner on Mar 26, 2010 5:02 PM -
How can we read the screen field values from the report selection screen wi
Hi expart,
How can we read the screen field values from the report selection screen with out having an ENTER button pressed .
Regards
Razzuse this code...
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_posnr.
**Read the Values of the SCREEN FIELDs
CALL FUNCTION 'DYNP_VALUES_READ' -
How can i hide the menu bar at the bottom of the app in itunes
how can I hid the bar at the bottom of the App screen in itunes. Where it shows how much audio, app etc space you have left on your device
Unforrtunately the status bar doesn't make any difference, however I have worked out that the bar does show when I go into full screen.
I would have thought it should also work when not in full screen - it certianly used to. -
How can I hide the password and user name in url???
Hi experts,
I'm creating a login page and know I have a problem.
The Username and password are verified in a Java class, after checking the user and password, the user should be linked to the portal.
So far everything has worked well.
But when I call the lin like this
res.sendRedirect ("/ irj / portal j_user =" + UserN + "& j_password =" + passw);
then the user name and Pwasswort appears in the url.
Can someone tell me how can I hide the password and user name???
It will be very helpful.
Thank you
Edited by: Cilvaring on Aug 5, 2011 12:00 PMIf there is no specific reason that you have to use sendredirect...thne you can try request.forward.....
RequestDispatcher rd = request.getRequestDispatcher("pathToResource");
rd.forward(request, response); -
How can I hide the borders and keep it as an option?
How can I hide the borders and keep it as an option? I had someone go into the css I believe, and make it so there were no borders visible on the page (I could see the dotted outline while working on it, but when pushed, it wasn't visible (which is what I wanted). They called it "noborders." Since I had to reinstall, it went away. Help?
I have Dreamweaver CS5.5Try this site: CSS Border
Add code then type in a zero. Later add border size you want.
examples: border: 0px solid black;
or
border: 1px 000000;
or
border-top-style: solid; 0px 000000;
border-right-style: dotted; 0px 000000;
border-bottom-style: solid; 2px 000000;
border-left-style: dashed; 1px 000000; -
How can I hide the scroll bar in TextArea?
How can I hide the scroll bar in TextArea?
Hi. To remove the horizontal scrollbar you can do this:
textArea.setWrapText(true);
To remove the vertical scrollbar you can do this:
ScrollBar scrollBarv = (ScrollBar)ta.lookup(".scroll-bar:vertical");
scrollBarv.setDisable(true); and set the opacity to 0 in the css file:
//css file
.text-area .scroll-bar:vertical:disabled {
-fx-opacity: 0;
}Here is an example:
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.Node;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.ContextMenu;
import javafx.scene.control.MenuItem;
import javafx.scene.control.ScrollBar;
import javafx.scene.control.TextArea;
import javafx.scene.input.ContextMenuEvent;
import javafx.scene.layout.StackPane;
import javafx.stage.Stage;
public class TextAreaSample extends Application {
@Override
public void start(Stage primaryStage) {
final TextArea textArea = new TextArea();
textArea.setWrapText(true);
StackPane root = new StackPane();
root.getChildren().add(textArea);
Scene scene = new Scene(root, 300, 250);
primaryStage.setScene(scene);
primaryStage.show();
scene.getStylesheets().add(getClass().getResource("style.css").toExternalForm());
ScrollBar scrollBarv = (ScrollBar)textArea.lookup(".scroll-bar:vertical");
scrollBarv.setDisable(true);
public static void main(String[] args) {
launch(args);
} -
How Can I Set the Search Field in iTunes?
In applescript...
In another app - I have copied a song title to the clipboard...
Q: Now - How Can I Set the Search Field in iTunes to the clipboard contents?
Q: Also how can I also open the main library itunes window?Hi Rev Dave,
Q: Now - How Can I Set the Search Field in iTunes to
the clipboard contents?
Unfortunately the only way I can think to achieve this involves the use of "UI Scripting". The other previous posters have given you the preferred method you should consider using. If you want to script iTunes so that you visually see the search take place in iTunes you'll need to use the method shown in the script I've posted below.
Q: Also how can I also open the main library itunes
window?
Cyclosaurus has given you the answer to this part of your question already.
Here is a script that (though ugly IMHO) should achieve what you are asking for:set theSearch to (the clipboard) as string
tell application "iTunes"
activate
set allPlaylists to playlists
repeat with aList in allPlaylists
if name of aList is not "Library" then
set view of front browser window to aList
exit repeat
end if
end repeat
set LibList to playlist "Library"
set view of front browser window to LibList
end tell
tell application "System Events"
tell process "iTunes"
if "iTunes" is not in name of windows or ¬
focused of window "iTunes" is false then ¬
keystroke "1" using command down
keystroke tab
keystroke theSearch
end tell
end tellIn order for the above script to work you need to have "Enable access for assistive devices" enabled in the "Universal Access" section of the "System Preferences" application.
If you have any further questions about the above script feel free to ask.
Hope this helps...
iBook G4 1GHz Mac OS X (10.4.3) 640 MB RAM -
How can I hide the recipients of a group text message?
How can I hide the recipients of a group text message?
This is Illustrator, no matter which version you are using.
It doesn't work like in other programmes and Illustrator's behaviour is often undesired.
There is no good trick that I'm aware of to mimic Draw's or Freehand's way to do it. -
How can I hide the por:8080 on the broswer
http://www.mydotcom.com:8080/examples/.....jsp
How can I hide the port 8080, cause this is what shows on the URL.
thanksI have no problem running with tomcat that contain chinese, but when I run the apache which is the same code as the tomcat are running, it cause error 500. I debug it , and found out that it was the chinese that cause the problem. once I took out the chinese, then it works find. Can any one tell me why?
thanks
Maybe you are looking for
-
Images not in printed documentation
When generating printed documentation from RH7 (selecting embed images, MS Word doc, etc.), the images do not show up in the results. All I see are the {bmc <file name>.bmp} references. I know this worked in version 5 and I read the release update fo
-
Hi i am facing an issue with ctios agent desktop. If agent try to blind transfer or consultative transfer or make a conference call system displays some resources error like "Resources are not available" while if we try to make all these scenarios th
-
Hi All, Following a recent intallation of Mountain Lion on a MacBook Pro, launching iPhoto now crashes the system. If I boot in safe mode, iPhoto launches and the thumb nails are there but the photo's themselves will not display, (black window). belo
-
How can I access my iPhone icloud without my phone?
I have lost my iPhone. How can I access my iPhone personal information ( telephone contacts) with my icloud account?
-
Save Dialog input field too short
When i save documents in any app, the save dialog appears. The input field for the file name in very short, meaning, with long filenames you have to scroll and move your mouse in this tiny field? Why does OSX not use more space for this input field,