How to generate clearing document

Hi guys,
My problem is: Through Tcode: FB05, I can post the open items in Accounting Document(which hasn't been cleared before). After I post the open items successful, a clearing document will generate for the operation. The clearing document includes the open items which I have operated on.
For example:
Tcode: FB05
customer: 70000006
Residual open Item: 10000001
                              10000002
Clearing Document should include 10000001 and 1000002 items.
Result:
In Table: BSID (Accounting: Secondary Index for Customers), there are 2 items.
My question is: Except above method to generate an clearing document, is there any other method to generate an clearing document?
Thanks!

Thanks.
I have used the FB05 to post the open items. I think it has the same effect to Tcode: FB03.
I want to know if i haven't used above tcode to post the open items, did the clearing document generate? Is there other method that can generate an clearing document?

Similar Messages

  • How to reverse clearing document

    Dear gurus,
    I would like to reverse clearing document(document no. 1) by FBRA but i can not, it have message "Document xxxx is not purely a clearing document". because this clear document(document no. 1) was cleared by anohter document(document no. 2). That's means i must be rererse document no 2 too.
    My broblem is i can not clear document no. 2 because it was cleared by another document and.....continuously... 
    Do you let me know for how to reset document only not need to reverse?
    Thanks you.

    Hi
    I am curious as to how this scenario can be there...Anyways, how many such documents are there. If you need to reverese document 1 and you say there are upto 7 documents, you need to start with Document 7. The only way you can find out is by tracking the document down to the last pure clearing document. Then start resetting and reversing,.....Say doc7, then doc6 then doc5 so on.
    I would really like to know the live scenario where you are havind a scenario like this where so many interlinked documents are there.
    Hope this helps.
    Karthik

  • HOw to generate edifact document

    Hi all,
    I have a requirement where i need to generate edifact document . Can someone tell me how to create this edifact document. Can it be done throught abap coding or is there any specific transation for that.

    Sorry. A  Duplicate Thread.

  • How to trap Cleared document from the Flat file

    Hi All,
    In the BDC In flat file, I am getting boths Document No ( Cleared & Non Cleared).
    While Uploading I need to check the Document No , which is clered is filtered & Only Those Document No which is not cleared is posted in the Transaction - F-53.
    I need to captured those Cleared Document No and  should appeared  as in the list.
    Pls suggest me the logic . there is no FI consultant
    Thanks in Advance

    Hi Uri Dimant,
    I tried to load data from text file to SQL table but i am getting belows errors.
    Also format of data is
    col1,col2,col3,col4
    AB,2,3,4
    CD,3,45,
    C,3
    Errors -
    [OLE DB Destination [31]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
    An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0" 
    Hresult: 0x80004005  Description: "Invalid character value for cast specification".
    OLE DB Destination [31]] Error: There was an error with OLE DB
    Destination.Inputs[OLE DB Destination Input]
    .Columns[net_revenue]onOLEDBDestination.Inputs[OLE
    DB Destination Input].
    Thecolumnstatusreturnedwas:"The
    value could not be converted because of a potential loss of data.".
    [OLE DB Destination [31]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. 
    The "OLE DB Destination.Inputs[OLE DB Destination Input]" failed because error code 0xC0209077 occurred,
    and the error row disposition on "OLE
    DBDestination.Inputs[OLE
    DB Destination Input]" specifies failure on error.
    An error occurred on the specified object of the specified component.  There may be error messages posted before this with more information about the failure.
    [SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED. 
    The ProcessInput method on component "OLE
    DBDestination"
    (31) failed with error code 0xC0209029 while processing input "OLEDBDestinationInput"
    (44).
    The identified component returned an error from the ProcessInput method.
    The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.
    There may be error messages posted before this with more information about the failure.
    Amit
    Please mark as answer if helpful
    http://fascinatingsql.wordpress.com/

  • How to generate Word document from JSP ?

    Hi,
    I want to generate Word documnet from JSP. I am using Neva objects to generate Word document. Now my problem is Word doc generation code works alright as a Java application but when I place that piece of code in a JSP bean it throws an exception. The reason seems to be unavailibility of DLLs and other files of Neva in Tomcat environment. I do not want to use other complex packages like JIntegra, I would prefer any freeware solution. There is not much info. about Word document generation on POI project in Jakarta site.
    Could anyone suggest way out ? Any Java examples doing the same would be of great help.
    Thanks,
    Akash

    Hi Saurabh,
    Thanks for the reply.
    I have tried that too. Problem with that solution is that if you have used CSS in your JSP code MS word does not understand it and generates word doc which is not the same as HTML which JSP otherwise would have generated.
    Akash

  • How to generate unique document number ?

    Hi All,
    We need to generate Document Number where there should be any gap, so that we cannot use sequence. For example : Invoice Number.
    one possible approach like : Select MAX(InvoiceNumber)+1 from invoice, what if that table has millions of rows, is this reliable enough ?
    How to avoid two user do the same query at same time that lead to dupplicate number ?
    Anybody has done it this way in production? or any other approach ?
    Thank you for your info,
    xtanto

    I strongly second Justin's strong suggestion about re-considering the requirement.
    Be aware that for any of the schemes suggested to have a chance of working, all access to the table must be through stored procedures that use a SELECT FOR UPDATE on the counter table. No user in the database can have insert privileges on the document table except the owner. The owner's password should be kept in a locked safe and be unknown to anyone. If for some reason the owner needs access to the database, then remove the password from the safe, do what needs to be done, then get some guy off the street to set a new password, write it down and lock it in the safe again.
    If you really need a gap-free number, it needsto be another column, separate from the PK. Use a sequence to generate the pk gaps and all, then create a procedure that runs periodically to update the gap free column. Soemthing like:
    SQL> CREATE PROCEDURE fix_gap_free AS
      2     l_v NUMBER;
      3     TYPE id_tbl IS TABLE OF number INDEX BY BINARY_INTEGER;
      4     l_ids  id_tbl;
      5     l_id2s id_tbl;
      6  BEGIN
      7     SELECT MAX(NVL(id2,0)) INTO l_v FROM t;
      8     SELECT id, ROW_NUMBER() OVER (ORDER BY id)
      9     BULK COLLECT INTO l_ids, l_id2s
    10     FROM t
    11     WHERE id2 IS NULL;
    12
    13     FORALL i IN 1 .. l_ids.COUNT
    14        UPDATE t
    15        SET id2 = l_id2s(i) + l_v
    16        WHERE id = l_ids(i);
    17     COMMIT;
    18  END;
    19  /
    Procedure created.
    SQL> SELECT * FROM t;
            ID        ID2
             1
             2
             5
             7So, id2 is going to be the gap-free column.
    SQL> exec fix_gap_free;
    PL/SQL procedure successfully completed.
    SQL> SELECT * FROM t;
            ID        ID2
             1          1
             2          2
             5          3
             7          4So first pass is fine. Now lets add a few rows, so the table now looks like:
    SQL> SELECT * FROM t;
            ID        ID2
             1          1
             2          2
             5          3
             7          4
             8
             9
            25and generate more gap free number:
    SQL> exec fix_gap_free;
    PL/SQL procedure successfully completed.
    SQL> SELECT * FROM t;
            ID        ID2
             1          1
             2          2
             5          3
             7          4
             8          5
             9          6
            25          7If there may be deletions in the table, and you need to maintain the gap free nature, then just skip the WHERE id2 IS NULL predicate.
    John

  • How to generate printed document with "continuous" section breaks versus "next page" section breaks?

    When generating a Word or PDF document from the HTML help files a "next page" section break is used after each topic. How can I get a "continuous" section break instead?

    I've been poking around a bit more. Here's the deal.
    New chapters will always start on a new page and have a next or odd page break according to the Start New Chapters setting. If ticked it will be an Odd Page break, else a Next Page break.
    Topics within a book will follow the Start Each Topic on a New Page setting. If ticked, each topic will be separated by a page break, not a section break. Else they will be on the same page with no breaks of any type.
    Topics not within a book will be followed by a section break.
    So section breaks are only created for chapters and topics not in a chapter.
    Hope that helps. Please post back if you find otherwise.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • F-44 / F-32 CLEARING DOCUMENT

    Dear All,
    WHile  Clearing Open Item of Customer or Vendor with F-44 or F-32, System generated new clearing Document.
    I don't want to generate new clearing Document.
    Is ther any way not to generate Clearing Document.
    I have checked all the fields as per SAP note 69767,950773 etc.
    Im my case all the suggested Fields are same. 
    In my system Document Splitting is activated.
    I have already checked other SDN messages but could not get final solution.
    Where to check for this issue.
    Regards
    Swati

    Dear Swati,
    It is impossible not to generate a clearing document.
    The option is to create a clearing document WITH or WITHOUT line items.
    The two options depend on the fields of the structure KONTAB_1ST: if all the fields are equal in the documents You trying to clear, the clering document will be generated and posted without line items
    BUT
    in case of splitting,
    IMG   >Financial Accounting (New)  >General Ledger Accounting (New)  >
    Business Transactions  >Document Splitting  >Activate Document Splitting
    the note 950773 should answer your questions and doubts: as soon
    as the document split is activated, the clearing always creates
    clearing lines.
    I hope this can help You.
    mauri

  • Clearing document number

    how to find clearing document number if i have purchaseorder number and invoice number???

    Hi jyoti prakash
    When clearing a Document its clearing details will be entered
    in the Assignment text .so please i think this details will be in
    ZUONR field.
    Please reward points if found helpful.
    Thanks and regards,
    Rajeshwar.

  • FBR2 generate reverse posting for a cleared document

    Hi,
    I am using the transaction FBR2 to generate a reverse document for an existing document.  There are several GL accounts in the original document but when i generate the reverse document system could populate lines only for the GL accounts where the original document was not reversed.
    Any inputs how to geneate the whole reversal document.
    Regards,
    Haranadh

    Hi
    First of all let me know are you trying to Reverse already Reversed Document OR trying to Reverse a Original Document.
    If you Reversing the Original Document what ever may be the No. of Line Items, Document will get Reversed. Use FB08 for this.
    1. Individual Document Reversal --->FB08
    2. Reversal of Reversed Document --->FBR2
    3. Reversing a Cleared Document --->FBRA
    Regards
    Venkat

  • Payment Program - Generate additional clearing documents

    Hi.
    When executing an FPY1 payment run, say for a contract account. All open items that fall on the same due date are grouped into one payment document.
    Due to restrictions set by our reserve bank no direct debit may exceed R50000.00. For this reason we need generate payment documents not exceeding R50000.00 but equalling the payment amount.
    Eg:
    3 open items all due on the same day: R200000.00, R600000.00 & R50000 = R850000.00
    Instead of one payment document of R850000.00 we need 2 payment documents of R500000.00 and R350000.00 respectively.
    Does any one know how this can be achieved?
    Using the events provided is seems you can manipulate the document generated but not the amount of documents generated.
    Any help will be appreciated. Thanks
    FPY1 - IS-U - FICA - Automatic Payment Program - Direct Debit

    Hi.
    I think that you should look into event 0610. It should be possible there to change amounts of payable units. Check documentation of the event for name of structure holding changeable items.
    Best,
    Jean-Marie

  • How to reverse cross company cleared document?

    Dear all,
    Can anybody guide me how to reverse a cross company cleared document?
    Earliest revert would be grateful.
    Regards,
    Sudish

    Hi,
    Go to the line items of the document 1000000502 and find out the clearing document number. Then reset the clearing in that clearing document number first and then reverse the document 1000000502 in FBU8
    In case document 1000000502 does not have any cleared line item, then you can directly reverse it in FBU8 transaction.
    Regards,
    Gaurav

  • How posting key is taken up when we generate accounting document

    hi ,
    i am trying to bill a customer using billing type RE which is credit for returns. but when i generate posting document instead of crediting the customer account its getting debited  ie) it is taking up the posting key 01 instead of 11 .
    how this posting key is determined when we generate accounting documnet .
    if u have any questiin or clarification kindly ask me.
    thanks

    hi,
    start with checking OBXW, here you check the customer item outgoing invoice, where you will find posting keys assigned for debit and credit. Might be its configured wrongly here.
    Second, Check T.code OB40 this is where we tell what type of accounts are affected with this posing key and is the effect a debit or credit. You have radio buttons for it.
    But remember these are all standard SAP config settings and i guess there would really be a need to change them here if not while practising.... Make the settings as required and do consult an FI guy on this.
    regards
    sadhu kishore

  • How to  Reverse the clearing document & cancel the invoice

    Hi gurus,
    Can any body tell me how can i reverse the clearing document?
    what happen i had wrongly put up the customer invoice with the special GL indicator (Advance from customer) & i had clear the invoice & special gl balance.
    Steps which i follow:
    F-29 - Customer Down payment
    F-22 - Customer Invoice
    F-28 - Customer Incoming Payment
    F-39 - Clear customer down payment
    F-32 - Clear customer payments
    when i tried to reverse the document (T.Code FB08) which give me error that reverse the clear line item.
    Please help me to overcome this issue....
    Than'x,
    Dhananjay R.

    Hi amit,
    Than'x for given attention. actually i tried this T.code FBRA, what happen which reset the invoice & clearing document.& i see the customer / vendor invoice as open item in display. when i tried to reverse this entry which is wrongly inputed in the system which i want to reverse. while reversing this entry again i see the balance of clearing document in the customer / vendor balance display.
    i couldn't understand how to cancel this entry from the system?
    Pls suggest me to overcome this issue.
    Than'x
    Dhananjay R.

  • How to validate generated XML-Document in Memory by XML-Schema?

    Hi all!
    I have the following problem:
    I am generating a Document using the DOM delivered with Xerces 2.6.2.
    Before I'll send the generated xml-document through network to another system I have to check with my xml-schema if the document is correct.
    In the DOM-FAQ I found an "example" trying to explain how it should work. But with this example the problems begin.
    I am creating my document with this method:
         public void createDocument() {
              myDOM = DOMImplementationImpl.getDOMImplementation();
              doc = myDOM.createDocument("", "documentData", null);
              root = doc.getDocumentElement();
              root.setAttribute(
                   "xmlns:xsi",
                   "http://www.w3.org/2001/XMLSchema-instance");
              //          root.setAttribute("xsi:noNamespaceSchemaLocation", "myScheme.xsd");
              domConfig = ((DocumentImpl) doc).getDomConfig();
              domConfig.setParameter(
                   "schema-location",
                   "file:///d:/workspace/XMLProject/WebContent/WEB-INF/myScheme.xsd");
              domConfig.setParameter("error-handler", new EHandler());
              domConfig.setParameter("validate", Boolean.TRUE);
         }In the line getting the domConfig, it is getting differeing to the example: The example is like this:
    import org.w3c.dom.Document;
    import org.w3c.dom.DOMConfiguration;
    import org.w3c.dom.ls.LSParser;
    Document document = builder.parseURI("data/personal-schema.xml");
    DOMConfiguration config = document.getConfig();
    config.setParameter("error-handler",new MyErrorHandler());
    config.setParameter("validate", Boolean.TRUE);
    document.normalizeDocument();They get the DOM-Configuration from the document-Object, but my document-Object has no "getConfig()" and only after type-casting I get a getDomConfig()-Method to get the configuration.
    Then I fill my document and call                
    ((DocumentImpl) doc).normalizeDocument();When I run my Application I get the following error:
    org.w3c.dom.DOMException: FEATURE_NOT_SUPPORTED: The parameter schema-location is recognized but the requested value cannot be set.
         at org.apache.xerces.dom.DOMConfigurationImpl.setParameter(Unknown Source)
         at xmlProject.createDocument(Convert.java:63)
         at xmlProject.Convert.main(Convert.java:154)I tried several ways to get the validation without success.
    The next question is how I should refer to my xml-schema (which path) and where to place it relative to my jar I will generate, because I will have no webserver I could place it on.
    Has anyone any experience with validating a document created and not placed on disc?
    I have also another question to SAX: I read, that it is reading a document without saving it in the memory. I think this means that if I am validating it by SAX it will be read once and for parsing it will be read a second time. If I would transfer the document over an tcp-connection, I only have the document once in my inputstream and after validation it would be consumed I think. But what can I parse then? Or did I missed a detail with the function of the SAX?
    Thank you for your help!
    Yours
    Christian

    static final String schemaSource = argv[0];
    static final String JAXP_SCHEMA_SOURCE =
    "http://java.sun.com/xml/jaxp/properties/schemaSource";
    DocumentBuilderFactory factory =
    DocumentBuilderFactory.newInstance();
    factory.setAttribute(JAXP_SCHEMA_SOURCE,
    new File(schemaSource));

Maybe you are looking for