Updating list output during execution.
Hi,
Is it possible to somehow update report list output during code execution ?
What I'm trying to do is to LOOP at all files in a certain directory, process them and return some output.
The process is time consuming. So I'd like the user not to wait all the time and see all the output at the very end of the process but rather to be able to refresh output as soon as single file withing the loop is processed.
i.e.
LOOP AT t_file.
PERFORM process_file using t_file.
PERFORM refresh_output.
ENDLOOP.
Is it possible to develop such a mechanism ?
Thanks in advance.
Hi Bartosz
It is not possible.
Neha
Similar Messages
-
F3 functionality after execution of list output
Hi All,
I have report with selection screen and once i execute selection screen report list is output.And when i press F3 or BACK button it's coming back to selection screen.
1)But when i press F3 on selection screen its going to Listoutput screen again.but not to sap easy access screen.
2) when i come back to selection screen from list output then i need to press execute button 2 times to get the listoutput.
anyy suggestions on this front to resolve the issues?
RegardsHi Moorthy,
I can't reproduce the behaviour with this little test report:
report z_screen_sequence.
parameters: p_test default 'T'.
start-of-selection.
write p_test.
As you will see, the navigation goes as follows:
Start report (e.g. from SE38) -> goes to selection screen
"Execute" (F8) -> goes to list output (writes "T")
"Back" (F3) -> goes to selection screen
"Back" (F3) -> goes to the transaction which called the report (e.g. SE38).
This is the normal behaviour for reports.
If it doesn't work this way in your report, you have implemented it differently. One of the reasons could be:
Don't you perform your list-output at start-of-selection?
Do you manipulate list-processing fields (like sy-lsind)?
Do you work with "SUBMIT" or "SUBMIT AND RETURN" statements?
Do you work with some kind of "LEAVE" statements?
Regards,
Rüdiger -
List output in Module pool programming
Hi Gurus.,
I need to use write statement to display output using Call Screen xxx starting at xx ending at xx as dialog box .. How can i achieve this ...I tried the following in PBO of the screen but only a blank screen comes as output ...
*& Module STATUS_0102 OUTPUT
text
MODULE STATUS_0102 OUTPUT.
SET PF-STATUS 'MENU1' OF PROGRAM 'ZHM053C_MB01_J1IFQ_J1IF13'.
SET TITLEBAR 'xxx'.
ULINE.
WRITE: / ' *************EXECUTION SUMMARY************* ' COLOR 4. ULINE.
WRITE / ''.
SKIP 1.
LOOP AT IT_MESS.
IF IT_MESS-MSGTYP EQ 'E'.
FORMAT COLOR 7 .
WRITE : IT_MESS-MESSAGE.
ELSE.
FORMAT COLOR 2 .
WRITE : IT_MESS-MESSAGE.
ENDIF.
AT END OF TCODE.
WRITE / SY-ULINE.
ENDAT.
ENDLOOP.
ENDMODULE. " STATUS_0102 OUTPUT
please help me its very urgent
Regards.,
S.SivakumarHi,
REPORT demo_leave_to_list_processing .
TABLES sdyn_conn.
DATA: wa_spfli TYPE spfli,
flightdate TYPE sflight-fldate.
CALL SCREEN 100.
MODULE status_0100 OUTPUT.
SET PF-STATUS 'SCREEN_100'.
ENDMODULE.
MODULE cancel INPUT.
LEAVE PROGRAM.
ENDMODULE.
MODULE user_command_0100.
CALL SCREEN 500.
SET SCREEN 100.
ENDMODULE.
MODULE call_list_500 OUTPUT.
LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0.
SET PF-STATUS space.
SUPPRESS DIALOG.
SELECT carrid connid cityfrom cityto
FROM spfli
INTO CORRESPONDING FIELDS OF wa_spfli
WHERE carrid = sdyn_conn-carrid.
WRITE: / wa_spfli-carrid, wa_spfli-connid,
wa_spfli-cityfrom, wa_spfli-cityto.
HIDE: wa_spfli-carrid, wa_spfli-connid.
ENDSELECT.
CLEAR: wa_spfli-carrid.
ENDMODULE.
TOP-OF-PAGE.
WRITE text-001 COLOR COL_HEADING.
ULINE.
TOP-OF-PAGE DURING LINE-SELECTION.
WRITE sy-lisel COLOR COL_HEADING.
ULINE.
AT LINE-SELECTION.
CHECK not wa_spfli-carrid is initial.
SELECT fldate
FROM sflight
INTO flightdate
WHERE carrid = wa_spfli-carrid AND
connid = wa_spfli-connid.
WRITE / flightdate.
ENDSELECT.
CLEAR: wa_spfli-carrid.
This example switches to list processing during the screen processing for screen 100. Screen 100 has a single input field - the component CARRID from the ABAP Dictionary structure SDYN_CONN.
The flow logic of screen 100 is:
PROCESS BEFORE OUTPUT.
MODULE status_0100.
PROCESS AFTER INPUT.
MODULE cancel AT EXIT-COMMAND.
MODULE user_command_0100.
The PAI module user_command_0100 calls screen 500 using the CALL SCREEN statement. This screen encapsulates a basic list. It has the following flow logic:
PROCESS BEFORE OUTPUT.
MODULE call_list_500.
PROCESS AFTER INPUT.
The module call_list_500 defines the basic list and switches to list processing. Since the next screen after list processing is screen 0, screen 500 is a one-screen screen chain. After list processing, control returns to the position in user_command_0100 from which screen 500 was called.
If the user selects a line on the basic list, a detail list appears. This is achieved through the event block AT LINE-SELECTION. The program also contains event blocks for TOP-OF-PAGE and TOP-OF-PAGE DURING LINE-SELECTION, which define page headers for both the basic list and detail list.
Since there is only one list system in this program, there is no need for case distinctions within the list events.
With thanks & regards,
Sravani yendru. -
Update Database Statistics during System Export
hi All,
I am getting following error on step (Update Database Statistics ) during system export.
WARNING 2011-06-17 15:13:35
Execution of the command "E:\usr\sap\PRD\SYS\exe\uc\NTAMD64\
brconnect.exe -u / -c -o summary -f stats -o SAPSR3 -t all -m +I -s
P10 -f allsel,collect,method,precision,space,keep -p 4"
finished with return code 5.
Output: BR0801I BRCONNECT 7.00 (31)BR0805I Start of BRCONNECT processing:
cegczbfe.sta 2011-06-17 15.12.02BR0484I BRCONNECT log file:
G:\oracle\PRD\sapcheck\cegczbfe.sta
ERROR 2011-06-17 15:13:35
CJS-30023 Process call 'E:\usr\sap\PRD\SYS\exe\uc\NTAMD64\
brconnect.exe -u / -c -o summary -f stats -o SAPSR3 -t all -m +I -s P10
-f allsel,collect,method,precision,space,keep -p 4'
exits with error code 5. For details see log file(s) brconnect.log.
there is small part of brconnect.log is:
BR0204I Percentage done: 27.88%, estimated end time: 15:16
BR0001I **************____________________________________
BR0280I BRCONNECT thread 2: time stamp: 2011-06-17 15.13.31
BR0301E SQL error -20003 in thread 2 at location stats_tab_collect-20, SQL statement:
'BEGIN DBMS_STATS.GATHER_TABLE_STATS (OWNNAME => '"SAPSR3"', TABNAME => '"/BEV3/CHCL_STAT"', ESTIMATE_PERCENT => NULL, METHOD_OPT => 'FOR ALL COLUMNS SIZE 1', DEGREE => NULL, CASCADE => TRUE, NO_INVALIDATE => FALSE); END;'
ORA-20003: Specified bug number (5099019) does not exist
ORA-06512: at "SYS.DBMS_STATS", line 14830
ORA-06512: at "SYS.DBMS_STATS", line 14851
ORA-06512: at line 1
BR0886E Checking/collecting statistics failed for table SAPSR3./BEV3/CHCL_STAT
BR0280I BRCONNECT thread 2: time stamp: 2011-06-17 15.13.31
BR0301E SQL error -20003 in thread 2 at location stats_tab_collect-20, SQL statement:
'BEGIN DBMS_STATS.GATHER_TABLE_STATS (OWNNAME => '"SAPSR3"', TABNAME => '"/BEV3/CHCL_STATT"', ESTIMATE_PERCENT => NULL, METHOD_OPT => 'FOR ALL COLUMNS SIZE 1', DEGREE => NULL, CASCADE => TRUE, NO_INVALIDATE => FALSE); END;'
ORA-20003: Specified bug number (5099019) does not exist
ORA-06512: at "SYS.DBMS_STATS", line 14830
ORA-06512: at "SYS.DBMS_STATS", line 14851
ORA-06512: at line 1
BR0886E Checking/collecting statistics failed for table SAPSR3./BEV3/CHCL_STATT
BR0280I BRCONNECT thread 2: time stamp: 2011-06-17 15.13.31
BR0301E SQL error -20003 in thread 2 at location stats_tab_collect-20, SQL statement:
'BEGIN DBMS_STATS.GATHER_TABLE_STATS (OWNNAME => '"SAPSR3"', TABNAME => '"/BEV3/CHCMVWOBJ"', ESTIMATE_PERCENT => NULL, METHOD_OPT => 'FOR ALL COLUMNS SIZE 1', DEGREE => NULL, CASCADE => TRUE, NO_INVALIDATE => FALSE); END;'
ORA-20003: Specified bug number (5099019) does not exist
ORA-06512: at "SYS.DBMS_STATS", line 14830
ORA-06512: at "SYS.DBMS_STATS", line 14851
ORA-06512: at line 1
BR0886E Checking/collecting statistics failed for table SAPSR3./BEV3/CHCMVWOBJ
BR0280I BRCONNECT thread 2: time stamp: 2011-06-17 15.13.31
BR0301E SQL error -20003 in thread 2 at location stats_tab_collect-20, SQL statement:
'BEGIN DBMS_STATS.GATHER_TABLE_STATS (OWNNAME => '"SAPSR3"', TABNAME => '"/BEV3/CHCMVWOBPR"', ESTIMATE_PERCENT => NULL, METHOD_OPT => 'FOR ALL COLUMNS SIZE 1', DEGREE => NULL, CASCADE => TRUE, NO_INVALIDATE => FALSE); END;'
ORA-20003: Specified bug number (5099019) does not exist
ORA-06512: at "SYS.DBMS_STATS", line 14830
BEGIN DBMS_STATS.GATHER_TABLE_STATS (OWNNAME => '"SAPSR3"', TABNAME => '"/BEV3/CHCTLVAR"', ESTIMATE_PERCENT => NULL, METHOD_OPT => 'FOR ALL COLUMNS SIZE 1', DEGREE => NULL, CASCADE => TRUE, NO_INVALIDATE => FALSE); END;'
ORA-20003: Specified bug number (5099019) does not exist
ORA-06512: at "SYS.DBMS_STATS", line 14830
ORA-06512: at "SYS.DBMS_STATS", line 14851
ORA-06512: at line 1
ORA-06512: at line 1
BR0886E Checking/collecting statistics failed for table SAPSR3./BEV3/CHCTMSTFUB
BR0280I BRCONNECT thread 2: time stamp: 2011-06-17 15.13.34
BR0844E 100 errors occurred in thread 2 - terminating processing of the thread...
BR0280I BRCONNECT time stamp: 2011-06-17 15.13.34
BR0848I Thread 2 finished with return code -1
BR0280I BRCONNECT time stamp: 2011-06-17 15.13.34
BR0879I Statistics checked for 0 tables
BR0878I Number of tables selected to collect statistics after check: 0
BR0880I Statistics collected for 639/0 tables/indexes
BR0889I Structure validated for 0/749/0 tables/indexes/clusters
BR1308E Collection of statistics failed for 68292/0 tables/indexes
BR0806I End of BRCONNECT processing: cegczbfe.sta 2011-06-17 15.13.34
BR0280I BRCONNECT time stamp: 2011-06-17 15.13.35
BR0804I BRCONNECT terminated with errors
how can I resolve this issue?
Regards,
majamilhi SM,
I have applied these patches with Opatch which successfully applied.
is it ok or i had to use the MOpatch for these?
one more thing for your information , when i execute Delete Harmful Statistics under Database Statistics in brtools then i got following
BR0280I BRCONNECT time stamp: 2011-06-30 08.10.53
BR0818I Number of tables found in DBSTATC for owner SAPSR3: 390
BR0280I BRCONNECT time stamp: 2011-06-30 08.10.53
BR0807I Name of database instance: PRD
BR0808I BRCONNECT action ID: cegfjniv
BR0809I BRCONNECT function ID: dst
BR0810I BRCONNECT function: stats
BR0812I Database objects for processing: HARMFUL
BR0852I Number of tables to delete statistics: 0
BR0856I Number of indexes to delete statistics: 0
BR0863W No tables/indexes found to update/delete statistics or validate structur
e
BR0806I End of BRCONNECT processing: cegfjniv.dst 2011-06-30 08.10.53
BR0280I BRCONNECT time stamp: 2011-06-30 08.10.53
BR0803I BRCONNECT completed successfully with warnings
BR0292I Execution of BRCONNECT finished with return code 1
BR0668I Warnings or errors occurred - you can continue to ignore them or go back
to repeat the last action
BR0280I BRTOOLS time stamp: 2011-06-30 08.10.53
BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
c
why i am getting this return code 1?
Regards,
Edited by: majamil on Jun 30, 2011 8:20 AM -
Hi All,
I have created an outbound delivery. Then i go to transaction code VL02N. There i save the data. When i click on Save ,
Internal packing list gets printed. I have added breakpoint in the program which associated with the form for internal packing list.
But breakpoint is not getting triggered. I had debugged , but not able to find .
Can anyone help me for that? So that i can find out how the output is getting printed.
Thanks and Regards,
RakeshPrint program is called in Update mode so you need to activate update debugging to let execution stop at your breakpoint.
Follow these steps.
Put break-point in print program.
Before you press save, activate debugging mode by entring /h in command bar.
Now press save, program will stop in debug.
Go to menu Setting->Update Debugging
Now press F8 and it should stop at your break-point.
Regards,
Pawan. -
How to send an updated list using batch job
Hi All,
The program displays data on the screen, if the data looks ok, then there is an option to update.
When I run update, the program submits a batch job and the basic list gets updated, but my batch job is still sending the data on the screen. how can i send the updated list using batch job.
Ex: output of the program
1 2
there is an update button on the screen, when i press update button, my program submits in batch job, the above list becomes
1 2
3 4
but when i check the spool, it shows the o/p as 1 2 ..it is not sending the updated list.
Please suggest me how to send the updated data
Thanks,
KumarHi Krishna,
I have added a button on the alv list. when i press update button, my program updates the list, then submits the batch job. I am attaching the sample test program i am trying with, please suggest me how can i get the updated list.
*& Report ZTESTSSSSS
REPORT ZTESTSSSSS.
DATA: gt_fieldcat TYPE slis_fieldcat_alv,
lt_fieldcat type slis_t_fieldcat_alv,
gt_sort TYPE slis_t_sortinfo_alv,
g_repid LIKE sy-repid,
gt_layout TYPE slis_layout_alv.
start-of-selection.
lt_return-type = 'S'.
lt_return-message = 'test message'.
append lt_return.
CLEAR gt_fieldcat.
gt_fieldcat-fieldname = 'TYPE'.
gt_fieldcat-outputlen = '3'.
gt_fieldcat-tabname = 'LT_RETURN'.
gt_fieldcat-seltext_l = 'Type'.
gt_fieldcat-seltext_m = 'Type'.
gt_fieldcat-seltext_s = 'Type'.
APPEND gt_fieldcat TO lt_fieldcat.
CLEAR gt_fieldcat.
gt_fieldcat-fieldname = 'MESSAGE'.
gt_fieldcat-outputlen = '15'.
gt_fieldcat-tabname = 'LT_RETURN'.
gt_fieldcat-seltext_l = 'Message'.
gt_fieldcat-seltext_m = 'Message'.
gt_fieldcat-seltext_s = 'Message'.
APPEND gt_fieldcat TO lt_fieldcat.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = sy-repid
I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS'
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
IT_FIELDCAT = lt_fieldcat
TABLES
T_OUTTAB = lt_return
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
*& Form set_pf_status
text
-->RT_EXTAB text
FORM set_pf_status USING rt_extab TYPE slis_t_extab.
SET PF-STATUS 'STANDARD'.
ENDFORM. "Set_pf_status
*& Form user_command
text
-->R_UCOMM text
-->RS_SELFIELD text
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
DATA: li_count TYPE I.
IF r_ucomm EQ 'UPD'.
Adding another message
lt_return-type = 'S'.
lt_return-message = 'Another test message'.
APPEND lt_return.
rs_selfield-refresh = 'X'.
rs_selfield-col_stable = 'X'.
rs_selfield-row_stable = 'X'.
l_upd = 'X'.
LOOP AT lt_return.
WRITE: / lt_return-type, lt_return-message.
ENDLOOP.
IF sy-batch IS INITIAL.
l_upd = 'X'.
Open the Job
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = w_name
IMPORTING
jobcount = w_number
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
IF sy-subrc = 0.
SUBMIT ('ZTESTSSSSS') VIA JOB w_name NUMBER w_number
AND RETURN
WITH p_recnnr = p_recnnr.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = w_number
jobname = w_name
strtimmed = 'X'
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
OTHERS = 8.
ENDIF.
ENDIF.
ENDIF.
ENDFORM. "User_command
Thanks,
Kumar -
ORA-04088: error during execution of trigger
Error Description :
We have more than 100 of records in a csv file which we are processing through a script. At the first execution let
say it generates trigger exception for five records ... when I execute the script second time those five records
are not throwing any exception but may be some other records. But consecutive trigger exception is not happening for any record . If a particular record is throwing exception at first attempt then in the second attempts it's not throwing the trigger exception.
Input file
PROPRTY_ID,NAME,OLD STREET,CITY,STATE,ZIP,NEW STREET,NEW CITY,NEW STATE,NEW ZIP
88527091,SAM PAUL SUMMU ,1061 XYZ,CITY1,ST,95626,5512 XX YY ZZ,TOWN,PA,12345-9812
Error :
88527091,SAM PAUL SUMMU ,1061 XYZ,CITY1,ST,95626,5512 XX YY ZZ,TOWN,PA,12345-9812 - PROPERTY Update Error : ORA-00001: unique constraint (PROD.PK_AUDIT_LOG) violated
ORA-06512: at "PROD.PROPERTY_AUD", line 159
ORA-04088: error during execution of trigger 'PROD.PROPERTY_AUD'
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> desc property
Name Null? Type
PROPERTY_ID NOT NULL NUMBER(20)
TYPE_CODE VARCHAR2(10)
TYPE_PREFIX VARCHAR2(10)
DWELLING_TYPE_CODE NOT NULL VARCHAR2(10)
DWELLING_TYPE_PREFIX NOT NULL VARCHAR2(10)
STREET_NUMBER VARCHAR2(25)
STREET_DIRECTION CHAR(2)
STREET_NAME NOT NULL VARCHAR2(45)
UNIT_NUMBER VARCHAR2(15)
CITY_CODE VARCHAR2(10)
STATE NOT NULL CHAR(2)
ZIP_CODE VARCHAR2(10)
UNIT_TYPE VARCHAR2(10)
UNIT_PREFIX VARCHAR2(10)
COUNTY_CODE VARCHAR2(10)
COUNTRY_CODE NOT NULL VARCHAR2(10)
SQUARE_FEET NUMBER(6)
NUMBER_MOTHER_LAW_UNITS NUMBER(6)
YEAR_BUILT DATE
PROPERTY_VALUE NUMBER(12)
ZIP_PLUS_4 VARCHAR2(4)
SFI_REQ_FLAG CHAR(1)
LAST_MODIFIED NOT NULL DATE
LAST_MODIFIED_BY VARCHAR2(31)
STANDARDIZED_STATUS VARCHAR2(10)
STANDARDIZED_DESC VARCHAR2(200)
SQL> desc audit_log
Name Null? Type
SEQ_NO NOT NULL NUMBER(20)
TABLE_NAME VARCHAR2(31)
USER_STAMP VARCHAR2(31)
TIME_STAMP DATE
TRAN_CODE CHAR(2)
RECORD1 VARCHAR2(2000)
RECORD2 VARCHAR2(2000)
FLAG_FLD CHAR(1)
SFI_FLAG_FLD CHAR(1)
ERROR_NUMBER NUMBER
Update Query which is getting executed :
UPDATE PROPERTY
SET DWELLING_TYPE_CODE = 'SFR',
DWELLING_TYPE_PREFIX = 'DWELLING',
STREET_NUMBER = NULL,
STREET_DIRECTION = NULL,
STREET_NAME = ln_new_street_name, -- <From input file>
UNIT_NUMBER = NULL,
CITY_CODE = ln_city_code, -- <From other Table>
STATE = ln_new_state, -- <From input file>
ZIP_CODE = ln_new_zip_code,
UNIT_TYPE = NULL,
UNIT_PREFIX = NULL,
COUNTY_CODE = ln_county_code, -- <From Other table>
COUNTRY_CODE = 1,
ZIP_PLUS_4 = ln_zip_plus_4 -- <From Input file>
WHERE PROPERTY_ID = ln_property_id; -- <From Other table>
*NOTE :* Property.LAST_MODIFIED field is auto populate through other trigger. It does not causing any problem.
This might be helpful :
SQL> select OWNER, CONSTRAINT_NAME, TABLE_NAME,COLUMN_NAME from dba_cons_columns where CONSTRAINT_NAME='PK_AUDIT_LOG';
OWNER CONSTRAINT_NAME TABLE_NAME COLUMN_NAME
PROD PK_AUDIT_LOG AUDIT_LOG SEQ_NO
PROD_ARCH PK_AUDIT_LOG AUDIT_LOG SEQ_NO
SQL> select SEQ_NO, trim(RECORD1), trim(RECORD2),TIME_STAMP
from audit_log where RECORD1 like '%BUTTE%' order by TIME_STAMP;
SEQ_NO
1675677212
TRIM(RECORD1)
00000000000031814095...SFR .DWELLING ...5512 BUTTE VIEW CT ..15532
.CA.95765 ...1377 .1 .....5000..20100922.SUSMSAHA ..
TRIM(RECORD2)
00000000000031814095...SFR .DWELLING ...5512 BUTTE VIEW CT ..15532
.CA.95765 ...1377 .1 .....5000..20100922.SUSMSAHA ..
TIME_STAMP
22-sep-2010
Trigger Body which is fired and throwing the exception :
create or replace trigger PROPERTY_AUD
before insert or update on PROPERTY
for each row
declare
rec1 varchar2(2000);
rec2 varchar2(2000);
tcode char(1);
ln_seq_id NUMBER:=Null;
ls_sql VARCHAR2(2000):=Null;
begin
select temp_audit_seq.nextval into ln_seq_id from dual;
rec1 := null;
rec2 := null;
if user = 'NONREP_USER' then
return;
end if;
if (dbms_reputil.from_remote = FALSE) then
:NEW.last_modified := sysdate;
if (user = 'SALESFORCE_SYNC') then
:new.last_modified_by := NVL(:new.last_modified_by,USER);
else
:new.last_modified_by := user;
end if;
end if;
if inserting then
rec1 :=
LPAD(:new.PROPERTY_ID, 20, '0' ) || '.' ||
RPAD(:new.TYPE_CODE, 10, ' ' ) || '.' ||
RPAD(:new.TYPE_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.DWELLING_TYPE_CODE, 10, ' ' ) || '.' ||
RPAD(:new.DWELLING_TYPE_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.STREET_NUMBER, 25, ' ' ) || '.' ||
RPAD(:new.STREET_DIRECTION, 2, ' ' ) || '.' ||
RPAD(:new.STREET_NAME, 45, ' ' ) || '.' ||
RPAD(:new.UNIT_NUMBER, 15, ' ' ) || '.' ||
RPAD(:new.CITY_CODE, 10, ' ' ) || '.' ||
RPAD(:new.STATE, 2, ' ' ) || '.' ||
RPAD(:new.ZIP_CODE, 10, ' ' ) || '.' ||
RPAD(:new.UNIT_TYPE, 10, ' ' ) || '.' ||
RPAD(:new.UNIT_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.COUNTY_CODE, 10, ' ' ) || '.' ||
RPAD(:new.COUNTRY_CODE, 10, ' ' ) || '.' ||
LPAD(:new.SQUARE_FEET, 6, '0' ) || '.' ||
LPAD(:new.NUMBER_MOTHER_LAW_UNITS, 6, '0' ) || '.' ||
TO_CHAR(:new.YEAR_BUILT, 'YYYYMMDD') || '.' ||
LPAD(:new.PROPERTY_VALUE, 12, '0' ) || '.' ||
RPAD(:new.ZIP_PLUS_4, 4, ' ' ) || '.' ||
RPAD(:new.SFI_REQ_FLAG, 1, ' ' ) || '.' ||
TO_CHAR(:new.LAST_MODIFIED, 'YYYYMMDD') || '.' ||
RPAD(:new.LAST_MODIFIED_BY, 31, ' ' ) || '.' ||
RPAD(:new.STANDARDIZED_STATUS, 10, ' ' ) || '.' ||
RPAD(:new.STANDARDIZED_DESC, 200, ' ' );
tcode := 'I';
elsif deleting then
rec1 :=
LPAD(:new.PROPERTY_ID, 20, '0' ) || '.' ||
RPAD(:new.TYPE_CODE, 10, ' ' ) || '.' ||
RPAD(:new.TYPE_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.DWELLING_TYPE_CODE, 10, ' ' ) || '.' ||
RPAD(:new.DWELLING_TYPE_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.STREET_NUMBER, 25, ' ' ) || '.' ||
RPAD(:new.STREET_DIRECTION, 2, ' ' ) || '.' ||
RPAD(:new.STREET_NAME, 45, ' ' ) || '.' ||
RPAD(:new.UNIT_NUMBER, 15, ' ' ) || '.' ||
RPAD(:new.CITY_CODE, 10, ' ' ) || '.' ||
RPAD(:new.STATE, 2, ' ' ) || '.' ||
RPAD(:new.ZIP_CODE, 10, ' ' ) || '.' ||
RPAD(:new.UNIT_TYPE, 10, ' ' ) || '.' ||
RPAD(:new.UNIT_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.COUNTY_CODE, 10, ' ' ) || '.' ||
RPAD(:new.COUNTRY_CODE, 10, ' ' ) || '.' ||
LPAD(:new.SQUARE_FEET, 6, '0' ) || '.' ||
LPAD(:new.NUMBER_MOTHER_LAW_UNITS, 6, '0' ) || '.' ||
TO_CHAR(:new.YEAR_BUILT, 'YYYYMMDD') || '.' ||
LPAD(:new.PROPERTY_VALUE, 12, '0' ) || '.' ||
RPAD(:new.ZIP_PLUS_4, 4, ' ' ) || '.' ||
RPAD(:new.SFI_REQ_FLAG, 1, ' ' ) || '.' ||
TO_CHAR(:new.LAST_MODIFIED, 'YYYYMMDD') || '.' ||
RPAD(:new.LAST_MODIFIED_BY, 31, ' ' ) || '.' ||
RPAD(:new.STANDARDIZED_STATUS, 10, ' ' ) || '.' ||
RPAD(:new.STANDARDIZED_DESC, 200, ' ' );
tcode := 'D';
else
rec1 :=
LPAD(:old.PROPERTY_ID, 20, '0' ) || '.' ||
RPAD(:old.TYPE_CODE, 10, ' ' ) || '.' ||
RPAD(:old.TYPE_PREFIX, 10, ' ' ) || '.' ||
RPAD(:old.DWELLING_TYPE_CODE, 10, ' ' ) || '.' ||
RPAD(:old.DWELLING_TYPE_PREFIX, 10, ' ' ) || '.' ||
RPAD(:old.STREET_NUMBER, 25, ' ' ) || '.' ||
RPAD(:old.STREET_DIRECTION, 2, ' ' ) || '.' ||
RPAD(:old.STREET_NAME, 45, ' ' ) || '.' ||
RPAD(:old.UNIT_NUMBER, 15, ' ' ) || '.' ||
RPAD(:old.CITY_CODE, 10, ' ' ) || '.' ||
RPAD(:old.STATE, 2, ' ' ) || '.' ||
RPAD(:old.ZIP_CODE, 10, ' ' ) || '.' ||
RPAD(:old.UNIT_TYPE, 10, ' ' ) || '.' ||
RPAD(:old.UNIT_PREFIX, 10, ' ' ) || '.' ||
RPAD(:old.COUNTY_CODE, 10, ' ' ) || '.' ||
RPAD(:old.COUNTRY_CODE, 10, ' ' ) || '.' ||
LPAD(:old.SQUARE_FEET, 6, '0' ) || '.' ||
LPAD(:old.NUMBER_MOTHER_LAW_UNITS, 6, '0' ) || '.' ||
TO_CHAR(:new.YEAR_BUILT, 'YYYYMMDD') || '.' ||
LPAD(:old.PROPERTY_VALUE, 12, '0' ) || '.' ||
RPAD(:old.ZIP_PLUS_4, 4, ' ' ) || '.' ||
RPAD(:old.SFI_REQ_FLAG, 1, ' ' ) || '.' ||
TO_CHAR(:new.LAST_MODIFIED, 'YYYYMMDD') || '.' ||
RPAD(:old.LAST_MODIFIED_BY, 31, ' ' ) || '.' ||
RPAD(:old.STANDARDIZED_STATUS, 10, ' ' ) || '.' ||
RPAD(:old.STANDARDIZED_DESC, 200, ' ' );
rec2 :=
LPAD(:new.PROPERTY_ID, 20, '0' ) || '.' ||
RPAD(:new.TYPE_CODE, 10, ' ' ) || '.' ||
RPAD(:new.TYPE_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.DWELLING_TYPE_CODE, 10, ' ' ) || '.' ||
RPAD(:new.DWELLING_TYPE_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.STREET_NUMBER, 25, ' ' ) || '.' ||
RPAD(:new.STREET_DIRECTION, 2, ' ' ) || '.' ||
RPAD(:new.STREET_NAME, 45, ' ' ) || '.' ||
RPAD(:new.UNIT_NUMBER, 15, ' ' ) || '.' ||
RPAD(:new.CITY_CODE, 10, ' ' ) || '.' ||
RPAD(:new.STATE, 2, ' ' ) || '.' ||
RPAD(:new.ZIP_CODE, 10, ' ' ) || '.' ||
RPAD(:new.UNIT_TYPE, 10, ' ' ) || '.' ||
RPAD(:new.UNIT_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.COUNTY_CODE, 10, ' ' ) || '.' ||
RPAD(:new.COUNTRY_CODE, 10, ' ' ) || '.' ||
LPAD(:new.SQUARE_FEET, 6, '0' ) || '.' ||
LPAD(:new.NUMBER_MOTHER_LAW_UNITS, 6, '0' ) || '.' ||
TO_CHAR(:new.YEAR_BUILT, 'YYYYMMDD') || '.' ||
LPAD(:new.PROPERTY_VALUE, 12, '0' ) || '.' ||
RPAD(:new.ZIP_PLUS_4, 4, ' ' ) || '.' ||
RPAD(:new.SFI_REQ_FLAG, 1, ' ' ) || '.' ||
TO_CHAR(:new.LAST_MODIFIED, 'YYYYMMDD') || '.' ||
RPAD(:new.LAST_MODIFIED_BY, 31, ' ' ) || '.' ||
RPAD(:new.STANDARDIZED_STATUS, 10, ' ' ) || '.' ||
RPAD(:new.STANDARDIZED_DESC, 200, ' ' );
tcode := 'U';
end if;
ls_sql :='
INSERT INTO AUDIT_LOG
( seq_no,
table_name,
user_stamp,
time_stamp,
tran_code,
record1,
record2)
VALUES
( :id,
:s_table_name,
:s_user_name,
:d_sysdate,
:s_tcode,
:s_rec1,
:s_rec2
EXECUTE IMMEDIATE ls_sql
USING ln_seq_id,
'PROPERTY',
user,
sysdate,
tcode,
rec1,
rec2;
end;
Your suggestion is highly appreciated ..
Edited by: Bipul on Sep 23, 2010 12:40 AMTEMP_AUDIT_SEQ generates number with the increment of +1
Although there seems other sequence populating the AUDIT_LOG table through a different sequence with the increment of +10. So till now there are already 1179 different numbers residing in audit_log.seq_no and yet to be generated by the TEMP_AUDIT_SEQ sequence. I will look into more details.
SQL> select max(seq_no) from audit_log;
MAX(SEQ_NO)
1675689121
SQL> select TEMP_AUDIT_SEQ.nextval from dual;
NEXTVAL
1675677285
SQL> select count(*) From audit_log where seq_no>1675677285;
COUNT(*)
1179
SQL> select count(*) from audit_log where seq_no>1675677283 and mod(seq_no,2)=1;
COUNT(*)
1179
SQL> select seq_no from audit_log where seq_no>1675677283 and mod(seq_no,2)=1 and rownum<12;
SEQ_NO
1675677291
1675677301
1675677311
1675677321
1675677331
1675677341
1675677351
1675677361
1675677371
1675677381
1675677391
11 rows selected.
Thank you Lee and Herald ten Dam ... -
"Update was terminated" during VF01 after the invoice is save
I am experiencing an error of "Update was terminated" during VF01 after the invoice is save. The Update terminations are displayed in transaction SM13. When I check the error is in the 'RV_MESSAGE_UPDATE' with the error text 'BF00 075: No entry found for argument PL 0 0 in table T015Z'.
I did found a related OSS note "Note 423130 - Update terminatation when create billing document". I change the output dispatch time to '3' but I still encountering the error.
Could anyone know other possible solution?
Thanks in advance.I dont think this relates to output time but it relates to converting some amount into words.
Below the SAP explanation on Table T015Z
Table T015Z is used for converting amounts into words. The Unit field is
used for specifying the power of ten of a figure in the amount to be
converted, and the Figure field is used for specifying the digit in the
amount defined by the power of ten. The Number in words field is used
for specifying the corresponding word.
You use the function module SPELL_AMOUNT to convert an amount into
words. The function module can be tested with report RF_SPELL.
thanks
G. Lakshmipathi -
How to append ALV grid output to LIST output
Hi,
I am working with Basis AUDIT MANUAL report for which i have to integrate around 50 standard transactions (SM37,SM35...etc) output and make it into one single report.
On execution of my report i have to get all the 50 transaction outputs sequentially.
Some standard transactions have ALV list display output and some have GRID display.I can able to append only list outputs by submit program and exporting list to memory.
Please suggest me how to get Alv grid output in midst of list output.
Regards
Kalpana.You should post your question to the ABAP forum:
ABAP Development -
Trigger compiles but errors out during execution
You guys wouldn't like this. Its about a trigger !
Below is a trigger i've found in OTN. I've a similair requirement. The below trigger will compile . But, during execution i get
ORA-00936: missing expression during executionI have this feeling that the last line in the INSERT statment is causing the issue.
create or replace trigger trg_test
before insert or update on central_dtls.emp_config
for each row
declare
v_schema varchar2(100);
v_sql_stat varchar2(32767);
begin
select schema_name into v_schema from central_dtls.master_config where company_id= :new.id;
v_sql := 'insert into ' ||v_schema||'..emp_config_local
company_id,
values
||:new.col1||', '
||:new.col2||', '
||:new.lastcol|| ')'; ----- Potential issue in this line
exception
when others then ......;
end;
/I've tried the below things.
||:new.lastcol ');'; --- Trigger Will not compile
||:new.lastcol|| ')'; --- Trigger Will compile , but, will get "ORA-00936: missing expression" during execution
||:new.lastcol|| ');'; --- Trigger Will compile , but, will get "ORA-00936: missing expression" during executionYou have:
v_sql := 'insert into ' ||v_schema||'..emp_config_local Try with:
v_sql := 'insert into ' ||v_schema||'.emp_config_local (only one dot between schema and table name :) ) -
Fpga: Re-Initialize Block Memory during Execution
Hello,
I am working on a project in labview fpga 2010, using the Spartan 3e board. At the present, I am using a large chunk of block memory in a VI and initialize it using an initialization VI that reads values from a spreadsheet and places them in the memory. It works for the first time, however I want to be able to re-initialize the memory during execution of the VI (i.e. I overwrite all the values in the table, then after a certain time I wish to reset them back to their initial values). Is there any way of accomplishing this on the FPGA without using double the memory and simply writing the changed values in a different location while leaving the originals unharmed? Thanks for your helpI think the approach I would take to solve this would be as follows:
Protect access to the block RAM with helper VIs that provide some level of locking (see http://zone.ni.com/devzone/cda/epd/p/id/6014 for some ideas)
Lock the block RAM when you're about to change it, and the go ahead and push the new values to the FPGA, pull the old values to remember them on the host, or both
Unlock when you've completed updating the RAM contents.
Note that, depending on how large this block RAM is, this approach could be painfully slow (since the Spartan 3E boards don't support DMA, you'll have to create your own mechanism for pushing the data to the device) -
During install of SqlServer Express 2008 (also I tried Developer Edition 2008 R2 with same error) I have error:
2014-05-01 17:13:52 Slp: Running Action: Install_WatsonX86_Cpu32_Action
2014-05-01 17:13:52 Slp: Error: Action "Install_WatsonX86_Cpu32_Action" threw an exception during execution.
2014-05-01 17:13:52 Slp: Microsoft.SqlServer.Setup.Chainer.Workflow.ActionExecutionException: C:\WINDOWS\Installer\7affd.msi ---> System.IO.FileNotFoundException: C:\WINDOWS\Installer\7affd.msi
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetSummaryInformationStringProperty(ServiceContainer context, String pathToMsi, SummaryInformationStreamPropertySet propertyId)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetInstalledSummaryInformationStringProperty(ServiceContainer context, String productCode, SummaryInformationStreamPropertySet propertyId)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Configuration.SetupExtension.MsiInstallEngineActionBehavior.ModifyAction(String installedProductCode, String installedProductVersion, String pathOfPackageOnMedia, InstallAction pkgAction)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Configuration.SetupExtension.MSIInstallerEngine.InstallPackage(PackageId pkg, InstallAction pkgAction)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Configuration.MsiExtension.PackageInstallAction.Execute(String actionId, TextWriter errorStream)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
2014-05-01 17:13:52 Slp: --- Конец трассировки внутреннего стека исключений ---
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Setup.Chainer.Workflow.ActionEngine.RunActionQueue()Error: Action "MsiTimingAction" threw an exception during execution.
2014-05-01 17:13:52 Slp: Microsoft.SqlServer.Setup.Chainer.Workflow.ActionExecutionException: C:\WINDOWS\Installer\7affd.msi ---> System.IO.FileNotFoundException: C:\WINDOWS\Installer\7affd.msi
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetSummaryInformationStringProperty(ServiceContainer context, String pathToMsi, SummaryInformationStreamPropertySet propertyId)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetInstalledSummaryInformationStringProperty(ServiceContainer context, String productCode, SummaryInformationStreamPropertySet propertyId)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Configuration.SetupExtension.MsiInstallEngineActionBehavior.ModifyAction(String installedProductCode, String installedProductVersion, String pathOfPackageOnMedia, InstallAction pkgAction)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Configuration.SetupExtension.MSIInstallerEngine.InstallPackage(PackageId pkg, InstallAction pkgAction)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Configuration.MsiExtension.PackageInstallAction.Execute(String actionId, TextWriter errorStream)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
2014-05-01 17:13:52 Slp: --- Конец трассировки внутреннего стека исключений ---
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
2014-05-01 17:13:52 Slp: Received request to add the following file to Watson reporting: C:\Documents and Settings\me\Local Settings\Temp\tmp1C4.tmp
2014-05-01 17:13:52 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
2014-05-01 17:13:52 Slp: Inner exceptions are being indented
2014-05-01 17:13:52 Slp:
2014-05-01 17:13:52 Slp: Exception type: System.IO.FileNotFoundException
2014-05-01 17:13:52 Slp: Message:
2014-05-01 17:13:52 Slp: C:\WINDOWS\Installer\7affd.msi
2014-05-01 17:13:52 Slp: Stack:
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetSummaryInformationStringProperty(ServiceContainer context, String pathToMsi, SummaryInformationStreamPropertySet
propertyId)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetInstalledSummaryInformationStringProperty(ServiceContainer context, String productCode, SummaryInformationStreamPropertySet
propertyId)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Configuration.SetupExtension.MsiInstallEngineActionBehavior.ModifyAction(String installedProductCode, String installedProductVersion, String pathOfPackageOnMedia,
InstallAction pkgAction)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Configuration.SetupExtension.MSIInstallerEngine.InstallPackage(PackageId pkg, InstallAction pkgAction)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Configuration.MsiExtension.PackageInstallAction.Execute(String actionId, TextWriter errorStream)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
2014-05-01 17:13:56 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\Microsoft SQL Server to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_171325\Registry_SOFTWARE_Microsoft_Microsoft SQL Server.reg_
2014-05-01 17:13:56 Slp: Sco: Unable to write hklm registry key SOFTWARE\Microsoft\Microsoft SQL Server to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_171325\Registry_SOFTWARE_Microsoft_Microsoft SQL Server.reg_, Win32 error
2
2014-05-01 17:13:56 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_171325\Registry_SOFTWARE_Microsoft_Windows_CurrentVersion_Uninstall.reg_
2014-05-01 17:13:56 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\MSSQLServer to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_171325\Registry_SOFTWARE_Microsoft_MSSQLServer.reg_
2014-05-01 17:13:56 Slp: Sco: Unable to write hklm registry key SOFTWARE\Microsoft\MSSQLServer to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_171325\Registry_SOFTWARE_Microsoft_MSSQLServer.reg_, Win32 error 2
I checked C:\WINDOWS\Installer\ for "7affd.msi" - there is no such file. Also I checked same folder on Win7-64 machine and Notebook WinXP-Pro - there is no such file. I was able to install Express on both Win7-64 and Notebook, but not on this machine.
I've tried searching for "7affd.msi" on internet without luck. Also I removed all Visual Studio Express 2010 and used any "Fix-It" utilities to check files and registry. And still have same error.
How to fix it?Overall summary:
Final result: Failed: see details below
Exit code (Decimal): -819060177
Exit facility code: 1838
Exit error code: 8751
Exit message: C:\WINDOWS\Installer\7affd.msi
Start time: 2014-05-01 21:16:41
End time: 2014-05-01 21:17:00
Requested action: ComponentUpdate
Log with failure: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_211629\Detail_ComponentUpdate.txt
Exception help link: http%3a%2f%2fgo.microsoft.com%2ffwlink%3fLinkId%3d20476%26ProdName%3dMicrosoft%2bSQL%2bServer%26EvtSrc%3dsetup.rll%26EvtID%3d50000%26ProdVer%3d10.0.1600.22%26EvtType%3d0xCF2E222F
Machine Properties:
Machine name: 3R-XP
Machine processor count: 4
OS version: Windows XP
OS service pack: Service Pack 3
OS region: Россия
OS language: русский (Россия)
OS architecture: x86
Process architecture: 32 Bit
OS clustered: No
Package properties:
Description: SQL Server Database Services 2008
SQLProductFamilyCode: {628F8F38-600E-493D-9946-F4178F20A8A9}
ProductName: SQL2008
Type: RTM
Version: 10
SPLevel: 0
Installation location: j:\85c0db9df26d4ae0b40b522d393a\x86\setup\
Installation edition: EXPRESS
User Input Settings:
ACTION: ComponentUpdate
CONFIGURATIONFILE:
HELP: False
INDICATEPROGRESS: False
MEDIASOURCE: j:\85c0db9df26d4ae0b40b522d393a\
PID: *****
QUIET: False
QUIETSIMPLE: False
X86: False
Configuration file: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_211629\ConfigurationFile.ini
Detailed results:
Rules with failures:
Global rules:
There are no scenario-specific rules.
Rules report file: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_211629\SystemConfigurationCheck_Report.htm
Exception summary:
The following is an exception stack listing the exceptions in outermost to innermost order
Inner exceptions are being indented
Exception type: System.IO.FileNotFoundException
Message:
C:\WINDOWS\Installer\7affd.msi
Data:
DisableWatson = true
Stack:
в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetSummaryInformationStringProperty(ServiceContainer context, String pathToMsi, SummaryInformationStreamPropertySet propertyId)
в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetInstalledSummaryInformationStringProperty(ServiceContainer context, String productCode, SummaryInformationStreamPropertySet propertyId)
в Microsoft.SqlServer.Configuration.SetupExtension.MsiInstallEngineActionBehavior.ModifyAction(String installedProductCode, String installedProductVersion, String pathOfPackageOnMedia, InstallAction pkgAction)
в Microsoft.SqlServer.Configuration.SetupExtension.MSIInstallerEngine.InstallPackage(PackageId pkg, InstallAction pkgAction)
в Microsoft.SqlServer.Configuration.MsiExtension.PackageInstallAction.Execute(String actionId, TextWriter errorStream)
в Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
в Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream) -
Printing the list output.
Hi All,
I want to print the output of the report. I am printing it using NEW-PAGE PRINT ON . and concluded by NEW-PAGE PRINT OFF. I am doing this under the usercommand. The problem is,, when I say print,(user command), I can print the output but the it is leading to the previous screen. I want to be in the same screen after my printing. I am pasting the code also. Can any one suggest me, where I am doing the mistake.
<b><REMOVED BY MODERATOR></b>
CASE P_UCOMM1.
WHEN 'PRINT11'.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
COPIES = '1'
DESTINATION = 'LOCL'
IMMEDIATELY = 'X'
LINE_COUNT = 25
LINE_SIZE = 132
NO_DIALOG = 'X'
USER = SY-UNAME
ABAP_LIST = 'X'
IMPORTING
OUT_PARAMETERS = L_PARAMS
VALID = L_VALID.
&--'REUSE_ALV_HIERSEQ_LIST_DISPLAY'--
DATA:FLAG(1).
CLEAR FLAG.
IF L_VALID <> SPACE.
NEW-PAGE PRINT ON PARAMETERS L_PARAMS NO DIALOG.
CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = GD_REPID
I_CALLBACK_PF_STATUS_SET = 'PF_STATUS_SET1'
I_CALLBACK_USER_COMMAND = 'EXEC'
IS_LAYOUT = M_LAYOUT
IT_FIELDCAT = I_FLDCATALOG
IT_EVENTS = I_EVENTS
I_TABNAME_HEADER = 'I_MHEAD'
I_TABNAME_ITEM = 'I_MITEM'
IS_KEYINFO = M_KEYINFO
TABLES
T_OUTTAB_HEADER = I_MHEAD
T_OUTTAB_ITEM = I_MITEM.
REFRESH I_FLDCATALOG.
CLEAR M_LAYOUT.
CLEAR M_KEYINFO.
NEW-PAGE PRINT OFF.
CLEAR L_PARAMS.
CLEAR L_VALID.
ENDIF.
LOOP AT I_HITEM INTO W_HITEM.
IF W_HITEM-CHECK = 'X'.
W_HITEM-PFLAG = 'PRINTED'.
MODIFY I_HITEM FROM W_HITEM INDEX SY-TABIX TRANSPORTING PFLAG
ENDIF.
ENDLOOP.
IF SY-SUBRC = 0.
LOOP AT I_PFLAG INTO W_PFLAG.
UPDATE RESB SET WEMPF = 'X'
WHERE AUFNR = W_PFLAG-AUFNR
AND MATNR = W_PFLAG-MATNR
AND DUMPS = 'X'.
COMMIT WORK.
WAIT UP TO 1 SECONDS.
ENDLOOP.
ENDIF.
ENDCASE.
Thanks
Ramesh.
Message was edited by:
Alvaro Tejada GalindoHi,
When you get the list output .
click on print button to print it. A dialog box will come.
In that dialog box, there will be settings button . when you click on this button, you will get many options and the value of those options that can be set defualt for that report output.
In that there is s option of printer , select that option and enter a value and then set that as default.
I hope this will solve your problem.
For any more help, please revert back.
Thanks and regards
Gurpreet Singh -
MB51- list output and layout question
Dear experts,
I have a quick question about MB51 layout. When I run the report the output by default is not ALV list output. In order to get that I have to click the "detail" view button. I am trying to set this job in the background and send the "list" output ( or excel format) to the user automatically. Creating new layout doesn't allow me to choose the desired list output. I found couple old threads related to this however I am not sure which is one is more accurate and up to date.
Option1: Spro Reporting setting under Inventory managment and physical inventory - I didn't find any setting here to achieve this. Is there any?
Option 2: Creating ZMB51 and update the routine output_list in order to replace the fm REUSE_ALV_HIERSEQ_LIST_DISPLAY with REUSE_ALV_GRID_DISPLAY.
Can you please suggest is there any easier way? Option 1 sounds reasonable.Or only option 2 is possible.
thanks,
DuhitaHi,
This feature to default to "Detail List" ("Flat List") from the selection screen in SAP transaction code MB51 has been created in SAP note 1870531. Latest support package may be required.
"The output list of transaction MR51 has a hierarchical structure. You can branch to the flat list from the output list. Previously, you could not call the flat list directly from the selection screen."
Regards,
James -
ZCC Updates list is not accurate or doesn't show up.
I am seeing inconsistent or no results at all when I log into ZCC, go to "Devices", and look at the "Updates" column. I can patch, etc...using rug from the client with no problem, but would like to be able to at minimum, get an accurate list in ZCC that matches the output of "rug list-updates"
For example:
My workstation (SLED11-i586) has the icon in that column that there are updates available. When I click on it, I see 133 updates, similar to what is included in my attached file under the ZCC section.
Notice the multiple occurrences of the packages with high version numbers, etc.....
If I do a rug list-updates on my workstation, I receive what is included in my attached file under the RUG section.
A zypper list-updates pulls an identical list from NU.
FYI, the SLED11-Updates-bundle is assigned to a catalog that is assigned to the device, and the same has been done with the distribution bundle.
I have also noticed that when zlmmirror runs, it is re-downloading some of the same packages over and over again. An example output is included in attached file under the ZLMMIRROR section.
(command being used: zlmmirror m --force-nevra -c <xmlfile>
Sorry for all of the attachments, but I wanted to be sure to give all of the details of exactly what I am seeing.
Other devices do not show any patches in the "updates" column at all, even though there are outstanding patches, and some, like my workstations, are showing multiple occurrences of things that have already been applied.
We have a fairly new deployment of ZLM,and I am still working out the kinks, so I am sure that we probably have something misconfigured.
Any ideas? I would be very grateful for any assistance with this!
Thanks.
Allen B.I had assumed that zlmmirror was just updating/replacing the packages in the bundle, and not incrementing the version each time there is an update.
Of course it updates the packages, but at the same time it increases the bundle version. The latest (deployed) bundle version has always only the highest package levels in. But if you check the bundle detail page in ZCC you can choose a different bundle version and check what packages was there in. But if you expect that you might get every day a sles 10 update, you could have another 365 different bundle versions a year on your zlm server. Therefor I delete the old version time by time.
Is there a setting to limit the number of versions that are kept of each bundle, or do I need to just manually clean that up from time to time?
No, there is no option to limit it.
I was hoping that the "Updates" column icon would give me a list of what is outstanding that matches the list provided on the device by rug list-updates, and that there would be some option to deploy from that list (similar to the Redhat RHN way of updating systems), rather than having to put the packages in a bundle that is direct assigned, or by using a remote execute script to do "rug up -y" as I have been doing. Looks like that is not an option, though....
The update list shows you all bundles on the zlm server that contain higher package versions then there are deployed on the managed device. If you want to deploy such a higher package version, you can select that bundle and assign it to the device directly and then it is a mandatory bundle and get installed the next time the device refreshes. If there are other packages in that bundle that have a higher package version, they also get applied at that time.
I assume you assign catalogs that you run the "rug up -y" frequently ?
Catalogs are just package repositories and nothin ghappens with the packages in the bundles of that catalog except you subscribe to the catalog and then run a rug up. That would check all package sources of the zlm client and install all available updates.
Regarding the zlmmirror and the multiple mirroring of the same package I need to check the hot patch 1 for 7.3. That might have a fix for that. Let me see, there is a tid for it.
Rainer
Maybe you are looking for
-
How can I add http (hotmail) account in Mail app?
It doesn't give the option for http when you configure the program so I'm just wondering if it's possible to do this.
-
Can't access library in Photoshop CC (or Illustrator CC)
I am running Photoshop CC 2014.1.0 and Adobe Creative Cloud says Photoshop CC (2014) is "up to date" Illustrator CC (2014) is also "up to date" In the Window menu there is no library option (doesn't appear in list) I am signed in (confirmed this in H
-
I have added a vi, but it doesn't quite work. Would be very grateful if someone could help, thanks! Attachments: Average_0411041_2.vi 77 KB
-
Maxperformance with logxptmode sync
Hai, it's possible if our dataguard configuration will be setup maxperformance with logxpt mode sync? if the network disconnect between primary and standby(with maxperformance logxpt sync),what happened with primary database?it's effect to our primar
-
Adobe 10.1.4 crashes when trying to print
Hello people, I have updated my adobe from 10.1.2 to 10.1.4 yet it still crashes when i try to print. Can anyone help please?