cancel
Showing results for 
Search instead for 
Did you mean: 

intercompany billing

Former Member
0 Kudos

Hi SAP Gurus,

After intercompany billing two accounting documents are generated why?

Is it because of in intercompany we invoice twice??

Plz give ur valuable suggestion

MNR

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Gurus

Could you please explain me why in billing due list transaction VF04 first of all I could see an invoice to the customer (type F2 of the billing document), and only than, after the invoice creation, the intercompany invoice will appear in the list (type IV)?

Do you know how to control the appearence sequence?

I would like to create the intercompany invoice IV first and only than F2 to the final customer.

Thanks in advance

P.S. the way of doing VF01 and choosing IV is not so good because large quantity of the billing due invoices - we have to do it through the list in VF04.

Former Member
0 Kudos

Thanks, I found the solution and extended SAP Note 38501

- also added the functionality nit to see F8 invoices in the VF04 waiting list:

&----


*& Include ZXV05U06 *

&----


  • Function module EXIT_SAPLV05I_003

""Lokale Schnittstelle:

*" IMPORTING

*" VALUE(FVBUK) LIKE VBUKVB STRUCTURE VBUKVB

*" VALUE(FLIKP) LIKE LIKPVB STRUCTURE LIKPVB

*" EXPORTING

*" VALUE(FIV_CUST_INDEX) LIKE VBUK-FKIVK

*" TABLES

*" FVBPA STRUCTURE VBPAVB

DATA: LV_VBELV TYPE VBFA-VBELV.

*----

  • Created By Adi Mogilevsky 24.02.08 in order to

  • implement Note 38501 - Intercompany billing

  • before customer billing document

*---- IF LIKP-LFART = "NLCC", do not enter next if,

*---- else - follow the next test

CHECK FLIKP-LFART <> 'NLCC'.

  • >>>>>> Begin of modification of note 38501 <<<<<<IF>>>>>> End of modification of note 38501 <<<<<<

  • Additional check needed:

  • CHECK VKDFS-LFART

  • IF VKDFS-LFART = "F8" and WAS created a Proforma invoice

  • with refernce to the delivery

*(Check LIKP-LFART = "ZRPL" in VBFA-VBELN

IF FLIKP-LFART = 'ZRPL'

OR FLIKP-LFART = 'LF'.

*----

SELECT SINGLE VBELV

FROM VBFA

INTO LV_VBELV

WHERE VBELV = FLIKP-VBELN

AND VBTYP_N = 'U'.

IF SY-SUBRC = 0.

*----

SELECT SINGLE VBELN

FROM VBRK

INTO LV_VBELV

WHERE VBELN = LV_VBELV

AND FKART = 'F8'.

IF SY-SUBRC = 0.

FIV_CUST_INDEX = '4'.

ENDIF.

ENDIF.

ENDIF.

  • if VBFA-VBTYP_N = "U" there is the following number

  • VBFA-VBELV exists

  • DO NOT SHOW THIS ROW AGAIN TO THE LIST IN VF04

-


Former Member
0 Kudos

Hi

Here in inter company sales process you have to raise two invoices those are doc type IV and standared one F2 so that system will create two accounting documents.

reward points if it is helpful

regards

Ganesh

Former Member
0 Kudos

In case of inter co sales all the work is getting carried out in that co code which is asking for the material. i.e receiving co.

So when the delivering co sends the material, the billing document that the delivering co does is carried out in the receiving co's system itself. so an incoming invoice is created in the receiving co.

now this receiving co sends invoice to the customer (this is rather the 1st invoice that is getting generated in system followed by the inter co invoice). So 1st invoice is one sent by the receiving co to customer followed by the 2nd invoice sent by the delivering co to receiving co.

clear?

regards,

avnesh

Former Member
0 Kudos

Dear nr m,

You are correct there. We get two accounting docs., because we have generated one incoming invoice from our inter company and another out going invoice to our Customer - (Sold to Party).

Hope the matter is clear. Do reward if you found this useful.

Also plz mark the Question as closed whenever you get your answer, so other ppl will not waste their time.

Thanks and Happy customizing!!

Venkat - Hyd

yajee_venkat@yahoo.co.in