Journal Posting From Invoice

Dear All,
I'm new to SAP Accounting, Can some one please explain the below journal posting when i generate the Invoice.
My doubt is why it is taking Raw Materials Account while posting invoice. I tried this entry in SAP 8.8 Demo Database (OEC Computers India)
#         G/L Acct/BP Code     G/L Acct/BP Name                                              
1     RM0001     M/S Pruksa India Pvt. Ltd.                                                46777.5 Db     
2     207000     VAT Payable  (output Tax)                                              2227.5 Cr.
3     400000     Sales Revenue (Domestic) - Product No.1                                                       44550  Cr.
4     130000     Raw Materials                                                                   1192500 Cr.
5     500025     Finished Goods - Cost of Goods Sold                         1192500 Db
Thanks in Advance

Hi,
It seems that you are entering a stand-alone AR Invoice. In independent or stand-alone AR Invoice, the first lines are booking of the amount to the Business Partner and the sales account.
However, as the stock has also moved out, the recording for the Material and the COGS account needs to be booked. Hence, like in your journal entry, line 4 and 5.
If the AR Invoice would have been based on the Delivery, then already in the Delivery movemen tof stock is recorded hence in AR Invoice only the sales account and the Business Partner with tax will be displayed to be booked.
Kind Regards,
Jitin
SAP Business One Forum Team

Similar Messages

  • Journal Posting

    Hi,
    I'm new to Finance Module. I tried Journal Posting from back end.
    DECLARE
       x_user_id             NUMBER;
       x_sob_id              NUMBER;
       x_coa_id              NUMBER;
       x_user_source_name    VARCHAR2 (80);
       x_source_name         VARCHAR2 (30);
       x_appl_id             VARCHAR2 (50);
       x_resp_id             VARCHAR2 (50);
       x_summary_flag        VARCHAR2 (1)    := 'N';
       x_conc_id             NUMBER;
       x_posting_run_id      NUMBER;
       x_access_set_id       NUMBER;
       x_req_return_status   BOOLEAN;
       err_msg               VARCHAR2 (2000);
    BEGIN
       fnd_message.CLEAR;
       SELECT user_id
         INTO x_user_id
         FROM fnd_user
        WHERE user_name = 'OPERATIONS';
       SELECT application_id
         INTO x_appl_id
         FROM fnd_application
        WHERE application_short_name = 'SQLGL';
       SELECT responsibility_id
         INTO x_resp_id
         FROM fnd_application fa, fnd_responsibility_tl fr
        WHERE fa.application_short_name = 'SQLGL'
          AND fa.application_id = fr.application_id
          AND fr.responsibility_name = 'General Ledger, Vision Operations (USA)';
       fnd_global.apps_initialize (x_user_id, x_resp_id, x_appl_id);
       SELECT set_of_books_id, chart_of_accounts_id
         INTO x_sob_id, x_coa_id
         FROM gl_sets_of_books
        WHERE short_name = 'Vision Operations';
       SELECT gl_je_posting_s.NEXTVAL
         INTO x_posting_run_id
         FROM DUAL;
       SELECT gl_access_sets_s.NEXTVAL
         INTO x_access_set_id
         FROM DUAL;
       x_conc_id :=
          fnd_request.submit_request ('SQLGL',
                                      'GLPPOSS',
                                      'TEST',
                                      NULL,
                                      FALSE,
                                      TO_CHAR (x_sob_id),
                                      TO_CHAR (x_access_set_id),
                                      TO_CHAR (x_coa_id),
                                      TO_CHAR (x_posting_run_id)
                                      --CHR (0)
       IF x_conc_id = 0
       THEN
          DBMS_OUTPUT.put_line ('ID: ' || TO_CHAR (x_conc_id));
          fnd_message.retrieve (err_msg);
          DBMS_OUTPUT.put_line (err_msg);
          DBMS_OUTPUT.put_line (fnd_message.get);
          fnd_message.raise_error;
       ELSE
          DBMS_OUTPUT.put_line ('Submitted request_id ' || x_conc_id);
          COMMIT;                                               -- submit the job
       END IF;
    END;When i submitting , it completed with warning.
    glpmai() 03-NOV-2012 18:01:50SHRD0176: GLPPOS started in debug mode...
    PPOS0003: *** Posting Process Started ***
    PPOS0004: All phases to posting will be detailed in this log.
    PPOS0219: glpmai() - Your Posting Run ID is 115641
    glucmt() 03-NOV-2012 18:01:50
    << glucmt() 03-NOV-2012 18:01:50
    glpini() 03-NOV-2012 18:01:50SHRD0180: glpini() - Performing action >> check_batches_exist...
    *PPOS0154: There are no batches to post - posting completed*
    << glpini() 03-NOV-2012 18:01:50
    glucmt() 03-NOV-2012 18:01:50
    << glucmt() 03-NOV-2012 18:01:50
    PPOS0037: **** POSTING IS NOW COMPLETE ***
    << glpmai() 03-NOV-2012 18:01:50But, in front end i have record to post. How to solve this. Please let me anything i missed in code.
    Thanks in advance
    Kavi

    --CHR (0)Can you uncomment this and run?
    TO_CHAR (x_sob_id),Pass ledger id instead. (They are invariably same, but better to pass ledger id)
    If this doesn't help try
    fnd_request.submit_request(
              'SQLGL', 'GLPPOS', 'Test Journal Posting', NULL, FALSE,
                To_Char(l_ledger_id),
                To_Char(l_chart_of_accounts_id),
                To_Char(l_posting_run_id),
                chr(0))Cheers,
    ND
    Use the "helpful" or "correct" buttons to award points to replies / Mark the thread as answered, if your question is answered.

  • Production Order Journal Posting

    Hi All,
    Does anyone have a document that show the Journal Posted from the various stages of a Production Order?
    Any reply would be helpful.
    Best regards
    Earl

    Hi,
    You may refer sap implementation guide TB 1000.
    Given below is the link to download that document fro 2007 A releases
    https://websmp109.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000727177&_SCENARIO=01100035870000000183&_ADDINC=011000358700001192682007E&
    Regards,
    Senthil Maruthappan.

  • Security Dept Statistical posting from SD invoice to Contract accout

    Dear Friends,
    Could some one help me, How the Security Dept Statistically posted from SD invoice to Contract accout level.
    Because, the Security Dept amount should not directly post into any G/L account while creation of SD invoice.
    Thanks in advance.

    IF a payment has been made to the security deposit, that entry will be reflected at the time of invoicing. That is a standard process.

  • Correcting Cost Centers on a posted vendor invoice

    Hi,
      If I posted a vendor invoice with an expense account posted to wrong Cost Center, is it possible to correct it FROM FI and not within CO. I know we can allocate the costs within CO but I want the correction to be made within FI as well.
    A workaround I was thinking is re-posting the following in FB60:
    Debit Expense 1000  old Cost Cntr
      Cr Expense  1000    new Cost Cntr
    but this won't let me post an invoice with 0 in the "Amount" field in header.
    Any other options?

    If you can reverse the transaction i would suggest doing that using FB08 and re-key to the correct cost center. If you cannot do that, then you can post journal entry you mentioned using transaction FB50 or FB01 and NOT FB60. Since it is a transaction between two GL Accounts you cannot use FB60.
    Hope this helps.
    Shail

  • Tax error while posting an invoice in SRM

    We are using SRM 5.5 SP4, ECS and ECC 6.0. We are using vertex for tax caluculation and we configured the tax calculation to always occur in ECC.
    One more important point is, client has decided to use invoicing in SRM. Now the problem is we ran in to so many tax related issues and we opened OSS messages for this but SAP did not help. Let me explain the problem in detail.
    1) We used to get "Tax jurisdiction code could not be determined" error while creating shopping cart, but we implemented note 436760 and hardcoded a value and got rid of that error.
    2) When we create a SC, the copy of PO is created in ECC and vertex is called for tax calculation and tax is calculated properly based on the tax hierarchy except when you use the Shipping Address (external), so when I used the delivery address other than plant, it should calculate based on that address but it was not doing that, its calculating based on the cost object's jurisdiction code. For this problem, we have implemented ME_ADDRESS BADI in ECC, but with this BADI, it is always taking delivery address's jurisdiction code, which is also wrong.
    The tax jurisdiction determination should be from 1) Delivery address if its different from plant, else it should look in to the cost object, else storage location then plant.
    So we implemented the above logic in that BADI and there is no problem with PO taxes.
    3) When we create an invoice with reference to PO, the invoice verification program is always determining the tax jurisdiction code from plant even though the taxes on PO are calculated based on cost object, hence the IDOC is erroring out by saying there is a difference in tax.
    So we implemented the user exit and used the same logic of tax determination and its fixed now.
    4) Finally, we are trying to create invoices without PO's in SRM, here no tax calculation is happending in SRM, but when we try to post the invoice in to ECC, we are getting the following error
    "SAX processing failed on input stream#SAX processing failed when attempting to add child element to parent.  (parent element=com.vertexinc.tps.common.domain.LineItem, child element=com.vertexinc.tps.x.."
    So I am not sure how to fix this, we are at the dead end now out of ideas, so trying to get some help from experts like you about looking at this problem in a different angle. Now there are a couple of questions I can ask you
    1) Did we do something wrong by selecting R/3 as the tax calculation system, if not is it difficult to fix this error and move forward?
    2) What if we need to change the design and start calculating the taxes in SRM by connecting SRM to Vertex, will there be any new challenges? and do you have any config doc for this? Also we are implementing this rollout for US, Canada and Mexico companies.
    I would really appreciate if you can reply me with your valuable input. You can also email me if @ [email protected]
    Thanks a lot,
    Sreedhar

    Hi
    <b>It's recommended to have the same Tax related configuration data replicated in SRM system from R/3 as well.
    I don't recommeded you to go with Hard-coding of tax codes.
    We have faced similar issues with Delivery address and we have to solve it using our custom logic inside the BBP_DOC_CHANGE_BADI  and BBP_CREATE_PO_BACK BADIs.</b>
    Anyways, send the detailed business requirements to my mail which are already having with you.        )
    I will definitely help you out.
    <u>Please refer to following threads as well.</u>
    <b>sales tax gurus
    How to display country related tax codes in SRM
    e-Invoice tax calculation.
    Tax code T1 does not exist for jurisdiction code error in shopping basket
    Drill down facility not working for Tax codes ....Urgent!!!!!
    Tax Issue
    Tax Calculation
    Tax setting in Extended Classic Scenario
    Withholding Tax in SRM5.0
    IDOCS for Tax Information
    Taxes in Bid Invitation
    Hope this will help.
    Please reward suitable points, incase it suits your requirements.
    Regards
    - Atul

  • De-linking (Valuation class & GL A/c) automatic posting in Invoice booking

    Experts,
    I have a issue regarding link between FI & MM
    From what I understand,
    there is a link between Service & Valuation class
    & also a link between valuation class & GL.
    This link enables automatic FI line item posting while invoice booking.
    My question:
    1. Can we break the linkage between valuation class & GL i.e. we want to stop the automatic posting
    2. What is the effect of above
    3. Would you advise to do this .. ? Why?
    Regards,
    KPS007

    Hi,
    SAP standard process are the best business practises and it should changed only when we have genuine business problem and not for people issue.
    There are several scenarios will occur during MIGO and MIRO. For each scenario system should determine a correct Inventory account, GR/IR clearing account, Price difference account and etc. First you need to prepare an excel sheet with all your possible business scenario, valuation area/valuation grouping code and their respective GL accounts. Once you have listed out all the scenarios and correct GL accounts, you can configure the system as per your requirement. Initial home work is needed to avoid any difference in account posting. Hence try to fix the source of your problem rather than changing the best practise. Account determination is vast and it cannot be explained here but please refer the below link.
    http://help.sap.com/saphelp_46c/helpdata/en/12/1a39516e36d1118b3f0060b03ca329/content.htm
    Regards,
    Senthil

  • How to achieve automated posted for invoice and stock transfers

    Hi,
    I have following queries for an RFP, can some one give hints on how to achieve them in SAP
    o Receive self-billing documents from the customer, stating the deliveries and amounts that are settled and paid
    o Automatic posting of invoice documents from the vendor, based on the data from the purchase order and goods receipts
    o Process material stock transfers between two plants that use different SAP systems
    Thanks & Regards
    Raghu

    Hi,
    Normally when we do GR we take the cenvat credit by capturing & posting the excise invoice.
    This can be done using the t.codes - MIGO or J1IEX.
    So when the Material doc is posted the Part 1 register gets updated with Qty received.
    If we post the excise inv using either MIGO or J1IEX the Part 2 register gets updated.
    Now if you have done both the above then inorder to cancel the excise inv.
    1. You have to cancel the Material Doc (so system wil use the Mov type 102)
    2. Now Post your excise inv using J1IEX so that your Part1 reg will be updated ( i.e you are reversing the Cenvat Credit that you have availed).
    3. Finally you have to cancel the Excise inv document using J1IEX so that your Part 2 register wil be updated.
    Make sure that you do the above steps as per the above sequence else system will show the error as you mentioned.
    Hope its clear.
    Regards,
    Kiran

  • Problem in Posting Excise Invoice

    Hi,
    I am posting a Excise Invoice thru J1IEX_P, but while posting the document I am getting a Error as " Balance In Transaction Currency".
    This error is prevailing is there from long time. Can anybody please suggest some solution over this.
    Regards,

    This error comes due to mostly in case of capital goods transaction.
    Suppose, Basic excise duty is 160.83 and education cess is 3.22
    So, System will generate entry as follows
    Cenvat on hold Dr. 83.64
    Basic exise duty Dr. 80.42
    Ed cess Dr. 1.61
    To Cenvat Clearing 164.06
    So, kindly inventorised one rupee in order to post the invoice in excise details tab
    Avinash

  • Reversal of posted Excise invoice ??

    Hii
    Some body explain the steps involved in reversal of excise invoice posted..??
    Like i have created Po, GR done , uring GR i have captured and posted excise invoice .
    Now i wanted to reverse the availed CENVAT credit and reversal of excise invoice posted .
    Thanks

    Hi,
    01. Reverse the goods receipt.
    The system:
    Creates a reversal document to cancel the goods receipt
    Creates additional entries in Part I of the appropriate excise register to reverse the original entries
    Changes the excise invoice document status to In process.
    Reversing Goods Receipts
    From the SAP Easy Access screen, choose Logistics --> Materials Management --> Inventory Management --> Goods Movement --> Goods Movement (MIGO).
    In the top line:
    Select Cancellation.
    Select Material document.
    Enter the number of the goods receipt that you want to cancel
    Choose .
    Flag all of the line items as OK.
    Save the reversal document.
    02.. Reverse the CENVAT posting on the excise invoice.
    The system:
    Creates an accounting document to reverse the CENVAT postings
    Creates a corresponding entry in Part II of the appropriate excise register
    Reversing CENVAT Postings
    From the SAP Easy Access screen, choose Indirect Taxes --> Procurement --> Excise Invoice --> Incoming Excise Invoices --> Individual Processing --> Change/Display/Post/Cancel.
    In the top line:
    Select Post CENVAT.
    Select Vendor Excise Invoice.
    Enter the excise invoice number.
    Choose .
    Choose Simulate CENVAT.
    A dialog box appears, showing which postings the system will make to reverse the CENVAT.
    To close the dialog box, choose .
    Choose Post CENVAT.
    03. Cancel the excise invoice.
    The system changes the excise invoice status to Canceled.
    Canceling Excise Invoices
    From the SAP Easy Access screen, choose Indirect Taxes --> Procurement --> Excise Invoice --> Incoming Excise Invoices --> Individual Processing --> Change/Display/Post/Cancel.
    In the top line:
    Select Cancel.
    Select Vendor Excise Invoice.
    Enter the excise invoice number.
    Choose .
    Save the excise invoice.
    Regards
    KK

  • Error while posting vendor invoice in F-43

    Hi experts,
    while posting vendor invoice with Tax code , i am getting the following error:
    Posting is only possible with a zero balance; correct document
    Message no. F5060
    Here tax line item is not yet all displaying in simulation.
    If I posted with tax code with ZERO percentage it is posting correctly.
    where as same transaction I am able to post through transaction code FB60.
    What could be the reason?
    regs,
    ramesh b

    Hi
    Please check and correct the respective line items , because your selecting incorrect GL account with respective posting keys
    Example : You have exp gl a/c at first line items against vendor invoice posting's, normaly this vendor will post in first line item with posting key is 31 with vendor a/c and second line item 40 with exp GL a/c and same you will check any required inputs have missed out from this transactions.
    Regards
    CHOWDARY

  • How do I post an Invoice with 'on hold' status using this BAPI?

    Hey everyone,
    Okay, I'm working on an interface that will take Incoming Invoice information we receive from vendors and post it into the SAP system.  I'm still relatively new to ABAP, so it's a little slow-going for me...
    The BAPI is IncomingInvoice.  What we want to do is try to post the Incoming Invoice using the CreateFromData method.  That part, I'm clear on.  However, if there are any problems, the client wants us to post it with a status of 'on hold.'
    I'm been doing a lot of searching and a lot of BAPI documentation reading, but I'm not finding the answer.  I thought at first I could use the Change method, but it looks like I have to have an Invoice already out there in a particular status.  So if the CreateFromData somehow fails and doesn't really post an Invoice, then I think using the Change method is pointless.
    I thought the answer was to use the PreliminaryPostSingle method, as the documentation states that "enables you to post provisional invoice documents. Provisional invoice documents have the status 'on hold', 'on hold (from parking)', 'parked', 'parked as complete' or 'parked and released'."  But here's the kicker -- it expects IMPORT parameters of the INVOICEDOCNUMBER and FISCALYEAR.  But I don't have those yet, right?  Why does the method tell me it can post documents with this kind of status, but it expects me to provide key fields to an Invoice that doesn't yet exist, doesn't have a field that lets me set the status, and only returns the standard "return" table?
    I'm pulling my hair out on this one, guys.  I'm really hoping someone out there can help out.  As always, helpful posts will be duly rewarded with points.  Thanks everyone!

    Vyerah, sorry for the delay in the reply, but we only recently decided how to approach this.  Due to further discussions about the criteria, it was decided that we wouldn't worry about the "on hold" -- if we try to post an Incoming Invoice and it fails, then it'll be reported as such in an output file.
    Certainly made my life easier, as I thought I was going to have to clone the BAPI and try to get it so that it posted with an "on hold" status.  I'm very, very surprised to see that, apparently, SAP doesn't provide a function or BAPI to allow you to post an Invoice as "on hold."  Oh well.
    Anyway, I wanted to give you the update.  Thanks again!

  • Error Message M8 534 when posting vendor invoice

    Hello Guru's!
    My client has a BSP application that the purchasers are using to approve and post vendor invoices.
    When the user is approving the invoice, we have a WF setup to automatically post the invoice to FI.
    We're using standard SAP functionality. BUS2081, method PreliminaryPost.
    First, this method is reading the preliminary invoice using method MRM_INVOIC_READ, then it goes on to try to post the invoice, using MRM_PARKED_INVOICE_POST.
    In about 50% of the approvals, the invoice is posted to FI but the other 50% kicks out with a message M8 534 - Balance not zero: &  debits: &  credits: &.
    Then the system is setup to generate a new WI in order to post the invoice manually.
    The issue, is that before the method PreliminaryPost is carried out, there is a check online to make sure the document ís OK.
    So, i know that there is no balance on the document, and it should be ok to post.
    This issue arised recently after my client went through an upgrade from ECC 5 to ECC 6.
    I have seearched OSS for notes, adn related notes are implemented.
    Any thoughts on this
    Thank you for sharing your wisdom.
    Lars

    The functions that i'm using are SAP developed functions and used by the bapi 'BAPI_INCOMING_INVOICE'
    However, i found out from SAP that these functions are only supported from SAP using 3 standard workflows.
    WS20000397 Release of invoice blocked due to price
    WS20001003 Parking: Complete invoice
    WS20001004 Parking: Release complete invoice documents
    They hinted that i should try the function MRM_DBTAB_REFRESH.
    Havent had time to try this yet, but will do, soon.
    Regards
    /lars

  • Error getting while posting an Invoice.

    Hi Experts,
    I am getting the required purchase order data from the third party system. PI person is picking the data from the third party system and formating in the segments of IDOC format.
    I am picking the data and using the standard FM "CALL FUNCTION 'IDOC_INPUT_INVOIC_MRM'" and posting the Invoice in ECC 6.0 System.
    But i am getting an error message "Price too low (below tolerance limit of 50.00 CAD )" . I had a discussion with my Functional MM consultant, but they were able to process an invoice for the PO and also reversed the same.
    Please help, if i am trying to do through IDOC method, it is not able to post the invoice but getting an error "Price too low (below tolerance limit of 50.00 CAD )" .
    Thanks
    Sunil Kumar

    Hi Chintan,
    But when my functional consultant was able to process same PO, by using the MIRO transaction and he was able reversal the same Invoice..
    The Functional Consultant gave me the amount and input details..  (He was able to using the standard transaction MIRO) Which i am hardcoding through the segments which are mandatory.
    When i try to do it through the IDOC process, where i am currently hardcording few values in the segments in we19 transaction and execute the same.
    Please let me know if there is any other process.
    Thanks
    Sunil Kumar

  • Transaction type 100 cannot be used for activity 'Acquisition from invoice'

    Hi
    My user got the error message : Transaction type 100 cannot be used for activity 'Acquisition from invoice receipt w/ affil. comp.'
    when post the invoice via MIRO t code for 98% of the total amount.
    The posting was is related to affiliated company, & by right it should pick transaction type 153 but it is pointing to 100.
    If user post 100% , no error.
    Please advice.

    Check any of the following notes:-
    =>  Note 972556 - MIRO: Incorrect movement type with affiliated companies
    =>  Note 1060719 - Error AAPO 176 for postings from Logistics without vendor
    thanks
    G. Lakshmipathi

Maybe you are looking for

  • InDesign CS5.5 and CS6 Hang while opening document

    hello, I have the following problem: Indesign CS5.5 CS6 and hang up several times a day when opening documents on. the user can not make more in the program and must kill the process. After reopening the document opens without problems (probably the

  • How to control layout in SQL*plus command

    Hi, All, I use SQL*plus to generate a simple report BREAK ON <column1> duplicates skip page ON REPORT COMPUTE COUNT LABEL 'Total number of trader shown on this report for this :' OF <column2> On <column1> it shows '********' and '-------------------'

  • Gift certificate sale GL postings

    Hi Sap Gurus I would like to know how to acheive Gift certificate sale. we are setting up gift certficates as NLAG materials. And we will sell them to customers with other products. But the difference between gift certificates and the other products

  • Function pointers?

    Does PL/SQL support the concept of function pointers like in C? What I'd like to do is store procedure or function names in a table, select them into a variable and use the variable to call the procedure or function. Joe

  • How to control service shutdown sequence of dependent services

    I am running three java applications say A,B,C as windows services with A having dependency on B and B having dependency on C. Which means when you start A, It shall automatically start services B and C (Java programs running as service). And also wh