cancel
Showing results for 
Search instead for 
Did you mean: 

RERAIV - Error- You did not enter a company code

Former Member
0 Kudos

Hello Experts..

After periodic postings in RERAPP

when i tried simulating the invoice in RERAIV- the invoice shows when i double click it to preview the invoice form

i get the error saying that "You did not enter a company code"

please help me to resolve this issue.

Accepted Solutions (1)

Accepted Solutions (1)

bowen_cao
Contributor
0 Kudos

Hi,

do you have badi implementation for BADI_RERA_INVOICE?

what the form object you are using for invoice, does the standard one RE_CN_120 or own developed form?

Best regards,

Bowen

Former Member
0 Kudos

Dear Bowen,

yes BADI has been implemented..and the Form object has been developed as well..

bowen_cao
Contributor
0 Kudos

Hi,

In this case, I think you'd better to check about the badi implementation and the own developed form object.

you can make a trace in SE30, then you can search the error with "008" or "message", it will guide you to the source code where raised the error message.

Best regards,

Bowen

Former Member
0 Kudos

Hello Bowen,

I have found the problem that, I have activated Item summarization for line items..

when Summarization is active-the Invoice output gives error

When i de-activate line item summarization- i get invoice form without any errors..

any clue?

bowen_cao
Contributor
0 Kudos

Hi,

Have you activated line item summarization before posting of RERAPP?

regards,

bowen

Former Member
0 Kudos

Hello Bowen,

Yes , i have activated before postings in RERAPP-

After activating Item summarization- I run RERAPP-- Line items get summarized.

RERAIV fails with error- "You didnt not enter a company code"

If i dont activate Item summarization-

i run RERAPP- Line items will not summarize-- RERAIV successfull will the report.

bowen_cao
Contributor
0 Kudos

Hi,

I just tested in our internal system as you said, firstly active line item summarization, and the post with RERAPP, after then simulate the invoice, but I cannot reproduce the same error. Hence, I still think this should be caused by your own badi or form, please check that.


Best regards,

Bowen

Former Member
0 Kudos

Hello Bowen,

When RERAPP is run- we will get two documents

1. Partner related

2. Object related

could you please let me know  the structure or the table where the data stores?

other than-VIRADOC  and VIRADOCITEM

amarendar
Contributor
0 Kudos

VICDCFOBJ - Object related cash flow

VICDCFPAY - Payment related cash flow

bowen_cao
Contributor
0 Kudos

Please check reply from Amare, that's correct table VICDCFOBJ and VICDCFPAY

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Amare Kumar and Bowen,

Thank you for the reply and the table provided,

but we are still not able to fix the problem mentioned above,

could you please check and let me know

Scenario,

till a week back the posting and the invoice run successfully,

Lasts week the Item summarization is activated, then onwards the invoices in RERAIV cannot be viewed

it says "You have not entered company code"

in debugguing we found that data could not be found in structure -RECP_RA_INVOICE_ITEM_C

could you please give your valuable inputs?

bowen_cao
Contributor
0 Kudos

Hi,

if you check the structure RECP_RA_INVOICE_ITEM_C, you will not found the field company code - BURKS.

Sorry, not sure why program try to found company code from this structure. May be would you please attach the screenshot of your debugging. Please also show all of the call stacks.

Regards,

Bowen