Dispatch background error in bdc vl01n
Hi Guru,
I am creating a module pool program,in module pool program we have 30 input fields through this input field we store the data in z table and pass quantity,serial number and lenght in vl01n. but in forground ground working fine but background showing error.
Please help me. i am sending some code.
PERFORM BDC_NODATA USING NODATA.
PERFORM OPEN_GROUP USING GROUP USER KEEP HOLDDATE CTU.
PERFORM BDC_DYNPRO USING 'SAPMV50A' '4001'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'LV50C-BIPOS'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'/00'.
PERFORM BDC_FIELD USING 'LIKP-VSTEL'
VSTEL_001.
PERFORM BDC_FIELD USING 'LV50C-DATBI'
DATBI_002.
PERFORM BDC_FIELD USING 'LV50C-VBELN'
VBELN_003.
PERFORM BDC_FIELD USING 'LV50C-ABPOS'
ABPOS_004.
PERFORM BDC_FIELD USING 'LV50C-BIPOS'
BIPOS_005.
PERFORM BDC_DYNPRO USING 'SAPMV50A' '1000'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=T\02'.
PERFORM BDC_FIELD USING 'LIKP-BLDAT'
BLDAT_006.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'LIPS-MATNR(04)'.
PERFORM BDC_FIELD USING 'LIKP-WADAT'
WADAT_007.
PERFORM BDC_FIELD USING 'LIKP-WAUHR'
WAUHR_008.
PERFORM BDC_DYNPRO USING 'SAPMV50A' '1000'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'/00'.
PERFORM BDC_FIELD USING 'LIKP-BLDAT'
BLDAT_009.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'LIPS-LGORT(03)'.
PERFORM BDC_FIELD USING 'LIKP-KODAT'
KODAT_010.
PERFORM BDC_FIELD USING 'LIKP-KOUHR'
KOUHR_011.
PERFORM BDC_FIELD USING 'LIPS-LGORT(01)'
LGORT_01_012.
PERFORM BDC_FIELD USING 'LIPSD-G_LFIMG(01)'
G_LFIMG_01_013.
MOVE 2 TO IDX1.
LOOP AT IT_SEQ INTO WA_SEQ.
QTY1 = WA_SEQ-QTY.
QTY = QTY1.
CONCATENATE 'LIPSD-G_LFIMG(' IDX1 ')' INTO FNAME.
PERFORM BDC_FIELD USING FNAME"'RIPW0-SERNR(01)'
QTY. "'bgl17'.
IDX1 = IDX1 + 1.
ENDLOOP.
*move 2 to idx1.
loop at it_seq into wa_seq.
concatenate 'LIPSD-G_LFIMG(' idx1 ')' into fname.
perform bdc_field using fname"'RIPW0-SERNR(01)'
wa_seq-qty. "'bgl17'.
idx1 = idx1 + 1.
endloop.
*perform bdc_field using 'LIPSD-G_LFIMG(02)'
G_LFIMG_02_014.
*perform bdc_field using 'LIPSD-G_LFIMG(03)'
G_LFIMG_03_015.
PERFORM BDC_DYNPRO USING 'SAPMV50A' '1000'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=PSER_T'.
PERFORM BDC_FIELD USING 'LIKP-BLDAT'
BLDAT_016.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'LIPS-POSNR(01)'.
PERFORM BDC_FIELD USING 'LIKP-KODAT'
KODAT_017.
PERFORM BDC_FIELD USING 'LIKP-KOUHR'
KOUHR_018.
PERFORM BDC_FIELD USING 'RV50A-LIPS_SELKZ(01)'
LIPS_SELKZ_01_019.
PERFORM BDC_DYNPRO USING 'SAPLIPW1' '0200'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'RIPW0-SERNR(02)'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=RWS'.
MOVE 1 TO IDX.
LOOP AT ITAB INTO WA.
CONCATENATE 'RIPW0-SERNR(' IDX ')' INTO FNAM.
PERFORM BDC_FIELD USING FNAM"'RIPW0-SERNR(01)'
WA-PSLNO. "'bgl17
IDX = IDX + 1.
ENDLOOP.
*perform bdc_field using 'RIPW0-SERNR(01)'
SERNR_01_020.
*perform bdc_field using 'RIPW0-SERNR(02)'
SERNR_02_021.
PERFORM BDC_DYNPRO USING 'SAPMV50A' '1000'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=WABU_T'.
PERFORM BDC_FIELD USING 'LIKP-BLDAT'
BLDAT_022.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'LIPS-MATNR(04)'.
PERFORM BDC_FIELD USING 'LIKP-KODAT'
KODAT_023.
PERFORM BDC_FIELD USING 'LIKP-KOUHR'
KOUHR_024.
PERFORM BDC_TRANSACTION TABLES MESSTAB
USING 'VL01N'
CTU
MODE
UPDATE.
i am calling bdc code through function module.in message itab i getting
message type 'E' message id 'VL'
msgnr '461' fldname'LV50C-BIPOS' msgv1 ' '
CALL FUNCTION 'ZFM_VL01N_01'
EXPORTING
CTU = 'X'
MODE = 'A'
UPDATE = 'N'
NODATA = '/'
VSTEL_001 = '1010'
DATBI_002 = DATBI_002"'17.03.2011'
VBELN_003 = VBELN"'256'
ABPOS_004 = ABPOS_004 "'10'
BIPOS_005 = BIPOS_005"'30'
BLDAT_006 = BLDAT_009"'16.03.2011'
WADAT_007 = BLDAT_009"'16.03.2011'
WAUHR_008 = TIME "'00:00:00'
BLDAT_009 = BLDAT_009"'16.03.2011'
KODAT_010 = BLDAT_009"'16.03.2011'
KOUHR_011 = TIME "'00:00:00'
LGORT_01_012 = '1105'
G_LFIMG_01_013 = ICOUNT"G_LFIMG_01_013"'2'
G_LFIMG_02_014 = '2'
G_LFIMG_03_015 = '2'
BLDAT_016 = BLDAT_009"'16.03.2011'
KODAT_017 = BLDAT_009"'16.03.2011'
KOUHR_018 = TIME "'00:00:00'
LIPS_SELKZ_01_019 = 'X'
SERNR_01_020 = '3852'
SERNR_02_021 = '3853'
BLDAT_022 = BLDAT_009"'16.03.2011'
KODAT_023 = BLDAT_009"'16.03.2011'
KOUHR_024 = TIME "'00:00:00'
IMPORTING
SUBRC =
TABLES
MESSTAB = MESSTAB[]
ITAB =
IT_SEQ =
Similar Messages
-
Error in bdc ... cannot insert in the transaction pa30 , infotype 0105 , adding userid
Error :- usrid does not exists in given time span
Plz let me knw if u have any solWhen u r creating a new user then check Start date. If start date is not equals to current date then it will give a message other wise message will not come it seems. Suppose message is coming while creating time then no issue go to PA0105 table and check it's creating or not. If it's creating that means your BDC is delimiting the record and entring new record into data base.
Rajneesh Gupta -
Error in BDC session Insert.....
Hi All,
Guys iam running BDC pgm for MEK1 create condition records transaction and i get an error while executing through BDC_INSERT. Its an internal error with text "Error in BDC session Insert..".The text file iam using contains 26 line items for the first contract created earlier and 30 line items for the second record. My concern is it only happens for this text file with multiple or more line items.
While debugging i have observed that after the session has been created the first bdc insert goes well for the first header record and then it fails for the second record with an internal error "Error in BDC session Insert..".
Does anyone have enountered such issue before or is it related to limited number of line items in MEK1 transaction.
Any help would be appreciated.
Thanks,
Avinashreport ZSESSION1
no standard page heading line-size 255.
*include bdcrecx1.
DATA: BDCDATA LIKE BDCDATA OCCURS 0 WITH HEADER LINE .
TYPES: BEGIN OF TYP_STU,
Z_STUDID TYPE ZSTUD1-Z_STUDID,
Z_STUDNAME TYPE ZSTUD1-Z_STUDNAME,
Z_STUDAGE TYPE ZSTUD1-Z_STUDAGE,
END OF TYP_STU.
DATA: IT_STU TYPE STANDARD TABLE OF TYP_STU,
GW_STU TYPE TYP_STU,
V_PATH TYPE STRING.
PARAMETERS SUREN TYPE IBIPPARMS-PATH OBLIGATORY.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR SUREN .
PERFORM GETFILE USING SUREN.
V_PATH = SUREN.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = V_PATH
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = ' '
HEADER_LENGTH = 0
READ_BY_LINE = 'X'
DAT_MODE = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
CHECK_BOM = ' '
VIRUS_SCAN_PROFILE =
NO_AUTH_CHECK = ' '
IMPORTING
FILELENGTH =
HEADER =
TABLES
DATA_TAB = IT_STU
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'BDC_OPEN_GROUP'
EXPORTING
CLIENT = SY-MANDT
DEST = FILLER8
GROUP = 'SESSION1'
HOLDDATE = FILLER8
KEEP = 'X'
USER = SY-UNAME
RECORD = FILLER1
PROG = SY-CPROG
DCPFM = '%'
DATFM = '%'
IMPORTING
QID =
EXCEPTIONS
CLIENT_INVALID = 1
DESTINATION_INVALID = 2
GROUP_INVALID = 3
GROUP_IS_LOCKED = 4
HOLDDATE_INVALID = 5
INTERNAL_ERROR = 6
QUEUE_ERROR = 7
RUNNING = 8
SYSTEM_LOCK_ERROR = 9
USER_INVALID = 10
OTHERS = 11
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
START-OF-SELECTION.
LOOP AT IT_STU INTO GW_STU.
REFRESH BDCDATA.
*perform open_group.
perform bdc_dynpro using 'SAPMSRD0' '0102'.
perform bdc_field using 'BDC_CURSOR'
'RSRD1-TBMA_VAL'.
perform bdc_field using 'BDC_OKCODE'
'=EDIT'.
perform bdc_field using 'RSRD1-TBMA'
'X'.
perform bdc_field using 'RSRD1-TBMA_VAL'
'ZSTUD1'.
perform bdc_dynpro using 'SAPLSD41' '2200'.
perform bdc_field using 'BDC_CURSOR'
'DD02D-DDTEXT'.
perform bdc_field using 'BDC_OKCODE'
'=TDED'.
perform bdc_field using 'DD02D-DDTEXT'
'Stud details'.
perform bdc_dynpro using '/1BCDWB/DBZSTUD1' '0101'.
perform bdc_field using 'BDC_CURSOR'
'ZSTUD1-Z_STUDAGE'.
perform bdc_field using 'BDC_OKCODE'
'=SAVE'.
perform bdc_field using 'ZSTUD1-Z_STUDID'
GW_STU-Z_STUDID .
perform bdc_field using 'ZSTUD1-Z_STUDNAME'
GW_STU-Z_STUDNAME .
perform bdc_field using 'ZSTUD1-Z_STUDAGE'
GW_STU-Z_STUDAGE .
perform bdc_dynpro using '/1BCDWB/DBZSTUD1' '0101'.
perform bdc_field using 'BDC_OKCODE'
'/EBACK'.
perform bdc_field using 'BDC_CURSOR'
'ZSTUD1-Z_STUDID'.
perform bdc_dynpro using 'SAPLSD41' '2200'.
perform bdc_field using 'BDC_CURSOR'
'DD02D-DDTEXT'.
perform bdc_field using 'BDC_OKCODE'
'=WB_BACK'.
perform bdc_field using 'DD02D-DDTEXT'
'Stud details'.
perform bdc_dynpro using 'SAPMSRD0' '0102'.
perform bdc_field using 'BDC_CURSOR'
'RSRD1-TBMA_VAL'.
perform bdc_field using 'BDC_OKCODE'
'=BACK'.
perform bdc_field using 'RSRD1-TBMA'
'X'.
perform bdc_field using 'RSRD1-TBMA_VAL'
'ZSTUD1'.
*perform bdc_transaction using 'SE11'.
CALL FUNCTION 'BDC_INSERT'
EXPORTING
TCODE = 'SE11'
POST_LOCAL = NOVBLOCAL
PRINTING = NOPRINT
SIMUBATCH = ' '
CTUPARAMS = ' '
TABLES
DYNPROTAB = BDCDATA
EXCEPTIONS
INTERNAL_ERROR = 1
NOT_OPEN = 2
QUEUE_ERROR = 3
TCODE_INVALID = 4
PRINTING_INVALID = 5
POSTING_INVALID = 6
OTHERS = 7
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDLOOP.
CALL FUNCTION 'BDC_CLOSE_GROUP'
EXCEPTIONS
NOT_OPEN = 1
QUEUE_ERROR = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*ENDLOOP.
*perform close_group.
*& Form bdc_dynpro
text
-->P_0207 text
-->P_0208 text
*FORM bdc_dynpro USING VALUE(P_0207)
VALUE(P_0208).
*ENDFORM. " bdc_dynpro
FORM BDC_DYNPRO USING PROGRAM DYNPRO.
CLEAR BDCDATA.
BDCDATA-PROGRAM = PROGRAM.
BDCDATA-DYNPRO = DYNPRO.
BDCDATA-DYNBEGIN = 'X'.
APPEND BDCDATA.
ENDFORM. "BDC_DYNPRO
*& Form bdc_field
text
-->P_0212 text
-->P_0213 text
*FORM bdc_field USING VALUE(P_0212)
VALUE(P_0213).
*ENDFORM. " bdc_field
FORM BDC_FIELD USING FNAM FVAL.
CLEAR BDCDATA.
BDCDATA-FNAM = FNAM.
BDCDATA-FVAL = FVAL.
APPEND BDCDATA.
ENDFORM .
FORM GETFILE USING SUREN.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
IMPORTING
FILE_NAME = SUREN.
ENDFORM. -
Don't Start the dispatcher after Error in Upgrade of SQL2000 to SQL 2005
HI,
We have a problem after try to upgrade the SQL 2000 to SQL2005.We have
two SID in one server, the upgrade of the first that perfect, but when
we try to do the same to the other in SAPINST of SAPTOOLS stopped in theproccess when create the storad procedures and aappeared to remain closed the setup, when i try to start the SID, don't start the dispatcher. the error was: Caugth ESAPinstException in Modulecall: executing JS script failed. and in the syslog of the SID in SAPMMC apperd this error: SAP Basis System: Initialization TSKH-IPC Failed, Return Code -000001. i
attached the log. this is my QAS System.
Please i need some help.
this is the log:
INFO 2008-06-19 17:28:26.330
Creating file C:\Program Files\sapinst_instdir\MSS\YU\x.
INFO 2008-06-19 17:28:26.330
Removed file C:\Program Files\sapinst_instdir\MSS\YU\x.
INFO 2008-06-19 17:29:42.797
Creating directory C:\Program Files\sapinst_instdir\MSS\YU\log_19_Jun_2008_17_29_42.
INFO 2008-06-19 17:29:43.484
Copied file 'J:/saptools/STM/I386/STM/control.xml' to 'C:/Program Files/sapinst_instdir/MSS/YU'.
INFO 2008-06-19 17:29:43.500
Copied file 'J:/saptools/STM/I386/STM/dialog.xml' to 'C:/Program Files/sapinst_instdir/MSS/YU'.
INFO 2008-06-19 17:29:43.515
Copied file 'J:/saptools/STM/I386/STM/keydb.xml' to 'C:/Program Files/sapinst_instdir/MSS/YU'.
INFO 2008-06-19 17:29:43.531
Copied file 'J:/saptools/STM/I386/STM/messages.xml' to 'C:/Program Files/sapinst_instdir/MSS/YU'.
INFO 2008-06-19 17:29:43.546
Copied file 'J:/saptools/STM/I386/STM/resourcepool.xml' to 'C:/Program Files/sapinst_instdir/MSS/YU'.
INFO 2008-06-19 17:29:43.546
Copied file 'J:/saptools/STM/I386/STM/stm.xml' to 'C:/Program Files/sapinst_instdir/MSS/YU'.
INFO 2008-06-19 17:29:43.562
Copied file 'J:/saptools/STM/I386/STM/toplevel.xml' to 'C:/Program Files/sapinst_instdir/MSS/YU'.
INFO 2008-06-19 17:29:43.593
Copied file 'J:/saptools/STM/I386/STM/control.dtd' to 'C:/Program Files/sapinst_instdir/MSS/YU'.
INFO 2008-06-19 17:29:43.593
Copied file 'J:/saptools/STM/I386/STM/doc.dtd' to 'C:/Program Files/sapinst_instdir/MSS/YU'.
INFO 2008-06-19 17:29:43.609
Copied file 'J:/saptools/STM/I386/STM/keydb.dtd' to 'C:/Program Files/sapinst_instdir/MSS/YU'.
INFO 2008-06-19 17:29:43.625
Copied file 'J:/saptools/STM/I386/STM/messages.dtd' to 'C:/Program Files/sapinst_instdir/MSS/YU'.
INFO 2008-06-19 17:29:43.625
Copied file 'J:/saptools/STM/I386/STM/resources.dtd' to 'C:/Program Files/sapinst_instdir/MSS/YU'.
INFO 2008-06-19 17:29:43.640
Copied file 'J:/saptools/STM/I386/STM/sapinstgui.dtd' to 'C:/Program Files/sapinst_instdir/MSS/YU'.
INFO 2008-06-19 17:29:43.640
Copied file 'J:/saptools/STM/I386/STM/unittest.dtd' to 'C:/Program Files/sapinst_instdir/MSS/YU'.
INFO 2008-06-19 17:29:43.781
Copied file 'J:/saptools/STM/I386/catalog.dtd' to 'C:/Program Files/sapinst_instdir/MSS/YU'.
INFO 2008-06-19 17:29:43.828
Copied file 'C:/WINDOWS/Temp/2/sapinst_exe.4984.1213908438/instana.xsl' to 'C:/Program Files/sapinst_instdir/MSS/YU'.
INFO 2008-06-19 17:29:43.828
Creating file C:\Program Files\sapinst_instdir\MSS\YU\start_dir.cd.
INFO 2008-06-19 17:29:43.843
Creating file C:\Program Files\sapinst_instdir\x.
INFO 2008-06-19 17:29:43.843
Removed file C:\Program Files\sapinst_instdir\x.
INFO 2008-06-19 17:29:44.781
Creating file C:\Program Files\sapinst_instdir\MSS\YU\statistic.xml.
INFO 2008-06-19 17:29:44.796
Copied file 'C:/Program Files/sapinst_instdir/MSS/YU/statistic.xml' to 'C:/Program Files/sapinst_instdir/MSS/YU/statistic.1.xml'.
WARNING 2008-06-19 17:29:44.875
Unable to get information about path
LABEL.ASC\ using GetVolumeInformation. Operating system error message: The filename, directory name, or volume label syntax is incorrect.
INFO 2008-06-19 17:29:44.906
Creating file C:\Program Files\sapinst_instdir\MSS\YU\syslib_priv.log.
INFO 2008-06-19 17:29:45.250
Creating directory C:\Program Files\sapinst_instdir\MSS\YU\SUPPORT_CONTAINER.
INFO 2008-06-19 17:29:45.281
Copied file 'C:/Program Files/sapinst_instdir/MSS/YU/keydb.xml' to 'C:/Program Files/sapinst_instdir/MSS/YU/keydb.1.xml'.
INFO 2008-06-19 17:29:45.296
Creating file C:\Program Files\sapinst_instdir\MSS\YU\inifile.xml.
INFO 2008-06-19 17:29:45.328
Copied file 'C:/Program Files/sapinst_instdir/MSS/YU/inifile.xml' to 'C:/Program Files/sapinst_instdir/MSS/YU/inifile.1.xml'.
INFO 2008-06-19 17:29:45.437
Copied file 'C:/Program Files/sapinst_instdir/MSS/YU/statistic.xml' to 'C:/Program Files/sapinst_instdir/MSS/YU/statistic.2.xml'.
INFO 2008-06-19 17:29:45.437
Execute step dPrepare of component |SAPMSSTOOLS|ind|ind|ind|ind|0|0
INFO 2008-06-19 18:00:54.24
Creating directory C:\Program Files\sapinst_instdir\MSS\YU\msssql_9.
INFO 2008-06-19 18:00:54.55
Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/mssversions.xml' to 'C:/Program Files/sapinst_instdir/MSS/YU'.
INFO 2008-06-19 18:00:54.102
Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/SQL9/db_preload.sql' to 'C:/Program Files/sapinst_instdir/MSS/YU/msssql_9'.
INFO 2008-06-19 18:00:54.117
Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/SQL9/login_sql_cre.sql' to 'C:/Program Files/sapinst_instdir/MSS/YU/msssql_9'.
INFO 2008-06-19 18:00:54.133
Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/SQL9/schema_move.sql' to 'C:/Program Files/sapinst_instdir/MSS/YU/msssql_9'.
INFO 2008-06-19 18:00:54.148
Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/SQL9/server_config.sql' to 'C:/Program Files/sapinst_instdir/MSS/YU/msssql_9'.
INFO 2008-06-19 18:00:54.180
Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/SQL9/usrabap.sql' to 'C:/Program Files/sapinst_instdir/MSS/YU/msssql_9'.
INFO 2008-06-19 18:00:54.211
Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/SQL/db_abap_postload.sql' to 'C:/Program Files/sapinst_instdir/MSS/YU/msssql_9'.
INFO 2008-06-19 18:00:54.227
Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/SQL/login_drop.sql' to 'C:/Program Files/sapinst_instdir/MSS/YU/msssql_9'.
INFO 2008-06-19 18:00:54.258
Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/SQL/login_info.sql' to 'C:/Program Files/sapinst_instdir/MSS/YU/msssql_9'.
INFO 2008-06-19 18:00:54.273
Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/SQL/login_os_cre.sql' to 'C:/Program Files/sapinst_instdir/MSS/YU/msssql_9'.
INFO 2008-06-19 18:00:54.305
Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/SQL/mss_get_defpath.sql' to 'C:/Program Files/sapinst_instdir/MSS/YU/msssql_9'.
INFO 2008-06-19 18:00:54.320
Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/SQL/mss_init_jc.sql' to 'C:/Program Files/sapinst_instdir/MSS/YU/msssql_9'.
INFO 2008-06-19 18:00:54.336
Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/SQL/mss_schema_cnv.sql' to 'C:/Program Files/sapinst_instdir/MSS/YU/msssql_9'.
INFO 2008-06-19 18:00:54.352
Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/SQL/mss_sps_dropsap_.sql' to 'C:/Program Files/sapinst_instdir/MSS/YU/msssql_9'.
INFO 2008-06-19 18:00:54.367
Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/SQL/mss_sps_droptmp.sql' to 'C:/Program Files/sapinst_instdir/MSS/YU/msssql_9'.
INFO 2008-06-19 18:00:54.398
Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/SQL/schema_drop.sql' to 'C:/Program Files/sapinst_instdir/MSS/YU/msssql_9'.
INFO 2008-06-19 18:00:54.414
Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/SQL/schema_info.sql' to 'C:/Program Files/sapinst_instdir/MSS/YU/msssql_9'.
INFO 2008-06-19 18:00:54.445
Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/SQL/usrjava.sql' to 'C:/Program Files/sapinst_instdir/MSS/YU/msssql_9'.
ERROR 2008-06-19 18:00:56.477
FJS-00003 TypeError: rel has no properties (in script SAPMSSTOOLS|ind|ind|ind|ind, line 12919: ???)
ERROR 2008-06-19 18:00:56.523
MUT-03025 Caught ESAPinstException in Modulecall: executing JS script failed.
ERROR 2008-06-19 18:00:56.680
FCO-00011 The step dPrepare with step key |SAPMSSTOOLS|ind|ind|ind|ind|0|0|dPrepare was executed with status ERROR ( Last error reported by the step :Caught ESAPinstException in Modulecall: executing JS script failed.).
INFO 2008-06-19 18:16:24.161
An error occured and the user decide to stop.\n Current step "|SAPMSSTOOLS|ind|ind|ind|ind|0|0|dPrepare".
INFO 2008-06-19 18:16:26.677
Working directory changed to C:/Program Files/sapinst_instdir/MSS/YU.
INFO 2008-06-19 18:16:26.692
Creating file C:\Program Files\sapinst_instdir\.lastInstallationLocation.
INFO 2008-06-19 18:16:26.708
Creating file C:\Program Files\sapinst_instdir\MSS\YU\__instana_tmp.xml.
Thankz,Thankz for your answer Markus,
This is the log of DEV_DISP:
trc file: "dev_disp", trc level: 1, release: "640"
Thu Jun 19 16:44:48 2008
kernel runs with dp version 137(ext=102) (@(#) DPLIB-INT-VERSION-137)
length of sys_adm_ext is 312 bytes
sysno 01
sid GMQ
systemid 560 (PC with Windows NT)
relno 6400
patchlevel 0
patchno 237
intno 20020600
make: multithreaded, ASCII
pid 5140
Thu Jun 19 16:44:49 2008
***LOG Q00=> DpSapEnvInit, DPStart (01 5140) [dpxxdisp.c 1107]
shared lib "dw_xml.dll" version 237 successfully loaded
shared lib "dw_xtc.dll" version 237 successfully loaded
shared lib "dw_stl.dll" version 237 successfully loaded
shared lib "dw_gui.dll" version 237 successfully loaded
shared lib "dw_mdm.dll" version 237 successfully loaded
Thu Jun 19 16:44:54 2008
WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c 3881]
MtxInit: -2 0 0
DpSysAdmExtInit: ABAP is active
DpIPCInit2: start server >gmddev_GMQ_01 <
DpShMCreate: sizeof(wp_adm) 9600 (960)
DpShMCreate: sizeof(tm_adm) 2379840 (11840)
DpShMCreate: sizeof(wp_ca_adm) 18000 (60)
DpShMCreate: sizeof(appc_ca_adm) 6000 (60)
DpShMCreate: sizeof(comm_adm) 192000 (384)
DpShMCreate: sizeof(vmc_adm) 0 (364)
DpShMCreate: sizeof(wall_adm) (22440/34344/56/100)
DpShMCreate: SHM_DP_ADM_KEY (addr: 05AA0040, size: 2668432)
DpShMCreate: allocated sys_adm at 05AA0040
DpShMCreate: allocated wp_adm at 05AA17D8
DpShMCreate: allocated tm_adm_list at 05AA3D58
DpShMCreate: allocated tm_adm at 05AA3D80
DpShMCreate: allocated wp_ca_adm at 05CE8DC0
DpShMCreate: allocated appc_ca_adm at 05CED410
DpShMCreate: allocated comm_adm_list at 05CEEB80
DpShMCreate: allocated comm_adm at 05CEEB98
DpShMCreate: allocated vmc_adm_list at 05D1D998
DpShMCreate: system runs without vmc_adm
DpShMCreate: allocated ca_info at 05D1D9C0
DpShMCreate: allocated wall_adm at 05D1D9C8
MBUF state OFF
ThTaskStatus: rdisp/reset_online_during_debug 0
EmInit: MmSetImplementation( 2 ).
<ES> client 0 initializing ....
<ES> InitFreeList
<ES> block size is 1024 kByte.
Using implementation flat
<EsNT> Memory Reset disabled as NT default
<ES> 1023 blocks reserved for free list.
ES initialized.
rdisp/http_min_wait_dia_wp : 1 -> 1
***LOG Q0K=> DpMsAttach, mscon ( GMDDEV) [dpxxdisp.c 10163]
DpStartStopMsg: send start message (myname is >gmddev_GMQ_01 <)
DpStartStopMsg: start msg sent
CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
CCMS: Initalizing shared memory of size 40000000 for monitoring segment.
CCMS: Checking Downtime Configuration of Monitoring Segment.
Thu Jun 19 16:44:55 2008
CCMS: start to initalize 3.X shared alert area (first segment).
DpMsgAdmin: Set release to 6400, patchlevel 0
MBUF state PREPARED
MBUF component UP
DpMBufHwIdSet: set Hardware-ID
***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c 1025]
DpMsgAdmin: Set patchno for this platform to 237
Release check o.K.
Thu Jun 19 16:45:34 2008
ERROR => W0 (pid 5704) died [dpxxdisp.c 12734]
ERROR => W1 (pid 5712) died [dpxxdisp.c 12734]
ERROR => W2 (pid 5720) died [dpxxdisp.c 12734]
ERROR => W3 (pid 5728) died [dpxxdisp.c 12734]
my types changed after wp death/restart 0xbf --> 0xbe
ERROR => W4 (pid 5736) died [dpxxdisp.c 12734]
my types changed after wp death/restart 0xbe --> 0xbc
ERROR => W5 (pid 5744) died [dpxxdisp.c 12734]
my types changed after wp death/restart 0xbc --> 0xb8
ERROR => W6 (pid 5752) died [dpxxdisp.c 12734]
ERROR => W7 (pid 5760) died [dpxxdisp.c 12734]
my types changed after wp death/restart 0xb8 --> 0xb0
ERROR => W8 (pid 5776) died [dpxxdisp.c 12734]
my types changed after wp death/restart 0xb0 --> 0xa0
ERROR => W9 (pid 5784) died [dpxxdisp.c 12734]
my types changed after wp death/restart 0xa0 --> 0x80
DP_FATAL_ERROR => DpWPCheck: no more work processes
DISPATCHER EMERGENCY SHUTDOWN ***
increase tracelevel of WPs
killing W0-5704 (SIGUSR2)
ERROR => DpWpKill(5704, SIGUSR2) failed [dpxxtool.c 2508]
killing W1-5712 (SIGUSR2)
ERROR => DpWpKill(5712, SIGUSR2) failed [dpxxtool.c 2508]
killing W2-5720 (SIGUSR2)
ERROR => DpWpKill(5720, SIGUSR2) failed [dpxxtool.c 2508]
killing W3-5728 (SIGUSR2)
ERROR => DpWpKill(5728, SIGUSR2) failed [dpxxtool.c 2508]
killing W4-5736 (SIGUSR2)
ERROR => DpWpKill(5736, SIGUSR2) failed [dpxxtool.c 2508]
killing W5-5744 (SIGUSR2)
ERROR => DpWpKill(5744, SIGUSR2) failed [dpxxtool.c 2508]
killing W6-5752 (SIGUSR2)
ERROR => DpWpKill(5752, SIGUSR2) failed [dpxxtool.c 2508]
killing W7-5760 (SIGUSR2)
ERROR => DpWpKill(5760, SIGUSR2) failed [dpxxtool.c 2508]
killing W8-5776 (SIGUSR2)
ERROR => DpWpKill(5776, SIGUSR2) failed [dpxxtool.c 2508]
killing W9-5784 (SIGUSR2)
ERROR => DpWpKill(5784, SIGUSR2) failed [dpxxtool.c 2508]
NiWait: sleep (10000 msecs) ...
NiISelect: timeout 10000 ms
NiISelect: maximum fd=1621
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Thu Jun 19 16:45:44 2008
NiISelect: TIMEOUT occured (10000 ms)
dump system status
Workprocess Table (long) Thu Jun 19 20:45:44 2008
========================
No Ty. Pid Status Cause Start Err Sem CPU Time Program Cl User Action Table
0 DIA 5704 Ended no 1 0 0
1 DIA 5712 Ended no 1 0 0
2 DIA 5720 Ended no 1 0 0
3 DIA 5728 Ended no 1 0 0
4 UPD 5736 Ended no 1 0 0
5 ENQ 5744 Ended no 1 0 0
6 BTC 5752 Ended no 1 0 0
7 BTC 5760 Ended no 1 0 0
8 SPO 5776 Ended no 1 0 0
9 UP2 5784 Ended no 1 0 0
Dispatcher Queue Statistics Thu Jun 19 20:45:44 2008
===========================
--------++++--
+
Typ
now
high
max
writes
reads
--------++++--
+
NOWP
0
3
2000
10
10
--------++++--
+
DIA
5
5
2000
5
0
--------++++--
+
UPD
0
0
2000
0
0
--------++++--
+
ENQ
0
0
2000
0
0
--------++++--
+
BTC
0
0
2000
0
0
--------++++--
+
SPO
0
0
2000
0
0
--------++++--
+
UP2
0
0
2000
0
0
--------++++--
+
max_rq_id 13
wake_evt_udp_now 0
wake events total 9, udp 8 ( 88%), shm 1 ( 11%)
since last update total 9, udp 8 ( 88%), shm 1 ( 11%)
Dump of tm_adm structure: Thu Jun 19 20:45:44 2008
=========================
Term uid man user term lastop mod wp ta a/i (modes)
Workprocess Comm. Area Blocks Thu Jun 19 20:45:44 2008
=============================
Slots: 300, Used: 1, Max: 0
--------++--
+
id
owner
pid
eyecatcher
--------++--
+
0
DISPATCHER
-1
WPCAAD000
NiWait: sleep (5000 msecs) ...
NiISelect: timeout 5000 ms
NiISelect: maximum fd=1621
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Thu Jun 19 16:45:49 2008
NiISelect: TIMEOUT occured (5000 ms)
DpHalt: shutdown server >gmddev_GMQ_01 < (normal)
DpJ2eeDisableRestart
DpModState: buffer in state MBUF_PREPARED
NiBufSend starting
NiIWrite: write 110, 1 packs, MESG_IO, hdl 3, data complete
MsINiWrite: sent 110 bytes
MsIModState: change state to SHUTDOWN
DpModState: change server state from STARTING to SHUTDOWN
Switch off Shared memory profiling
ShmProtect( 57, 3 )
ShmProtect(SHM_PROFILE, SHM_PROT_RW
ShmProtect( 57, 1 )
ShmProtect(SHM_PROFILE, SHM_PROT_RD
DpWakeUpWps: wake up all wp's
Stop work processes...
Stop gateway
killing process (5688) (SOFT_KILL)
Stop icman
killing process (5696) (SOFT_KILL)
Terminate gui connections
[DpProcDied] Process lives (PID:5688 HANDLE:1592)
waiting for termination of gateway
NiWait: sleep (1000 msecs) ...
NiISelect: timeout 1000 ms
NiISelect: maximum fd=1621
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Thu Jun 19 16:45:50 2008
NiISelect: TIMEOUT occured (1000 ms)
[DpProcDied] Process died (PID:5688 HANDLE:1592)
[DpProcDied] Process lives (PID:5696 HANDLE:1600)
waiting for termination of icman
NiWait: sleep (1000 msecs) ...
NiISelect: timeout 1000 ms
NiISelect: maximum fd=1621
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Thu Jun 19 16:45:51 2008
NiISelect: TIMEOUT occured (1000 ms)
[DpProcDied] Process lives (PID:5696 HANDLE:1600)
waiting for termination of icman
NiWait: sleep (1000 msecs) ...
NiISelect: timeout 1000 ms
NiISelect: maximum fd=1621
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Thu Jun 19 16:45:52 2008
NiISelect: TIMEOUT occured (1000 ms)
[DpProcDied] Process lives (PID:5696 HANDLE:1600)
waiting for termination of icman
NiWait: sleep (1000 msecs) ...
NiISelect: timeout 1000 ms
NiISelect: maximum fd=1621
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Thu Jun 19 16:45:53 2008
NiISelect: TIMEOUT occured (1000 ms)
[DpProcDied] Process lives (PID:5696 HANDLE:1600)
waiting for termination of icman
NiWait: sleep (1000 msecs) ...
NiISelect: timeout 1000 ms
NiISelect: maximum fd=1621
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Thu Jun 19 16:45:54 2008
NiISelect: TIMEOUT occured (1000 ms)
[DpProcDied] Process lives (PID:5696 HANDLE:1600)
waiting for termination of icman
NiWait: sleep (1000 msecs) ...
NiISelect: timeout 1000 ms
NiISelect: maximum fd=1621
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Thu Jun 19 16:45:55 2008
NiISelect: TIMEOUT occured (1000 ms)
[DpProcDied] Process lives (PID:5696 HANDLE:1600)
waiting for termination of icman
NiWait: sleep (1000 msecs) ...
NiISelect: timeout 1000 ms
NiISelect: maximum fd=1621
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Thu Jun 19 16:45:56 2008
NiISelect: TIMEOUT occured (1000 ms)
[DpProcDied] Process lives (PID:5696 HANDLE:1600)
waiting for termination of icman
NiWait: sleep (1000 msecs) ...
NiISelect: timeout 1000 ms
NiISelect: maximum fd=1621
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Thu Jun 19 16:45:57 2008
NiISelect: TIMEOUT occured (1000 ms)
[DpProcDied] Process lives (PID:5696 HANDLE:1600)
waiting for termination of icman
NiWait: sleep (1000 msecs) ...
NiISelect: timeout 1000 ms
NiISelect: maximum fd=1621
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Thu Jun 19 16:45:58 2008
NiISelect: TIMEOUT occured (1000 ms)
[DpProcDied] Process lives (PID:5696 HANDLE:1600)
waiting for termination of icman
NiWait: sleep (1000 msecs) ...
NiISelect: timeout 1000 ms
NiISelect: maximum fd=1621
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Thu Jun 19 16:45:59 2008
NiISelect: TIMEOUT occured (1000 ms)
[DpProcDied] Process lives (PID:5696 HANDLE:1600)
waiting for termination of icman
NiWait: sleep (1000 msecs) ...
NiISelect: timeout 1000 ms
NiISelect: maximum fd=1621
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Thu Jun 19 16:46:00 2008
NiISelect: TIMEOUT occured (1000 ms)
[DpProcDied] Process died (PID:5696 HANDLE:1600)
DpHalt: cancel all lcom connections
MPI CancelAll 2 -> 0
MPI DeleteAll 2 -> 0
DpStartStopMsg: send stop message (myname is >gmddev_GMQ_01 <)
NiIMyHostName: hostname = 'gmddev'
AdGetSelfIdentRecord: > <
AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
DpConvertRequest: net size = 163 bytes
NiBufSend starting
NiIWrite: write 562, 1 packs, MESG_IO, hdl 3, data complete
MsINiWrite: sent 562 bytes
send msg (len 110+452) to name -, type 4, key -
DpStartStopMsg: stop msg sent
NiIRead: read 229, 1 packs, MESG_IO, hdl 3, data complete
NiBufIn: NIBUF len=229
NiBufIn: Packet complete for hdl 3
NiBufReceive starting
MsINiRead: received 229 bytes
MSG received, len 110+119, flag 1, from MSG_SERVER, typ 0, key -
DpHalt: received 119 bytes from message server
NiIRead: read 229, 1 packs, MESG_IO, hdl 3, data complete
NiBufIn: NIBUF len=229
NiBufIn: Packet complete for hdl 3
NiBufReceive starting
MsINiRead: received 229 bytes
MSG received, len 110+119, flag 1, from MSG_SERVER, typ 0, key -
DpHalt: received 119 bytes from message server
NiIRead: read 229, 1 packs, MESG_IO, hdl 3, data complete
NiBufIn: NIBUF len=229
NiBufIn: Packet complete for hdl 3
NiBufReceive starting
MsINiRead: received 229 bytes
MSG received, len 110+119, flag 1, from MSG_SERVER, typ 0, key -
DpHalt: received 119 bytes from message server
NiIRead: read 229, 1 packs, MESG_IO, hdl 3, data complete
NiBufIn: NIBUF len=229
NiBufIn: Packet complete for hdl 3
NiBufReceive starting
MsINiRead: received 229 bytes
MSG received, len 110+119, flag 1, from MSG_SERVER, typ 0, key -
DpHalt: received 119 bytes from message server
NiIRead: read 229, 1 packs, MESG_IO, hdl 3, data complete
NiBufIn: NIBUF len=229
NiBufIn: Packet complete for hdl 3
NiBufReceive starting
MsINiRead: received 229 bytes
MSG received, len 110+119, flag 1, from MSG_SERVER, typ 0, key -
DpHalt: received 119 bytes from message server
NiIRead: read 229, 1 packs, MESG_IO, hdl 3, data complete
NiBufIn: NIBUF len=229
NiBufIn: Packet complete for hdl 3
NiBufReceive starting
MsINiRead: received 229 bytes
MSG received, len 110+119, flag 1, from MSG_SERVER, typ 0, key -
DpHalt: received 119 bytes from message server
NiIRead: read 229, 1 packs, MESG_IO, hdl 3, data complete
NiBufIn: NIBUF len=229
NiBufIn: Packet complete for hdl 3
NiBufReceive starting
MsINiRead: received 229 bytes
MSG received, len 110+119, flag 1, from MSG_SERVER, typ 0, key -
DpHalt: received 119 bytes from message server
NiPRead: WSAEWOULDBLOCK 1.time 4
NiIPeek: peek for hdl 3 / socket 1596 timed out (r; 0)
DpHalt: no more messages from the message server
DpHalt: send keepalive to synchronize with the message server
NiBufSend starting
NiIWrite: write 114, 1 packs, MESG_IO, hdl 3, data complete
MsINiWrite: sent 114 bytes
send msg (len 110+4) to name MSG_SERVER, type 0, key -
MsSndName: MS_NOOP ok
Send 4 bytes to MSG_SERVER
NiPRead: WSAEWOULDBLOCK 1.time 4
NiIPeek: peek successful for hdl 3 / socket 1596 (r)
NiIRead: read 114, 1 packs, MESG_IO, hdl 3, data complete
NiBufIn: NIBUF len=114
NiBufIn: Packet complete for hdl 3
NiBufReceive starting
MsINiRead: received 114 bytes
MSG received, len 110+4, flag 3, from MSG_SERVER, typ 0, key -
Received 4 bytes from MSG_SERVER
Received opcode MS_NOOP from msg_server, reply MSOP_OK
MsOpReceive: ok
MsSendKeepalive : keepalive sent to message server
NiPRead: WSAEWOULDBLOCK 1.time 4
Thu Jun 19 16:46:01 2008
NiIPeek: peek for hdl 3 / socket 1596 timed out (r; 1000)
DpHalt: no more messages from the message server
DpHalt: sync with message server o.k.
detach from message server
***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c 10453]
NiBufSend starting
NiIWrite: write 110, 1 packs, MESG_IO, hdl 3, data complete
MsINiWrite: sent 110 bytes
MsIDetach: send logout to msg_server
MsIDetach: call exit function
DpMsShutdownHook called
NiSelClear: removed hdl 3 from selectset
MBUF state OFF
AdGetSelfIdentRecord: > <
AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
blks_in_queue/wp_ca_blk_no/wp_max_no = 1/300/10
LOCK WP ca_blk 1
make DISP owner of wp_ca_blk 1
DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 19)
MBUF component DOWN
NiBufClose: clear extensions for hdl 3
NiBufSetStat: bufstat of hdl 3 changed from OK to OFF
NiICloseHandle: shutdown and close hdl 3 / socket 1596
MsIDetach: detach MS-system
EsCleanup ....
***LOG Q05=> DpHalt, DPStop ( 5140) [dpxxdisp.c 8793]
Good Bye ..... -
DISPATCHER HOLDING 되는 ERROR 해결을 위한 SGA 계산
제품 : ORACLE SERVER
작성날짜 : 2004-05-20
<DISPATCHER HOLDING 되는 ERROR 해결을 위한 SGA 계산>
====================================================
PURPOSE
Dispatcher Holding Error를 해결하기 위한 SGA의 크기를 계산한다.
Problem Description
*error 사항.
dispatcher 'D000' lost listener 0 contact, re-establishing.
dispatcher 'D000' encountered error connecting to listener 0
ora-600[2130]
ora-4031
*결론 : 이 error 사항 해결은 SGA 조정 후 모두 해결을 보았다.
다음은 RC의 PMS DB의 shared memory 의 조정 사항과 현재 사용 중인 shared
memory의 측정량이다.
문제점:현재 하루에 한번씩 system 이 오후 2시쯤 되면 (busy time) 서서히
느려지다 down 되는 현상이 발생하고 있다. Error는 ora-4031 이어서 일단은
shared_pool 을 늘리기로 하였다.
(1) kernel parameter 인 shmmax 를 40M 로 증가
(2) shared_pool 을 25M 에서 35로 증가
Workaround
none
Solution Description:
***<별첨> 참고로 이 ora-4031 error 가 정말 shared_pool 이 부족한지 ,
shared_pool 에 fragmentation 이 많이 일어 나서인지를 check 하기 위해
우리의 SGA 영역 사용량을 측정해 보았더니 이는 busy time 인 현재
31757960bytes 로 의외로 많았다. 물론 이 계산은 대략적이지만
이 계산대로라면 오늘 system 이 down되지 말아야 한다.
이의 양 계산은 아래와 같이 하였다.
1) 임의의 1 user 의 session 을 check :
select sid from v$process p, v$session s
where p.addr=s.paddr and s.username='KHPARK';
SID
39
41
42
60
2) 각 session 의 최대 memory 양을 check :
select value from v$sesstat s, v$statname n
where s.statistic# = n.statistic#
and n.name = 'session uga memory max' and sid=42;
이 4 session 의 mamory 의 average 는 대략
(803648 + 11552+ 63024+110896)/4 =247280 byte 이다
현재 시각 의 (오후 2시 40분) v$session 의 count 는 112 이므로 session 당
최대 memory * 동시 접속 user 수= 27695360 byte
3) Total shared SQL area 는
SQL>select sum(sharable_mem) from v$sqlarea
3318365 입니다.
아침 9 시 30 분 시각에는 16459248 으로 이는 변화가 많은 것으로 생각된다.
4) PLSQL sharable memory 는
SQL> select sum(sharable_mem) from v$db_object_cache;
를 실행 시 744235 byte로 오전 DB startup 바로 후의 1332021 byte와 차이를
보인다.
이를 계산해 보면 현재 시각의 shared_pool사용량은 2)+3)+4)=31757960 bytes
이다.
Reference Documents
none -
how to trace errors in BDC ,pls send me code for any transaction
if we use call transaction, then we have handle errors.
if you use Session method, then system handles errors, you can check this in the transaction code SM35.
check this link for more info.....
Sample code for call transaction and session in bdc
regds,
kiran -
Hi,
How to handle errors in bdc call transaction method.
what is the steps to download errors from bdcmsgcoll into flat file in call transaction method
udayHi friend,
Here is a beautiful example which explains how to trap erroreneous records ..if help full then please give me max reward point.
REPORT zgopi_report
NO STANDARD PAGE HEADING
LINE-SIZE 255
MESSAGE-ID ZRASH.
Internal Table Declarations *
*--Internal Table for Data Uploading.
DATA : BEGIN OF IT_FFCUST OCCURS 0,
KUNNR(10),
BUKRS(4),
KTOKD(4),
ANRED(15),
NAME1(35),
SORTL(10),
STRAS(35),
ORT01(35),
PSTLZ(10),
LAND1(3),
SPRAS(2),
AKONT(10),
END OF IT_FFCUST.
*--Internal Table to Store Error Records.
DATA : BEGIN OF IT_ERRCUST OCCURS 0,
KUNNR(10),
EMSG(255),
END OF IT_ERRCUST.
*--Internal Table to Store Successful Records.
DATA : BEGIN OF IT_SUCCUST OCCURS 0,
KUNNR(10),
SMSG(255),
END OF IT_SUCCUST.
*--Internal Table for Storing the BDC data.
DATA : IT_CUSTBDC LIKE BDCDATA OCCURS 0 WITH HEADER LINE.
*--Internal Table for storing the messages.
DATA : IT_CUSTMSG LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
DATA : V_FLAG1(1) VALUE ' ',
"Flag used for opening session.
V_TLINES LIKE SY-TABIX,
"For storing total records processed.
V_ELINES LIKE SY-TABIX,
"For storing the no of error records.
V_SLINES LIKE SY-TABIX.
"For storing the no of success records.
Selection screen *
SELECTION-SCREEN BEGIN OF BLOCK B1.
PARAMETERS : V_FNAME LIKE RLGRAP-FILENAME,
V_SESNAM LIKE RLGRAP-FILENAME.
SELECTION-SCREEN END OF BLOCK B1.
Start-of-selection *
START-OF-SELECTION.
*-- Form to upload flatfile data into the internal table.
PERFORM FORM_UPLOADFF.
TOP-OF-PAGE *
TOP-OF-PAGE.
WRITE:/ 'Details of the error and success records for the transaction'
ULINE.
SKIP.
End of Selection *
END-OF-SELECTION.
*-- Form to Generate a BDC from the Uploaded Internal table
PERFORM FORM_BDCGENERATE.
*--To write the totals and the session name.
PERFORM FORM_WRITEOP.
*& Form form_uploadff
Form to upload flatfile data into the internal table.
FORM FORM_UPLOADFF .
*--Variable to change the type of the parameter file name.
DATA : LV_FILE TYPE STRING.
LV_FILE = V_FNAME.
*--Function to upload the flat file to the internal table.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = LV_FILE
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = 'X'
HEADER_LENGTH = 0
READ_BY_LINE = 'X'
DAT_MODE = ' '
IMPORTING
FILELENGTH =
HEADER =
TABLES
DATA_TAB = IT_FFCUST
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17
IF SY-SUBRC = 0.
*--Deleting the headings from the internal table.
DELETE IT_FFCUST INDEX 1.
*--Getting the total number of records uploaded.
DESCRIBE TABLE IT_FFCUST LINES V_TLINES.
ENDIF.
ENDFORM. " form_uploadff
*& Form Form_bdcgenerate
Form to Generate a BDC from the Uploaded Internal table
FORM FORM_BDCGENERATE .
*--Generating the BDC table for the fields of the internal table.
LOOP AT IT_FFCUST.
PERFORM POPULATEBDC USING :
'X' 'SAPMF02D' '0105',
' ' 'BDC_OKCODE' '/00' ,
' ' 'RF02D-KUNNR' IT_FFCUST-KUNNR,
' ' 'RF02D-BUKRS' IT_FFCUST-BUKRS,
' ' 'RF02D-KTOKD' IT_FFCUST-KTOKD,
'X' 'SAPMF02D' '0110' ,
' ' 'BDC_OKCODE' '/00',
' ' 'KNA1-ANRED' IT_FFCUST-ANRED,
' ' 'KNA1-NAME1' IT_FFCUST-NAME1,
' ' 'KNA1-SORTL' IT_FFCUST-SORTL,
' ' 'KNA1-STRAS' IT_FFCUST-STRAS,
' ' 'KNA1-ORT01' IT_FFCUST-ORT01,
' ' 'KNA1-PSTLZ' IT_FFCUST-PSTLZ,
' ' 'KNA1-LAND1' IT_FFCUST-LAND1,
' ' 'KNA1-SPRAS' IT_FFCUST-SPRAS,
'X' 'SAPMFO2D' '0120',
' ' 'BDC_OKCODE' '/00',
'X' 'SAPMF02D' '0125',
' ' 'BDC_OKCODE' '/00',
'X' 'SAPMF02D' '0130',
' ' 'BDC_OKCODE' '=ENTR',
'X' 'SAPMF02D' '0340',
' ' 'BDC_OKCODE' '=ENTR',
'X' 'SAPMF02D' '0360',
' ' 'BDC_OKCODE' '=ENTR',
'X' 'SAPMF02D' '0210',
' ' 'KNB1-AKONT' IT_FFCUST-AKONT,
' ' 'BDC_OKCODE' '/00',
'X' 'SAPMF02D' '0215',
' ' 'BDC_OKCODE' '/00',
'X' 'SAPMF02D' '0220',
' ' 'BDC_OKCODE' '/00',
'X' 'SAPMF02D' '0230',
' ' 'BDC_OKCODE' '=UPDA'.
*--Calling the transaction 'fd01'.
CALL TRANSACTION 'FD01' USING IT_CUSTBDC MODE 'N' UPDATE 'S'
MESSAGES INTO IT_CUSTMSG.
IF SY-SUBRC <> 0.
*--Populating the error records internal table.
IT_ERRCUST-KUNNR = IT_FFCUST-KUNNR.
APPEND IT_ERRCUST.
CLEAR IT_ERRCUST.
*--Opening a session if there is an error record.
IF V_FLAG1 = ' '.
PERFORM FORM_OPENSESSION.
V_FLAG1 = 'X'.
ENDIF.
*--Inserting the error records into already open session.
IF V_FLAG1 = 'X'.
PERFORM FORM_INSERT.
ENDIF.
*--Populating the Success records internal table.
ELSE.
IT_SUCCUST-KUNNR = IT_FFCUST-KUNNR.
APPEND IT_SUCCUST.
CLEAR IT_SUCCUST.
ENDIF.
*--Displaying the messages.
IF NOT IT_CUSTMSG[] IS INITIAL.
PERFORM FORM_FORMATMSG.
ENDIF.
*--Clearing the message and bdc tables.
CLEAR : IT_CUSTBDC[],IT_CUSTMSG[].
ENDLOOP.
*--Getting the total no of error records.
DESCRIBE TABLE IT_ERRCUST LINES V_ELINES.
*--Getting the total no of successful records.
DESCRIBE TABLE IT_SUCCUST LINES V_SLINES.
*--Closing the session only if it is open.
IF V_FLAG1 = 'X'.
PERFORM FORM_CLOSESESS.
ENDIF.
ENDFORM. " Form_bdcgenerate
*& Form populatebdc
FOrm to Populate the BDC table.
FORM POPULATEBDC USING VALUE(P_0178)
VALUE(P_0179)
VALUE(P_0180).
IF P_0178 = 'X'.
IT_CUSTBDC-PROGRAM = P_0179.
IT_CUSTBDC-DYNPRO = P_0180.
IT_CUSTBDC-DYNBEGIN = 'X'.
ELSE.
IT_CUSTBDC-FNAM = P_0179.
IT_CUSTBDC-FVAL = P_0180.
ENDIF.
APPEND IT_CUSTBDC.
CLEAR IT_CUSTBDC.
ENDFORM. " populatebdc
*& Form FORM_OPENSESSION
Form to Open a session.
FORM FORM_OPENSESSION .
*--Variable to convert the given session name into reqd type.
DATA : LV_SESNAM(12).
LV_SESNAM = V_SESNAM.
*--Opening a session.
CALL FUNCTION 'BDC_OPEN_GROUP'
EXPORTING
CLIENT = SY-MANDT
GROUP = LV_SESNAM
HOLDDATE = '20040805'
KEEP = 'X'
USER = SY-UNAME
PROG = SY-CPROG
IMPORTING
QID =
EXCEPTIONS
CLIENT_INVALID = 1
DESTINATION_INVALID = 2
GROUP_INVALID = 3
GROUP_IS_LOCKED = 4
HOLDDATE_INVALID = 5
INTERNAL_ERROR = 6
QUEUE_ERROR = 7
RUNNING = 8
SYSTEM_LOCK_ERROR = 9
USER_INVALID = 10
OTHERS = 11
IF SY-SUBRC <> 0.
WRITE :/ 'Session not open'.
ENDIF.
ENDFORM. " FORM_OPENSESSION
*& Form FORM_INSERT
fORM TO INSERT ERROR RECOED INTO A SESSION.
FORM FORM_INSERT .
*--Inserting the record into session.
CALL FUNCTION 'BDC_INSERT'
EXPORTING
TCODE = 'FD01'
POST_LOCAL = NOVBLOCAL
PRINTING = NOPRINT
SIMUBATCH = ' '
CTUPARAMS = ' '
TABLES
DYNPROTAB = IT_CUSTBDC
EXCEPTIONS
INTERNAL_ERROR = 1
NOT_OPEN = 2
QUEUE_ERROR = 3
TCODE_INVALID = 4
PRINTING_INVALID = 5
POSTING_INVALID = 6
OTHERS = 7
IF SY-SUBRC <> 0.
WRITE :/ 'Unable to insert the record'.
ENDIF.
ENDFORM. " FORM_INSERT
*& Form FORM_CLOSESESS
Form to Close the Open Session.
FORM FORM_CLOSESESS .
CALL FUNCTION 'BDC_CLOSE_GROUP'
EXCEPTIONS
NOT_OPEN = 1
QUEUE_ERROR = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
ENDIF.
ENDFORM. " FORM_CLOSESESS
*& Form FORM_FORMATMSG
Form to format messages.
FORM FORM_FORMATMSG .
*--Var to store the formatted msg.
DATA : LV_MSG(255).
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
ID = SY-MSGID
LANG = SY-LANGU
NO = SY-MSGNO
V1 = SY-MSGV1
V2 = SY-MSGV2
V3 = SY-MSGV3
V4 = SY-MSGV4
IMPORTING
MSG = LV_MSG
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2.
IF SY-SUBRC = 0.
WRITE :/ LV_MSG.
ENDIF.
ULINE.
ENDFORM. " FORM_FORMATMSG
*& Form form_writeop
To write the totals and the session name.
FORM FORM_WRITEOP .
WRITE :/ 'Total Records Uploaded :',V_TLINES,
/ 'No of Error Records :',V_ELINES,
/ 'No of Success Records :',V_SLINES,
/ 'Name of the Session :',V_SESNAM.
ULINE.
ENDFORM. " form_writeop -
Error During Background Processing of BDC
Hello Experts,
I have a problem with the a BDC program running in background for transaction IW51 (Notification Creation) .I get a error message saying "Usage of one-time customers not supported" .When i process the same in foreground i dont get this message and the data gets created.
We are using a one time customers for creation of Service Notification.i found a note 768010 which is same what we are trying to do.
Wondering why the program fails in the background ! any pointers ?
Regards,
Mithun.SAP has provided note 1550899 to this issue
Edited by: Mithun Shetty on Feb 24, 2011 11:46 PM -
Error in BDC in background mode.
Hello Experts,
I am having a query related to BDC. I have written the BDC for TCode : CKMPRPN (Future Price Maintenance). When I execute the BDC thru Call transaction method it works properly.
When I Create the Session and execute in foreground mode then also it woks but when i try to execute in background mode it gives me an error.
Please suggest me the proper Solution.
Thanks
SwatiHi ,
Check wheter the field names for the transaction recorded are correct sometimes the field names are not fully copied to se38, if the filed name is to long.However when you run the BDC in foreground it runs ,but when you execute in background it fails, Check for the field names for the recorded transaction in SHDB and in the program.
Thanks,
Ahsan -
Error in bdc (Background processing not possible for material)
Background processing not possible for material with serial number reqmt
Message no. M7419
Diagnosis
You tried to enter the count for a material managed with serial numbers using background processing. This function is not supported.
Procedure
Use the transaction 'Enter inventory count' (MI04) to enter the count for materials managed with serial numbers.Can You Run this BDC in Foreground Mode
I am doubtfull for that.
please check
Gaurav Sood -
Error in BDC program for Block vendor in SAP R/3
Hello friends,
I wrote a BDC program to block vendor using FK02.
When I debug the program in <b>No screen</b> mode
the program gives a error 'No batch input data for screen SAPMSSY3 0131.
But the screen name and screen number is not available in the program.
When I execute without debugging in No screen mode, the program works correctly.
When I run in ALL screen mode, the program works correctly and the program does not prompt for SAPMSSY3 0131 screen.
Is there any solution for this problem.check this
... MODE mode
Effect
The processing mode can take the following values:
'A' Display screen
'E' Display only if an error occurs
'N' Do not display
<b>'P' Do not display; debugging possible</b>
If the MODE addition is omitted, then the processing mode is 'A'.
If a screen is displayed in processing mode 'E' because the system reached the end of the BDC data, the system automatically switches to processing mode 'A'.
If breakpoints are set in a transaction tcod called using the CALL TRANSACTION tcod USING itab variant, these are not actually reached in 'N' mode. The system tries to insert data in the Debugger screen; the call ends with SY-SUBRC = 1001 and the message "Batch input data is not available for screen SAPMSSY3 0131" (S 00 344).
Conversely, in 'P' mode, transaction screens are processed in the background (as in 'N' mode) and debugging is possible.
Regards
Prabhu -
Error in BDC but no error in front (ABUMN convert cost center)
I use SHDB to record the ABUMN 's steps.(Convert a FIXED ASSET to another)
such as I post Asset no 10000 001 (coset center Z001) to Asset no 10000 002(Z002)
And i create normally in front , but when i run it use the session by SHDB created
the system display error.
the main reason is i choose new asset-master datacheck the subno checkbox and input a same asset no and a new asset subno, then click addition data
then the difference occurs
1..when in front ,it is OK,you can modify the new asset subno's data
2..but in BDC,the system will do a check ,it display the subno already exist, because it think the previous step have already create the new asset subno
anybody could help me?
Message was edited by:
Changsheng ShiHi,
When you do recording, the data record will be created in the database. When you execute or test the recording, it throws error message saying that data record already exists. The reason being is, while recording itself, the record is being created in the database and system will not allow you to create the same data record( If it is master data).
So while testing the recording in frontend, you can change the field values and test it.if it works fine, you can use the recording to make your BDC program.
But if you want to run in background, you have to make BDC program to pick the flatfile with the required field values from the presentation server and pass it to BDC screen.
Obviously you will not be giving the same data records that you have used for the recording. Then your BDC works fine in the background.
Regards,
Sai Srinivas D -
Hi friends,
I am doing a BDC for F-03 and everything is working fine except when the the BDC is executed at background mode i.e N.
It is working good at A and E but it gives a custom validation error at background processing.
I am searching SDN since yesterday and found this is caused by S and W messages but i have diffused then but then too the error is encountered.
No idea why my PROFIT CENTER value is not populated at BACKGROUND mode.
Any ideas?
Please help.
Thanks much.Hi Park,
If you have GUI objects like pop-up screens, etc it will not work. Check out these links for more information.
Re: Docking container could not be created - while running batch job
Re: Multiple OO ALV Container - Background Execution
Thanks and Best Regards,
Dinesh. -
Error in BDC session processing
hi all,
I am running the BDC session method. while running the session the interface throws warning message. If it gives more than one warning message in background the session goes into error. is there any way to skip these and still continue the processing of session in backgroundPraveen,
By default all the warnings are suppressed irrespective of the number of warnings.
You must be encountering a error not a warning
Regards,
Ravi
Note : Please mark the helpful answers -
Error in BDC Back Ground Processing
Dear All,
I am facing problem on while executing BDC program. First i am executing in Foreground method there it displaying errors occured,
means it showing full discription or error.
But when i used Back ground processing its displayig the full error discription like "No posting object defined for 1230/ / / " here i need full error discription.
please do the need full.
Regrads,
Srinivas.Hi
In background processing you cannot see the error message, for that you have to write logic for capturing messages.
Use 'Format_Message' function module so that you can get the complete message and then you can display that on the screen.
Hope it helps...
Maybe you are looking for
-
Why does my mid-2010 Macbook Pro suffer from huge FPS drops whenever I try to play games?
Macbook info: 2.66 GHz Intel Core i7, 4GB 1067 MHz DDR3, nVIDIA GeForce GT 330M 512MB When I play games on my Macbook Pro, such as League of Legends, Diablo III, World of Warcraft, etc., they operate well with latency of ~80ms usually and fps startin
-
How can I seperate 2 iPhones?
Hi! I have a problem here. I had an iPhone 4S and yesterday I bought an iPhone 5S. So, I gave the 4S to my girlfriend and I transferred all my things from that to my new phone. But the 4S still keeping my contacts in it through my iCloud account. Do
-
Hello, I have a development, that allows configuring several types of products. The activity, that saves the data contains two INSERT INTO statement and logmessage in the end. When I press 'Save' I get a message in workspace log: Main (<1> [ACTIVE] E
-
In JDeveloper 11g Technology Preview 3 and 4 the Create JSP Wizard does not have the option to add tag libraries, set Error Page, HTML version as JDeveloper 10.1.3 does.
-
I have this SELECT below which i have to run it in a LOOP for every activity_id(record) that i get from the join. Also,this SELECT has to be run in multiple places in a procedure to get details and for that records-->I run the assign_course or assign