Debugging output not appearing
I recently absorbed the task of supporting our CF MX 6.1
server. We have an app that we need to debug - the developer asked
us to add her IP address to the "Debugging IP Addresses" list. I
turned on debugging and added her IP address to the list, but
debugging output is not displaying; this is true even when you run
the CF app on the server running CF. The steps I took are as
follows:
- In CF Administrator, checked Enable Robust Exception
Information and Enable Debugging. Submitted changes and got msg
Server has been updated successfully.
- Added developer's IP address to the list of debugging IP
addresses. She couldn't see the debug output. Neither could I.
- Restarted CF server. No change.
- Rebooted server box. No change.
- Tried removing all IP addresses from list. Debugging input
then shows for everyone.
One thing of note regarding the setup of the server is that
IE has "Internet Explorer Enhanced Security Configuration" enabled
- don't know if this would have any impact. I'd also tried adding
the local IP address of my machine (I'm on the same LAN as the
server), and I got no debug info on my machine. Our whole LAN,
including the CF Server's box, is behind an ISA server, but of
course that wouldn't have any impact on the local server, and I
don't *think* it would affect machines on the LAN, but I'm not
certain of this.
Showing the debug info to everyone is not an option, so we
need to get the IP address filtering working. I've looked at the
Windows event logs, the CF logs, and these forums, and can't find
any helpful info.
Server config:
Windows Server 2003 (Standard Ed.) SP1
ColdFusion MX 6.1 (6,1,0,63958) Standard
Any suggestions would be very much appreciated.
I figured out the problem - it turns out that even our LAN
traffic goes through our ISA server, and the ISA server passes its
IP address to IIS, so CFMX is seeing all traffic as coming from the
same IP address - the LAN address of the ISA server. Adding that
turned it on for everyone, so it seems that the solution lies in
changing the config of the ISA server to pass through IP addresses.
See post by "Smiley Dave" titled "Debug IP Addresses" for a little
more info, though there's no info in that thread that he ever
actually got it working.
Similar Messages
-
Reg : ALV Grid Refresh - Output not appearing
Hi All ,
Am calling a screen 100 at 3 different places.
Though i use refresh_table_display , The value in the output table, say i_final changes, but while displaying the output , the whole screen is blank , even the container is not appearing in the output .
Can you please help me with your inputs .
Regards,
Chitrayes it is good ...see the example...for your requirement..
REPORT yztest .
TYPE-POOLS: slis.
Tables
TABLES: mara.
TYPES: BEGIN OF ty_name,
name TYPE char10,
age TYPE i,
END OF ty_name.
TYPES: BEGIN OF ty_marks,
sub1 TYPE i,
sub2 TYPE i,
total TYPE i,
END OF ty_marks.
TYPES: BEGIN OF ty_phone,
phnum TYPE char10,
END OF ty_phone.
TYPES: BEGIN OF ty_addr,
address TYPE char20,
END OF ty_addr .
Output internal table
DATA: itab TYPE TABLE OF ty_name,
wa TYPE ty_name,
itab1 TYPE TABLE OF ty_marks,
wa1 TYPE ty_marks,
itab2 TYPE TABLE OF ty_phone,
wa2 TYPE ty_phone,
itab3 TYPE TABLE OF ty_addr,
wa3 TYPE ty_addr.
ALV Grid
DATA: r_grid TYPE REF TO cl_gui_alv_grid,
r_grid1 TYPE REF TO cl_gui_alv_grid,
r_grid2 TYPE REF TO cl_gui_alv_grid,
r_grid3 TYPE REF TO cl_gui_alv_grid,
g_dock TYPE REF TO cl_gui_docking_container,
g_dock1 TYPE REF TO cl_gui_docking_container,
g_dock2 TYPE REF TO cl_gui_docking_container,
g_dock3 TYPE REF TO cl_gui_docking_container,
g_dock4 TYPE REF TO cl_gui_docking_container,
it_fieldcat TYPE lvc_t_fcat,
it_fieldcat1 TYPE lvc_t_fcat,
it_fieldcat2 TYPE lvc_t_fcat,
it_fieldcat3 TYPE lvc_t_fcat,
wa_fieldcat TYPE lvc_s_fcat.
DATA picture TYPE REF TO cl_gui_picture.
DATA url(255).
CLEAR url.
DATA init.
START-OF-SELECTION.
wa-name = 'test01'.
wa-age = '1'.
APPEND wa TO itab.
wa-name = 'test02'.
wa-age = '2'.
APPEND wa TO itab.
wa-name = 'test03'.
wa-age = '3'.
APPEND wa TO itab.
wa1-sub1 = '11'.
wa1-sub2 = '22'.
wa1-total = wa1-sub1 + wa1-sub2.
APPEND wa1 TO itab1.
wa1-sub1 = '22'.
wa1-sub2 = '33'.
wa1-total = wa1-sub1 + wa1-sub2.
APPEND wa1 TO itab1.
wa2-phnum = '99999999999'.
APPEND wa2 TO itab2.
wa2-phnum = '888888888888'.
APPEND wa2 TO itab2.
wa2-phnum = '777777777777'.
APPEND wa2 TO itab2.
wa3-address = 'HItech City'.
APPEND wa3 TO itab3.
wa3-address = 'Secunderabad'.
APPEND wa3 TO itab3.
wa3-address = 'Hyderabad'.
APPEND wa3 TO itab3.
PERFORM display_image.
CALL SCREEN 100.
*& Module STATUS_0100 OUTPUT
text
MODULE status_0100 OUTPUT.
SET PF-STATUS 'LISTOUT1'.
SET TITLEBAR 'LIST1'.
wa_fieldcat-fieldname = 'NAME'.
wa_fieldcat-seltext = 'NAME OF THE STUDENT'.
wa_fieldcat-coltext = 'NAME OF THE STUDENT'.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-fieldname = 'AGE'.
wa_fieldcat-seltext = 'AGE OF THE STUDENT'.
wa_fieldcat-coltext = 'AGE OF THE STUDENT'.
APPEND wa_fieldcat TO it_fieldcat.
wa_fieldcat-fieldname = 'SUB1'.
wa_fieldcat-seltext = 'SUBJECT1'.
wa_fieldcat-coltext = 'SUBJECT1'.
APPEND wa_fieldcat TO it_fieldcat1.
wa_fieldcat-fieldname = 'SUB2'.
wa_fieldcat-seltext = 'SUBJECT2'.
wa_fieldcat-coltext = 'SUBJECT2'.
APPEND wa_fieldcat TO it_fieldcat1.
wa_fieldcat-fieldname = 'TOTAL'.
wa_fieldcat-seltext = 'TOTAL'.
wa_fieldcat-coltext = 'TOTAL'.
APPEND wa_fieldcat TO it_fieldcat1.
wa_fieldcat-fieldname = 'PHNUM'.
wa_fieldcat-seltext = 'PHONE NO'.
wa_fieldcat-coltext = 'PHONE NO'.
APPEND wa_fieldcat TO it_fieldcat2.
wa_fieldcat-fieldname = 'ADDRESS'.
wa_fieldcat-seltext = 'ADDRESS'.
wa_fieldcat-coltext = 'ADDRESS'.
APPEND wa_fieldcat TO it_fieldcat3.
IF g_dock IS INITIAL.
CREATE OBJECT g_dock
EXPORTING
repid = sy-repid
dynnr = sy-dynnr
side = g_dock->dock_at_left
extension = 300.
CREATE OBJECT r_grid
EXPORTING
i_parent = g_dock.
ENDIF.
IF g_dock1 IS INITIAL.
CREATE OBJECT g_dock1
EXPORTING
repid = sy-repid
dynnr = sy-dynnr
side = g_dock1->dock_at_right
extension = 300.
CREATE OBJECT r_grid1
EXPORTING
i_parent = g_dock1.
ENDIF.
IF g_dock2 IS INITIAL.
CREATE OBJECT g_dock2
EXPORTING
repid = sy-repid
dynnr = sy-dynnr
side = g_dock2->dock_at_top
extension = 100.
CREATE OBJECT r_grid2
EXPORTING
i_parent = g_dock2.
IF g_dock3 IS INITIAL.
CREATE OBJECT g_dock3
EXPORTING
repid = sy-repid
dynnr = sy-dynnr
side = g_dock3->dock_at_top
extension = 100.
CREATE OBJECT r_grid3
EXPORTING
i_parent = g_dock3.
ENDIF.
IF NOT itab[] IS INITIAL.
CALL METHOD r_grid->set_table_for_first_display
CHANGING
it_outtab = itab
it_fieldcatalog = it_fieldcat.
ENDIF.
IF NOT itab1[] IS INITIAL.
CALL METHOD r_grid1->set_table_for_first_display
CHANGING
it_outtab = itab1
it_fieldcatalog = it_fieldcat1.
ENDIF.
IF NOT itab2[] IS INITIAL.
CALL METHOD r_grid2->set_table_for_first_display
CHANGING
it_outtab = itab2
it_fieldcatalog = it_fieldcat2.
ENDIF.
IF NOT itab3[] IS INITIAL.
CALL METHOD r_grid3->set_table_for_first_display
CHANGING
it_outtab = itab3
it_fieldcatalog = it_fieldcat3.
ENDIF.
if g_dock4 is initial.
CREATE OBJECT g_dock4
EXPORTING
repid = sy-repid
dynnr = sy-dynnr
side = g_dock4->dock_at_bottom
extension = 100.
CREATE OBJECT picture
EXPORTING parent = g_dock4.
CALL METHOD picture->load_picture_from_url
EXPORTING
url = url.
init = 'X'.
endif.
ENDIF.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
text
MODULE user_command_0100 INPUT.
CASE sy-ucomm.
WHEN 'BACK'.
LEAVE PROGRAM.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Form display_image
FORM display_image .
DATA query_table LIKE w3query OCCURS 1 WITH HEADER LINE.
DATA html_table LIKE w3html OCCURS 1.
DATA return_code LIKE w3param-ret_code.
DATA content_type LIKE w3param-cont_type.
DATA content_length LIKE w3param-cont_len.
DATA pic_data LIKE w3mime OCCURS 0.
DATA pic_size TYPE i.
REFRESH query_table.
query_table-name = '_OBJECT_ID'.
query_table-value = 'ENJOYSAP_LOGO'.
APPEND query_table.
CALL FUNCTION 'WWW_GET_MIME_OBJECT'
TABLES
query_string = query_table
html = html_table
mime = pic_data
CHANGING
return_code = return_code
content_type = content_type
content_length = content_length
EXCEPTIONS
object_not_found = 1
parameter_not_found = 2
OTHERS = 3.
IF sy-subrc = 0.
pic_size = content_length.
ENDIF.
CALL FUNCTION 'DP_CREATE_URL'
EXPORTING
type = 'image'
subtype = cndp_sap_tab_unknown
size = pic_size
lifetime = cndp_lifetime_transaction
TABLES
data = pic_data
CHANGING
url = url
EXCEPTIONS
OTHERS = 1.
ENDFORM. " display_image
*& Module EXIT INPUT
text
MODULE exit INPUT.
CALL METHOD g_dock->free.
CALL METHOD g_dock1->free.
CALL METHOD g_dock2->free.
CALL METHOD g_dock3->free.
ENDMODULE. " EXIT INPUT -
Spool output not appearing on one page
Hello Experts,
When program runs in foreground, I am getting correct output i.e. ALV blocks are displayed on one page only.
But when running same program in background, I got output in spool and when looked at spool output that time I realized that the ALV blocks are getting printed on new page.
So instead of displaying 4 pages it is displaying 8 pages in spool.
I ran the same report on quality in FOreground as well as background and output appears to be correct.
But not sure why it is giving distorted (printed on new pages) in SPOOL output.
Appreciate your help.
Thank you.
SaurabhHI Saurabh,
Check the Layout which you are passing which scheduling the job. It seems to be a different layout as compared to other system & hence the issue.
Thanks,
Best regards,
Prashant -
Output Not Appearing in Exported .TXT File
Hi
I am using Crystal Reports XI R2, using Universe as a Data source, and Business Objects XI Release 2.Oracle 10G as a Datasource with Universe.
I am getting Correct Data, in Crystal Report Viewer, But if i am making attempt to Export the Data to a .TXT File, it is not displaying tha Data as in Crystal Report Viewer.
1) In my Case we are Using Page Number Reset Option, which is working fine in Crystal Reports Viewer, but in .TXT file output, Page Number is not reseted.
2) We are Using Group Headers which has Text Objects and Formula Field, the Group Header Displays for Each Group in Viewer, but same is not displayed in .TXT File output.
3) For Very First Group, In Viewer it Displaying Page No as 1,1,2,3.....(which is not Correct, it should be 1,2,3....), but in .TXT file Output, it Displays right One as 1,2,3......
But If iam Exporting the Report to an PDF File, it Displays Eactly as what is in viewer.
So Kindly Help me on this Issue.
Thanks
M.Mukesh
Edited by: m.mukesh on Dec 9, 2010 9:49 PM
Edited by: m.mukesh on Dec 9, 2010 9:50 PMMoved to BOE Admin forum
-
Output not appearing correctly in ALV
Hello,
I have written an ALV program to display fields of the Consignment Withdrawals table (RKWA) along with the serial number from the serial numbers table (OBJK).
When I display the ALV, the fields I have retrieved using the select are not getting displayed, but only one text field (TEXT) that I populated in the program is getting displayed.
Below attached is my code.
TABLES:
rkwa,
ser03,
objk.
TYPE-POOLS: slis.
CONSTANTS:
c_save(1) TYPE c VALUE 'A',
c_status_ninv LIKE rkwa-status VALUE '00',
c_status_inv LIKE rkwa-status VALUE '01',
c_sobkz_cons LIKE mseg-sobkz VALUE 'K',
c_sobkz_pipe LIKE mseg-sobkz VALUE 'P',
c_shkzg_credit LIKE bseg-shkzg VALUE 'H',
c_shkzg_debit LIKE bseg-shkzg VALUE 'S',
RANGES: r_status FOR rkwa-status OCCURS 1.
DATA: ce_fieldcat TYPE TABLE OF slis_fieldcat_alv,
wa_fcat LIKE LINE OF ce_fieldcat.
Layout options
DATA: is_layout TYPE slis_layout_alv.
Grid Title
DATA: ce_title TYPE lvc_title,
No. of records
ce_lines(6) TYPE c.
Program
DATA: ce_repid TYPE sy-repid.
DATA: BEGIN OF itab OCCURS 1,
bukrs TYPE rkwa-bukrs,
lifnr TYPE rkwa-lifnr,
mblnr TYPE rkwa-mblnr,
mjahr TYPE rkwa-mjahr,
zeile TYPE rkwa-zeile,
bldat TYPE rkwa-bldat,
werks TYPE rkwa-werks,
matnr TYPE rkwa-matnr,
wrbtr TYPE rkwa-wrbtr,
bstmg TYPE rkwa-bstmg,
belnr TYPE rkwa-belnr,
buzei TYPE rkwa-buzei,
bstme TYPE rkwa-bstme,
gjahr TYPE rkwa-gjahr,
obknr TYPE ser03-obknr,
sobkz TYPE rkwa-sobkz,
navnw TYPE rkwa-navnw,
text(15) TYPE c,
sernr TYPE objk-sernr,
bwaer TYPE rkwa-bwaer,
shkzg TYPE rkwa-shkzg,
status TYPE rkwa-status,
END OF itab.
SELECTION-SCREEN BEGIN OF BLOCK selection WITH FRAME
TITLE text-001.
SELECT-OPTIONS:
so_bukrs FOR rkwa-bukrs OBLIGATORY MEMORY ID buk,
so_lifnr FOR rkwa-lifnr MATCHCODE OBJECT kred,
so_werks FOR rkwa-werks,
so_matnr FOR rkwa-matnr MATCHCODE OBJECT mat1,
so_bldat FOR rkwa-bldat,
so_budat FOR rkwa-budat,
so_mblnr FOR rkwa-mblnr.
SELECTION-SCREEN END OF BLOCK selection.
SELECTION-SCREEN BEGIN OF BLOCK display WITH FRAME
TITLE text-002.
PARAMETERS:
pa_xninv LIKE rm08rep0-kons_xninv DEFAULT 'X' MODIF ID k,
pa_xinv LIKE rm08rep0-kons_xinv DEFAULT space MODIF ID k.
SELECT-OPTIONS:
so_belnr FOR rkwa-belnr MODIF ID k.
SELECTION-SCREEN END OF BLOCK display.
AT SELECTION-SCREEN.
IF ( ( ( pa_xinv IS INITIAL ) AND
( NOT so_belnr IS INITIAL ) )
OR ( pa_xinv IS INITIAL ) AND ( pa_xninv IS INITIAL ) ).
MESSAGE ID 'ZFI' TYPE 'W' NUMBER 018.
ENDIF.
START-OF-SELECTION.
ce_repid = sy-repid.
CLEAR r_status[].
IF ( pa_xninv = 'X' ). "Not settled withdrawals
r_status-sign = 'I'.
r_status-option = 'EQ'.
r_status-low = c_status_ninv.
r_status-high = space.
APPEND r_status.
ENDIF.
IF ( pa_xinv = 'X' ). "Settled withdrawals
r_status-sign = 'I'.
r_status-option = 'EQ'.
r_status-low = c_status_inv.
r_status-high = space.
APPEND r_status.
ENDIF.
CLEAR itab.
SELECT rbukrs rlifnr rmblnr rmjahr rzeile rbldat r~werks
rmatnr rwrbtr rbstmg rbelnr rbuzei rbstme r~gjahr
sobknr rsobkz rnavnw rbwaer rshkzg rstatus
INTO CORRESPONDING FIELDS OF TABLE itab
FROM rkwa AS r INNER JOIN ser03 AS s
ON rmblnr = smblnr
AND rmjahr = smjahr
AND rzeile = szeile
WHERE r~bukrs IN so_bukrs
AND r~lifnr IN so_lifnr
AND r~werks IN so_werks
AND r~matnr IN so_matnr
AND r~bldat IN so_bldat
AND r~budat IN so_budat
AND r~mblnr IN so_mblnr
AND r~status IN r_status
AND r~belnr IN so_belnr.
LOOP AT itab.
CLEAR itab-text.
SELECT SINGLE sernr INTO itab-sernr
FROM objk
WHERE obknr = itab-obknr.
IF itab-status = c_status_inv.
itab-text = text-010.
ELSEIF itab-status = c_status_ninv.
itab-text = text-012.
ENDIF.
MODIFY itab.
CLEAR itab-text.
ENDLOOP.
END-OF-SELECTION.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = sy-repid
i_internal_tabname = 'ITAB'
i_inclname = sy-repid
CHANGING
ct_fieldcat = ce_fieldcat
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
ENDIF.
LOOP AT ce_fieldcat INTO wa_fcat.
CASE wa_fcat-fieldname.
Unit of measurement for settlement
WHEN 'BSTME'.
wa_fcat-seltext_l = 'Unit'.
wa_fcat-seltext_m = 'Unit'.
wa_fcat-seltext_s = 'Unit'.
wa_fcat-reptext_ddic = 'Unit'.
Quantity withdrawn for settlement
WHEN 'BSTMG'.
wa_fcat-seltext_l = 'Qty'.
wa_fcat-seltext_m = 'Qty'.
wa_fcat-seltext_s = 'Qty'.
wa_fcat-reptext_ddic = 'Qty'.
Company code
WHEN 'BUKRS'.
wa_fcat-emphasize = 'X'.
Vendor
WHEN 'LIFNR'.
wa_fcat-emphasize = 'X'.
Settled/Not settled
WHEN 'TEXT'.
wa_fcat-seltext_l = 'Information text'
wa_fcat-seltext_m = 'Information text'.
wa_fcat-seltext_s = 'Information text'.
wa_fcat-reptext_ddic = 'Information text'.
Amount
WHEN 'WRBTR'.
wa_fcat-seltext_l = 'Amount'.
wa_fcat-seltext_m = 'Amount'.
wa_fcat-seltext_s = 'Amount'.
wa_fcat-reptext_ddic = 'Amount'.
Serial number
WHEN 'SERNR'.
wa_fcat-seltext_l = 'SerNr'.
wa_fcat-seltext_m = 'SerNr'.
wa_fcat-seltext_s = 'SerNr'.
wa_fcat-reptext_ddic = 'SerNr'.
Document number
WHEN 'BELNR'.
wa_fcat-hotspot = 'X'.
Material number
WHEN 'MBLNR'.
wa_fcat-hotspot = 'X'.
ENDCASE.
MODIFY ce_fieldcat FROM wa_fcat.
ENDLOOP.
DESCRIBE TABLE itab LINES ce_lines.
CONCATENATE 'Selected entries:' ce_lines
INTO ce_title SEPARATED BY space.
CONSTANTS:
c_user_command TYPE slis_formname VALUE 'USER_COMMAND'.
is_layout-colwidth_optimize = 'X'.
is_layout-zebra = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_grid_title = ce_title
is_layout = is_layout
i_callback_program = ce_repid
i_callback_user_command = c_user_command
it_fieldcat = ce_fieldcat
i_save = c_save
TABLES
t_outtab = itab.
Please let me know if there is any problem in the above code and why it is just displaying the field TEXT in the ALV.
Thanks,
Rugmani.Hi,
this will help u,
change TYPE to LIKE in below declaration
bukrs TYPE rkwa-bukrs,
lifnr TYPE rkwa-lifnr,
mblnr TYPE rkwa-mblnr,
mjahr TYPE rkwa-mjahr,
zeile TYPE rkwa-zeile,
bldat TYPE rkwa-bldat,
werks TYPE rkwa-werks,
matnr TYPE rkwa-matnr,
wrbtr TYPE rkwa-wrbtr,
bstmg TYPE rkwa-bstmg,
belnr TYPE rkwa-belnr,
buzei TYPE rkwa-buzei,
bstme TYPE rkwa-bstme,
gjahr TYPE rkwa-gjahr,
obknr TYPE ser03-obknr,
sobkz TYPE rkwa-sobkz,
navnw TYPE rkwa-navnw,
text(15) TYPE c,
sernr TYPE objk-sernr,
bwaer TYPE rkwa-bwaer,
shkzg TYPE rkwa-shkzg,
status TYPE rkwa-status, -
Output not appearing when using SwingWorker?
Hi guys,
I'm desperate here. Any help would be great.
I'm using SwingWorker to append info into a Text Area, but when I run the code, nothing happens in the TextArea. Here's the code
public class RLGUIFrame extends javax.swing.JFrame implements ActionListener{
private final GridBagConstraints constraints;
JTextArea movementText;
private final Border border =
BorderFactory.createLoweredBevelBorder();
private final JButton startButton, stopButton;
private RobotTask robTask;
public static final int GRID_SIZE=10;
public static final int NUMBER_OF_TIMES=1000;
private JTextArea makeText() {
JTextArea t = new JTextArea();
t.setEditable(false);
t.setAlignmentX(RIGHT_ALIGNMENT);
t.setBorder(border);
getContentPane().add(t, constraints);
return t;
private JButton makeButton(String caption) {
JButton b = new JButton(caption);
b.setActionCommand(caption);
b.addActionListener(this);
getContentPane().add(b, constraints);
return b;
public RLGUIFrame() {
super("RL");
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
//Make text boxes
getContentPane().setLayout(new GridBagLayout());
constraints = new GridBagConstraints();
constraints.insets = new Insets(3, 10, 3, 10);
movementText = makeText();
//Make buttons
startButton = makeButton("Start");
stopButton = makeButton("Stop");
stopButton.setEnabled(false);
//Display the window.
pack();
setVisible(true);
private class LocReport{
private Location loc;
private double val, rand;
private boolean KS;
LocReport(Location L, double value, boolean KillSpot, double random){
this.loc = L;
this.val = value;
this.KS = KillSpot;
this.rand = random;
private class RobotTask extends SwingWorker<Void, LocReport> {
@Override
protected Void doInBackground() {
Grid grid = new Grid( GRID_SIZE );
Location startPosition = grid.getLoc( 8, 8 );
Robot jerry = new Robot( startPosition );
Random rand = new Random();
grid.fillGrid();
//EastWestSentry ews = new EastWestSentry( grid.getLoc(5, 5));
grid.getLoc( 3 , 3 ).setValue( 1.0 );
grid.getLoc( 7 , 7 ).setValue( 0.0 );
for( int i = 0; i < GRID_SIZE; i++){
grid.getLoc( i, 4 ).isKillSpot = true;
grid.getLoc(4, 5).isWindy = true;
grid.getLoc(7, 5).isKillSpot = true;
grid.getLoc( 6, 4 ).isKillSpot = false;
for( int i=0; i < NUMBER_OF_TIMES; i++ ){
while ( jerry.getLocation() != grid.getLoc( 3 , 3 ) ){
Location L = jerry.getLocation();
double value = L.value;
double random = rand.nextDouble();
boolean isKS = L.KillSpot();
publish( new LocReport(L,value,isKS,random) );
if(jerry.getLocation().isWindy == true)
jerry.move( grid.getLoc(7, 5) );
if( jerry.getLocation().hasSentry )
jerry.getLocation().isKillSpot = true;
if(jerry.getLocation().isKillSpot == true){
if( rand.nextDouble() > 0.5 ){
System.out.printf("Lucky this time. This killspot didn't kill me.\n");
}else{
grid.getLoc(jerry.getXCoord(), jerry.getYCoord()).setValue(-1);
jerry.regenerate( startPosition );
if(rand.nextDouble()>0.8){
System.out.printf("I'm going exploring!\n");
jerry.exploratoryMove();
else{
//ews.patrol();
jerry.move();
if( jerry.getMyPreviousLocation().isKillSpot &&
jerry.getMyPreviousLocation().getValue() > 0.0 ){
jerry.getMyPreviousLocation().setValue(-1);
return null;
protected void process(List<LocReport> locs) {
LocReport location = locs.get( locs.size() - 1);
movementText.append("========================\n");
movementText.append("Robot is at location : " + location.loc.getXCoord() +
", " + location.loc.getYCoord() + "\n");
movementText.append("It's value is : " + location.val + "\n");
public void actionPerformed(ActionEvent e) {
if ("Start" == e.getActionCommand()) {
startButton.setEnabled(false);
stopButton.setEnabled(true);
(robTask = new RobotTask()).execute();
} else if ("Stop" == e.getActionCommand()) {
startButton.setEnabled(true);
stopButton.setEnabled(false);
robTask.cancel(true);
robTask = null;
* @param args the command line arguments
public static void main(String args[]) {
SwingUtilities.invokeLater(new Runnable() {
public void run() {
new RLGUIFrame();
}Edited by: zimmerPlease on Mar 23, 2010 3:58 PMYou're adding both components with the same GridBagConstraints without setting any of its attributes. Follow the link to the Swing tutorial efrom the topic listing page for this forum and click through to the Layouts section where you can learn how to use GridBagLayout and GridBagConstraints properly.
As an aside, there is no need to extend JFrame to create a GUI that has to show a JFrame. Favor composition over inheritance. And in this case, it leads to add(...) coode being all over the place where it can't be easily found.
db -
Text from text module is not appearing in smartform output
Hi Experts,
We are using text modules in one of our smartform to print the sender text . The name of this text module is being dynamically determined during the execution and is coming correctly but still the the text inside the text module is not appearing in the output. We checked one more similar form which is working on the similar logic but calling a different text module , there it is working perfectly. I have tried all the possibilties like changing the window size, changing the fonts and other parameters of the text module but still its not appearing . This seems to be something unusual as in both the smartforms(one with text appearing from module and one without the text) the logic is exactly similar for getting the text module name. The name is getting determined in both the cases correctly and the text modules are also maintained in same manner for both these forms but text is appearing on one and not on other.
Kindly help if any one of you have also faced similar issue.
RegardsHi Priyank,
There could be various reasons....
Wrong language for example
An easy way to prove this is, put the text direct into the smartforms and see, if it pops up immediately.
If so, you have to really debug this spot and see if the pased name is correct. (Copy paste it in the debugger, to be really sure, there could be a space in fornt or in the end...)
If that doesn't help, you have to share more details. Your question is not that very specific. You know
~Florian -
Output type is not appearing in ME22N
Hi,
I have created some POs through sales order.i.e created a sales order and taken the PR from that.
Using ME59N, I have converted the PR to PO. The PO will have some output types attached (in the unprocesssed status).
The Output types (in the MESSAGES) are visible in ME23N. When I look into the PO in change mode ME22N, the output types are not appearing.... this is not the case with all the POs. Happening only for few POs.
Could you please suggest.
Ramana Malladi.Hello,
Review your condition record values against the PO's that don't have an output type.
Could be something like purchasing group, material group, etc.
Regards
Waza -
Hi Experts,
When I check the billing document (Go to>Header>Output) there are 3 output types. After executing VF02, an output type is added (EDI). Why does this particular output type (Z***) not appear in VF03?
- What are the related configurations for this?
- Is this a possible ABAP issue? To my knowledge, custom programs usually do not result to this kind of behavior.
Thanks in advanced,
JackJack Rockefeller wrote:
I'm not a functional consultant but an ABAP consultant.
Ah, OK, that explains it. Jack, I'm sorry but it's not quite feasible to explain the whole output determination configuraton in a discussion post. Here is a wiki page if you have some time for reading. It's not very thorough but you could google for more. But it would be more efficient to just ask an SD consultant.
Also in VF02 look at the Output Determination analysis (it's somewhere in the menu in the Output screen) and see if it makes any sense to you. -
Output type (TRS0) is NOT appearing in NACE
Hi Experts,
when i am doing config for order integration output type (TRS0) is NOT appearing in NACE for V1.
business function LOG_TM_ORD_INT is active.
pl suggest.make sure you have a condition record for that output type
-
Acknowledment No not appearing in FORM16 Output
Hi,
I am generating FORM 16 (TCode : PC00_M40_F16) and acknowledgement no is not appearing even though the data is maintained
in PE03 by functional consultant. When i debugged the program i found in Include PCF16IN7 i came across
RP-REF-C4-I1.
RP-REF-C4-I1-O.
RP-IMP-C4-I1.
After the above step ,sy-subrc = 4 and below if condition is not working
IF RP_IMP_I1_SUBRC = 0.
Therefore ACK_TAB is getting refreshed where acknowledgement details were there.
The definition of RP-IMP-C4-I1 was maintained in PUMAPIN7. What is the meaning of RP-IMP-C4-I1? Please guide.
Regards
K SrinHi Srinivas,
Check the related SAP NOTES.
Regards,
Sreedhar. -
Buttons not appearing clearly upon output
I have created menu buttons (with highlight) that in turn link to the relevant movie file.
When outputted to DVD these buttons appear blurry and unclear.
Why are the buttons not appearing in a crisp, clean state when I have outputted them?Which version of DVD SP are you using? Are you
making these over video menus? What size and color
of fonts/background? They can all play into what is
happening, usually 20pt + sans serif works best, but
the text in DVD SP can often leave things to be
desired from time to time - where are you previewing
the buttons?
Thanks for your reply.
The vesrion Im using is DV Studio Pro 3. The up state color of the buttons are black and over is red. The font size is 13pt Arial Black.
I have outputted the DVD itself, so I view it through TV.
Am I on the right track?
Thanks again. -
The option "Build-in Output" does not appear under my Sound preferences
The sound stopped coming out of my built in speakers. The sound does come through headphonse. The option "Built-in Output" does not appear under my Sound preferences. How can I restore the Built-in Output option under my Sound preferences. Currently the only option that displays is "Digital Out".
Please stop sticking things in your audio ports. you can very easily damage the switch. There is a simple procedure that usually will switch your mac back to internal speakers.
1. open the Audio MID setup app in your utilities folder.
2. Select 'built in output'
3. try the 'source' pull down menu. probably it will read 'digital out' with no other options.
4. control click the 'built in output' option on the left and select 'configure speakers' from the pull down menu.
5. a drop down window will open. Make sure 'Stereo' is selected and click 'done'
6. The Source pulldown menu should now read 'internal speakers'
7. Close the Audio MIDI setup app and get back to work -
Font not appearing on PDF Output
Hi,
We are creating a XSL-FO report in Oracle Applications R12 which uses a special font. I installed the font using XML Publisher Administrator and I can see the font when I click on Preview on the template. But when the report is run from Applications, the same font does not appear. I will really apreciate if anyone can provide a solution to me for this.
Thanks
Regards,
AbhishekHi Abhishek
When you say XSLFO template do you mean an RTF template or an XSLFO template?
Where are you previewing the template successfully and to what frmat?
Regards
Tim
http://blogs.oracle.com/xmlpublisher -
Problem - Column title not appearing in excel sheet
Hi Gurus,
I am working on a report where I need to add two fields in the output ( Excel format). I have included the fields in the output structure.While debugging my final internal table has both the new headers and their value.But both the heading and data are not appearing in the output because the contents in the internal table are converted to XML and it is converted to excel.Any suggestions to find the locus where it has gone wrong.Hi,
How come the internal table values are gettin converted to XML ?? ...Are you doing it...
Any way.. use the function module GUI_DOWNLOAD.......
Make sure you transfer the contents of the internal table which you want to transfer to another internal table, in which the fields should be of type STRING or CHAR.
Let me know if its workin.
Regards.
Maybe you are looking for
-
Wifi no longer working on Iphone 6
wifi no longer working on Iphone 6
-
My ID is from China but I want to use in America because I'm living there
Please I want to use in america because I have to buy many movies in there but in China there is no movies or TV shows. so please baging you... (I'm from Korea move to China and move to america) If you say OK I will send you my ID.
-
How to run a test in interactive mode?
If I want to run a test in interactive mode, how do I set it up? For vcsi, there is a compile time option "-debug" and then in run time, you could execute "./simv -gui". Do you have such flows available?
-
Dear All, Do you know how to use workflow in Release Strategy? I have used the standard workflow (1) in order when every document is released an e-mail to be sent to the next releaser. I maintained also the users at the "workflow". Can you please spe
-
I was wondering if there was a way to change the settings so it shows a weeks worth of upcoming events, and not just todays events? That would be much easier than opening the actual iCal each time I want to see what I'm doing for that week.