Unable to select a field in Datasource screen
Hi Gurus,
I am trying to change a datasource by including another field (by checking the selection field) but am unable to do it as its disabled. however the hide field can be editable and is unselected at the moment.
How can i enable the selection box for this field and check it?
Thanks in advance
S N
Hi San
Thanks for your quick reply.
I have checked the field and it hasnt got any value in the SELECTION field (its just blank). Some of the other fields have got 'X'.
The OBJVERS for this particular field is A. However there is another occurance of the same field with OBJVERS as D.
Anymore suggestions as to how i can enable and select this field in my Datasource.
Thanks
S N
Similar Messages
-
Unable to clear text Field in Multi Screen JFrame GUI Application
i am working with a Swing GUI project where I want to accept user input in a
text field
I have used singleton pattern which will create only one instance of object
due to this when i move from one scree to another the input of textfield
doesnt updated I have used setText method to clear the JTextField but it wont
works
Program one -- 1st screen
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.SwingUtilities;
import java.awt.event.*;
import javax.swing.JTextField;
public class Frame1 extends JFrame
public static Frame1 frame1;
public JButton button;
public JTextField input;
public static Frame1 getInstance()
if(frame1==null)
frame1 = new Frame1();
return frame1;
public JButton getJButton(String mytext)
JButton button = new JButton();
button.setText(mytext);
button.setBounds(450,450,150,50);
return button;
public void myGUI()
JPanel panel = new JPanel();
panel.setLayout(null);
button = getJButton("1st Frame");
addActionListener(button);
input = new JTextField(10);
input.setBounds(200,300,100,30);
panel.add(input);
panel.add(button);
add(panel);
setUndecorated(true);
setSize(1024, 768);
setVisible(true);
setDefaultCloseOperation(EXIT_ON_CLOSE);
public void addActionListener(Object obj)
try{
JButton button1 = (JButton)obj;
button.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent ae)
String text = "";
input.insert("", 0);
Frame2.getInstance().myGUI();
Frame2.getInstance().repaint();
dispose();
catch(Exception e1)
System.out.println("Exception==> "+e1.toString());
public static void main(String[] args)
Frame1.getInstance().myGUI();
Frame1.getInstance().repaint();
program 2 - 2nd screen
import javax.swing.JFrame;
import javax.swing.JPanel;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.SwingUtilities;
import java.awt.event.*;
import javax.swing.JTextField;
public class Frame2 extends JFrame
static Frame2 frame2;
public JButton BackButton;
public JTextField input;
public static Frame2 getInstance()
if(frame2==null)
frame2 = new Frame2();
return frame2;
public JButton getJButton(String mytext)
JButton button = new JButton();
button.setText(mytext);
button.setBounds(450,450,150,50);
return button;
public void addActionListener(Object obj)
try{
JButton BackButton1 = (JButton)obj;
BackButton.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent ae)
input.setText("");
Frame1.getInstance().myGUI();
Frame1.getInstance().repaint();
dispose();
catch(Exception e2)
System.out.println("Exception==> "+e2.toString());
public void myGUI()
JPanel panel2 = new JPanel();
panel2.setLayout(null);
BackButton = getJButton("2nd Screen");
addActionListener(BackButton);
input = new JTextField(10);
input.setBounds(200,300,100,30);
panel2.add(input);
panel2.add(BackButton);
add(panel2);
setUndecorated(true);
setSize(1024, 768);
setVisible(true);
setDefaultCloseOperation(EXIT_ON_CLOSE);
In this application the status of TextField input remain same means it shows
the earlier input in the textfield wnen I come to earlier or next screen.
what is the solution to clear the TextField input while moving from 1st
scrren to 2nd screen.multiple screens = multiple posts
well done indeed - just another farking cross-poster
[http://www.coderanch.com/t/492998/Swing-AWT-SWT-JFace/java/unable-clear-text-box-Multi#2218566] -
Unable to select fields in Acrobat XI Pro forms tools/editor to calculate
First, in Acrobat XI Pro forms editor when attempting to calculate fields, I am unable to select the fields (click) to calculate. I can only select all or deselect all.
Also, if my simple spreadsheet formula is:
=IF(Value01>0,SUM(Value01*(Value02-Value03)),"")
Is there a straight forward way to translate that formula into a functioning calculating script in Adobe Acrobat XI Pro Forms tools (or FormsCentral)?
Thanks for any input.Regarding the calculation, it can be done with a script. This is a good place to start learning about such scripts in Acrobat:
https://acrobatusers.com/tutorials/how-to-do-not-so-simple-form-calculations -
Unable to Select Fields in Business Content Data Source - 0CO_OM_CCA_9
Hi All,
I have a situation here whereby I need to select certain field in Datasource OCO_OM_CCA_9 .... but I noticed it is all disabled please advise how can I enable them .... this is in development.
Thanks
NathanHi
To select fileds in the datasource OCO_OM_CCA_9 , use the following steps
1. in tcode RSA6 , find OCO_OM_CCA_9 , and click on change datasource.
2. Deselct checkbox of "Hidden" and apply check on "Field Only" for the fileds you want to see .
3. Go to Datasource menu - click Generate
4. go back and actiavate the datasource.
5. then check in RSA3 if fields are coming.
From
Manesh -
Lock in parameter/select-options field
Hi,
How can we block another user from executing report with the same value of parameter/select-option field entered on screen by user?
for example:
Report ZZZ, parameter field sales org = A, run by user 1.
Another user, say B, attempts to run the report by entering the same sales org = A. In these second execution of the report, I need to display error message saying that user A is running the report then report cant be run by user B.
Do i need to put lock object for these?
thanks alots
AliaNo, there is no mechanism to restrict in that way.
but you can create a Z-table with one column (vkorg)
now make a little change in the report..
1.check if any entry of vkorg is there in that z-table.
if not proceed, else error msg.
2.craete an entry of that vkog in that z-table.
3.Normal processing of this report.
4.at end delete that entry of vkorg from z-table.
thus you can achieve mutual exclusion.
cheers.
Message was edited by: Anid -
How can i post the fields in the screen by selecting a record
Hi,
I have a problem in dialog programming.
I need to populate the fields in the screen by selecting a single record.
For example,
Screen consists of 'CARRID, CONNID,FLDATE... fields.
By pressing F4 in CARRID field it will display the contents from database table and display the records. If i select the record LH 0400 ... record then automatically the connid field should fill with the contents of the record i.e., 0400 and similarly the remaining fields.
How can i do this in dialog programming?
I tried with F4IF_INT_table_.. function module. There is a table parameter DYNmapping. But dont know how to use it? Can any body explain me how to use it?
Thanks in advance..
SuvanHi Vinod,
Thanks for your reply. I solved my problem. It is working with the table parameter 'DYNPFLD_MAPPING' in the function module 'F4IF_INT_TABLE_VALUE_REQUEST'.
With your logic we can't decide which record is selected. Because there can be multiple records for a single CARRID.
My question is how to post the entire record into the screen fields at a time? It is possible with the parameter I specified inthe above said function module.
With dictionary reference it will fetch the entire entries from the Check table.
Thanks again for your co-operation.
Suvan.<b></b> -
Default Current year in select option field on selection Screen
Dear Experts,
I want to set current year as default value in fiscal year select-options field on selection screen.
for this, i hv written following code
DATA:VAR_DATE TYPE SY-DATUM.
DATA VAR(4) TYPE C.
VAR_DATE = SY-DATUM.
VAR = VAR_DATE+0(4).
this retrieves current year .
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-000.
SELECT-OPTIONS I11 FOR ANLC-GJAHR DEFAULT VAR TO VAR.. "Fiscal Year
SELECTION-SCREEN END OF BLOCK B1.
Now when i am executing program pop-up is raised describing "Specify the range Limits". Please help.
Regards,
Apoorv Sharma>
Ganga Bhavani R wrote:
> Use below lines.
>
> SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-000.
> SELECT-OPTIONS I11 FOR ANLC-GJAHR DEFAULT SY-DATUM+0(4). "Fiscal Year
> SELECTION-SCREEN END OF BLOCK B1.
Hi, Ganga,
I think it will not working properly that way, Please test the bellow Sample Code.
TABLES: anlc.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-000.
SELECT-OPTIONS i11 FOR anlc-gjahr .
SELECTION-SCREEN END OF BLOCK b1.
INITIALIZATION.
IF i11[] IS INITIAL.
i11-low = sy-datum+0(4).
APPEND i11.
ENDIF.
Thanks and Regards,
Faisal -
How can i used pai in screen 1000 to change the select-options field?
hi,all.
I want used pai to change the select-options field,but it can't works.
the mainly code is:
REPORT ZTEST99.
TABLES :MARA,MAKT,MARC.
SELECTION-SCREEN BEGIN OF BLOCK B0 WITH FRAME TITLE TITLE0 .
select-options:s_matnr for mara-matnr,
s_werks for marc-werks MODIF ID ID1.
SELECTION-SCREEN END OF BLOCK B0.
parameters:p_flag as checkbox.
at selection-screen OUTPUT.
LOOP AT SCREEN.
IF P_FLAG = 'X' .
IF screen-group1 = 'ID1'.
screen-input = '0'.
ELSE.
screen-input = '1'.
ENDIF.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
START-OF-SELECTION.
CALL SCREEN 1000.
when i click p_flag,then i want to change s_werks from OBLIGATORY to no OBLIGATORY.
how can i realized?
Thanks for all.
SunHi ,
change your code like this.
Change in your code:
SELECTION-SCREEN BEGIN OF SCREEN 100.
SELECT-OPTIONS : s_matnr for mara-matnr,
s_werks for marc-werks MODIF ID ID1.
SELECTION-SCREEN END OF SCREEN 100 .
At selection-screen.
if sy-dynnr = '100'.
IF P_FLAG = 'X' .
LOOP AT SCREEN.
IF screen-group1 = 'ID1'.
screen-required = '0'.
ENDIF.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
else.
LOOP AT SCREEN.
IF screen-group1 = 'ID1'.
screen-required = 1.
ENDIF.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
my code :
REPORT Z50871_SELECTOPS_DYNAMIC.
PARAMETERS : CH_EBELN AS CHECKBOX,
CH_VBELN AS CHECKBOX.
DATA: V_EBELN TYPE EKKO-EBELN,
V_VBELN TYPE VBAK-VBELN.
SELECTION-SCREEN BEGIN OF SCREEN 100.
SELECT-OPTIONS : EBELN FOR V_EBELN MODIF ID G1,
VBELN FOR V_VBELN MODIF ID G2.
SELECTION-SCREEN END OF SCREEN 100 .
AT SELECTION-SCREEN OUTPUT.
IF SY-DYNNR = 100.
IF CH_EBELN = 'X' AND
CH_VBELN = ''.
LOOP AT SCREEN.
IF SCREEN-GROUP1 EQ 'G1'.
SCREEN-ACTIVE = '1'.
ELSE.
SCREEN-ACTIVE = '0'.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
ELSEIF CH_VBELN = 'X' AND
CH_EBELN = '' .
LOOP AT SCREEN.
IF SCREEN-GROUP1 EQ 'G2'.
SCREEN-ACTIVE = '1'.
ELSE.
SCREEN-ACTIVE = '0'.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
ELSEIF CH_EBELN = 'X' AND CH_VBELN = 'X'.
LOOP AT SCREEN.
IF SCREEN-GROUP1 EQ 'G1'
OR SCREEN-GROUP1 EQ 'G2' .
SCREEN-ACTIVE = '1'.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
ENDIF.
ENDIF.
AT SELECTION-SCREEN.
IF SY-DYNNR = 1000.
IF CH_EBELN = 'X' OR CH_VBELN = 'X'.
CALL SELECTION-SCREEN 100.
ELSE.
MESSAGE I000(Z50871MSG) WITH 'Please select atleast one checkbox'.
ENDIF.
ENDIF.
regards
Sandeep Reddy -
Select table fields on selection screen
I have a requirement, where I need to select the table fields dynamically from the selection screen and further I should give option to user to save selected fields as variant and display the final report with the selected fields as catalog.
For EX: In the selection screen user have two options, one is to check the select fields option where all fields from KNA1 will display from that user will select few and he can save as variant. After execution the report output should display?
Could you please guide me how to go ahead?
Thanks,
A Raghu.Hi Raghu,
For your requirements, you have to define the all the select-options inyour code but at first display onlya few selected ones. Then you can give a button to the user to select the fields and depending on the selection you can hide/unhide the select-options.
For e.g. you define the select-options on your screeen for all the fields of KNA1. But at first go, display only the customer. Now give a button to the user on the toolbar. When user clicks on the button, give a popup to the user displaying all the fields except customer and allow him to select them. Based on the selection of the user, you can hide/unhide the select-options for the remaining fields.
Also, in this case your select query will be dynamic. The field list and the where clause have to be maintained in a string and then passed to the select statement.
Try the functions: FREE_SELECTION_INIT, FREE_SELECTION_DIALOG and MASS_SEL_FIELDS_ENTERPRISE.
Hope this helps,
Regards,
Himanshu -
Use of selection, inversion & field only tabs in datasource
Hi,
What is the use of the tab
selection, inversion & field only know in customer exit
in datasource.
Also is there any other use of hide tab except unhiding it to reflect in BI system.
Thanks,
Shamkant.Got on own
-
Multiple selections in a field in module screen
Hi all
Can any body tell me how to get the multiple values selection in a field in Dialog screen .
regards
dreeniEasiest way is to create a subscreen and embed this in your dynpro.
report zrich_0006 .
tables: mara.
Custom Selection Screen 1010
selection-screen begin of screen 1010 as subscreen.
selection-screen begin of block b1 with frame title text-001.
parameters: p_rad1 radiobutton group grp1 default 'X',
p_rad2 radiobutton group grp1,
p_rad3 radiobutton group grp1.
select-options: s_matnr for mara-matnr,
s_matkl for mara-matkl,
s_mtart for mara-mtart.
selection-screen end of block b1.
selection-screen end of screen 1010.
start-of-selection.
call screen 100.
*& Module STATUS_0100 OUTPUT
module status_0100 output.
SET PF-STATUS 'xxxxxxxx'.
SET TITLEBAR 'xxx'.
endmodule.
*& Module USER_COMMAND_0100 INPUT
module user_command_0100 input.
endmodule.
Screen screen 100 with a subscreen area called "subscreen_1010"
Screen Flow Logic follows
*process before output.
module status_0100.
call subscreen subscreen_1010 including sy-repid '1010'.
*process after input.
call subscreen subscreen_1010 .
module user_command_0100.
Reward if it helps..
regards,
Omkar. -
How to validate a select-option field on the selection- screen
Hi,
I need to validate a selection-option field in the selection-screen.
Requirement is : i need to read each of customer number one by one and validateCan you please me in achieving this.
Best Regards
Mamatha.Bhi,
chk this sample code.
SELECT-OPTIONS : s_kunnr for kna1-kunnr.
AT SELECTION-SCREEN.
if 'S_KUNNR-HIGH' = "condition
"put your required validation here
endif.
rgds
Anver
Message was edited by:
Anversha s -
How to write in selection screen after the select option field?
Hi
Please help me with this...
i need to write format of date after the select option field in the selection screen.
its like..
date ___________ to ___________ <b>yyyymmdd</b>
points will be awarded..
thanxUse selection-screen comment 1(31) text-005 -> this will give you format option.
See the below sysntax ,you have to use like this
Selection-screen begin of block b2 with frame title text-002.
selection-screen begin of line.
selection-screen comment 1(31) text-004.
parameter: r_1 radiobutton group rad1.
selection-screen end of line.
selection-screen begin of line.
Aging Report
selection-screen comment 1(31) text-005.
parameter: r_2 radiobutton group rad1.
selection-screen comment 40(30) text-003.
parameter: p_expir as checkbox.
selection-screen end of line.
selection-screen begin of line.
Materials with no Expiry Date
selection-screen comment 1(31) text-006.
parameter: r_3 radiobutton group rad1.
selection-screen comment 40(30) text-007.
parameter : p_bin as checkbox ."default 'X'.
selection-screen end of line.
selection-screen end of block b2.
selection-screen end of block b0. -
Dialog programming - How to place a select-option field in a dialog screen
Hi all,
In Dialog Programming, How to place a select-option field in a dialog screen.
Kindly give me some example code...
Thanks,
Jaffer Ali.Shi Ali,
U can add select-options in ur module pool by using SELECTION-SCREEN BEGIN OF SCREEN <scrn> AS SUBSCREEN command.
check this link for reference.....
http://help.sap.com/saphelp_47x200/helpdata/en/e7/deb237b9a9a968e10000009b38f8cf/frameset.htm
Example Code :
DATA : ok_code TYPE sy-ucomm.
SELECTION-SCREEN BEGIN OF SCREEN 1010 AS SUBSCREEN.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: p_rad1 RADIOBUTTON GROUP grp1 DEFAULT 'X',
p_rad2 RADIOBUTTON GROUP grp1,
p_rad3 RADIOBUTTON GROUP grp1.
SELECT-OPTIONS: s_matnr FOR mara-matnr,
s_matkl FOR mara-matkl,
s_mtart FOR mara-mtart.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN END OF SCREEN 1010.
START-OF-SELECTION.
CALL SCREEN 100.
*& Module STATUS_0100 OUTPUT
MODULE status_0100 OUTPUT.
SET PF-STATUS 'xxxxxxxx'.
SET TITLEBAR 'xxx'.
CALL SCREEN 1010 .
ENDMODULE. "status_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
text
MODULE user_command_0100 INPUT.
CASE ok_code.
WHEN 'EXIT'.
LEAVE PROGRAM.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
SCREEN 100 ****************
PROCESS BEFORE OUTPUT.
MODULE status_0100.
CALL SUBSCREEN sub_1010 INCLUDING sy-repid '1010'.
<b>***** where sub_1010 is name of sub-screen area</b>
PROCESS AFTER INPUT.
CALL SUBSCREEN sub_1010.
MODULE user_command_0100.
<<< REMOVED BY MODERATOR >>>
Harimanjesh AN
Edited by: Marcelo Ramos on Dec 17, 2008 7:54 PM -
My apps store screen seems to be frozen on Newstand. I am unable to move from this section. I an unable to select any other alternatives eg; when I select updates nothing happens. When I select select categories nothing happens.
Try closing the App Store app completely and see if it works properly when you re-open it : from the home screen (i.e. not with the App Store 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the App Store app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
If that doesn't work then you could try a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.
Maybe you are looking for
-
How to get End System error code?
I am trying to access IBM MQ queue from my proxy service which is invoking a business service using OSB Service Callout Action. Suppose the queue that I am trying to access is not available, OSB is always returning "OSB Service Callout action receive
-
How to save it by Adobe Reader
After I edited by Acrobat Pro XI, then I open it by Adobe Reader. However, after I fill all the blank that I would like to save it as a file. But I could print it only, but no save it. How can I save it after I fill all the blank by Adobe Reader? Ple
-
Hi, We are using SAP Business one 2007 B PL 14. While we are trying to upgrade client we are getting "Error Accessing Parser Dll" error Regards Trupti Mahurkar
-
How to Display the ColumnName for the Text of any Master Data Object in BEx
Hi Experts, In Bex Analyzer While Displaying the Key and text of any Master data object it shows column name for master data key but not for the text, here client requirement is he wants to see the Text column name as Description for any master data
-
Simular panel de coche (muy muy facil)
Hola estoy empezando a utilizar labview y para ello voy a diseñar un simulador de un panel de coche (algo muy muy sencillo). Entonces el diagrama de bloques consta de lo siguiente: acelerador->marcha->velocidad(velocímetro) De esta manera la velocida