FI Posting Simulation

Hi All,
I have a problem related to FI document posting.
I am getting a file from my presentation server and this file has 4 different types of document in it. Now I need to process my file such that either all the documents are posted successfully or none is posted.
I am using Bapi "BAPI_ACC_DOCUMENT_POST" for the same. I have done ceratin validations before passing data to this BAPI and actually posting the document.
Now my requirement is that I want to SIMULATE all types of postings before I actually do any posting in the system. Is there any Function module by which I can just do the simulation of an FI posting before actually posting the document.
Any help is highly appreciated and would be Moderator message: read the Terms of Engagement again
Thanks a Lot!!
Regards,
Lalit Kabra

Hi,
Thanks for the quick response.
So that means document is not posted till we specifically call BAPI_TRANSACTION_COMMIT.
So in case there is some error we can stop there and will not proceed further. Only problem with this way would be that a document number is generated which would not be used.
Any way that even document number is not generated. Only simulation is done?
Regards,
Lalit Kabra

Similar Messages

  • Vendor Invoice Post Simulation

    Hi, We have a requirement to create a program that simulates posting of vendor invoices (the posting is done thru BAPI_INCOMINGINVOICE_CREATE).  The users need to review results before actually posting the invoice. How can we do this? Is there a BAPI that simulates posting of vendor invoices?
    Zack

    You can get all the documents which are simulated in the tables VBKPF and VBSEGK. Basically all parked invocie docs are stored in this tables. You can write a small program to retrieve all simulated invoices from this 2 tables.
    If you want function modules then try to put *PARKED* in SE37 and search you will even get fm of your requirement.
    Regards
    Venk@

  • Idoc posting simulating FBB1

    Hi experts.
    I need to post an idoc to simulate FBB1 because I need to post foreign currency valuation from an external system
    Actually I'm using idoc FIDCC2 but I can't get it.
    Does anyone know what idoc I have to use. Maybe FIDCMT?
    Thank u so much.
    Regards.

    Hi,
    Please try to use Idoc type INVOIC01 or INVOIC02.
    Relevant links attached for your reference:
    http://help.sap.com/saphelp_bw/helpdata/en/04/69adf882dd11d3a75900104b57ed65/content.htm
    http://help.sap.com/printdocu/core/print46b/en/data/en/pdf/CAGTFADM-FI.pdf
    Regards,
    Kiron Kumar T.

  • Empl Contr to PF not getting posted according to cost distr

    Our requirement was that all the payroll related costs, to get
    allocated based on the employee working on a project for a specific
    duration. We are putting Internal Orders or Cost centres in the
    Organisation units (PA-OM). These Internal Orders (IO) or Cost Centres
    (CC), are updated against the org units,which have start & End dates.
    For example, if a person "A" is allocated to 2 orgunits in a month
    like :
    A Orgunit1 01.01.08 to 17.01.08 IO no is : 100001
    A Orgunit2 18.01.08 to 31.12.99 IO no is : 100010
    Our payroll costs should get allocated to the above 2 IO's for the
    person, on the basis of allocation dates above.
    This allocations works correctly for all heads / wages , except for "
    Employr contr to PF", which is denoted by GL code : 5164, wage type
    is /3F3.
    For all other GL code, & wage types, costs are getting allocated
    correctly, For example, GL codes : 5101, 5166, 5167, which is linked to
    wage type 1ADP ,1BAS , 03F9, 03F8.
    Is there any configuration setting to be done for /3F3 ?. We have
    checked all major settings, but not able to find any difference
    between /3f3, and 03f9 or 03f8. So where could be the error ??
    Thanks
    amit

    Pl. see the posting simulation below.  our problem is that for 5164 a/c, amount is not getting allocated based on the cost distribution. Rest all other accounts are correctly getting allocated.
      Account Number with Text         M    S       Amount Amount Crcy Pers.No. Cost Ctr Order  G/L
      5101       Gross Salary                    45,269.23        INR      4609 DURMGMHP        5101
      5101       Gross Salary                     2,155.68        INR      4609          400930 5101
      5101       Gross Salary                    42,981.11        INR      4609          400931 5101
      5113       Leave Travel Allowan             7,111.42        INR      4609          400931 5113
      5164       Emp Cont To PF                   5,119.00        INR      4609          400930 5164
      5166       PF Admin Chgs                      136.24        INR      4609          400931 5166
      5166       PF Admin Chgs                      317.89        INR      4609 DURMGMHP        5166
      5166       PF Admin Chgs                      484.40        INR      4609          400930 5166
      5167       EDLI Admn chgs                       0.09        INR      4609          400931 5167
      5167       EDLI Admn chgs                       0.22        INR      4609 DURMGMHP        5167
      5167       EDLI Admn chgs                       0.66        INR      4609          400930 5167
      5199       Salary Rounding Diff                        0.02 INR      4609          400931 5199

  • Line Items posting in to FB70

    can anybody please explain me the procedure for posting simulated line items in to FB70 transaction through BAPI :  "BAPI_ACC_DOCUMENT_POST". Here I have calculated the tax amounts through FM  "CALCULATE_TAX_FROM_GROSSAMOUNT" . Here I am getting simulated items but how to post these through report?
    I am able to post the header  but I need the procedure to post simulated  line items .
    Any inputs on this is highly appreciated.
    Thanks and Regards,
    Hamsitha.

    using this BAPI  BAPI_INCOMINGINVOICE_POST  you can post the documents...

  • Invoice value differing in creation from periodic posting

    Hi,
    When I do periodic posting simulation and update run, I get the correct value.  However when I create invoice using transaction RERAIV and do simulation for the same, the invoice value is coming wrong, (It is different from the value shown in periodic posting.)
    This is happening in some cases - about eight cases out of 25 cases.
    Kindly guide as to where the error could be. 
    Regards,
    T Saravanan

    When you create invoices using RERAIV, the system takes minimum amounts (trivial amounts) into account.
    Also try with all the 'selection type' parameter options (Selection using FI documents, Selection using planned items of the cash flow, Selection from FI documents and Cash flow) on the selection screen.
    Hope helps.
    SM

  • Balancing Error in Posting-/560 Missing

    Hi All
    Please suggest on the following.
    10000117 ( Agbor Ambang )            0,00     4.425,76-        USD
    AR 10 2008                                    0,00     4.425,76-        USD
    Expense account                            0,00     6.322,33-        USD
    Customer                                       0,00     100,00            USD
    Balance sheet account                    0,00     1.796,57         USD
    When I run Posting Simulation in March, system throws an error for this EE. The difference of Expence & Balance Sheet Amount is because of /560 (Statutory Net) is missing from Balance Sheet Side.
    Now I am new to this Posting thing so unable to adjust this amount. How can I balance this error.
    Please Suggest
    Thanks & Regards

    Hi
    Thanks for replying.
    When I run Simulation Posting for March it gives me error in January. But when I check the WT/560 from January RT, its there.
    Now when I run simulation for January for this EE, it doesn't give any error.
    When I run for Feb. It gives me error in Feb.
    When I run for March, it gives error in January.
    Please Suggest. This is really confusing.
    Thanks & Regards

  • Balancing field "Profit Center" error FB60 - Tax Posting

    Hi,
    I have a nagging error at below scenario:
    Doc Type KR
    Bus Transaction 0300 -  Vendor Invoice
    Bus Transaction Variant 0001 - Standard
    Zero Balance Method - P
    Line item 1 (PK 40) Expense against Cost Center $10,000
    Line item 2 (PK 40) Input Tax $700
    Line item 3 (PK 50) Vendor $10,000
    Posting simulation in the GL view
    Line item 1 (PK 40) Expense against Cost Center $10,000 (Item cat 20000)
    Line item 2 (PK 40) Input Tax Profit Center couldn't be derived from base line item 1 $700 (Item Cat 05100)Line item 3 (PK 50) Vendor against Profit Center derived from line item 1 $10,000 (Item Cat 03000)
    Line item 4 (PK 40) Zero Balancing Account Profit Center derived from line item 1 $700 (Item Cat 01001)
    Line item 5 (PK 50) Zero Balancing Account Profit Center couldn't be derived from line item 1 $700 (Item Cat 01001)
    I got the following error message:
    (Message no GLT2201) Balancing field "profit center" in line item 003 not filled
    What setting is wrong?
    Regards,
    WH

    Hi Ravi,
    It's not an issue with field status, because if I post the same document without tax posting, the derivation works fine. The A/P reconciliation account should not have cost center assignment. My derivation is based on Profit Center.
    I managed to post if I tick the "overriding" option at Tax account on "Classify G/L Accounts for Document Splitting"; now the tax account will have item category of 01000 (Balance sheet account).
    However, the LOB balancing account is not posted anymore.
    It can work now, but I'm just abit worried what's the impact by ticking the "overriding". Can anyone tell me?
    Best regards,
    WH

  • CANCEL OF VENDOR EXCISE INVOICE

    hello everyone,
    i have cancelled a GR with movt. type 102.
    now i want to cancel d vendor excise.
    for that when i am using t/code j1iex,selecting post,simulating CENVAT and while trying to post CENVAT it is giving error ACCOUNTING DOCUMENT NOT GENERATED.
    ps help me to solve this problem.
    regards,
    indranil

    Hello Indranil
    1. Plz check ur path
      J1IEX => Post => Internal Excise Invoice (Here u can enter int. invoice generated by system) = Execute.
    Also plz check following steps :
    1. GR rect (101)
    2. J1IEX (Post invoice note down int. invoice no.)
    3. Cancel GR (102)
    4. J1IEX (Cancel Int. excise invoice)
    Hope this help u.
    Nilesh

  • Stuck Thread causing heap to grow steeply and resulting in crash

    Hi,
    We have an ADF application deployed in weblogic 10.3.2.
    We have few PL/SQL's and SQL's which are complex and take around 5 minutes of time to complete at times. We also have the script running in database to kill long running queries so that it helps us to get rid of weblogic stuck threads to some extent.
    Now when ever there is an SQL running for long time , we see a stuck thread casuing heap to grow very fast and casuing server to crash.
    I know after a particular point of idle time thread is marked as stuck , but why does it filling the heap space - does stuck threads always causes heap to grow or is it just my specific case
    any pointers on how to debug this issue to find the root cause.
    Thanks,
    Naresh

    I think this setup needs profiling. To start-off, i would recommend collecting heap dump or jrf (if jrockit), instructions for them are available on net, as it varies with jvm versions and vendors.
    Post that you should look for the thread which you believe is stuck and a possible cause using OQL in memory analyzer tool over the heap dumps.
    Conceptually, till the time the objects (or data if you say) is being referenced, JVM cannot garbage collect it. So, I would say we need to figure out what are the contents of the heap, before coming to a conclusion that the threads which are stuck is causing the issue. Why I say so it that, I have seen in past that many-a-times, we suspect stuck threads to be an issue but it turns out to be that we are "knocking the wrong door".
    Long running threads (aka STUCK thread in WLS), will normally cause memory issues, if the references/task that its trying to perform has a large local data (i.e. data with the thread scope), so it the time the thread is not released the data is alive (irrespective of the fact that the data is used or not).
    Now, my first thought of this situation is that stuck thread is not an issue, considering that you are not able to replicate this in UAT post simulating stuck threads. Thus please collect some heap dumps (may be when you start observing memory increase) and then review them comparatively, I think that should be helpful.
    AJ

  • J1iex for GR

    Hello Experts,
    While simulating  CENVAT is not being calculated
    Process: J1iex for GR
    Posting simulation using j1iex
    Part 1 is captured
    While posting, No part 2 is getting captured.
    Can anyone tell me where it went wrong.
    Thanks.

    Hi,
    In that case capture excise invoice against Goods Receipt.
    Regards,
    Piyush

  • Budget availability check

    Hi experts,
    i'd like to know if there are some ways to have, inside customizing SRM 4.0 or 5.0, a Budget availability check. Now we work with a replication of SC in request of Purchasing on R3, in this way SAP works with its standard functions for checking Budget availability.
    Thanks
    AB

    Hi AB,
    the budget availibility check in SRM is a commitment posting simulation. Once you set up all the connection mechanisms in your SRM, you will check the budget, i.e. you will simulate a commitment posting into ERP or R3.
    This happens from the Form routine PROCDOC_CROSS_CHECKS in BBP_PD function group. You may deactivate the budget check completely -- just look for the right BADI BBP_BUDGET_CHECK on SE18. If you want to alter something in the 'correct behaviour' -- look up FM BBP_PD_COMMITMENT_FILL_ITAB.
    Just be careful - when you activate the iDoc BBPCO01 - you'll get commitments posted; here a budget check occurs as well, i.e. once there's no budget available, you'll get an error in transfer.
    For more details 520717 Budget check in EBP.
    Btw - I don't expect that much changes in SRM6.0 at that point.
    BR,
    Richard

  • While simulating cenvat in j1iex  posting

    while simulating cenvat in j1iex for import purchase orders an error is showing no cenvat amount to be posted and no cenvat amount to be reversed.
    regards
    balaji

    hello,
    please got to item details in that in duty values tab enter the ammount of value you want to post .please also check the miscellaneous tab , if there is any rejection code entered then remove that.
    thanks and regards
    vijay

  • Tds line item not simulating while posting as reference with FBR2

    Dear All
    When I am posting an Invoice using previous document as reference with Tcode FBR2 WTax line Item not simulating, but while I am posting  without reference  i.e. with Tcode FB60 it is simulating, this problem i am facing in production server from this fiscal year but in development server it is working properly.
    what is the possible cause and how to solve this problem.

    Hi,
    For WHT cannot be deducted by using F-02 OR FB01.  It seems system is using the same transaction in background and not FB60 and hence tds is bnot getting deducted.
    Regards
    Milind Sonalkar

  • Vendor & customer invoice posting.....while simulating  -- error ?...

    Dear,
       While posting vendor and customer Invoice----
          When Invoice date and posting date has given as xx.xx.xxxx with fiscal year xx.xx.xxxx while simulating -  the error message saying that  "posting takes place in the previous fiscal year". When i wanted  to overwrite the error message
    it is telling that --in company code number range 19 is missing for the fiscal year. For the customer the number range 21 is missing. I gave the number ranges while creating vendors and customers accounts. As the document types are already given in default. I haven't changed them.
       As such invoice postings is not saved.
    Pls help me out in this regard.
    Thanks in advance
    regards
    Jyothsna Singh

    Hi....
    The error pertains to maintaining accounting doc number ranges.
    Go to T.code FBN1-- Give company codeselect change intervals buttonCreate number ranges14,16 and 18 for customers and 15,17 and 19 and 21 (21 if required) for the fiscal year.
    Save data.
    Post the doc
    Assign points if helpful
    Regards
    Aravind
    Message was edited by:
            A.Aravind

Maybe you are looking for