Hi Experts,
Was wondering if someone could help me. I am trying to install DMIS on my NW 702 system. The installation sort of halted half way and now I am just not able to get into SPAM. Everytime I try to start SPAM the system loops for a good few minutes and it short dumps as below:
Category ABAP Programming Error Runtime Errors TIME_OUT ABAP Program SAPLOCS_SEMAPHOREApplication Component BC-UPG-OCS
Trigger Location of Runtime Error
Program SAPLOCS_SEMAPHORE
Include LOCS_SEMAPHOREU02
Row 85
Module type (FUNCTION)
Module Name OCS_QUEUE_SEMAPHORE
55 * OCS is locked, remember this
56 ev_locked = on.
57 * check if OCS is locked by other (OCS) tools
58 IF iv_tool = space. "maybe were are called in batch, check
59 IF sy-batch = off OR
60 ls_pat10-btch_state NA gc_batch_states.
61 * IV_TOOL = space but no batch processing
62 * -> foreign lock, you are not allowed to proceed
63 cs_sema = ls_pat10.
64 RAISE foreign_lock.
65 ENDIF.
66 ELSE.
67 IF ls_pat10-ocs_tool <> iv_tool.
68 * foreign lock, you are not allowed to proceed
69 cs_sema = ls_pat10.
70 RAISE foreign_lock.
71 ENDIF.
72 ENDIF.
73
74 * we are either in batch processing or IV_TOOL matches PAT10
75 * --> own lock, return it
76 IF iv_read_only <> space.
77 cs_sema = ls_pat10.
78 EXIT.
79 ENDIF.
79 ENDIF.80 * update it
81 ls_pat10 = cs_sema. 82 ls_pat10-responsibl = sy-uname. 83 ls_pat10-imple_date = sy-datum. 84 ls_pat10-imple_time = sy-uzeit. >>>>> UPDATE pat10 FROM ls_pat10. 86 cs_sema = ls_pat10.87 ENDIF. "sy-subrc = 4
88
89 ENDFUNCTION.
4 FUNCTION SAPLOCS_SEMAPHORE LOCS_SEMAPHOREU02 85OCS_QUEUE_SEMAPHORE
3 FUNCTION SAPLOCS_BATCH LOCS_BATCHU07 186OCS_DELETE_BATCH_SEMAPHORE
2 FORM SAPMSPAM MSPAMF06 190READ_N_CHECK_BATCH_JOBS
1 MODULE (PBO) SAPMSPAM MSPAMO01 776READ_BATCH_JOBS
Would appreciate if someone can help and has faced something similar.
Regards,
Manish