Application Development and Automation 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: 
Read only

The ASSERT condition was violated

Former Member
0 Kudos
274

Hi Gentleman,

I am trying to Execute a BAPI to add an Inpayment agreement to a loan account. So in order to add the inpayment agreement , i need to use to BAPI in sequence.

BAPI_BCA_ACCOUNT_CHANGE -


> to bring the account in Change Mode

BAPI_BCA_INPAYMENT_AGR_CHANGE -


> to add the in payment agreement,

i get the dump with follwoing description while executing second BAPI

Short text

The ASSERT condition was violated.

What happened?

In the running application program, the ASSERT statement recognized a

situation that should not have occurred.

The runtime error was triggered for one of these reasons:

- For the checkpoint group specified with the ASSERT statement, the

activation mode is set to "abort".

- Via a system variant, the activation mode is globally set to "abort"

for checkpoint groups in this system.

- The activation mode is set to "abort" on program level.

- The ASSERT statement is not assigned to any checkpoint group.

Error analysis

The following checkpoint group was used: "No checkpoint group specified"

If in the ASSERT statement the addition FIELDS was used, you can find

the content of the first 8 specified fields in the following overview:

" (not used) "

" (not used) "

" (not used) "

" (not used) "

" (not used) "

" (not used) "

" (not used) "

14

15

16 * Change payment advice

17 loop at i_new_pymt_adv assigning <new_line>.

18 loop at <new_line>-pymt_adv_data assigning <new_item>.

19 append initial line to lt_pymt_adv assigning <pymt_adv>.

>>>>> assert <new_item>-chind is not initial.

21 move-corresponding <new_line> to <pymt_adv>.

22 move-corresponding <new_item> to <pymt_adv>.

23 if <pymt_adv>-pymt_adv_type is initial.

24 /fspam/_pymt_adv_read_api=>get_cust_pymt_adv_type(

25 exporting

26 i_pymt_adv_catg = <pymt_adv>-pymt_adv_catg

27 i_direction = <pymt_adv>-pymt_adv_dir

28 importing

29 e_pymt_adv_type = lt_pymt_adv_type

30 ).

Kindly Suggest,

Regards,

Nikesh

1 REPLY 1
Read only

Former Member
0 Kudos
105

Anyone to help on this please?