Statistical document to real

Hi Guys,
I need to convert statistical charges posted to a finalized contract account into u2018realu2019 or u2018liveu2019 in order that the debt can be invoiced and followed up.
I am using dunning user exit 0350. Creating one FM for this.
Table: T_DFKKOP
Step1: Here first I will check whether account is finalized or not.
After that as per my understanding,
Step2: We have to clear the statistical document and post a new document to replace it, a real document. Is this right?
If above step is right:
Here how to find relationship between stat document and real document based on main/sub transaction. I found one TCode: FQC0. This shows Main/Sub Transaction of stat and real document in one row.
So for example if the statistical document to be reversed has the statistical key u201CGu201D and main/sub 0010/0010, the real document that replaces it must have the corresponding main/sub as per the table on transaction FQC0 for the posting area 1010 (example, 0010/0020).
So my questions are:
1. Here how to find relationship between stat document and real document based on main/sub transaction? (Please remember I have to code this part)
2. How to clear/reverse statistical document? Is there any standard FM?
3. How to post real document? Is there any standard FM?
I consider myself as a rookie in this area, so it would be of great help if you explain your answers in steps.
Thanks.

my findings... let me know whether they are correct or not, any suggestions?
     STEP 1:
Retrieve main/sub details of real document from Table u2018TFK033Du2019 where Application area = u2018Ru2019, Posting area = u20181010u2019, Key1 = u2018Gu2019, Key2 = Main Trans of stat doc, Key3 = Sub Trans of stat doc and store them into lv_real_main / lv_real_sub.
     STEP 2:
Retrieve real document details from Table u2018DFKKOPu2019 where HVORG = lv_real_main, TVORG = lv_real_sub and store into ls_dfkkop.
     STEP 3:
u2022     To reverse statistical document:
CALL FM u2018FKK_REVERSE_DOC_MASSu2019
Import:
E_OPBEL     Document Number of Reversal Document = lv_rev_doc_no
     STEP 4:
u2022     To post new real document:
Update details of ls_fkkko, lt_fkkop, lt_fkkopk using data retrieved from STEP 1 and 2.
CALL FM u2018FKK_CREATE_DOCu2019

Similar Messages

  • Relation between statistical document and the real document

    How do I get relation between statistical document and the real document.
    Actually I want to reverse the posted real document and then convert statistical document into real document.
    Problem is that I have the Main/Sub transaction of statistical document but not of real document. So how do i link both of them.

    Hello,
    LFA1 is just a master data table.
    To get the number of open items you refer table BSIK
    To get the number of cleared items, you refer table BSAK
    These two tables gives you the number of line items posted on vendors.
    Hope this is informative.
    Regards,
    Ravi

  • Impact of Statistical document reversal once it is cleared

    HI,
    I have scenario where lots of documents are posted in this manner.
    1.Statistical entry is posted (Sub transaction- statistical -0020) ; then
    2.Same has been cleared against payment and statistical entry gets real (Sub transaction - real  - 0021);then
    3. Clearing has been reset ; then
    4. Statistical entry has been reversed
    Now system is unable to find credit line items which once cleared against statistical line item. This issue is causing mismatch between debtors and G/L line items.
    How to find such entries?
    Regards,
    Paresh

    Hi,
    In your point number (6), please explain what you meam by "0021" - Real Posting.
    Also, did you note the FI-CA document number when you made the Security Deposit request? If so, display it in FPE3 and see if there is a Clearing document associated with it.
    Normally when the deposit is paid, the clearing document creates a document with Main 0020 and Sub 0010, with clearing resriction of "2".
    Check the setting in Posting Area 1010 (via transaction FQC0) to ensure that for Statistical Key H, for Main/Sub 0020/0020, the offset Main/Subis  0020/0010, with Clearing Restriction "2".
    Also, check your serttings for Main/Sub 0020/0020 in table V_TFKITVOR. Check the Statistical setting indicator to see if it properly set for Cash Security Deposit Requests.
    Regards,
    Ivor M.

  • Statistical Document for Write off Document.

    Hi All,
    I need your help in following
    We have following requirement....
    When a document is written off using either FP04 or FP04M, a normal write off document is get posted.  But in addition to that
    we need a statistical document to be get posted in Contract Account for this write off.
    Thanks in advance.
    Regards,
    Pradeep

    Pradeep:
    Standard functionality - receivable adjustment - handles this scenario better than write off with statistical.  Test transactions FPZW (single)  and FPRW (mass).  Using writeoff with statistical creates much more work, documents and overhead processing.
    regards,
    bill.

  • How to do query Optimization ,plz share any documents with real examples

    Hi All,
    could any one please provide me some informations, how can i do query optimization in oracle using Third party tool sql developer .
    i am working oracle 10g version,please share with me if any documents or ppt like that.
    Thanks
    Krupa

    879534 wrote:
    Hi All,
    could any one please provide me some informations, how can i do query optimization in oracle using Third party tool sql developer .SQL Developer is Oracle's development tool, not a third party tool.
    Questions about using SQL Developer should go in the SQL Developer forum:
    SQL Developer
    I'll move the question there for you.

  • Trouble converting a math statistic document

    Have trouble converting a scanned math statistics document. I am unable to turn off the OCR on my scanner an help

    Good day,
    The ExportPDF service has the ability to OCR your file.  Could you share some more information about the specific trouble you're having?
    Kind regards,
    David

  • How Do I STOP pop ups FROM enabled when I Have disabled them to pop up it happens when I am workin on an important document a real pain

    I have i web based stock system and it requires pop ups I have enabled for the pop ups and things work fine the all of a sudden my pop ups are blocked and the only way to continue I have to reboot my computer

    Hello fisherman66,
    Firefox usually doesn't block pop-ups, especially if you allow them, but extensions and some security software can block pop-ups.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Real Posting Vs Statistical Posting

    Hi All,
    i have got some doubts related to these.
    a. Is there any concept behind real and statistical posting?
    b. What does it mean to get transaction data from real objects?
    c. Are there any rules which can be applied on cost objects to make it real or statistical?
    thnx in advance
    nikhil

    hello nikhil,
    As real posting is concerned it is the actual transaction occurs which post the documents but as in statistical it is not complete posting so u can post it no. of times or no. of posting u can do in statistical posting . but in real posting u can do only one posting.
    2.  Suppose if u r posting the document for real order then in this case ur cost centre will be statistically posted and data will also statistically posted on profit center.
    if data is posted on real cost center then here ur order will be statistical .and prifit center will also be statistical ,
    this means that in all cases the data will be statistically posted on profit center either u have real coste center or order.
    3. yes u can do this in customising  tht whether u can make ur cost center real or stastical.
    thanks
    please reward points

  • Real and statistical cost

    Hi,
    can you pls. tell me what is the real and statistical costs in CO?
    Each of their relations to cost center and company code?
    how do they fit into CO architercture..
    Thanks,
    Maya

    This is from some old posting
    As real posting is concerned it is the actual transaction occurs which post the documents but as in statistical it is not complete posting so u can post it no. of times or no. of posting u can do in statistical posting . but in real posting u can do only one posting.
    2. Suppose if u r posting the document for real order then in this case ur cost centre will be statistically posted and data will also statistically posted on profit center.
    if data is posted on real cost center then here ur order will be statistical .and prifit center will also be statistical ,
    this means that in all cases the data will be statistically posted on profit center either u have real coste center or order.
    Assign points if helpful

  • How can 2 users collaborate real time on a Pages document?

    I have two computers at home: an iMac and a macbook pro. We have no problem sharing document via the wireless Timecapsule network. Recently, as we have been deep in editing documents using Pages, we were trying to find out how to configure pages so that we can both edit the same document at the same time (collaboratively) and see each other's edits in real time as we progress. Google docs has this option but it's rather slow.
    Is there an option to do this in Pages on a local network?
    If no, do you know of any other Apple programs that let you collaborate on text document in real time?
    Thank you.

    Welcome to the forums!
    Pages cannot do what you want. Most word processors can't. However, there are a few solution that can. SubEthaEdit is a collaborative text editor for the Mac, so it can handle this kind of task. It has received pretty positive reviews. You might also check out Collaborate, UNA (although this is more intended for software development), and Gobby.

  • How can Cash security deposit become "real" in billing?

    Hi gurus,
    I am searching for a solution that let cash security deposit become "real" after billing.
    I use FI-CA event R401 in which I set field XGUMB_401 =  'X' on FI-CA document relative to cash security deposit. This item is statistic (DFKKOP-STAKZ = 'H').
    After bill has been created, cash security deposity is displayed as follows in transaction FPSEC3: there is a trash can icon near FI-CA statistic document and a new fi-ca document appears in the list. This new document is the clearing document for first statistic document, but it is still statistic. (see attached image).
    Furthermore, it is not possible to reverse bill because of this new statistic document that is also clearing document for the first.
    I want this new document to be "real", not still statistic.
    Can someone please tell me if there is another event or something I can modify by customizing that let me achieve my goal?

    Hi gurus,
    I am searching for a solution that let cash security deposit become "real" after billing.
    I use FI-CA event R401 in which I set field XGUMB_401 =  'X' on FI-CA document relative to cash security deposit. This item is statistic (DFKKOP-STAKZ = 'H').
    After bill has been created, cash security deposity is displayed as follows in transaction FPSEC3: there is a trash can icon near FI-CA statistic document and a new fi-ca document appears in the list. This new document is the clearing document for first statistic document, but it is still statistic. (see attached image).
    Furthermore, it is not possible to reverse bill because of this new statistic document that is also clearing document for the first.
    I want this new document to be "real", not still statistic.
    Can someone please tell me if there is another event or something I can modify by customizing that let me achieve my goal?

  • Cost center receiving the real posting even WBS Element are present

    Dear All
    As per standard SAP documentation, when both cost center and WBS elements are present in the same accounting document, WBS element will take real posting and cost center will take statistical posting.
    But in the MIRO document cost center took the real posting even the WBS element is present in the line item of the accounting document.
    Regards
    Partha Pratim Bhar

    Hi
    If the WBS element is not statistical, then the real posting should be to the WBS element. However, if you see, when the WBS element becomes a statistical,(when the check mark is added in the control tab) the field cost center becomes active and needs to be input.
    In your case since you are deriving the cost center through a substitution rule. Normally if you rules of priority during a document posting, the substitution and validation rules takes a higher priority. So apparently the cost center will get the real posting!! Since the real posting is already made to the cost center, the entry to the WBS element would become a statistical one...
    Thats the reason why the situation changes when you deactivate the substitution rule. I am not sure about the entry in the WBS element...My guess is that you would not be able to settle the costs in the WBS Elements.
    Hope this clarifies.
    Karthik

  • Copa and cost acct document

    hi,
    need advice on the below.
    1) during migo and miro, if there is price difference, system will create profitability analysis document. this is directly go to copa. may i know where is the customising to have this hapen?
    2) in migo and miro, when there is a price difference, system will create both copa and cost accounting document. why?
    thanks

    1) during migo and miro, if there is price difference, system will create profitability analysis document. this is directly go to copa. may i know where is the customising to have this hapen?
            In OKB9, we activate the indicatior "PRFSEG" and in KEi2, we assign the cost element to a value field in FI transfer structure 
    2) in migo and miro, when there is a price difference, system will create both copa and cost accounting document. why?
               Cost accounting document is statistical while copa document is real.
    helpful remarks must be rewarded

  • Statistical Tax Calculation

    Hello Experts, We are using a "statistical document" approach to post certain charges on the customer account. Once customers makes the payment - these charges are converted from statistical to real - eventually updating required AR & Revenue GLs. Now - we have a new requirement of calculating taxes on these charges. Is there any way SAP can allow some sort of statistical tax posting? That way - all required tax GL will be updated only once we receive payments from the customer (tax config immediately posts into tax GL without waiting for payment). Any other alternative solution can be helpful too.
    Thanks.

    Hi Nick,
    You have to enhance event 0173 to cater your requirement.
    Thanks,
    Amlan

  • Statistical internal orders(SIO): Urgent

    Hi All
    I have created an Internal order (Statistical). When i try to post a document the below message poped up:
    "Only one cost object is allowed"
    When i try to post the document, i enter a cost center and SIO and did allow to do the posting. Did i configure something wrong or !!!.
    Please advise. Urgent.
    Thank you so much

    Hi,
    You the concept is you cannot post directly to a statistical internal order.
    When you are making a posting you must specify one real controling object.
    As you are specifing the statistical order the real postings must take place to a real object.
    So it asks for a real object to be assigned to the posting to make the real postings to that object.
    As we see form the error the gl accountis also assigned to a cost element so its asking for a cost center hence cost center here is mandatory. and the real postings happen to the cost center and the statistical postings happen to the internal order.
    If you assign another cost objec to the posting it is sayng only one cost object is allowed.
    So decide to wich object you want the real postings to happen and do the postings to that object keeping the statistical posting to the internal order.

Maybe you are looking for

  • How do you delete voice memos from iphone 4

    I have multiple copies of the same voice memos on my iphon and it is taking all the memory on my phone.  How can I delete them?

  • Communication between APs and controlleurs under 100ms

    I heard from a Cisco representative that communication between the APs and the controlleur(s) should be less than 100ms. Did anyone experienced problems by not respecting that restriction? This restriction would have an impact on our design. Original

  • Error while creating Work Order

    Hello Experts, I am getting below error while creating work order via add-on named beas but the error seems to coming from SBO. Please advise. Thanks Deepak

  • Speaker Volume Gone Too Low Suddenly

    Hi, I have an iPhone4 and it has worked like a charm for about a year now. Just recently, out of nowhere the volume on the speakers have gone extremly low. It is so low that you can only hear if you hold the speakers part of your phone close to your

  • How to make attachments "show" when sending mail?

    Hello How can I make sure that when I add attachments to my mail it would show in the body of the mail on the receivers end, regardless of what mailprovider or program he/she is using. (e.g. a pdf file) Any clues?