Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

The ASSERT condition was violated.

atif_amin
Participant
0 Kudos

Dear Experts,

The following dump occurred when posting in MIGO.

Category               ABAP Programming Error

Runtime Errors         ASSERTION_FAILED

ABAP Program           SAPLFMRI

Application Component  PSM-FM

"ASSERTION_FAILED"

"SAPLFMRI" bzw. LFMRIF2V

"SET_VALUES"

  18 *----- Buchungskreis und Finanzkreis haben identische Währungen

  19   l_curtp = u_flg_fm_curtp.

  20   IF l_curtp IS INITIAL.

  21     l_curtp = '10'.

  22   ENDIF.

  23

  24 *----- Betrag in Hauswährung lesen

  25   READ TABLE u_t_acccr WITH KEY posnr = c_f_accit-posnr

  26                                 curtp = l_curtp

  27     BINARY SEARCH.

>>>>   ASSERT sy-subrc = 0.

  29   c_f_accit-ldbtr = u_t_acccr-wrbtr.

  30

  31 *----- Umrechnung von stat. Steuern z.B. bei Anzahlungsanforderungen

Please help me resolve this issue.

Regards,

Atif

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

For standard programs, look for OSS notes (or ask basis) such as 1645522 - Short dump ASSERTION_FAILED for cross-company postings ?

Regards,

Raymond

4 REPLIES 4

raymond_giuseppi
Active Contributor
0 Kudos

For standard programs, look for OSS notes (or ask basis) such as 1645522 - Short dump ASSERTION_FAILED for cross-company postings ?

Regards,

Raymond

0 Kudos

Hi Raymond,

The Dump occurred when we were posting goods issue against PM order and also at goods receipt.

Any specific SAP note for this?

Please guide.

Regards,

Atif

0 Kudos

Perform the search with your S-id or ask basis/admin, We have unlikely same version of SAP.

Hint: Look at correction of the note I provided, seems to replace the ASSERT with a simple CHECK.

Regards,

Raymond

0 Kudos

Dear Raymond,

Let me check it with the basis.

Thank you.

Regards,

Atif