Due list created with pricing error cannot be released

[] [] [] []

Symptom
During the creation of due lists in mass, in case of IPC error the due lists are created with a fatal error. Hence these due lists cannot be released via the analyse incomplete entries transaction(/BEA/CRMB04).
Other terms
/BEA/CRMB04, /BEA/IPMI04, /BEA/IPMO04, incomplete due lists
Reason and Prerequisites
In case of IPC failure during the due list creation, the incomplete status is set to FATAL_ERROR.
Solution
Do the following change in the template BETX_PRCODL_CRZ, in the form PRICING_FILL
* CALL FUNCTION ‘/1BEA/&APPL%_&OBJ%_PRC_O_CREATE’
* EXPORTING
* IS_DLI = CS_DLI_WRK
* IS_ITC = US_ITC
* IT_COND_COM = UT_CONDITION
* IMPORTING
* ES_DLI = CS_DLI_WRK
* ET_RETURN = LT_RETURN
* EXCEPTIONS
* REJECT = 1
* OTHERS = 2.
* IF SY-SUBRC <> 0.
* IF NOT CS_DLI_WRK-SRC_PRIDOC_GUID IS INITIAL. –>Insert
* CS_DLI_WRK-SRVDOC_SOURCE = ‘A’. –>Insert
* MOVE CS_DLI_WRK-SRC_PRIDOC_GUID TO CS_DLI_WRK-PRIDOC_GUID. –>Insert
* CS_DLI_WRK-INCOMP_ID = GC_INCOMP_ERROR. –>Insert
* ELSE. –>Insert
* CS_DLI_WRK-INCOMP_ID = GC_INCOMP_FATAL.
* ENDIF. –>Insert
* PERFORM ROW_UPD_AND_APP_TO_BEATRETURN
* USING GC_BAPI_PAR_DLI UV_TABIX_DLI LT_RETURN
* CHANGING CT_RETURN.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4 INTO GV_DUMMY.
* CALL FUNCTION ‘/1BEA/&APPL%_&OBJ%_O_MESSAGE_ADD’
* EXPORTING
* IV_CONTAINER = ‘&RCONT%’
* IS_DLI_WRK = CS_DLI_WRK
* IT_RETURN = CT_RETURN
* IV_TABIX = UV_TABIX_DLI
* IMPORTING
* ET_RETURN = CT_RETURN.
* ENDIF.
Regenerate the following object in the BE framework.
Application: CRMB
Object: DL
Layer: O
FM: CREATE
NOTE: This solution is specifically recommended for BANDAI, as they have CDP program creating due lists for IPM application.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Leave a Comment