cancel
Showing results for 
Search instead for 
Did you mean: 

Account assignment cannot be carried out because of different origin no

Former Member
0 Kudos

Hie Guru's

While saving excise invoice (J1iiN) iam getting the below error

Detailed Error Diagnosis :-

Account assignment cannot be carried out because of different origin no.

Message no. V1134

Diagnosis

The sales document to which you want to refer is based on sales document 10000003 and item 000010. Therefore, the settlement and possibly inventory management are carried out using the number of the preceding document.

System Response

This entry is not allowed.

Procedure

Enter the document and the item number of the preceding sales document.

NOTE :- IT'S MTO SCENARIO. WITH REQ CLASS 040 (Consumption :- E)

Thanks in advance,

Denish

Accepted Solutions (1)

Accepted Solutions (1)

Lakshmipathi
Active Contributor
0 Kudos

Check whether the following note helps you:-

Note 50619 - Individual purchase order and quotation

G. Lakshmipathi

Former Member
0 Kudos

Hie,

Note 50619 is not applicable in my case. Any other note or any other way to bypass the error.

If I start my process with sales order then at the time of excise invoice creation there is no problem at all. Issue is when I start the process with inquiry.

Regards,

Denish Patel

jpfriends079
Active Contributor
0 Kudos

Hello

I hope following SAP Notes might help you:

- Note 327195 - Planned revenue in the sales order has value from quotation

- Note 682746 - RGUREC10: Error message V1134: different origin number

Regards

JP

Former Member
0 Kudos

Thanks for the input JP but these Notes are allready applied in my system. I have debugged the program

IF NOT ( vbap-kzvbr NE kzvbr_e AND

vbap-kzvbr NE kzvbr_p AND

vbap-sobkz EQ 'E' AND

i_vrgng EQ vrgng_rfbu )

here kzvbr is my consumption which is "E" in my sales order vbap-kzvbr = "E" and while i debugg the program :

kzvbr_e is picking the vale "E" but

kzvbr_p is picking the value "P " thats why the IF NOT loop gets satisfied and the error appears.

Any suggestions !!! how to resolve this.

Regards,

Denish Patel

jpfriends079
Active Contributor
0 Kudos

Is this MTO related to project?

Or any Special Stock related to project involved?

Regards

JP

Former Member
0 Kudos

Hie JP,

This is not related to project at all. The stock is purely reseved for my sales order (and since my sales order is created with reference to quotation the stock is reserved for my quotation). While debug I found the route cause for this, if we see the function module "SD_DOCUMENT_ACCOUNT_ASSIGNMENT" (this FM is called at the time of quotation, sales order, stock taking, billing and excise invoice). Now in this FM :-

CALL FUNCTION 'SD_VBAK_SELECT'

EXPORTING

i_document_number = i_document_number

.

.

.

IF ( vbap-vbeln NE vbap-vbelv OR

vbap-posnr NE vbap-posnv ) AND

NOT vbap-vbelv IS INITIAL.

The i_document_number found in my excise invoice is sales order nmbr. Thus vbap-vbeln NE vbap-vbelv condition in my IF loop gets satisfied (because vbap-vbeln = sales order numbr & vbap-vbelv = quotation numbr) and it goes further. THIS SHOULD NOT GO FURTHER.

Like I said this FM is called at the time of billing also, so at that time the i_document_number is quotation number thus

vbap-vbeln NE vbap-vbelv codition does not satisfy (because vbap-vbeln = Quotation numbr & vbap-vbelv = Quotation numbr) and it doesnt fo further.

I hope I am able to convay my message. Please do let me know if you find something regarding the same because this is a Std. FM which will be same for everybody.

Regards,

Denish Patel

Edited by: denish__01 on Oct 12, 2011 9:59 AM

Edited by: denish__01 on Oct 12, 2011 10:01 AM

Answers (1)

Answers (1)

Former Member
0 Kudos

"If an item appears in a chain of sales documents, the first sales

document for which a requirement type with account assignment is

determined, is the so-called "originating sales document". It is

the reference document for all further accounting of this item.

If you don't like the quote to be the originating sales document,

you should customize the determination of requirement types

(transaction OVZI) accordingly.

The sales order would be created out of quotation, therefore the

CO-object for the system is the quotation. This means that ALL postings

will be updated on this CO-object. Moreover result analysis and

settlement have to be executed with this quotation. The error message

V1134 is issued correctly.(In your case this is a Quotationt)

Please check you customizing of sales order controlling. Do not use

requirement types/classes with account assingnment categories for

which CO-objects are created. (Transactions: OME9)"