We're facing challenges in credit master reorgs (I'm posting this for a colleague, so please bear with me).
After looking at relevant notes (363343, 400311, 755395) and searching the forum, I wonder if anyone has found logic missing from the SAP suggested code. When we run this, there may be a condition that does not permit the tables to be locked, so we wait and start the entire job again. Within Z_RVKRED77_PARALLEL, these enqueue locks are tried:
CALL FUNCTION 'ENQUEUE_EVVBAKE' EXPORTING vbeln = con_enqueue_batch. CALL FUNCTION 'ENQUEUE_EVVBAKE'. CALL FUNCTION 'ENQUEUE_EVVBLKE'. CALL FUNCTION 'ENQUEUE_EVVBRKE'.
(...)
IF NOT variant1 IS INITIAL. PERFORM fill_joblist USING variant1 user '1'. ENDIF.
But there is no check on success/failure. I was thinking of adding a "delay and retry" within this block so we could attempt to continue at that point. Good, bad, crazy?
Thanks,
Jim