IS-U INV: Creation of FI-CA documents during invoicing

Hi,
I need to create a couple of FI-CA documents during invoicing process. I found the Event R402, is there possible to create more then one FI-CA document?
Thanks for answers.
Vlado

Vlado:
The R402 event only allows for one document.  You can populate the one document with multiple lines representing various scenarios if necessary.   If multiple docs are required, then you need to explore additional events - and likely need to create logic for reversal scenarios.  Implementing all of the posting in R402 enables standard reversal integration.
regards,
bill.

Similar Messages

  • IS-U INV: Maintenance of FI-CA document during invoicing

    Hi,
    I create the FI-CA document during invoicing process using event R402. This document is created consistent without any problems. Unfortunately during automatic account maintenance this document is not taken into account.
    I debugged this problem and in the function module ISU_INV_ACC_MAINTENANCE I found some condition where if the document number of the FI-CA document is not assigned (initial) then this document is not taken into account. How can I solve this problems?
    I need to realize account maintenance with the NEW created FI-CA document during invoicing process? Any suggestions?
    Thanks
    Vlado

    Hi Vlado,
    You need to maintain the main transactions of the particular document in the following configuration setiings under the billing settlement type-
    SPRO->SAP Ultilities->Invoicing->Invoice Processing->Item Selection In Invoicing->Item Selction in Account Maintainenace/Define sub items.
    To carry out account maintenance in invoicing, you must select all open items you want to take into account in this activity. The open items generated in invoicing are subject to this selection procedure.This depends on the billing settlement type for the invoicing unit.
    The selection is dependent on the settlement type of the invoicing unit.
    Note-If you maintain a particular subtransaction, along with the main transaction,then the particular set of main\sub combination will only be valid for account mainatinenance. However, if you maintain only the main transaction, all the sub transactions under the main will be picked up for the account maintaineance during invoicing.
    Hope it helps....
    Thanks,
    Amlan

  • Enhancement for MB1C/MB1A before creation of an Accounting Document

    Hello everyone,
    Actually I want to get the material document number(MBLNR) before the creation of an accounting document when using the transaction MB1C or MB1A.
    I will have to use the value 'MBLNR' to update a field during the creation of an accounting document(the field SGTXT should be updated with the MBLNR).
    I have already tested the following BADI's which provide me the value of the material document number:
    - MB_DOCUMENT_BADI  (BAdIs During Creation of a Material Document)
    - MB_DOCUMENT_BADI_SAP (BADI for Creation and Changing of a Material Document)
    and I am using the BaDi 'AC_DOCUMENT' to update the required field with the material document number(MBLNR).
    The problem is that the BADI's 'MB_DOCUMENT_BADI ' and 'MB_DOCUMENT_BADI SAP' are call after the creation of the accouting document(after the BADI 'ACDOCUMENT') meaning that I can't used these BADI's as the value MBLNR is not available before.
    My idea was to export the value to memory ID before the creation of accounting document and import the value in memory ID in the BADI's 'AC_DOCUMENT' to update the field SGTXT.
    I am currently looking for other enhancements or BADI's which can help me to solve this issue.
    After much research on the internet, I did not succeed in finding a suitable hint which can help me.
    I would be grateful if someone could guide me(even a small hint will help me a lot as am I am new in the world of BADI's) on how to find a suitable way to get the document number(MBLNR) before the creation of an accounting document(before calling the BADI 'AC_DOCUMENT').
    Thanks a lot in advance for you help.
    Kind Regards,
    Bryan

    Hi
    I had a look through the program and found an enhancement spot ES_SAPMM07M available through out. Sadly i am not able to create a material document in my system some master data issue but there are various enhancement points in this enahcmenet and you need to debug on save and find the right enhancement point to export the value.
    Put a break point in the following includes which have only one subroutine in them
    MM07MFF9_F_SEGMENTE_BEWERTEN
    MM07MFF9_F_SEGMENTE_ERSTELLEN---> In this accounting item are created. If stops here and in debugger change the value if it works then there are various enhancement spot for the same.
    MM07MFF9_F_SEGMENTE_ERZEUGEN
    MM07MFF9_F_SEGMENTE_GENERIEREN
    Hope it helps
    Nabheet
    Edited by: nabheetmadan09 on Feb 1, 2012 3:49 PM

  • 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.

  • Auto creation of Shipment cost document

    Hi Folks,
    Is anyone aware of how to create a shipment cost document using a function module?
    I need to create shipment cost document as well as update the condition values. But all this needs to be done via a BAPI or something in the background.
    Thanks,
    Mihir

    Seen an abaperr and check out the program "RV56TRSL" for your requirement. Through this program, you can Schedule the creation of Shipment cost document.
    If you're talking about automatic PO creation then you need to do the following:
    1. Assignment with relevant Purchasing org & group will be done at SPRO->LE->Transportation->Shipment cost->settlement->Assign Purchasing data
    2. To create the PO automatic you need to do these settings :-
    By selecting the shipment cost & item category for automatic PO (T_56) and selected the default PO type for the transaction.
    Path :- IMG > Material Mgt. >Purchasing >Define default Values for Document Type.
    Path :- IMG >Logixtic Execution >transportation -> Shipment Cost >Ship Cost Document >Shipment Cost Type & Item Category (T_56).
    3. Remember to check EKKN which is the table for account assignment in PO.
    Good luck

  • Transaction code for mass creation of physical Inventory document

    what is the transaction code for mass creation of physical Inventory document.

    MI31 is the transaction to create hundreds of physical inventory documents for annual inventory at a time.
    MICN can create several documents at a time for cycle count.
    Just look in the menu of phyiscal inventory into the knot Sessions, there are even more e.g. for counting of own stock a customer and vendor location, for vendor stock at own location etc.

  • Update Billing Document During Credit Memo Creation

    Hi,
    I need to update the billing document during credit memo creation in VA01. Is it possible to achieve this requirement since the billing document is in use during the runtime?
    Thanks & Regards,
    Mawi

    Hi Mawi,
          When you are trying to change billing document use CALL FUNCTION 'DEQUEUE_ALL'. It will unlock that billing number and you can change that billing document.
    Thanx & Regards
    Rami Reddy

  • INV: Creation of invoicing unit during EA25

    Hi,
    I need some advice, during invoicing process of BBP (transaction code EA25) I am getting instead of one print document 25 documents per every posting item in BBP. I am sure that there is problem with creating of invoicing units for partial invoice. I am in the middle of the analyses (debuging) and I am open for every advice or tip.
    Example:
    - one contract account with 4 contracts (GEMFAKT=1)
    - one BBP with 6 different due dates (2,4,6,8,10,12), every second month
    - BBP period is one year
    - BBP procedure is 2 - Partial invoices
    - R403 no adjustment
    Thanks
    Vlado

    Problems solved by the changing of postings in BBP after due date (change of amount to 0,--).
    Afterwards the invoicing was worked correctly.
    Vlado

  • PO Creation date in display mode during ME21N

    Dear Sir,
    Pl. lnform me that how PO creation date i.e. document date to be make in display mode so that user should not be able to change the default date at the time of creation of PO.
    Thanks & Regards,
    Rajiv Saxena

    dear rajiv
    you can make any field as you want , it is possible using customization ..
    i am giving you path
    spro --> img > mm> purchasing -- > po--> screen layout PO
    go there and select PO( me21n)
    select deadline monitoring .
    here you check display checkbox and save this
    now date will be in display mode only
    hope this will solve ur problem..
    reward points if helpful
    regards
    ravikant dewangan

  • Addition of G/L items in Accounting Document during creationof Material Doc

    Hi All
    I am looking for User exit or BADI that allows me to add additional G/L line items (offsets) in Accounting Document during creation of Material Document. I wish to do this when I save Material document in MIGO, MB01 or MIRO.
    Has anyone done this before? Is there any user exit, badi or function module to do this. Please share insight on this situation.
    Thanks in advance
    Sunny

    Hi,
      check out BADI MB_DOCUMENT_BADI this would trigger before and during update task while posting Material documents i think you can ful fill your requirement with this.
    Regards,
    Himanshu

  • Vendor Text / Internal notes during Invoice creation

    Hello,
    We can create user ID for a Vendor contact using "Employee for Business partner" under "Manage Business partner" option.
    With this user ID, while trying to create an Invoice, Vendor text / Internal notes drop down does not appear under "Document tab" at item level. We only see one option "Comments from Vendor".
    But during invoice creation by a regular user , we see the drop down for "Vendor Text / Internal notes". We dont see the option "Comments from Vendor"
    Question : Is it possible to have the "Vendor Notes / Internal notes" drop down made available for Vendor Contacts just like reuglar users?
    FYI - We are using Standalone scenairo.
    Thanks for your reply in advance.
    Regards,
    UM.

    Hi Jon,
    Like said Yann, try to use BBP_DOC_CHECK badi.
    In this badi You can use FM BBP_PD_SC_GETDETAIL.
    Example:
      call function 'BBP_PD_SC_GETDETAIL'
        exporting
          i_guid     = iv_doc_guid
        importing
          e_header   = wa_e_header
        tables
          e_item     = e_item
          e_account  = e_account
          e_longtext = e_longtext
          e_messages = e_messages.
    This FM show You all longtext attached in document.
    Regards,
    Marcin Gajewski

  • Diffrence between the billing document and Invoice list

    Dear all,
    I have that we create the billing document from vf01 but there is invoice list also which we can create from vf21,so i wanted to know that whats the diffrence btw the these both?
    Thanks & Regards,
    Mohsin

    Billing represents the final processing stage for a business transaction in Sales and Distribution. Information on billing is available at every stage of order processing and delivery processing.
    This component includes the following functions:
    Creation of:
    Invoices based on deliveries or services
    Issue credit and debit memos
    Pro forma invoices
    Cancel billing transactions
    Comprehensive pricing functions
    Issue rebates
    Transfer billing data to Financial Accounting (FI)
    The invoice list lets you create, at specified time intervals or on specific dates, a list of billing documents (invoices, credit and debit memos) to send to a particular payer.
    The billing documents in the invoice list can be single or collective documents (collective invoices combine items from more than one delivery).
    The standard version of the SAP R/3 System includes two types of invoice lists:
    for invoices and debit memos
    for credit memos
    If you wish, you can process invoices, debit memos, and credit memos at the same time. The system automatically creates a separate invoice list for credit memos.
    A payer may be the head office of a buying group, which pays all the invoices for goods that are shipped to individual members. The group payer takes responsibility for paying the invoice lists and then collecting payment from the individual members. In return for these services, the group payer usually earns a factoring or del credere discount.
    Depending on the tax structure of the payer's country, the payer may be liable to pay taxes on factoring discounts that he earns. In Germany, for example, factoring discounts are taxed at the standard rate of 15%. During invoice list processing, you can reimburse the payer in advance for this tax liability by creating special condition records.

  • F110 : program name of posting cleared document during F110

    Dear all,
    I need to figure out the "PAYMENT DOCUMENT SPLITTING" issue after F110 via debugging.
    I believe the main program for F110 is SAPF110V and SAPF110S is the program handle the posting. However, after I put the break point in  SUBMIT SAPF110S AND RETURN in SAPF110V, then do step by step debug. Debugging doesn't go to SAPF110S. I am not sure what's wrong.
    Can anyone tell me the program name that post cleared document during F110 processing?
    Thank you very much for help in advance!!
    Molly
    Edited by: Molly Li on Jan 26, 2008 2:41 PM

    Hi Sruthy
      I guess you have missed populating field STYPE in each of the records which identifies the actual structure.
      Below is how you have to pass for them:
    <b>Struc --> Value
    BGR00 --> 0
    BBKPF --> 1
    BBSEG --> 2</b>
    Kind Regards
    Eswar

  • How do you keep embedded documents during conversion from Word 2007 to PDF?

    Windows 7, with all available patches.
    Word 2007, with all available patches.
    Acrobat reader 9.3.2
    I have additional documents, spreadsheets etc embedded into a Microsoft Office Word document. When this document is converted to the PDF (using the Word PDF add-in interface) the embedded objects can no longer be opened and only appear as images. 
    Is there a way to retain the embedded document during the conversion so that they can be opened from within the resulting PDF?
    Thanks in advance!

    Thanks very much for your repsonse, it's much appreciated
    I don't have Acrobat X installed at this time so am not able to create or edit PDFs (other than from Word).  I understand that creating a PDF from Word may not be an Acobat issue per se, but thought that someone on this forum may have experienced a similar problem, hence thought I'd try my luck here
    I will do as you suggest and try an MS forum
    Thanks again

  • How set the FI Document's Invoice ref.(BSEG-REBZG) to 'V' when SD billing.

    How can automatic set the FI Document's Invoice ref.(BSEG-REBZG) to 'V' when I do a SD billing.(VF01 credit memo)
    How can automatic set the FI Document's Invoice ref.(BSEG-REBZG) to 'V' when I do a MM billing.(Miro  credit memo)
    How can automatic set the FI Document's Invoice ref.(BSEG-REBZG) to 'V' when I do a FI billing.(FB65,FB75)
    Thank you very much.

    Hi,
    This has something to do with the payment terms of the invoice. When credit memos are created with reference to an invoice, there is a pattern of behaviour on how the field is updated. Similarly when the same is created without reference, the behaviour of this field is dfiferent.
    Look at the note 17410, it explains when is the field updated with V.
    As per this, when a credit memo is created with reference to an invoice, the invoice number is updated in this field and the payment term of the invoice will become the payment term of the credit memo also
    When CM. is created without invoice reference, it is updated with teh value V along with the payment terms in BSEG. In this case the credit memo is always due on the baseline date.

Maybe you are looking for