cancel
Showing results for 
Search instead for 
Did you mean: 

problem with assigning business partner to contract- runtime error

Former Member
0 Kudos

Hi experts,

  I have problem with assigning business partner to contract.  After this i have runtime error.

  Do someone explain me what I have badly ? I think configuration is completly, but maybe not necessarily.

Help me, please

Rgds, Stenwa

description my error :

Runtime Errors        ASSERTION_FAILED

  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 ASSERTstatement 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)"

         " (not used)"

Trigger Location of Runtime Error

 

    Program                                 AC_CVI_KE

      Include                                 AC_CVI_KE

      Row                                     5

      Module type                             (METHOD)

      Module Name                             GET_NRIV_

          

Source Code Extract

Line  SourceCde

      1 method get_nriv_line.

      2

      3   assert:

      4     i_object_type  is not initial,

  >>>>>     i_number_range is not initial.

     6

      7   get_nriv( ).

      8

      9   read table mem_nriv into r_nriv

     10     with key object    = i_object_type

     11              subobject = ' '

     12              nrrangenr = i_number_range

     13              toyear    = '0000'.

     14

     15 endmethod.

Accepted Solutions (0)

Answers (1)

Answers (1)

franz_posch
Active Contributor
0 Kudos

Hi Stenwa,

according to the program name this issue seems to be related to customer-vendor-integration of business partner and missing number range definition there. Maybe a number range assignment in customizing is not made.

Could you please check your customizing settings for customer-vendor-integatrion and especially if all number range definitions and assignments are made properly.

Please check also the content of field  i_object_type in the dump protocol. This might give a hint which object is concerned.

Hope this helps.

Regards, Franz

Former Member
0 Kudos

Hi Franz,

You try to help me, thank.

I write you what I done.

I done in customizing:

-define BP partner number range - 01 internal

-define groupe 0001 assigning to number range 01

- make setting for roles per object name:

type = IS

DifCrt = CO01  ( type contract)

Role = Tr600

Grp=0001

Object Adress - sign

I create custmer as role TR600=master tenant w.customer, bp type=0001.

Next I create contract- commercial lease- out(type CO01) and after designing this BP I get  error.

In my opinion all is ok,but .........

How can I  check  the content of field  i_object_type in the dump protocol ? I not abbaper.

Rgds, Stenwa

Former Member
0 Kudos

Hi Stenwa,

When you created the Business Partner, make sure it has been extended to the company code. Make the relevant settings in "Business Partner > Relevant Settings for Business Partner in RE Context > Business Partner - Customer > Number Assignment: Assign Account Group to Customer".

Also check the number range assignment of FI Account Group mapped to Business Partner.

Thanks,

Ankish

Former Member
0 Kudos

Hi Stenwa,

Goto ST22, select the the dump and click on "ABAP Editor" button.

It will navigate to the code where you are getting the dump, put break-point and check what value you are getting in field i_object_type.

regards,

Srini

Hi,

Your dump is showing that the number range '00' is assigned to your BP grouping, check whether have you assigned the number range for the BP group. (Path : SPRO\RE-FX\business partner\general settings for business partner\busines partner\basic settings\number range and grouping \ define grouping and assign number range).

Unable to find out the number range '00' in object 'DEBITOR', system checks the number ranges for object 'DEBITOR'.

Or else you can maintain number range '00' in XDN1, object 'DEBITOR' and chec.

regards,

Srini

franz_posch
Active Contributor
0 Kudos

Hi Stenwa,

please goto ST22, select the dump and then search for field i_object_type. You should find it in section 'Chosen variables'. Then check if the content of the field is shown in the next line.

Regards, Franz

Former Member
0 Kudos

Hi Ankish,

I think it will be problem with" Number Assignment: Assign Account Group to Customer". I didn't anything in it, but assigning group is not know me.  I don't want, where this gruop look for in FI. Give me this places where is connection between customer FI and RE/FX. I can say that during assigning bp to contact system ask me about reconciliation acct, I choose it, system write me "data of busines is error-free", and after save displays dump.

Rgds, Stenwa

Former Member
0 Kudos

Hi Franz,

I send you some  part od dump,but I don't understand it.

I_OBJECT_TYPE
20
DEBITOR
0000000000
0000000000
4444545222
45294F2000
I_NUMBER_RANGE
4

00
00
22
00
R_NRIV
172
                     0000
000000000000000000000000000000000000000000
000000000000000000000000000000000000000000
222222222222222222222333322222222222222222
000000000000000000000000000000000000000000
SYST-REPID
80
AC_CVI_KEY_ASSIGNMENT=========CP
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
4454545445545544444453333333334522222222
13F369FB59F13397ED5E4DDDDDDDDD3000000000
SY-REPID
80
AC_CVI_KEY_ASSIGNMENT=========CP
0000000000000000000000000000000000000000

......

LCL_KA_BP_CUST

8

{O:1066*\CLASS=CVI_KA_BP_CUSTOMER}

D0000002

5000004A

SY-REPID

80

FSBP_BO_CVI===================CP

......................

Rgds,, Stenwa

Former Member
0 Kudos

Hi Stenwa,

"Number Assignment: Assign Account Group to Customer" allows you to map BP grouping to FI Customer Account Group. When you create the BP under role TR0600, it should also be extended to company code. This configuration tells to the system that BP should be created in the company code using number range of the FI Customer account group assigned here.

I would suggest that you go to T.Code BP and check that customer has been created in Company code or not.

Thanks,

Ankish

Former Member
0 Kudos

Hi Ankish,

In BP I don't see Company Code. Maybe I have't configuration of it. How can I check it?

If I create bp from contract i see good company code, but during save my program interruptes.

I think you think correctly

Rgds, Stenwa

Former Member
0 Kudos

Hi Anskish,

Sorry, I see company code in transaction BP during creating in BP role Master tenant w.cust.Acct .

In Company Code I give code, reconcilation acct, but I don't see customer as You have. This place is incorrect.Maybe hasn't connection between bp and customer. How can I find it?

Rgds,Stenwa

Former Member
0 Kudos

Hi Anskish,

I think, your help is effective. Im close to solve the problem.

I repeat you my configuration for CO01 contract:

-Business Partner Number Range

   01 0000000001 0999999999 140

-Define Groupings and Assign Number Ranges

0001 Int.No.Assgnmnt Internal Number Assignment 01

- Make Settings for Roles per Object Type

IS Real Estate Contract CO01 Commercial lease-out TR0600 Master Tenant with Customer Account 0001 0001

- Number Assignment: Assign Account Group to Customer

0001 Int.No.Assgnmnt OKRA Sold-to party

I should connection my business partner with FI.

I can't find numer range assignment of FI Account Grup mapped to Business Partner.

Problem is during creating BP and taking Company Code I can't choose properly customer from FI.

Rgds, Stenwa

dineo_mokoena
Explorer
0 Kudos

Hi Stenwa

I am experiencing the same problem with the dump, would you please let me know how you resolved this issue.

Thanking you in advance,

Dineo