Automate creation of Intercompany billing document

Hello All,
We have a requirement to automate the intercompany billing document to be created whenever F2 billing document is created ( without using VF04).
Any input regarding this will be greatly appreciated.
Thanks,
Nagaraju

After goods issue has taken place, you can process the delivery for billing. You can create the billing documents just like any other billing document on the Billing screen:
for a single billing document with the menu path Billing document ---Create.
for several billing documents with the menu path Billing document -
Billing due list.
The delivery may have to be processed for billing twice.
The delivering plant processes the delivery to create an intercompany billing document (billing document type IV) for the selling company. This company code posts invoice entry for this billing document.
The billing document is automatically billed to the internal payer that is assigned to the sales organization. The intercompany charges that appear in the intercompany billing
document represent the actual amount that the delivering plant is charging the sales organization.
If the selling company is selling the goods to a customer, it processes the delivery to create an invoice for this customer. The system can take the prices from the order or determine new prices. It takes the quantity to be invoiced from the delivery.
The billing due list for the intercompany invoice is generated after the customer invoice has been created.

Similar Messages

  • Intercompany billing document

    Created a consignment fillup order/ delivery /transferorder
    Unable to create a intercompany billing document IV  ... when i see the log in VF01 it says "Sales organization is not defined".
    Can anyone help me with this please???

    hi
    Customer orders goods to company code/Sales organization A (Eg.4211/4211).Sales org 4211 will accept and punch the order in the system with sold to party as end customer code in the system. Company code/sales org B (Eg.4436) will deliver the goods to end customer and raise an intercom any billing on 4211 with reference to delivery. This can happen only after 4211 raises invoice to his end customer to whom the material has been delivered by 4436.
    SPRO Customization required:-
    1. Assign plant of delivering company code (Eg.SI81) to sales org/distribution channel combination of ordering company code (Eg.4211/RT)
    2. Maintain intercom any billing type as IV for sales document type OR
    3. Assign Organizational Units By Plant (Eg.SI81/4211/RT/11)
    4.Define Internal Customer Number By Sales Organization (Eg.4436 will create customer master for 4211 company code and that number will be maintained in this relationship:-4211/231)
    5. Automatic posting to vendor account (Optional)
    6. Maintain pricing procedure determination for 4211/RT/A/1/RVAA01-For customer sales and billing
    Maintain pricing procedure determination for 4436/RT/A/1/ICAA01-For intercompony billing
    Master data to be maintained:-
    1. Create end customer master in company code/sales org 4211/RT/11
    2. Create customer master for 4211 company code/sales org in 4436/RT/11
    3. Maintain PR00 as price for end customer-Active in RVAA01
    4. Maintain PI01 as price which has to be paid to 4436-Statistical in RVAA01
    5. Maintain IV01 as inter-company Price-Active in ICAA01

  • Manual change / copy currency in intercompany billing document

    Hi,
    We are running the SD intercompany process, where 'F1' is the customer invoice billing document type and 'IV' is the intercompany billing document type.
    The currency in billing document type 'F1' is derived from the final customer master data, whereas the currency in billing document 'IV' is taken from the intercompany customer master data. We would like the currency in billing document 'IV' (intercompany) to be the same as the one in 'F1'. It is the Finance team business requirement.
    Is it possible to have the currency copied from 'F1' to 'IV'. We would also be happy to manually change the currency in 'IV'.
    Please advise which settings are required - if this is even possible.
    Thank you,
    Karol
    Edited by: Karol on Jun 17, 2010 12:07 PM

    Hello Karol
    Why do you want to get into copy controls etc,, when you can simply set up the Intercompany customer's currency based  on the  customer's (Sales Org) country.
    Let me explain. US Company is selling to US customer from a Plant in Switzerland.  Real customer is set up with USD in US sales area. The Inter Co Customer created in Swiss Sales Area should be set up with USD as currency based on the country of the Inter Co customer. This is how it is set up in my current client's setup and is working. The only issue you may get is when US is supplying to an International customer based in UK, then you will run into issues, I am assuming you don't have any such cases.
    If the customer master set up  idea does not work for you, then I guess your only option are user exits during Billing document creation or copy control routines.
    Proposals:
    1)  USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC). Yo can try filling up VBRK-WAERK with VBAK-WAERK.
    2)  Alternately you may insert the same logic in Include LV60AA95 for program SAPLV60A. This is supposed to be part of the copy control routines but I don't know how it is called etc. It does not appear to be filled in the copy control config. I got the inspiration for this from OSS note 358893 which was meant for Euro conversion, Same concept so why not use it?
    3)Thirdly in the area of copy control (Delivery- Billing Document)  itself, for the item category, set up a custom routine in the feild Data VBRK/VBRP and  insert code there to replace the Document currency with that  from the sales order. You may also want to set up the PricingExchRate type field also with a suitable value right here itself. Only doubt is whether this works for only item or for header also as the field name (VBRK/VBRP) indicates.
    Review  the following OSS note 358893 - Create billing document with different document currency for more on proposal 2.
    Keep us posted on how you are proceeding with the solution.
    Please keep us posted with how you are proceeding on the solution.

  • Incoterms in Intercompany Billing Document

    My Dear SAP Mentors,
    Can you please let me know that from where in "Purchase Order" incoterm appears at item level...
    In the concerned PO at Header level there is a seperate incoterm for e.g. DDP Jyderup...I know this comes from the vendor master record.
    There are two items in the concerned PO...
    I am confused as when I go to item details Delivery tab then for one Material say 212244 incoterm comes as DDU gebze and for another Material say 253264 incoterm comes as EXW Poland.
    1) Any idea from where this is coming...?
    2) Which incoterm should appear at the intercompany billing document ?
    3) Is it correct to have a incoterm from customer master record (Ship to party) in the intercompany billing document.
    4) Else please let me know the standard setup or incoterm get affected by copy control in documents.
    Requesting you all to kindly help me on above queries...
    Best answers would be appreciated by full points...
    Thank You !
    Best Regards,
    Anubhav

    Hi,
    1) Any idea from where this is coming...?
    - This could be from Info record. Use T.code ME12 to check the inco term for the particular vendor + material combinations. You can view the details under Purchase organization data1.
    2) Which incoterm should appear at the intercompany billing document ?
    - Ship-to party inco term.
    3) Is it correct to have a incoterm from customer master record (Ship to party) in the intercompany billing document.
    - This is correct
    Regards,

  • Intercompany billing document setup

    Hi,
          I would like to enquire on intercompany billing document setup.
          We have customized billing type ZIV for intercompany invoice, and ZIG for intercompany credit memo.
           Is is possible to set up the cancellation for each billing type as
              - ZIG for ZIV and
              - ZIV for ZIG
    min

    Hello MIN,
    For practice & understanding or test purpose, this can be ok.
    But, in actual or real time scenario, I don't think it hold good.
    See, you said ZIG is a Credit Memo for Inter-company right?
    How you are going to use it for cancellation?
    As I know, a Credit Note or Credit Memo is a document used to adjust or rectify errors made in a sales invoice which has already been processed and sent to a customer. If you have already sent an invoice to a customer but now need to provide a credit for that invoice, you would send them a Credit Note or Credit Memo. You can think of a credit note as a "negative invoice."
    But not CANCELLATION INVOICE.
    Logically, if you see, there will be a number range issue. So, just visualise, when you have to book an actual credit note, then what you are going to do? And how is you end user and auditor is going to recognize the credit memo?
    For your your purpose of having a different cancellation doc for inter-company sales invoice and credit memo, you can create a Z Cancellation Billing Doc, say, ZIC and assign it to ZIV & ZIG billing Doc.
    Hope it assist you.
    Thanks & Regards
    JP

  • How to get intercompany billing document number

    Hi,
    I have PO number , Delivery number  for a given shipping plant and receiving plant.I want to get the intercompany billing document number.Is there any method to fetch.Can anyone suggest me how to proceed with this.Intercompany billing document number can be obtained from VBRK-vbeln for type that is VBRK-fkart = iv .But how to relate PO number and delivery number with this.
    Regards,
    Sowmya.

    Hi Friend,
    Yes you can check though billing type IV.
    Gereally in inter company billing, we generally create a customer in the receiving company. Try to know the name of the customer (generally it is one and fixed) from functional consultant, and pass to bill to party, it will help to reduce lot data.
    I thnik delivery has been created through refrence of PO.
    You can get PO and delivery number if it is stored in the text of Billing doc.
    Consult with functional guys and tell them to store these numbers.
    Regards
    Krishnendu Laha

  • Automatic creation of intercompany PO when creating a Sales Order

    Hi Experts
    Is there a standard way of triggering an intercompany PO when creating a sales order to the final customer (or the other way around, triggering a sales order to the end customer upon creation of an intercompany PO)? Scenario: business has setup a logistics company (company code X), which its purpose is to deliver goods to the final customer (home customers). However, sales orders are created from seperate chain of stores which belong to another company code (company code Y). This chain of stores have one sales organisation (since there is over 1000 stores under a chain). I need a way to represent that a sale originated from a store/plant belonging to company Y to end customer A. Also, I need a billing document (intercompany) from company code X to store/plant beloning to company Y.
    Issues: in the intercompany config (assign intern customer numbers to sales org) - is there a way to assign a customer number at site/plant level so that when creating an intercompany billing it can be picked instead of the one assigned to the sales org and where can this be specified in the sales order (remember: in my scenario there are multiple stores/plants that belong to one sales organisation and it is not possible to use one customer number linked to the sales organisation.)
    Desired results:
    Sales order from store/plant YY belonging to company code Y to end customer A
    Intercompany billing from plant XX belonging to company code X to store/plant YY
    End customer billing from store/plant YY to end customer A
    Thank you in advance for your help.

    Hello Tsmash  
    I think you can acheive this with Regular Sales order + Inter Company STO combination.
    Maintain customer numbers for each of the Plants from Company Y for the sales area belonging to Company X.
    Then do the config for STO in MM using this menu path:
    SPRO/Materials Management/Purchasing/Purchase Order/Set up Stock Transport Order
    Here, in the activity 'Define Shipping Data for Plants',  enter each of the plant-customers and the Sales area belonging to Comany code Y. Carry out other activities in this area appropriately.
    Similarly set up Custom ( say Z1) Special Procurement type for Plant YY for stock transfer from XX using this menu path:
    SPRO/Production/Material Requirements Planning/Master Data/Define Special Procurement Type:
    Here maintain procurement type as F, Special procurement as U and plant as XX. You may need to repeat this config for each of the receiving plants (over 1000 stores under a chain)  from co code Y.
    In the material master MRP 2 for Plant YY,  maintain procurement type as F and Special Procurement as Z1.
    Sales order will be received under Co Code Y and sales area belonging to Y form customer A,
    Because of the MRP config, a PO (STO) requirement will be raised on Co code X and plant XX. XX will send the goods to YY via a STO delivery using the Shipping data from 'Set up STO' config,
    Plant YY will send the goods to A and bill that customer. Co Code X will raise an inter-comany bill on Co code Y.
    That's how it should work. Try it and revert with any issues.

  • Creation of a billing document from an idoc

    Dear all,
    I'd want to find a soulution for the following scenario:
    The need is to create automatically an accompany invoice when a good issue is posted.
    I think that a possible solution should be:
    -an output type linked to the delivery document (generated when the good issue is posted)
    -the idoc generate the billing document
    Is this scenario possible?If yes which is the kind of idoc (INVOIC02?) and the parameters to be used in order to create the billing documents? (Ale settings, for example BD64 ecc..) 
    Best Regards
    Many Thanks
    Angelo Gaiatto

    Hi,
    There is a simple solution provided by SAP to trigger the BILLING DOCUMENTS for Deliveries
    This is a standard process
    Setup a Job in SM36 for the program SDBILLDL and it will pick all the delivery document which are open on that particular Billing date
    and process the Billing documents
    Alternatively you can also create the IDOC to trigger the BILLING DOCUMENTS
    For which you need to setup the PARTNER PROFILES, MESSAGE TYPES, PORT, RFC DESTINATION, SEGMENT CREATION,
    But i would suggest you to go with the standard program to create the Billing documents
    regards,
    santosh

  • Automatic Debit Request after billing document save

    Hi,
    We have one busiess requirement where we need to automate the billing chain process and the flow is as follows -
    STO -> Delivery -> Billing -> Debit Request -> Debit Memo
    Here we need to automate the debit request creation after saving the billing document, for that i need exit or BADI which suites the above requirement. 
    The exit/badi i am searching should supports the data for VBRK, VBRP and VBPA table, after searching several places i found the below BADI whch suits my requirement.  However this BADI not at all triggering during billing save -
    BADI_SD_BILLING
    Please help me how to overthis issue, please advice
    Best Regards,
    Goutham

    Hi,
    Thanks for your reply,
    For calling a BAPI, i need a userexit which provides the Billing document number and also line items.  I tried with the following includes however these are not solving my purpose -
    RV60AFZZ
    RV61AFZA, ZB
    Hence guide me the correct exit which give the information of billing document number and the data related to line items.
    Anticipating a positive reply
    Best Regards,
    Goutham

  • Automatic creation of FI & Co Documents

    Hi All SD Gurus
    I want to block the automatic creation of Accounting (FI) and Controlling (CO) documents when I create a Billing Document (F2). Can anybody help me in blocking this automatic creation ? I will do 'Release to Accounting' by selecting the Billing Documents by VF04.
    Thanks & Warm Regards

    Dear Anil,
    As suugested by others, it is Billing Block in Billing Type configuration, which will not allow automatic posting to FI. T.Code fr Billing Type Configuration is VOFA.
    Regards,
    Rajesh Banka

  • Return Order creation referanace to billing document.

    Hi , Experts,
                   I have one issue regarding return process , Pls do the needful ASAP.
    My question : I have created one direct sales order , After thet i have created PGI & billing , But after created billing document , I want to take return taht goods, So i had created return for same sales order quantity, & also created credit memo. But my problem is, that system allow me futher create return sales order with referance to billing document no. At a return order creation time system only give warning message - (There are already returns for item 000010: 2 EA)
    & allow to save return document no. But i want to erroe message after take return all billing quantity. Can any body suggest me, what is the customizing require for this,
    Thanks a lot in advance.
    Regards;
    Happy

    Hi, abdul sir,
                     Here no any error message, My problem is that , why all line item comes in delivery, B'cause i had already deliver 5 line item out of 10 item, Here system take delivered line item with 0 quantity, I don't want that delivered  line item at a time in delivery,
    Regards:
    Happy

  • Automatic creation of MS Word Documents within a Report

    Dear Experts,
    within my report which creates automatically activities in a background process I have to create MS Word Documents and
    attach this Word Documents to the Activity.
    The Word Document does have a Logo and the text is changing with every Activity created.
    What would be the best technical solution for the creation of this word documents for my report?
    Best Regards
    Oliver

    Hello, I have found out what was the problem. In the end I have used method EDITREPLACE and not WW2_EDITREPLACE and I put the method EDITREPLACE more to the end of my ABAP Code:
    REPORT  z_prueba_oliver.
    TYPES: BEGIN OF ty_partner,
                 nif            TYPE bu_partner,
                 name_org1      TYPE bu_nameor1,
                 conting_com    TYPE c LENGTH 2,
                 fecha_efecto   TYPE zbufecha_ef,
                 END OF ty_partner.
    DATA:  lt_partner1     TYPE TABLE OF ty_partner,
                 ls_partner1     TYPE ty_partner,
                 lv_file_save_as TYPE c LENGTH 40,
                 lv_contador     TYPE n LENGTH 3.
    * Include necesario para la declaracion de objetos OLE2
    INCLUDE ole2incl.
    * Declaraciones para la llamada a WORD.
    DATA zword TYPE ole2_object.
    CLEAR zword.
    ls_partner1-nif = 'X7510034M'.
    ls_partner1-name_org1 = 'Razon Social 1'.
    APPEND ls_partner1 TO lt_partner1.
    ls_partner1-nif = 'X7510034M'.
    ls_partner1-name_org1 = 'Razon Social 2'.
    APPEND ls_partner1 TO lt_partner1.
    ls_partner1-nif = 'X7510034M'.
    ls_partner1-name_org1 = 'Razon Social 3'.
    APPEND ls_partner1 TO lt_partner1.
    ls_partner1-nif = 'X7510035M'.
    ls_partner1-name_org1 = 'Razon Social 4'.
    APPEND ls_partner1 TO lt_partner1.
    ls_partner1-nif = 'X7510035M'.
    ls_partner1-name_org1 = 'Razon Social 5'.
    APPEND ls_partner1 TO lt_partner1.
    LOOP AT lt_partner1 INTO ls_partner1.
      AT FIRST.
        CREATE OBJECT zword 'WORD.BASIC'.
    * Se abre el fichero que contiene la plantilla de la carta
        CALL METHOD OF zword 'FILEOPEN'
          EXPORTING
          #1 = 'C:DOCSPRUEBA_1.DOC'.
      ENDAT.
    * Se selecciona todo el texto del archivo PRUEBA_1.DOC
      CALL METHOD OF zword 'EDITSELECTALL'.
    * Se copia el texto seleccionado al portapapeles
      CALL METHOD OF zword 'EDITCOPY'.
    * Se crea un documento nuevo, al que WORD llama documento1
      CALL METHOD OF zword 'FILENEW'.
    * Se pega el texto del portapapeles a documento1
      CALL METHOD OF zword 'EDITPASTE'.
    * Posicionar al principio del documento
      CALL METHOD OF zword 'STARTOFDOCUMENT'.
    * Posicionar al principio del documento
      CALL METHOD OF zword 'STARTOFDOCUMENT'.
    * Se selecciona todo
      CALL METHOD OF zword 'EDITSELECTALL'.
    * Se borra la selección
      CALL METHOD OF zword 'EDITCLEAR'.
    * Se incorpora el texto original de PRUEBA_1.DOC
      CALL METHOD OF zword 'EDITPASTE'.
    *IF ls_partner1-conting_com is initial.*
       *CALL METHOD OF zword 'EDITREPLACE'*
        *EXPORTING*
        *#01 = '#linea2y3#'*
        *#02 = 'de la cobertura de Accidentes de Trabajo, de los siguientes código de cuenta de cotización (CCC):'*
        *#03 = 0*
        *#04 = 0*
        *#05 = 0*
        *#06 = 0*
        *#07 = 0*
        *#08 = 0*
        *#09 = 0*
        *#10 = 1*
        *#11 = 0*
        *#12 = 1.*
    *else.*
         *CALL METHOD OF zword 'EDITREPLACE'*
        *EXPORTING*
        *#01 = '#linea2y3#'*
        *#02 = 'de la cobertura de Accidentes de Trabajo y Contingencias Comunes, de los siguientes código de cuenta de cotización (CCC):'*
        *#03 = 0*
        *#04 = 0*
        *#05 = 0*
        *#06 = 0*
        *#07 = 0*
        *#08 = 0*
        *#09 = 0*
        *#10 = 1*
        *#11 = 0*
        *#12 = 1.*
    *ENDIF.*
      *CALL METHOD OF zword 'EDITREPLACE'*
        *EXPORTING*
        *#01 = '#codprov#'*
        *#02 = ls_partner1-nif*
        *#03 = 0*
        *#04 = 0*
        *#05 = 0*
        *#06 = 0*
        *#07 = 0*
        *#08 = 0*
        *#09 = 0*
        *#10 = 1*
        *#11 = 0*
        *#12 = 1.*
      CALL METHOD OF zword 'EDITREPLACE'
        EXPORTING
        #01 = '#nomprov#'
        #02 = ls_partner1-name_org1
        #03 = 0
        #04 = 0
        #05 = 0
        #06 = 0
        #07 = 0
        #08 = 0
        #09 = 0
        #10 = 1
        #11 = 0
        #12 = 1.
    * Se reemplaza el campo #nomprov# con el valor de la tabla interna.
      CALL METHOD OF zword 'EDITREPLACE'
        EXPORTING
        #01 = '#FECHA_EFECTO#'
        #02 = '10 de Junio de 2010'
        #03 = 0
        #04 = 0
        #05 = 0
        #06 = 0
        #07 = 0
        #08 = 0
        #09 = 0
        #10 = 1
        #11 = 0
        #12 = 1.
      lv_contador = lv_contador + 1.
      CONCATENATE 'C:DOCS' 'PRUEBA' lv_contador '_' sy-datum '.DOC' INTO lv_file_save_as.
    * Se cierra el documento activo, documento1 con opción de salir sin salvar
      CALL METHOD OF zword 'FILESAVEAS' EXPORTING #1 = lv_file_save_as.
    * Se cierra el documento activo PRUEBA.DOC con opción salir sin salvar
      CALL METHOD OF zword 'DOCCLOSE' EXPORTING #1 = 2.
      AT LAST.
    *   Se cierra WORD
        CALL METHOD OF zword 'APPCLOSE'.
    *   Se libera el objeto ZWORD
        FREE OBJECT zword.
      ENDAT.
    ENDLOOP.

  • Pricing in InterCompany Billing document for InterCompany Stock Transfer

    Hi, SAP Gurus
    I am doing Stock Transfer Order using Intercompany Billing.  When I am creating the Intercompany invoice I am not getting the pricing in the conditions tab.  There ar eno condition types.  I have maintained the pricing procedure determination in OVKK.  Still there is no pricing procedure determined.
    Please suggest.
    Thanks
    Jayant

    Dear Jayant,
    Just check document pricing procedure and customer pricing procedure
    whether it is maintained properly  or not.
    warm regards,
    Rahu;

  • Issue for creation date of Billing document in third party ???

    Hello SAP Folks,
    This issue is related to third party scenario. The basic requirement is to create to a billing document with a creation date same as
    Good issue date of Sales Order.
    For your information, with the help of enhacement we have passed on the value of posting date of material document generated
    from MIGO to Goods issue date in Sales Order. I am very much aware that setting up a new copying routine would help me but
    relating the GI date field of Sales Order from the techincal point of view is a complete work stopper. Could anyone throw light on
    the workaround for mapping this case ???
    Regards,
    Sarthak

    Hello,
    Thanks Alex for your input on the topic !!
    But i would like to say that the billing relevance of the item category has to "B" as this process of Third part Sales talks about creation of billing document after the MIGO. And i am basically interested to Populated the posting date of MIGO for Biling creation date. 
    In Sales Order, the GI date is modified to Posting date of MIGO through enhancement. I have been looking around relevant tables to fetch the GI date of Sales Order but not getting the right track...
    Could anyone provide any other workaround to implement this sort of requirement ???
    Eager to hear from Lakshmipathi ...
    Regards,
    Sarthak

  • Automatic clearing of SD billing document

    Hi there,
    When SD cancels its billing document, the integrated posting of the invoice cancellation will be captured in FI.
    Any idea if the cancellation of invoice can be claered automatically against its original invoice in FI customer open items.
    Please advise.
    Thank you.

    Thanks for the reply.
    Actually, what I'm expecting here is the system will trigger the automatic clearing of the invoice being cancelled in SD vs the original invoice; without having to perform the clearing via F-32 or F.13.

Maybe you are looking for