Accounting document in sap

Hi all,
I have created a proforma invoice (billing document), in the excise invoice, the excise transaction is Letter of undertaking.
The accounting document should not create in this case, but a acccounting document (GL accounting document SA) is getting generated for the billing document as the reference.
Please help me.
Thanks

Dear, thenmozhi
please check the billing document type for that particular pro-forma invoice, accounting determination procedure might assigned there.
I think, you are doing Excise invoice J1IIN with ref to Pfo-forma  invoice. and after posting to FI of commercial billing and excise invoice, you are watching in vf02 accounting documents get generated with pro-forma invoice document no. my client's scenario is also same,  it is normal, not any error. and there is no wrong in your process.
Thanks.

Similar Messages

  • DMBE2(LC2 amount for a accounting document) in BW

    Hello Friends,
    The users have a requirement to display the LC2 amount for an accounting document along with LC1 and LC3 amounts. Now the problem I am facing is that the LC2amount is postive for both the actual debt and payments made against the debt amount. Now in the subtotal for a particular customer for that account is adding to the original debt value instead of subtracting as all the LC2 amount values are positive.
    Now, the LC2 amount is mapped to DMBE2(LC2 amount for a accounting document) in SAP R3.It is stored  in BSAD,BSIS and BSEG tables and its value is positive in those tables too.
    I don't understand why LC2 is positive for both the debt and payment amounts. But LC1 and Lc3 have both positive and negative amounts.
    Also, is this the standard SAP design or custom to a client.
    How do I resolve this and provide the correct LC2 balance in the reports.
    Regards,
    Tanya

    Hi Tanya,
    Do you have a characteristic in the provider(Something like document type) which tell you whether the current record is debt or payment.
    If you do have such a characterisic, then you can create a formula with an if condition -multiply LC2 by -1 if it is a debt.
    Regards,
    Sunmit.

  • Which iDoc/FM for Inbound AB Accounting Document ?

    We need to generate an iDoc from an external source which will create an AB Accounting Document in SAP R/3 (transaction would be FB01). There would appear to be various possible candidates with regards to Basic Types, Message Types, Function Modules etc, for example :
    Message Basic Type FM
    FIDCC2 FIDCCP02 IDOC_INPUT_FIDCC2
    ACC_DOCUMENT ACC_DOCUMENT02 BAPI_IDOC_INPUTP
    We are running 4.70 110. I would appreciate some guidance as to the most appropriate iDoc/Message/FM to use.
    Many thanks,
    Paul Read.

    Found answer through trial-and-error.

  • How identify closed accounting period to restrict creation of billing document in sap

    Hi Experts,
    I have a requirement to identify the  closed  periods in sap based on this we need to restrict the creation of billing document .
    Actually we are working for  Brazil  client, there we have notafiscal   which created along with billing document.we are maintaining  periods monthly basis.
    When the periods are closed  accounting document not created and billing document is created  this is working fine . But over scenario along with billing document notafiscal number is also created which  is causing the problem. This notafiscal should not be created without a accounting  document.
    so my client wants to restrict creation of billing document also when these monthly periods are closed.
    Please suggest me a solution.
    Regards
    Ravi

    Helllo Ravinder,
    To check if a period is closed using the FM FI_PERIOD_CHECK.
    First calculate the period of the FI document date.
    DATA: GJAHR LIKE BKPF-GJAHR,
           MONAT LIKE BKPF-MONAT,
           POPER LIKE T009B-POPER.
    CALL FUNCTION 'FI_PERIOD_DETERMINE'
           EXPORTING
                I_BUDAT        = I_BUDAT
                I_BUKRS        = I_BUKRS
    *          I_PERIV        = ' '
    *          I_GJAHR        = 0000
    *          I_MONAT        = 00
    *          X_XMO16        = ' '
           IMPORTING
                E_GJAHR        = GJAHR
                E_MONAT        = MONAT
    *          e_poper        = poper
           EXCEPTIONS
                FISCAL_YEAR    = 1
                PERIOD         = 2
                PERIOD_VERSION = 3
                POSTING_PERIOD = 4
                SPECIAL_PERIOD = 5
                VERSION        = 6
                POSTING_DATE   = 7
                OTHERS         = 8.
    IF SY-SUBRC = 0.
    MOVE MONAT TO POPER.
            CALL FUNCTION 'FI_PERIOD_CHECK'
                 EXPORTING
                      I_BUKRS          =  I_BUKRS
    *                I_OPVAR          = ' '
                      I_GJAHR          =  I_GJAHR
                      I_KOART          = '+'
    *                i_konto          =
                      I_MONAT          = POPER
                 EXCEPTIONS
                      ERROR_PERIOD     = 1
                      ERROR_PERIOD_ACC = 2
                      OTHERS           = 3.
    ENDIF.
    Tutorial ABAP How to check that posting date belongs to closed period - ABAP Development - SCN Wiki
    I hope you help.

  • Cost Center not updated in accounting documents generated in SAP RE-Fx

    Hi Experts,
    I'm facing an issue wherein I don't see the cost centers getting updated in the accounting documents generated from RE postings.
    Pl. note that the appropriate cost center (relevant to the cost center) is maintained in the rental objects.
    What is the customizing settings I'm missing out due to which I don't see the cost center updated in the accounting documenmts?
    Thanks & Regards
    Shantanu

    HI Shantanu,
    As far as I know, in RE-FX we can post the cost to the RE object directly. All the objects in RE-FX (i.e. BE, BU, PR, RO, RECN, SU, etc) are cost objects in themselves. However, to post the cost to Cost centers you will need to run the CO settlement. Again CO settlement rule is available in all these objects.
    Please refer the SAP Library for further explanation:
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/00/80383b1b793821e10000000a114084/frameset.htm
    Regards
    Rohit

  • If there is no accounting document; SAP should not allow users to print

    Dear Gurus,
    Is there a standard way that,
    --if there is no accounting document; SAP should not allow users to print invoice?
    How can I do it?
    Regards,

    You can either use Tcode NACE for output procedure pr follow following path in SPRO:
    IMG - SD - Basic Functions - Output control - Output Determination - Maintain Output Determination for Billing Documents - Maintain Output Determination Procedure
    There for your output procedure used for the desired output type maintain requirement routine as 62 : Billing doc released to acctng.
    This requirement is met if the billing document is complete checking the header, pricing, and all items and has already been passed to financial accounting. The requirement also checks that the document is not relevant for an invoice list. This requirement can be assigned to billing document output condition types that should only be processed when the billing document is complete and forwarded to accounting. This requirement can only be used with billing documents.
    Regards
    JP

  • SAP Revenue recognition Credit Memo Accounting document

    Hi,
    One of our client uses SAP Revenue recognition to post revenue. They have implemented the Service related revenue recognition (revenue recognition category B) and also process credit/debit  memo with reference to preceding docuemnt
    "F". Each month a debit memo is issued ot the customer for the services performed. Eventually we create credit memos when the customer disputes a particular debit memo invoice. Debit memo and credit memo documents
    are created with DP96.
    The issue they have currently is with the credit memo account document postings. Client credit memo accounting documents are making postings to unbilled revenue accounts. The postings remain as  debit postings in unbilled revenue accounts even after revenue is recognized for an order. According to them accounting rules do not fulfil with the credit memo postings to the unbilled revenue account. Hence we need your expert advice/opinoins.
    Please reply as soon as possible because its very high priority issue.
    Thanks & Regards
    K.R.

    Hi,
    Please check the reason for value not flowing to the header data of the billing document.Once you get the value of the document tin the header , there will be no issue in creating an accounting document.
    Check the item category of the credit memo.
    Regards,
    Phani Prasad

  • Quantity Material , FI Document NO, General Ledger Account No in SAP Table

    Hi,
    I want to extract the details Quantity, Material , FI Document No, General Ledger Account No from SAP Table.To extract the data from GL is verfy difficult and time consuming.
    please help
    Regards
    Nikunj
    Edited by: NIKUNJPATEL on Mar 28, 2010 11:31 AM

    Dear Christian,
    Thanks a lot for help.
    The required infor is available in BSEG Table itself. No need to go other table.
    Regards
    Nikunj

  • The user exit on the sap post the account document

    Dear all.
       I use the t-code mb01 or migo to receipt goods for purchase order.When I execute post or save,the sap generate the material document and the account document.The account documents have two item with account 12110000 and account 12010000.And I know this two account was configure in the t-code omwb.
       Now my company have a new requirement:
       When the sap generate the account documents,I need to write some code to do some judgement and change the account 12110000 to account 35510000 or other account.The logic of the code was complex and it's impossible to do in sap standard configure.So I want to find the user exit on the sap post the account document.In the user exit I would write some code to do some judgement and change the account 12110000 to account 35510000 or other account.
      But I can't found the user exit.So I need the experts to give me some reference.
    Regard
    Yoda

    Hi,
    You may use ZXF48U01 of EXIT_SAPLF048_001 of enhancement F180A001 for the same.
    Please note that control comes here for no of transactions hence you need to specifically check for sy-tcode, for which your 'exit' logic needs o be executed.
    I hope this helps,
    Regards
    Raju Chitale

  • 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

  • Link between Material Document number & Accounting document number

    Hi All,
    For material document there is a corresponding accounting document number generated.However this is not the rule in all cases.
    Where is the link between the two(Material Document & Accounting Document) ?
    In other words i want to list those material documents only, for which accounting documents are generated.
    Regards
    Piyush Kothari

    STEP 1
    SAP query way to extract your information.
    Create an infoset SQ02 with a single table MKPF. (include key fields in the field group)
    Step 2
    From Extras
    Create an additional field called zawkey (like bkpf-belnr) which will concatenate the MM document number MKPF-MBLNR and MKPF_MJAHR. The sequencing shall be number 1.
    You may use this code below and paste also (this needs authorization as well)
    data: zzawkey like bkpf-awkey.
    clear: zawkey, zzawkey.
    concatenate mkpf-mblnr mkpf-mjahr into zzawkey.
    zawkey = zzawkey.
    Add another field called ACCDOCNO (accounting documnet number) with sequencing number 2 with following code.
    data: zaccdocno like bkpf-belnr..
    clear: zaccdocno, accdocno.
    select belnr from bkpf into zaccdocno where
      bukrs = ccode and
      GJAHR = MKPF-MJAHR and
      awkey = zawkey.
    endselect.
    accdocno = zaccdocno.
    Step 3
    Include the additional fields  into the field group.
    Step 4
    Click on the selection tab and create a parameter called ccode with a description Company Code and  against
    LIKE    BKPF-BUKRS 
    Extras  OBLIGATORY 
    Step 5
    Click on the selection tab and create a seelction criteria pdate with a description Posting Date for the field MKPF-BUDAT
    Extras  OBLIGATORY 
    Step 6
    Save, Generate and assign the infoset to a user group.
    Step 6
    Create a SQ01 query under the usergroup with all the fields in the infoset. and Execute. Enter a company code and one date of a working day where you expect material transactions.
    The result will be all the material documents and their corresponding accounting documents, if available. If you want to see only those material document that do not have corrsponding accounting documnet, then while you are in the selection screen say accounting document number is not equal to blank.

  • Invoice & Accounting Document Number

    Dear Experts,
    We are facing number range problem. When we are saveing an invoice then Invoice number and accounting document number showing different. It should come same number. Can you pls advice why this is happening and how I can resolve this issue.
    Thanks in advance for your kind support.
    Best Regards.
    Ripon Kumar Paul

    Dear Ripon,
    Please check the below which will help you achieve same document number:
    SAP gives you customizing options to make both document numbers the same. The solution lies in the number range assignment of the MM and FI document. You need to configure the MM document number assignment as internal and external for the FI documents. (FI documents are set up with external-assigned numbering, while the MM document has internal, or system-generated, numbering.) In this case, the MM document number is passed on to the FI document, which means that the number of the FI document is identical to the MM document.
    Because the document number assignment in MM is not company code-specific, in contrast to the FI document, you need to take the following points into consideration before using external document number assignments for FI documents. They have the following effects on your system:
    Continuous number assignments for FI documents are not guaranteed, especially if you have more than one company code.
    The document number ranges in MM and FI have to be the same for all company codes.
    In Release 4.6C, you need to use internal number assignments for revaluation documents, invoice reduction documents, Evaluated Receipt Settlement (ERS) postings, or reversal documents. There are no restrictions as of SAP Enterprise 4.70.
    Use a different number range assignment for FI invoice posting (FB60), because FI invoice postings usually use internal number range assignments and the postings originate in FI, not MM.
    If you use document parking and the number range intervals are fiscal year-dependent, you cannot change the posting date of the document if the fiscal year is different to that determined for the previous posting date. In this case you have to delete the document and re-enter it. There are no restrictions for fiscal year-independent number ranges.
    What do you do if you have already posted thousands of invoices in your system and the numbers are already different? In this case, you need to find unused number range intervals in MM and FI. Since most companies do not change the SAP standard delivered number ranges during the original implementation, number range interval 52 is usually available in MM and FI.
    Now let's look at the detailed customizing steps. With the following customizing steps, you can align the MM and FI document numbers going forward only. No fix is available for invoices already posted in your system, since SAP does not allow the change of document numbers.
    Step 1. Maintain FI document number range. Use transaction OMR4 and go to Number range for document types in FI. Select the company code for which you want to create the new number range interval and click on the change interval button. Insert a new document number range by clicking on the insert interval button on top of the screen. In this example, I created number range interval 52 with the document numbers 5200000000 u2013 5299999999. Don't forget to set the external number range check box (Ext).
    Step 2. Assign FI number range to FI document types. The second step is to assign the number range created in step 1 to the FI document type for invoices. Again use transaction OMR4 and go to Document type. Double-click on the document type, which you are using for LIV invoices. In my example, I used the SAP standard document type RE. In the number range field, assign the new number range interval 52.
    Thanks!!!
    Murlidhar Khatri

  • Link to find Accounting document number from Material document number / PO

    Hi
    We are working on a custom report, in which we need to print purchasing details (from EKPO, EKKO & EKBE) as well as accounting details (from BSEG & BKPF). We need to hit BKPF/BSEG with the accounting document number, since it is the only key field (though PO number is there in BKPF, we can not use this because it is not a key field)
    My question from which table we get the accounting document number ? We need to provide a link between purchasing & accounting through accounting document number, but how to find the accounting document number. ?
    Thanks
    Venkat.

    Venkat,
      I guess you are trying to fetch Accouting Documents for goods receipt against PO.
      To do this, you need to look at the PO History table (EKBE) and find out the Corresponding material document (VGABE = 1 for good receipt).
      Get the value of BELNR and GJAHR.
      Concatenate BELNR and GJAHR into your refernce key (like BKPF-AWKEY).
      Then use this key to read table BKPF with the following key
       AWTYP = 'MKPF' for Material document
       AWKEY = reference key generated above.
       AWSYS = the value of the logical system (if used) or blanks
    This will get you quicker access as compared to what you've described below. In this case, the system uses a standard SAP Index "Index by application type and key" to fetch the relevant records.
    Hope this helps.

  • GR/IR Clearing-Good Receipt Accounting Document issue-no cost center / IO

    Hi All,
    For the GR/IR Clearing Account, users did  the Goods Receipt. GR document post to FI and created Accounting Document. When we look at GL line item display of GR/IR clearing account (FBL3N), we cannot see the cost center or internal order on Goods Receipt doucment ( document type WE).
    When we look at Invoice ( document type RE), we can see cost center or internal order on invoice accounting document. 
    Anyone know how to capture cost center / internal order from Goods Receipt to FI accounting document during GR time ?
    Thank You
    Alex Lee

    Hi,
    Indeed, during the invoice inscription, the information regarding cost centre (or other CO object) is stored on GR/IR account, even (see the explanantion in note 27881). However, for GR there is no standard solution. You can try making a substitution (OBBH), taking the cost centre from the expense line and putting it on GR/IR as well. I doubt, though, if SAP allows GR/IR line item to be changed by substitution...
    Additionally, please check note 378800.
    Regards,
    Eli
    P.S. Please, see your thread in FI. Try avoiding cross-posting.

  • Identifying Changed Dates on Documents in SAP B1

    Greetingsu2026I have an unusual request that is somewhat long, very serious, and hope folks can help. 
    A headquarters customer believes a subsidiary company has u2018made upu2019 dates on invoices for previous billings.  They describe the date changes as u2018radicalu2019 but I have not personally seen these invoices as of yet and am waiting a FAX.  They requested I go into SAP B1 to see if someone has fabricated or made up or changed invoice dates and who it was.  They have some specific large-dollar invoices identified to research.  The person under suspect (who is no longer there) was considered an expert in SAP B1, so maybe she knew all of the different ways to change dates around.  Being an expert means also she might have used some unusual ways to change dates to the ones she wanted.
    Here are some of my ideas to discover this situation, but I hope someone can suggest even more steps because I would like to know every way that this situation can be discovered.
    1. Open the AR Invoices and use Data > Change Log and concentrate on dates.
    2. Run some SQL to validate document dates and system dates.  SELECT T0.DocNum, T0.DocDate, T0.CreateDate, T0.TaxDate, T0.UpdateDate FROM OINV T0 WHERE (T0.DocDate does not equal T0.CreateDate OR T0.TaxDate does not equal T0.CreateDate).  The results would show invoices that maybe had their dates changed.
    3.Run a Document Journal in the Financial Module.  Finance > Financial Reports > Accounting > Document Journal with the u2018Expanded Selectionu2019 of AR Invoices and a date range covering the invoices in question.  Then see if the Transaction Numbers are out of sequence.
    4. Run a Transaction Journal Report Financials > Financial Reports > Accounting > Transaction Journal Report with AR Invoices.  Compare this report to Document Journal.
    5. Run the Utilities functions of Utilities > Check Document Numbering to see if there any anomalies there in the document numbers.
    6. Run the Administration > System Initialization > Document Numbering function to see if a special series has been set up.
    7. Check out the AR Invoice numbering order by running another simple SQL covering a range of the invoices in question. SELECT T0.DocNum, T0.TaxDate, T0.CreateDate, T0.UpdateDate FROM OINV T0 WHERE T0.DocNum > 1583 AND T0.DocNum < 3251 ORDER BY T0.CreateDate.  Then see if the AR Invoice Numbering Sequence is not consistent.
    8. Check out those documents that are connected to each suspect AR Invoice and their associated dates by using the Target and Base Document icons.  For example, if a Deliver Document has dates of January 2007 but the AR Invoice date is September 2006, then someone has played around with dates on at least one of the documents.
    9. Get copies of the complete company database before the alleged changes were made and a company database as of today and compare the two contents.  Only good if the backups are maintained for a long time.
    Here come the questions on the ways I BELIEVE dates can be changed but not sure how to find and need to work on them:
    QUESTION 1 u2013 If a person DTWs invoices up into SAP B1, how can I tell that DTW was used to change the dates, the date of the DTW run, and the dates that were changed?
    QUESTION 2 u2013 If a person uses SQL to update dates on SAP B1, how can I find out that SQL has been used, the date of the SQL run, and the dates that were changed?
    QUESTION 3 u2013 If a person goes out and changes the workstation and/or server Date and Timestamp Properties, how can I find that they did that and the date changes?  You can do this on your PC by just changing the month, date, and year in Microsoftu2019s Date and Timestamp Properties.
    QUESTION 4 u2013 I know SAP has a policy that no SQL can be used to update databases and/or tables and have been told some customers lost support because they did this.  What does SAP do to discover this in their lab?
    QUESTION 5 u2013 Are there any notes in the portals to help me find changed dates?
    QUESTION 6 u2013 Are there any logs SAP B1 produces that can help identify such changes and how do I find and use them?
    QUESTION 7 (and this is big) u2013 Are the other ways dates can be changed on AR Invoices and how would I uncover the way it was done and the needed information of Original Date and Changed Date?
    Many, many thanks for any help provided since this is a serious situation.  If you can make any suggestions it would be greatly appreciatedu2026
    Zal
    Edited by: Zal Parchem on Mar 13, 2009 7:31 AM

    Hi Zal
    If this person was an "Expert" on SAP Business One then the only way they would have changed dates would probably be directly in SQL itself. The best way to determine this would be to hope that they slipped up somewhere and forgot to change a particular date in let's say one specific table.
    For invoices, start with the post date, doc date & create date. Then check each of these to the OJDT/JDT1 tables for any discrepancies. Next check the ADOC/ADO1 table for multiple instances on the invoice. If only 1 instance then check the create date, time & user as well as the aforementioned dates between OINV/INV1 & ADOC/ADO1. If multiple instances, check the dates from 1 instance to the next (This will indicate dates being changed in the system).
    Next check the same dates against OINM table. If any of the dates do not tally then the SQL was changed directly.
    Hope this helps. Let me know if you need further assistance.
    Kind regards
    Peter Juby

Maybe you are looking for

  • My Firefox browser opens to a white screen and when I try to browse a website it opens a new page and is also blank

    - installed a new updates for windows last night and restarted my PC -When I open my Firefox browser it sits at a white screen, with nothing in the URL area. -When I try to go to a website it reloads says "New Tab" and doesn't load any content and st

  • My Macbook Pro (early 2008) won't boot, then booted, now won't boot again.

    Hey all, Summary: My GF's Macbook Pro (Early 2008, non-unibody I believe) "died" earlier this year without notice or a cause for why, then it worked months later, then it didn't again.  Symptoms: It stopped booting, with the only signs of life are: T

  • Notes on JDev 10.1.3

    I watched the on-line presentation on Faces yesterday, and decided to dive in and try to build the same application myself. I noted the following problems, which no doubt have already been reported, but just in case... 1. The range validator presents

  • MOSS 2007 - Sort People Picker by Display Name, Not Login

    I've been looking for a way to sort the people picker based on the user's Display Name. I've found some great articles on setting the People Picker scope (thanks, by the way), but nothing about the sorting. Any point in the right direction would be g

  • Best way to make animation w/stills for intro?

    Kind of like the template intro movies in the themes, I want to cut up my own photo and have pieces move around and off screen. For example, I want a photo to split in half right up the middle and have each half go off screen in opposite directions.