Tabstrip/ Subscreen - no focus Textfields beside
Hey,
I want to create a Dynpro with textfields on the left and a tabstrip control on the right side in that I want to show PDF files later.
My problem is that I can´t access/ focus the textfields left/ right or beyond the tabstrip control when I put it on the mask. It doesn´t matter if I do it with the wizard or put it manual there.
When I move the textfields above the the ts-control everything is fine and I can access the textfield.
Does anyone knows this strange behaviour or has a solution/ hint?
Thanks in advance.
Tobi
Hi craig,
check this thread
Refresh ALV
it gives you information about how to refresh ALV
hope it helps you.
thanks
Sachin
Similar Messages
-
Select-Options on a Tabstrip Subscreen on a REAL Dynpro
Hello,
i ve the following problem:
I have a Report with a normal selection-screen and a call screen 100 after that.
That Dynpro 100 itself is a Tabstrip-Control. And on one of the Tabs i need to place some Select-options fields ( and a pushbutton + an alv, which shows the result of the selection, but thats not a problem).
The Problem i think is, that a Tab itself is a subscreen. not a "real" dynpro. i tried to place a subscreen control on that tab ( subscreen in a subscreen dynpro ) and define a selection screen as subscreen. but it s not being displayed.
selection-screen begin of screen 0888 as subscreen.
selection-screen begin of block s01 with frame title text-s01.
select-options: s_mrbe for eedmsettlunit-settlunit.
selection-screen end of block s01.
selection-screen end of screen 0888.
in dynpro logic:
PROCESS BEFORE OUTPUT.
MODULE status_0222.
CALL SUBSCREEN:
subscreen5 INCLUDING sy-repid '0888'.
PROCESS AFTER INPUT.
MODULE user_command_0222.
call SUBSCREEN subscreen5.
maybe you can help
Moderator message : Duplicate post locked. Continue with the thread - [Select-Options on a Tabstrip Subscreen on a REAL Dynpro|Select-Options on a Tabstrip Subscreen on a REAL Dynpro;.
Edited by: Vinod Kumar on Jun 15, 2011 2:02 PMHello,
Your problem is to show a subscreen selection-screen on another subscreen, right?
It works for me:
1. Copy DEMO_DYNPRO_TABSTRIP_LOCAL report.
2. Add your own subscreen selection-screen:
SELECTION-SCREEN BEGIN OF SCREEN 9001 AS SUBSCREEN.
.. SELECT-OPTIONS: p_sel FOR ok_code.
SELECTION-SCREEN END OF SCREEN 9001.
3. Call your subscreen 9001 on screen 100
PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
CALL SUBSCREEN: SUB1 INCLUDING SY-REPID '9001', "<---
SUB2 INCLUDING SY-REPID '0120',
SUB3 INCLUDING SY-REPID '0130'.
PROCESS AFTER INPUT.
MODULE CANCEL AT EXIT-COMMAND.
CALL SUBSCREEN: SUB1,
SUB2,
SUB3.
MODULE USER_COMMAND. -
ALV grid on TABSTRIP- Subscreen
Hi,
How to display ALV grid screen on Tabstrip- Subscreen.
Please send sample code.
Thanks in advance.
-MohanIts not going to be different that what you do on a normal screen. I am assuming that you are using OO ALV control.
Here you do this on the sub screen instead of the main screen. Take a look at my weblog.
/people/ravikumar.allampallam/blog/2005/06/01/alv-reporting-using-controls--part-i
regards,
Ravi
Note :Please close the thread if this resolves the issue -
Calling a Tabstrip subscreen from subscreen.
hello to all,
i want to know whether it is possible to place tabstrip control in a subscreen of the main screen in Dialog programming
.if yes then how to call the subscreen of the tabstrip .
for ex:i hv Main screen no.201 as noraml screen and in that i hv Subscreen Area in that i wanted to call Subscreen hving no. 1001,and in that 1001 subscreen i hv placed the tabstrip control.
know in PBO of 201screen i hv called the subscreen 1001 in the subscreen<area>.
but from where should i call the tabstrip subscreen from ?
so plz help me by providing some code etc.
thanks,
shikhaIt`s possible:
refer SAP Help for documentation on this one:
http://help.sap.com/saphelp_sm32/helpdata/EN/d1/801bd2454211d189710000e8322d00/content.htm
Neha -
Select-options in tabstrip subscreen
Hello
I am developing a report in which i have the following components,
Report first calls a main screen 100 which will display a Tabstrip.The first tab in the tabstrip has a subscreen 111 to display the selection screen.
Now i need to have select-options in this subscreen 111. I think the only way to have the select-options is by programming a selection-screen with screen number 222 and call this in the subscreen 111.
I am able to see the select-options, But the issue is, the value of the select-options are not getting passed to the program.They seem to be blank.
Did i miss any step or is anything wrong? Your help please.
Thanks
SubhaHi,
The issue in my case is the selection-screen is not called directly by a main screen in a report program. The selection-screen is present in a tabstrip control subscreen. So the flow is, report calls a main screen -> main screen contains tabstrip control -> first tab of tabstrip has a subscreen which should have select-options. Since select-options cannot be directly put using screen painter options, i need to use another subscreen. So how do i pass the value of this select-option to the main program?
Thanks
Subhashini -
How to attach a tabstrip/subscreen to a splitter control/custom container
HI gurus,
Can any one tell me how to add a subscreen/tabstrip to a splitter control in module pool?
thanx
Sukriti.....https://forums.sdn.sap.com/click.jspa?searchID=21171605&messageID=6879255
similar thread. -
Re-Naming Custom Tabstrip(Subscreen) in ME53
Hi
I have activiated a new custom tab in me53 for additional fields using the customer exit. I used the standard screen SAPLXM02-0111 to define the fields.
But the Tabstrib name is displayed by defauly. I want to change the name of the custom tabstrip. I have checked the tabstrip control all the tabstrips are defined dynamically through program.
Can anyone let me know where can i change the tabstrip name for the custom tabstrip included in the Item view.
Regards
PrasathAsk abaper to help..
Always use Copy of standard for new tab pages. -
Unable to declare fields in the subscreen area of the the tabstrip created.
Hi All,
I am doing the screen enhancement for the Tcode ME52N using exit MEREQ001. I have added a screen 0111 in the Function Group XM02. On this subscreen i have created a tabstrip with 2 tabs and created element of the type Subscreen Area in the tab strip.
My requirement is to create few fields in the tabstrip subscreen area for update or display. But in the screen painter when i am trying to insert any of the screen elements i get the error "Illegal type for page element in Tabstrip".
Please advice me on how to get this done.
ThanksHi ,
I am afraid that this forum is not a correct forum for this issue. Since this forum is discuss about Windows form development. In my opinion, it is an issue regarding Windows System. I suggested you to post this thread to
answer.microsoft.com-Windows OS
Have a nice time!
Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Problem with custom control and focus
I've a problem with the focus in a custom control that contains a TextField and some custom nodes.
If i create a form with some of these custom controls i'm not able to navigate through these fields by using the TAB key.
I've implemented a KeyEvent listener on the custom control and was able to grab the focus and forward it to the embedded TextField by calling requestFocus() on the TextField but the problem is that the TextField won't get rid of the focus anymore. Means if i press TAB the first embedded TextField will get the focus, after pressing TAB again the embedded TextField in the next custom control will get the focus AND the former focused TextField still got the focus!?
So i'm not able to remove the focus from an embeded TextField.
Any idea how to do this ?Here you go, it contains the control, skin and behavior of the custom control, the css file and a test file that shows the problem...
control:
import javafx.scene.control.Control;
import javafx.scene.control.TextField;
public class TestInput extends Control {
private static final String DEFAULT_STYLE_CLASS = "test-input";
private TextField textField;
private int id;
public TestInput(final int ID) {
super();
id = ID;
textField = new TextField();
init();
private void init() {
getStyleClass().add(DEFAULT_STYLE_CLASS);
public TextField getTextField() {
return textField;
@Override protected String getUserAgentStylesheet() {
return getClass().getResource("testinput.css").toExternalForm();
@Override public String toString() {
return "TestInput" + id + ": " + super.toString();
}skin:
import com.sun.javafx.scene.control.skin.SkinBase;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import javafx.event.EventHandler;
import javafx.scene.control.TextField;
import javafx.scene.input.KeyCode;
import javafx.scene.input.KeyEvent;
public class TestInputSkin extends SkinBase<TestInput, TestInputBehavior> {
private TestInput control;
private TextField textField;
private boolean initialized;
public TestInputSkin(final TestInput CONTROL) {
super(CONTROL, new TestInputBehavior(CONTROL));
control = CONTROL;
textField = control.getTextField();
initialized = false;
init();
private void init() {
initialized = true;
paint();
public final void paint() {
if (!initialized) {
init();
getChildren().clear();
getChildren().addAll(textField);
@Override public final TestInput getSkinnable() {
return control;
@Override public final void dispose() {
control = null;
}behavior:
import com.sun.javafx.scene.control.behavior.BehaviorBase;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import javafx.event.EventHandler;
import javafx.scene.input.KeyCode;
import javafx.scene.input.KeyEvent;
public class TestInputBehavior extends BehaviorBase<TestInput> {
private TestInput control;
public TestInputBehavior(final TestInput CONTROL) {
super(CONTROL);
control = CONTROL;
control.getTextField().addEventFilter(KeyEvent.KEY_PRESSED, new EventHandler<KeyEvent>() {
@Override public void handle(final KeyEvent EVENT) {
if (KeyEvent.KEY_PRESSED.equals(EVENT.getEventType())) {
keyPressed(EVENT);
control.focusedProperty().addListener(new ChangeListener<Boolean>() {
@Override public void changed(ObservableValue<? extends Boolean> ov, Boolean wasFocused, Boolean isFocused) {
if (isFocused) { isFocused(); } else { lostFocus(); }
public void isFocused() {
System.out.println(control.toString() + " got focus");
control.getTextField().requestFocus();
public void lostFocus() {
System.out.println(control.toString() + " lost focus");
public void keyPressed(KeyEvent EVENT) {
if (KeyCode.TAB.equals(EVENT.getCode())) {
control.getScene().getFocusOwner().requestFocus();
}the css file:
.test-input {
-fx-skin: "TestInputSkin";
}and finally the test app:
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.TextField;
import javafx.scene.layout.GridPane;
import javafx.stage.Stage;
public class Test extends Application {
TestInput input1;
TestInput input2;
TestInput input3;
TextField input4;
TextField input5;
TextField input6;
Scene scene;
@Override public void start(final Stage STAGE) {
setupStage(STAGE, setupScene());
private Scene setupScene() {
input1 = new TestInput(1);
input2 = new TestInput(2);
input3 = new TestInput(3);
input4 = new TextField();
input5 = new TextField();
input6 = new TextField();
GridPane pane = new GridPane();
pane.add(input1, 1, 1);
pane.add(input2, 1, 2);
pane.add(input3, 1, 3);
pane.add(input4, 2, 1);
pane.add(input5, 2, 2);
pane.add(input6, 2, 3);
scene = new Scene(pane);
return scene;
private void setupStage(final Stage STAGE, final Scene SCENE) {
STAGE.setTitle("Test");
STAGE.setScene(SCENE);
STAGE.show();
public static void main(String[] args) {
launch(args);
The test app shows three custom controls on the left column and three standard textfields on the right column. If you press TAB you will see what i mean... -
Include a dialog screen in tabstrip of selection-screen
Hi All,
Could anyone please tell me how to include a dialog screen into selection-screen? We have a normal selection screen for a report but now we need to add some more function and this requires to key in material number in first column and quantity in second column in a tabstrip subscreen(eg. screen 2000) and put current select-options(screen 1000) in another tabstrip to make user easily switch between new filters and previous filters. I've no idea if it's possible to have a dialog screen included in a tabstrip in the selection-screen. So please give me some suggestion. Thanks.
Best Regards,
JeffHi Jeff,
In the selection screen you need to call a custom tab strip that would have two sub-screens 1000 and 2000. It is completely designing of tab strip and its code manipulation.
Did you search for TAB STRIP IN SELECTION-SCREEN ?
This will help you in from start-up designing of tab-strip. It's not possible here in forum to explain all the steps in details.
For your help you can refer the link
[Sub-screen in Tab strip|Tabstrip and Subscreen;
This link gives you a complete idea on Tab strip
[Creating a Tab Strip Control|http://help.sap.com/saphelp_nw04/helpdata/en/04/10f2469e0811d1b4700000e8a52bed/frameset.htm]
Still you can search and find more as per your requirement. -
Hide the focus indicator?
Is there any way I can hide the focus indicator for
everything in my document?
Thank you for your help,
ShaneA focused TextField’s css is defined in caspian.css as follows:
.text-field:focused {
-fx-background-color: -fx-focus-color, -fx-text-box-border, -
fx-control-inner-background;
-fx-background-insets: -0.4, 1, 2;
-fx-background-radius: 3.4, 2, 2;
}Create your own custom css and define TextField’s css as follows:
.text-field {
-fx-background-color: -fx-focus-color, -fx-text-box-border, -
fx-control-inner-background;
-fx-background-insets: -0.4, 1, 2;
-fx-background-radius: 3.4, 2, 2;
}In this case, focused and unfocused fields will be identical.
You can also remove TextField’s border in your css file.
.text-field {
-fx-background-color: silver;
-fx-background-insets: -0.4, 1, 2;
-fx-background-radius: 3.4, 2, 2;
} -
JTextField Focus Lost Behaviour
Hi all,
I have one TextField beside one hlp button , when i enter the value in the textfiled and press tab or press the hlp button same validation
should popup ......here my problem is at first time when i press the
hlp button the valiation is not getting but the window was get opened.
Before the window opening validation also should popup .......
can any body help me ...pls
my code is like this
compradorDdfTf.addKeyListener(new KeyAdapter() {
public void keyPressed(KeyEvent e) {
if (e.getKeyCode() == KeyEvent.VK_TAB) {
//my code
public void keyTyped(KeyEvent e) {
compradorDdfbool = true;
Regards,
RohitYou have been asked multiple times to respond to all of you previous posting when you receive help. You still haven't learned how to do this.
You have been asked several time to use the "Code Formatting Tags" when posting code. You still aren't doing this.
Now you've added multi-posting to things you shouldn't be doing. If you want to change your question then you can "edit" you posting until someone replies to the posting.
Not only that you where given an answer to this question in your last posting.
I'm not will to help someone who can't learn the basics of using the forum effectively. You are still on your own. -
Access Present Textfield value in Help Text
Hi
I have a Text item and I wanted to access the Value of that text item in the text field property "Help Text". How I refer present focused textfield value in their "Help Text" property.
Regards
Kiran AkkirajuKiran,
The current value in session state of the item is available using &ITEM. notation (note trailing period). For example in the help text for item P1_X you can type:
Current value of this item is &P1_X..
Scott -
Hi
Is there a method to get the component that has focus?
Besides using a for loop with method hasfocu()
ThanksAssuming you want to find what component has focus within a specified frame:JFrame myFrame = xxx;
Component focusComp = SwingUtilities.findFocusOwner( myFrame ); -
JList and Textfield together as one control
Hi
I want to create a control where i have a drop down list and also a textfield beside the list so that it appears as one control.The dropdown list should be visible only while typing and after selecting text from list i should be able to add some more text to it.How do i do itI think u should select the component from Jlist which u want to change and set it to JtextField and change what ever u want and add that component back to the Jlist or overrride in the same place.
Thanks.
Maybe you are looking for
-
I started having trouble the past few days connecting to my Verizon e-mail (after clicking the internet explorer icon.) It seemed to take forever, and then today I waited and waited and then got a server error saying it couldn't tell me what the err
-
Ultimate iChat connection problem
Just yesterday, iChat started refusing to connect to AIM for some reason. The connection continually timed out. Neither iChat, AIM proper, nor any other instant messaging client will connect to the AIM network. I tried changing both the AIM server, a
-
Updating Cost Center Planned figures in FAGLPCP Table
Hi Friends We are in ECC 6.0. I am doing cost center planning through KP06 t.code and figures and getting updated in GLPCP Table which is a old one. But in ECC 6.0 version it shoudl get updated in FAGLPCP but not getting updated. Can anybody throw
-
Compliance Calibrator Issue with Backend system
Hi Experts, We have situation where we are unable to run any risk analysis from CC to our backend system. The error we are getting is " Can not execute BAPI USERLIST, Invalid value in OPTION field of value table for IN itab operator" and the RFC ID i
-
What's the best way to load FieldPoint measurement data into PI System?
I am finding the best way to load data collected by NI Field Point (FP2220) into the PI system of our power plant. I found pieces of information about FieldPoint OPC server in NI.com. Not sure if it comes with Field Point Hardware, sold by NI as a se