ALV list with empty data - What could have gone wrong?
Dear experts,
I'm currently working on some codes to display data (the tables involved really do contain data), but when the codes are executed, the ALV list does not contain any data in it (only the column headers are fine).
What could have gone wrong? I've been staring at the codes for hours now. Please help. Appreciate any help at all.
Displaying ALV data with REUSE_ALV_LIST_DISPLAY:
form display_alv_data .
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
* I_INTERFACE_CHECK = ' '
* I_BYPASSING_BUFFER =
* I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = w_prog
* I_CALLBACK_PF_STATUS_SET = ' '
* I_CALLBACK_USER_COMMAND = ' '
* I_STRUCTURE_NAME =
* IS_LAYOUT =
IT_FIELDCAT = gt_field_cat[]
* IT_EXCLUDING =
* IT_SPECIAL_GROUPS =
* IT_SORT =
* IT_FILTER =
* IS_SEL_HIDE =
* I_DEFAULT = 'X'
* I_SAVE = ' '
* IS_VARIANT =
* IT_EVENTS =
* IT_EVENT_EXIT =
* IS_PRINT =
* IS_REPREP_ID =
* I_SCREEN_START_COLUMN = 0
* I_SCREEN_START_LINE = 0
* I_SCREEN_END_COLUMN = 0
* I_SCREEN_END_LINE = 0
* IR_SALV_LIST_ADAPTER =
* IT_EXCEPT_QINFO =
* I_SUPPRESS_EMPTY_DATA = ABAP_FALSE
* IMPORTING
* E_EXIT_CAUSED_BY_CALLER =
* ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = gt_final
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endform. " display_alv_data
Retrieving data from the database tables into the internal table:
form retrieve_data .
" For internal table 1
SELECT ekbe~ebeln
mseg~mblnr
ekbe~belnr
ekbe~ebelp
ekbe~matnr
ekbe~menge
ekbe~dmbtr
ekbe~werks
mseg~lgort
mseg~lifnr
lfa1~name1
FROM ekbe INNER JOIN mseg ON ekbe~ebeln = mseg~ebeln
INNER JOIN lfa1 ON mseg~lifnr = lfa1~lifnr
INTO CORRESPONDING FIELDS OF TABLE gt_1
WHERE mseg~bwart = '101' AND " Movement type: Goods Receipt
ekbe~vgabe = '2' AND " Transaction / event type for Invoice Verification Number
ekbe~matnr IN s_m_num AND
mseg~lifnr IN s_v_num.
" For internal table 2
SELECT ekbe~ebeln
makt~maktx
eket~eindt
FROM ekbe INNER JOIN makt ON ekbe~matnr = makt~matnr
INNER JOIN eket ON ekbe~ebeln = eket~ebeln
INTO CORRESPONDING FIELDS OF TABLE gt_2
WHERE eket~eindt IN s_d_date.
" For internal table 3
SELECT ekbe~ebeln
ekko~bedat
ekko~ekorg
ekko~ekgrp
ekko~bukrs
FROM ekbe INNER JOIN ekko ON ekbe~ebeln = ekko~ebeln
INTO CORRESPONDING FIELDS OF TABLE gt_3
WHERE ekko~bedat IN s_p_date AND
ekko~ekorg IN s_p_org AND
ekko~ekgrp IN s_p_grp.
" For the final internal table
SORT: gt_1, gt_2, gt_3.
LOOP AT gt_1.
MOVE-CORRESPONDING gt_1 TO gt_final.
READ TABLE gt_2 WITH KEY gfs_ebeln = gt_1-gfs_ebeln BINARY SEARCH.
MOVE-CORRESPONDING gt_2 TO gt_final.
READ TABLE gt_3 WITH KEY gfs_ebeln = gt_1-gfs_ebeln BINARY SEARCH.
MOVE-CORRESPONDING gt_3 TO gt_final.
APPEND gt_final.
ENDLOOP.
endform. " retrieve_data
Dear forumers,
I apologize for the rather late reply. The SAP server that I've been working on was down since Thursday evening and I wasn't able to debug much into the codes. Nevertheless, I really do appreciate all of your inputs and help here.
Rob,
I've just debugged my codes again and found out that in the first place, there is no data contained in the internal table gt_1 at all. My rough guess is because I've misused the INNER JOIN wrongly here (see code comments below):-
SELECT ekbe~ebeln
mseg~mblnr
ekbe~belnr
ekbe~ebelp
ekbe~matnr
ekbe~menge
ekbe~dmbtr
ekbe~werks
mseg~lgort
mseg~lifnr
lfa1~name1 " this line should probably be commented out
FROM ekbe INNER JOIN mseg ON mseg~ebeln = ekbe~ebeln
INNER JOIN lfa1 ON lfa1~lifnr = mseg~lifnr " this line should probably be commented out - the table join here is not based on table ekbe at all
INTO CORRESPONDING FIELDS OF TABLE gt_1
WHERE mseg~bwart = '101' AND
ekbe~vgabe = '2' AND
ekbe~matnr IN s_m_num AND
mseg~lifnr IN s_v_num.
Next, I commented out certain lines further and found that there is still no data contained in the internal table gt_1 again, as follows:-
SELECT ekbe~ebeln
mseg~mblnr
ekbe~belnr
ekbe~ebelp
ekbe~matnr
ekbe~menge
ekbe~dmbtr
ekbe~werks
mseg~lgort
mseg~lifnr
" lfa1~name1
FROM ekbe INNER JOIN mseg ON mseg~ebeln = ekbe~ebeln
" INNER JOIN lfa1 ON lfa1~lifnr = mseg~lifnr
INTO CORRESPONDING FIELDS OF TABLE gt_1.
" WHERE mseg~bwart = '101' AND
" ekbe~vgabe = '2' AND
" ekbe~matnr IN s_m_num AND
" mseg~lifnr IN s_v_num.
There should be data contained in table ekbe here. What could have really gone wrong now?
Similar Messages
-
What could have gone wrong?
I installed PHP 4.4.6 + Oracle instant client 10g(win32) + Apache 2.0.59 (Win32) on my Windows XP Professional Version 2002 SP2.
I enabled php_oci8.dll in my php.ini. Also put tnsname.ora under C:\instantclient_10_2.
I loaded phpinfo.php and it shows "OCI8 Support enabled"
However when I use below script to test:
<?php
if ($c=OCILogon("user", "pw", "db")) {
echo "Successfully connected to Oracle.\n";
OCILogoff($c);
} else {
$err = OCIError();
var_dump($err);
print "\nError code = " . $err;
print "\nError message = " . $err[message];
print "\nError position = " . $err[offset];
print "\nSQL Statement = " . $err[sqltext];
echo "\nOracle Connect Error " . var_dump( OCIError() );
?>
The output is:
Interactive mode enabled
bool(false)
Error code =
Error message =
Error position =
SQL Statement = bool(false)
Oracle Connect Error
Please help enlighten what I should do to move on.
Many thanks,
PHPNewbieThanks cj. I think I'm getting closer.
After replaced php_oci8.dll, I retested a simplified script:
if ($c=OCILogon("user", "pw", "kirin"))
{ echo "Successfully connected to Oracle.\n";
OCILogoff($c); }
else { $err = OCIError();
var_dump($err);
#echo "\nOracle Connect Error " . var_dump( OCIError() );
?>
The the output is:
Warning: ocilogon() [function.ocilogon]: OCIEnvInit() failed. There is something wrong with your system - please check that ORACLE_HOME is set and points to the right directory in C:\work\test.php on line 3
Warning: ocierror() [function.ocierror]: OCIError: unable to find error handle in C:\work\test.php on line 6
bool(false)
I can't understand both warnings, isn't that ORACLE_HOME is not needed for instant client, For the second warning, isn't that OCIError does not need to pass any handle? -
Before you ask, i tried going through the third-party add-on document and opening it up in safemode did not fix it. Also, I am running it as administrator and that is not helping either.
I DID IT! I FIXED IT, FINALLY!!! At least it worked for me. Here's what I did: from Control Panel/Programs/Programs and Features/Uninstall or Change Program, I right-clicked on iTunes and selected Repair. After that ran and completed, I went to Computer/Local Disk (C:)/Program Files. From the list, I right-clicked on iTunes and selected “Run as Administrator.” After that I tried to purchase music from iTunes, and it worked! I hope this makes sense and works for you. Good luck!
-
Where it could have gone wrong ?
Hi ,
i got the error :
ORA-06550: line 4, column 1:
PLS-00428: an INTO clause is expected in this SELECT statement
when executing :
declare
begin
select * from testing_timelogging where DESCRIPTION_LEVEL1 = 'ttttt' ;
exception
when no_data_found then
dbms_output.put_line('No DATA');
when others then
dbms_output.put_line('OTHERS');
end ;
must i really declare a variable ?
tks & rdgsWhat you are executing is a PL/SQL, and not just SQL. In PL/SQL (like any other language accessing database), you need to declare variable(s) to capture value(s) returned by a SELECT.
-
PowerPivot refresh error with data feed from sharepoint list with empty exception information
Hi,
My Powpivot refreshing error seems to be different from what others already experienced.
Scenario:
Constructed an external data source in the format of Http://<server_IP>/sites/<mysitecollection>/_vti_bin/listdata.svc
selected one table with some of the needed columns in the next step
Create calculate colums etc.
Create pivot tables etc.
All worked well offline
Upload the workbook into PowerPivot Gallery
Reference it from a page through Excel Web Service webpart allowing manual refresh
The refresh always reports failure with the named external data source
I opend the log file in C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\LOGS and located the following error messages:
ASPPHOST::ShowEngineError: Out of line object 'DataSource', referring to ID(s) 'f8939b694cae', has been specified but has not been used。The following exception occurred while the managed IDbCommand interface was being used: .
Please note in the above message, NO detailed exception message was given. In other words,
the exception information is empty.
I checked as many things as I possibly could includin the security accounts etc. All seem to be right. But this empty exception got me stuck here.
What could possibly go wrong? Any help will be appreciated.
Thanks.Hello,
Here is a good article regarding Where to get information about data refresh failures for your reference, please see:
http://social.technet.microsoft.com/wiki/contents/articles/3870.troubleshooting-powerpivot-data-refresh.aspx
In addition, which credential option you're configured for the PowerPivot data refresh in SharePoint farm? You can go through the following articles regarding configure the PowerPivot data refresh:
Configure the PowerPivot Unattended Data Refresh Account (PowerPivot for SharePoint):
http://technet.microsoft.com/en-us/library/ff773327.aspx
Configure Stored Credentials for PowerPivot Data Refresh (PowerPivot for SharePoint):
http://technet.microsoft.com/en-us/library/ee210671.aspx
Hope this helps.
Regards,
Elvis Long
TechNet Community Support -
Working alternating with iPhoto and FCE tgrying to import pictures from iPhoto into FCE suddenly all my 22300 pictures disappeared leaving empty frames. Does somebody know where the pictures could have gone and how can I get them back into iPhoto? Lothar
The ! turns up when iPhoto loses the connection between the thumbnail in the iPhoto Window and the file it represents.
Option 1
Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
If that fails:
Option 2
Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
Regards
TD -
Hello there I do not have master card and I have now apple I'd but I could not continue the process in I tunes what could I do.....2 I am from Palestine and the country is not listed..? What could I do....thanks
The reset link will show on your account if you have a rescue email address on it, if you only have alternate email addresses then it won't show.
If the country where you and your iTunes account are isn't on this page (you need to be in a country to use its store) : http://support.apple.com/kb/HT5699
then you can try contacting support via this page and explain that you've forgotten your answers, don't have a rescue email address, and your country isn't on the HT5699 page and see what they reply with : https://ssl.apple.com/emea/support/itunes/contact.html -
Hello experts,
I'm working on an object where in I need to display an ALV List (using Funct Modules) with checkboxes.
When I select the checkboxes,and click on a button (Eg.Refresh Button) , I need to get all the details of the selected rows (checked rows) in a seperate ALV List (in a Dailog).
Could any one of u please suggest me about selecting the row which has been checked(Checkboxes in ALV ).
Thanks in advance.
SanghamitraHi sangha,
1. To get a taste of it,
just copy paste this program.
2. It will display alv (t001)
It will show CHECKBOXES (besides every row)
TICK some rows,
and DOUBLE-CLICK ON any row.
3. It will display all the row numbers which have been checked/ticked.
4.
report abc.
TYPE-POOLS : slis.
Data
DATA : BEGIN OF itab OCCURS 0.
INCLUDE STRUCTURE t001.
DATA : flag tyPE c,
END OF itab.
DATA : alvfc TYPE slis_t_fieldcat_alv.
DATA : alvly TYPE slis_layout_alv.
Select Data
SELECT * FROM t001 INTO TABLE itab.
*------- Field Catalogue
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = sy-repid
i_internal_tabname = 'ITAB'
i_inclname = sy-repid
CHANGING
ct_fieldcat = alvfc
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
Display
alvly-box_fieldname = 'FLAG'.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
it_fieldcat = alvfc
i_callback_program = sy-repid "<-------Important
i_callback_user_command = 'ITAB_USER_COMMAND' "<------ Important
is_layout = alvly
TABLES
t_outtab = itab
EXCEPTIONS
program_error = 1
OTHERS = 2.
CALL BACK FORM
FORM itab_user_command USING whatcomm TYPE sy-ucomm whatrow TYPE
slis_selfield.
data : msg(100) type c.
LOOP AT itab.
if itab-flag = 'X'.
msg = sy-tabix.
condense msg.
concatenate 'Row Number ' msg ' ' into msg
separated by space.
message msg type 'I'.
endif.
ENDLOOP.
ENDFORM. "ITAB_user_command
regards,
amit m. -
Hi guru's,
I want to create an ALV list with only a char255 field.
<all_table> contains data of sflight and is of type sflight(dynamically).
I want to show the data as one line.
CALL FUNCTION 'DDIF_FIELDINFO_GET'
EXPORTING
tabname = 'TPPARFIL'
fieldname = 'LINE'
TABLES
dfies_tab = it_dfies.
READ TABLE it_dfies INDEX 1.
IF sy-subrc IS INITIAL.
MOVE-CORRESPONDING it_dfies TO wa_fieldcat.
wa_fieldcat-scrtext_s = 'Results:'.
APPEND wa_fieldcat TO gt_fieldcat.
ENDIF.
t_output[] = <all_table>.
CALL FUNCTION 'LVC_TRANSFER_TO_SLIS'
EXPORTING
it_fieldcat_lvc = gt_fieldcat
IMPORTING
it_fieldcat_alv = it_fieldcat_alv.
PERFORM fill_alv_layout.
* Show list
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = lv_repid
i_grid_title = sy-title
is_layout = gs_layout
it_fieldcat = it_fieldcat_alv[]
TABLES
t_outtab = t_output
EXCEPTIONS
program_error = 1
OTHERS = 2.
*& Form fill_alv_layout
FORM fill_alv_layout.
CLEAR: gs_layout.
gs_layout-max_linesize = 160.
gs_layout-min_linesize = 160.
gs_layout-detail_initial_lines = 'X'.
gs_layout-zebra = 'X'.
gs_layout-edit_mode = 'A'.
gs_layout-numc_sum = 'X'.
gs_layout-colwidth_optimize = 'X'.
gs_layout-window_titlebar = sy-title.
gs_layout-totals_only = 'X'.
ENDFORM. " fill_alv_layout
When I run this it only gives an empty view of the fields with type char255.
Regards,
Wimhi,
As per your code I think your internal table is empty. Please set debugger after internal table fill and check. If the data is there then please check your field catalog entry.
Regards,
Sachin -
Printing ALV list with ADS (pdf printer) in non-english charset
Hello!
I have an issue about printing alv list with pdf printer in non-english charset. We have two printers. One for alv lists (SWINCF: Casc.Fonts SAPWIN Unicode) and one for pdf forms(adobe document service). I want to use one printer for any documents. But PDF printer prints non-english charset like ########.
What can I do ?Hi, Roman!
I want to use PDF printer for both types of output. I have a dedicated java instance for ADS.
There is a device type for our Kyocera Printer. My pdf printer prints ALV list good exept russian charset.
It prints like ##### -
ALV LIST with few checkboxes fields
Hi everyone,
I want to create an ALV with 2 fields that are checkboxes.
I am succeeding to create an ALV with one checkbox field.
How do we do in order to create an ALV with 2 checkboxes fields using ALV LIST ?
I know that we have to specify in the layout of the ALV the name of the field we want it to be checkbox.
For example :
gs_layout-box_fieldname = 'FLAG'.
But, how do we specify a second checkbox field ?
Thanks.
Regards.Slight modification to my earlier post. this is with 2 checkboxes.
REPORT ztest_alv_checkbox.
TYPE-POOLS: slis.
DATA: it_fcat TYPE slis_t_fieldcat_alv,
wa_cat LIKE LINE OF it_fcat.
DATA: BEGIN OF it_alv OCCURS 0,
check1(1),
check2(1),
carrid LIKE sflight-carrid,
connid LIKE sflight-connid,
END OF it_alv.
DATA:it_events TYPE slis_t_event,
wa_events LIKE LINE OF it_events.
SELECT carrid
connid
FROM sflight
INTO CORRESPONDING FIELDS OF TABLE it_alv
UP TO 20 ROWS.
wa_cat-fieldname = 'CHECK1'.
wa_cat-input = 'X'.
wa_cat-edit = 'X'.
wa_cat-checkbox = 'X'.
wa_cat-seltext_l = 'Check'.
wa_cat-tabname = 'IT_ALV'.
APPEND wa_cat TO it_fcat.
CLEAR wa_cat.
wa_cat-fieldname = 'CHECK2'.
wa_cat-input = 'X'.
wa_cat-edit = 'X'.
wa_cat-checkbox = 'X'.
wa_cat-seltext_l = 'Check'.
wa_cat-tabname = 'IT_ALV'.
APPEND wa_cat TO it_fcat.
CLEAR wa_cat.
wa_cat-fieldname = 'CARRID'.
wa_cat-seltext_l = 'Carrid'.
wa_cat-tabname = 'IT_ALV'.
APPEND wa_cat TO it_fcat.
CLEAR wa_cat.
wa_cat-fieldname = 'CONNID'.
wa_cat-seltext_l = 'Connid'.
wa_cat-tabname = 'IT_ALV'.
APPEND wa_cat TO it_fcat.
wa_events-name = slis_ev_end_of_list.
wa_events-form = 'MODIFY_LIST'.
APPEND wa_events TO it_events.
CLEAR wa_events.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = sy-repid
it_fieldcat = it_fcat
it_events = it_events
TABLES
t_outtab = it_alv
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc NE 0.
ENDIF.
"After The list display i am modifying the report output
"using the END_OF_LIST event of ALV
"here conditionally i can make the cell input off
*& Form MODIFY_LIST
* text
FORM modify_list.
DATA: l_lines TYPE i,
l_index TYPE i.
l_lines = l_lines + 3.
"because we have 3 lines extra occupied by lables.
"if we have header,i mean top of page add the no.of lines
"how many ever top of page have + 3 for labels.
DESCRIBE TABLE it_alv LINES l_lines.
l_lines = l_lines + 3.
"understnad this part alone.
DO l_lines TIMES.
IF sy-index GT 3.
l_index = sy-index - 3.
READ TABLE it_alv INDEX l_index.
"this is my condition..
IF sy-subrc = 0 .
IF it_alv-carrid <> 'AA'. "place your condition here.
"accordingly you can disable the checkbox
"use the below logic
READ LINE sy-index INDEX sy-lsind.
IF sy-subrc = 0.
MODIFY LINE sy-index INDEX sy-lsind
FIELD FORMAT it_alv-check1 INPUT OFF
it_alv-check2 INPUT OFF.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
ENDDO.
ENDFORM. "MODIFY_LIST -
When I went to bed I had 3,000 song and multiple playlists. This morning I have ~30 songs and no playlists. What could have happened to my songs playlists? I run iTunes on a Windows 7 64-bit machine. HELP! (oh, and the Songs are not in recycle bin)
My wife's ipod nano was plugged into the machine overnight.
When she went running with it, there were no songs on it. She checked the computer and was horrified to see that the playlists had disappeared and most of the songs had disappeared.
QUESTIONS:
1. What could it be?
2. How can I fix it?Hi, there alot of us suffering from this phernomonon but there is a forum topic about is already.
https://discussions.apple.com/message/16767377#16767377
Come check it out.
Hope this works out for all of us. -
RE: (forte-users) What could have caused the StopWatch classto r eturn
Attila
1. Ops - I DO instantiate it as follows:
[snip]
sw : StopWatch = new;
[snip]
I missed the "= new" in the orig mail message (cut/past from wrong
workspace).
2. LogWriter(deltaT:integer, t1:DateTimeData, t2:DateTimeData)
[snip]
task.part.logmgr.put('| ');
task.part.logmgr.put(deltaT);
task.part.logmgr.put(' | ');
task.part.logmgr.put(t1);
task.part.logmgr.put(' | ');
task.part.logmgr.put(t2);
task.part.logmgr.putline(' |');
[snip]
OK, it's just a quick 'n dirty but it does the job for testing.
Regards,
Dirk
-----Original Message-----
From: Attila Rácz [mailto:[email protected]]
Sent: Thursday, 7 October 1999 14:35
To: Haben, Dirk
Subject: Re: (forte-users) What could have caused the
StopWatch class to
return a negative v alue?
Hi Dirk,
1. You don't instantiate the StopWatch object!!! So the
attached code have to
throw a NIL exception. On my PC it does:
"Trying to invoke a method on a NIL object (qqos_StopWatch, 1)."
2. Send the whole LogWriter method for analyzing.
Attila
"Haben, Dirk" wrote:
G'day
Suppose the following output is produced:
Loaded Forte Message Catalog 'fortemsg/en_us.cat'
NLM Startup is Complete - Partition's Locale is 'c'
Loading partition CollectResponseStatistics_cl0_Client built on 30-Sep-1999
09:12:28.
Attached to manager for node BLAH.
%DiH-I-VERID: CollectResponseStatistics_v371.002
%DiH-I-BGP, BGP Started...
%DiH-I, Repeat Interval (in milliseconds) 300000
%DiH-I, Sample Account Number: 123456
%DiH-I-BGPSTART, BackgroundProcessing started at: 07-Oct-1999 08:54:16
| Total Time | Account Fetch | Account Fetch |
| in milliSeconds | Start Time | Completion Time |
|-----------------|----------------------|----------------------|
| -194 | 07-Oct-1999 08:54:16 | 07-Oct-1999 08:54:17 |
What could cause the stopwatch class to return this negative value? Here is
the code that is run:
sw : StopWatch;
//that line is actual as follows:
sw : StopWatch = new;
//*****[Dirk]
>>
BP_t1 : DateTimeData = new;
BP_t2 : DateTimeData = new;
BP_t1.SetCurrent();
self.LogWriter('%DiH-I-BGPSTART, BackgroundProcessing started at: ',BP_t1);
self.LogWriterHeading();
tmpAcc : account = new;
sw.fire();
BP_t1.SetCurrent();
tmpAcc = self.AccountFetch(aAccountNumber);
BP_t2.SetCurrent();
deltaT : Integer = sw.split();
self.LogWriter(deltaT,BP_t1,BP_t2);
Oh, and the logwriter is just a formatted logmgr.put(deltaT) ,
logmgr.put(t1) etc
Any light on this one much appreciated.
Thanks,
Dirk
For the archives, go to: http://lists.sageit.com/forte-users and use
the login: forte and the password: archive. To unsubscribe, send in a new
email the word: 'Unsubscribe' to:
[email protected]
Attila Racz Lufthansa
Systems Hungary
BUD LSYH
E-mail: [email protected] .-``'.
Tel.: (36 1) 431-2910 .` .' Mazsa ter 2-6.
Fax : (36 1) 431-2977 _.-' '._ H-1107
Budapest, HungaryAttila
1. Ops - I DO instantiate it as follows:
[snip]
sw : StopWatch = new;
[snip]
I missed the "= new" in the orig mail message (cut/past from wrong
workspace).
2. LogWriter(deltaT:integer, t1:DateTimeData, t2:DateTimeData)
[snip]
task.part.logmgr.put('| ');
task.part.logmgr.put(deltaT);
task.part.logmgr.put(' | ');
task.part.logmgr.put(t1);
task.part.logmgr.put(' | ');
task.part.logmgr.put(t2);
task.part.logmgr.putline(' |');
[snip]
OK, it's just a quick 'n dirty but it does the job for testing.
Regards,
Dirk
-----Original Message-----
From: Attila Rácz [mailto:[email protected]]
Sent: Thursday, 7 October 1999 14:35
To: Haben, Dirk
Subject: Re: (forte-users) What could have caused the
StopWatch class to
return a negative v alue?
Hi Dirk,
1. You don't instantiate the StopWatch object!!! So the
attached code have to
throw a NIL exception. On my PC it does:
"Trying to invoke a method on a NIL object (qqos_StopWatch, 1)."
2. Send the whole LogWriter method for analyzing.
Attila
"Haben, Dirk" wrote:
G'day
Suppose the following output is produced:
Loaded Forte Message Catalog 'fortemsg/en_us.cat'
NLM Startup is Complete - Partition's Locale is 'c'
Loading partition CollectResponseStatistics_cl0_Client built on 30-Sep-1999
09:12:28.
Attached to manager for node BLAH.
%DiH-I-VERID: CollectResponseStatistics_v371.002
%DiH-I-BGP, BGP Started...
%DiH-I, Repeat Interval (in milliseconds) 300000
%DiH-I, Sample Account Number: 123456
%DiH-I-BGPSTART, BackgroundProcessing started at: 07-Oct-1999 08:54:16
| Total Time | Account Fetch | Account Fetch |
| in milliSeconds | Start Time | Completion Time |
|-----------------|----------------------|----------------------|
| -194 | 07-Oct-1999 08:54:16 | 07-Oct-1999 08:54:17 |
What could cause the stopwatch class to return this negative value? Here is
the code that is run:
sw : StopWatch;
//that line is actual as follows:
sw : StopWatch = new;
//*****[Dirk]
>>
BP_t1 : DateTimeData = new;
BP_t2 : DateTimeData = new;
BP_t1.SetCurrent();
self.LogWriter('%DiH-I-BGPSTART, BackgroundProcessing started at: ',BP_t1);
self.LogWriterHeading();
tmpAcc : account = new;
sw.fire();
BP_t1.SetCurrent();
tmpAcc = self.AccountFetch(aAccountNumber);
BP_t2.SetCurrent();
deltaT : Integer = sw.split();
self.LogWriter(deltaT,BP_t1,BP_t2);
Oh, and the logwriter is just a formatted logmgr.put(deltaT) ,
logmgr.put(t1) etc
Any light on this one much appreciated.
Thanks,
Dirk
For the archives, go to: http://lists.sageit.com/forte-users and use
the login: forte and the password: archive. To unsubscribe, send in a new
email the word: 'Unsubscribe' to:
[email protected]
Attila Racz Lufthansa
Systems Hungary
BUD LSYH
E-mail: [email protected] .-``'.
Tel.: (36 1) 431-2910 .` .' Mazsa ter 2-6.
Fax : (36 1) 431-2977 _.-' '._ H-1107
Budapest, Hungary -
I am in the middle of preparing a ppt presentation for my business. All of a sudden, the ppt crashed - then followed by word, excel, outlook.
What could have happened?Try:
- Reset the iOS device. Nothing will be lost
Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Reset all settings
Go to Settings > General > Reset and tap Reset All Settings.
All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
- Restore from backup. See:
iOS: Back up and restore your iOS device with iCloud or iTunes
- Restore to factory settings/new iOS device.
If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
Apple Retail Store - Genius Bar -
Suddenly I can't record after the cat walked across the keyboard. What could have happened? Teeny bit of signal to the meter.
Mate ignore these Pet Detectives
This is NOTHING to do with your mac
Your Cat5 Ethernet cable prObably got knocked
Maybe you are looking for
-
Hello all. I need some help with my in line query. Its taking very long. Any ideas would be helpful. Just a little info: Version: Oracle 10g Access: Grant select (can only read). I have read Rob's forum but still stuck. Also I have read some question
-
How do I unpack a plugin into the plugins folder of your browser tree.
I have downloaded the plugin but don't know how to put it into the plugin folder
-
Passing data from JSP to existing iView in Portal
Hello Experts, I'm new to EP and Web DynPro. Please provide your guidance for the following scenario: There are 2 iViews in different pages. iView 1(Web DynPro Java application) - its running in portal - created by other person long time back - it ta
-
Where i can find a complete example of JSR 168 Portal + BEAWebLogic (Including web.xml, portal.xml, application.xml and others configuration) ? Plz, without workshop :-) tks :-)
-
Recently my computer crashed and we lost everything on it. now I can't download music from my library onto my ipod because "i am not authorized to play it on this computer." How can I fix this?