FICA tables or FM to get the Contract Account's cleared items

Hi Gurus,
During one of the development I require to see the Contact Account's Open Items are cleared or not. Means Payment against the Contract Account's (Print documents) is received?  FPL9 shows the cleared items against the contract account but during one of the Development I need to write logic to check if the CA open Items are cleared.
Please advice the table link or if there is any FM to check this.
Thanks with regards,
Rahul

Hi,
If it does not matter for what reason the items have been cleared, proceed as follows:
Using the Contract Account number,  look up table DFKKOP as follows:
VKONT = (the Contract Accont in question)
AUGST (Clearing Status) = 9
If you wish to only look at Invoices, provide the Document Type parameter (field BLART = the Document Type you use for Invoices)
This will retrieve the cleared items (if you specified a document type, it will only retrieve items for that Doc Type).
NOTE:
If you wish to isolate only clearings due to incoming payments, please use Clearing Reason (AUGRD) = 01. Otherwise all cleared items are retrieved, e.g. Written off items, Transferred items, items cleared due to Account Maintenance, etc..
Imporant fields related to Clearing:
If you want the Clearing Document number, it will be stored in the retrieved item/s in field AUGBL.
The Clearing Amount will be stored in field AUGBT
The Clearing Date will be stored in AUGDT.
I hope this helps.
Ivor Martin

Similar Messages

  • Any table or program to get the number of records in P, A and F tables

    HI all
    any table for program to get the number of records in P, A and F tables. I want to create SQ01 queries to get the status of number of records. We are gng for a production cutover next week. Want to capture all the data before and after Upgrade cutover.
    Also suggest me how to create sq01 queries.
    Thanks in advance
    regards
    Janardhan KUmar K.

    Use Transaction LISTSCHEMA to see all the tables assosciated with ur cube
    Total number would be what you find in both the E & F fact tables. If there is no compression in the cube then E table will be empty.
    Alternatively u can use se16 transaction and enter E table and F table manually
    E table - /BIC/E(Cube name) and Ftable -  /BIC/F(Cube name)
    Or else u can go to the manage of the cube and without selecting any field for O/P and ticking the option output number of hits execute. The total of Row Count will give u the total no of records in the cube.

  • If i got an iphone 5 and synced it with my computer, can i get the contract from my iphone 4 to a iphone 5 without upgrading the contract? (So that i will still have the same contract)

    If i got an iphone 5 and synced it with my computer,
    can i get the contract from my iphone 4 to a iphone 5 without upgrading the contract?
    (So that i will still have the same contract) (I have verizon.)

    Ask Verizon.
    You will have to activate the phone through them.

  • Userexits/BADI in ME31K for getting the contract number created.

    Dear Experts,
    Is there any userexits/BADI available in ME31K , for getting the contract number once it is created.
    Thanks&Regards,
    Anversha

    Hi
    find the BADI:
    1. Goto SE24
    2. Open the class "CL_EXITHANDLER"
    3. Open the Metnod "GET_INSTANCE"
    4. Put a Break point in the "  CASE sy-subrc."
    CALL METHOD cl_exithandler=>get_class_name_by_interface
        EXPORTING
          instance                      = instance
        IMPORTING
          class_name                    = class_name
        CHANGING
          exit_name                     = exit_name
        EXCEPTIONS
          no_reference                  = 1
          no_interface_reference        = 2
          no_exit_interface             = 3
          data_incons_in_exit_managem   = 4
          class_not_implement_interface = 5
          OTHERS                        = 6.
      CASE sy-subrc.
        WHEN 1.
          RAISE no_reference.
        WHEN 2.
          RAISE no_interface_reference.
        WHEN 3.
          RAISE no_exit_interface.
        WHEN 4.
          RAISE data_incons_in_exit_managem.
        WHEN 5.
          RAISE class_not_implement_interface.
      ENDCASE.
    5. Come Back and Execute the Transaction Code
    6. In the Debugging screen "exit_name" having the BADI Name for that Tcode.

  • UserExit/BADI for getting the contract number in ME31K

    Dear Experts,
    Is there any userexits/BADI available in ME31K , for getting the contract number once it is created.
    Thanks&Regards,
    Anversha

    Hi
    find the BADI:
    1. Goto SE24
    2. Open the class "CL_EXITHANDLER"
    3. Open the Metnod "GET_INSTANCE"
    4. Put a Break point in the "  CASE sy-subrc."
    CALL METHOD cl_exithandler=>get_class_name_by_interface
        EXPORTING
          instance                      = instance
        IMPORTING
          class_name                    = class_name
        CHANGING
          exit_name                     = exit_name
        EXCEPTIONS
          no_reference                  = 1
          no_interface_reference        = 2
          no_exit_interface             = 3
          data_incons_in_exit_managem   = 4
          class_not_implement_interface = 5
          OTHERS                        = 6.
      CASE sy-subrc.
        WHEN 1.
          RAISE no_reference.
        WHEN 2.
          RAISE no_interface_reference.
        WHEN 3.
          RAISE no_exit_interface.
        WHEN 4.
          RAISE data_incons_in_exit_managem.
        WHEN 5.
          RAISE class_not_implement_interface.
      ENDCASE.
    5. Come Back and Execute the Transaction Code
    6. In the Debugging screen "exit_name" having the BADI Name for that Tcode.

  • Need Store DB tables to query to get the latest scanned price at register

    Need Store DB tables to query to get the latest scanned price at register.
    Please provide a sample sql script that will help me do this. I need to have this informatino for several items at a time.
    Thanks,
    Edited by: user10133807 on Jan 13, 2012 9:22 AM
    Edited by: user10133807 on Jan 13, 2012 9:23 AM

    Hi,
    You can find multiple items saled price at the register by running below quary
    select distinct DC_DY_BSN,ID_ITM_POS,MO_PRN_PRC from TR_LTM_SLS_RTN;
    Thanks,
    MG

  • Add a check box on the Contract Account Screen (CAA2)

    Hello All,
    Requirement:
    Need to add a custom checkbox on the Contract Account Screen (CAA2) only for contract accounts with cont acct category as '02'. And in addtion ot that I need to add a custom field in the table FKKVKP.
    Any kind of help will be highly appreciated and rewarded.
    Thanks and regards,
    Rakesh

    Hi Rakesh.
    I dont know whether you tried this or not (please excuse if you already tried it),
    From System > status .
    you will get the prog name and screen no.
    go to se51 and enter those details and find pbo and  pai modules.
    2).
    In PAI module insert your checkbox field name in the code already written for the screen values to be saved.(save code).To find out where the save code is written,
    enter some data on the screen fields, and start debugging (/h and enter in com prompt) and press save button the cursor takes you to the save code.
    1).you need to handle it in pbo module.
    in pbo module
    collect the rec with 02 accounts in an internal table
    enable the check box for those records only.

  • How to get the latest and valid BOM item entry from STPO

    hi,
    may i know with what condition we can get the latest and valid BOM item entry from STPO table?
    i have STLNR and IDNRK as a input. But i realized that it would return multiple entry due to the combination of  valid-from and valid till date.
    can i use stlnr,idnrk and stpoz (with the latet counter) to get the latest and valid BOM entry?
    thank you.

    Hi
    You can get the latest BOM either by using the latest valid from date DATUV or latest internal counter STPOZ
    Regards
    Shiva

  • BAPI/FM for creation of CONTACT RECORD for the contract account

    Hi All,
    I need to create a contact record for the a contract account.
    The contact record details will be maintained in the table BCONT.
    Let me know if there is a function module/BAPI/any othere way to create a contact record.
    Regards
    Shiva

    Hi,
    You can use the function module - BCONTACT_CREATE to create Contact record
    (or)
    make a BDC of the Tcode - BCT1(Contact creation) and use the same for creation of contacts in batch
    Note: Contact is created against Business Partner and not Contract Account. So you will have to include your logic of finding out the respective Business Partner for the Contract Account for which you need to create Contact record.
    regards
    Gagan

  • Urgent: How to get the names of all menu items

    I have a .mmb menu module.
    There are many menus and submenus in it.
    Now I want to get the names of all menu items available in the module using sql or pl/sql.
    Actually I need to store these names in another table as it is. That is why I want get them programmatically.
    Any solution please.... bit urgent
    Thanks

    When I needed the same, I wrote my own application using
    Forms API (Windows,Forms 6.0,6i). Perhaps it will help
    you.
    Let me know your e-mail and I'll send it.

  • When trying to update, I get the message: Account not in this store,...switch to the Canadian store.  How do I do that?

    When trying to update apps, I get the message:  "Account not in this store,...switch to the Canadian store before purchasing"  How to I switch, and how did it even get changed to US store?  I don't remember changing anything, and I used to be able to update, no problem..  I have synced with my computer for music - could it have happened then?  I changed on the computer to Cdn site, but will it not go to the iPhone automatically?

    On you iPhone go to settings-iTunes & AppStore.
    Tap user name, sign out.
    Log back in with your apple ID and password.
    That should fix the problem

  • TS3988 How do I get the email account that was in icloud?

    Hello, my manager handed me his phone off to resolve it and I restored and updated the iphone without knowing who was the account that was set up iCloud, and now I can not activate the phone. How do I get the email account that was in icloud that was configured on the phone? Starting email already know who is the account

    No one can give you that.  Ask your manager to contact the previous owner of the device.  They are the only one who can help you with this, either by providing the correct ID and password, or erasing the phone and removing it from their account as explained here: http://support.apple.com/kb/TS4515.

  • I have used the same Apple ID on my children's iPads. Both iPads are now showing as the same. How do I get the missing account back?

    I have used the same Apple ID on my children's iPads. Both iPads are now showing as the same. How do I get the missing account back?

    You can clear the iPad and start again with the other account> Settings->General->Reset->Erase all Content & Settings
    Or you can go to Settings->Itunes and App Stores->Apple ID->Sign Out,
    And Then  Sign in with the other account. You can then download the Apps with that account. Though you may block the other account for 90 days.
    Your best bet is to set it up again using the orighinal account it had, so you can get their Apps back. without affecting your account.

  • I can't get the old account out my update

    I can not get the old account off even if I sign in on my new account the old still show up and I can't update how do I get the old one out my iPad I tried signing out and in, my new account is in but when I try to update something an old account pops up and I can't do anything

    Settings > iTunes and App Store > Apple ID = Sign Out... Then Sign In using the preferred Apple ID.
    Dinky710 wrote:
    ... but when I try to update something an old account pops up ...
    Anything Downloaded with a Particular Apple ID is tied to that Apple ID and Cannot be Merged or Transferred to a Different Apple ID

  • RQL Query to get the specific range of product items from product catalog.

    Hi All,
    I need to do the batch wise query to product catalog.
    For that i have use Query builder but that is giving me repeated items, now i wanted to use RQL using rqlStatement.
    Please help me in solving the issue.
    Query which i have used using QueryBuilder.
                    RepositoryView productView = productRepo.getView("product");          
                    QueryBuilder productBuilder = productView.getQueryBuilder();
                    Query productQuery = productBuilder.createUnconstrainedQuery();           
                    RepositoryItems[] productItems = productView.executeQuery(productQuery,startIndex,endIndex);
    Can anybody help me in writing RQL Query to get the specific range of product items from product catalog.

    Hi Shakuntala,
    There is no executeQuery method defined in RqlStatement Interface, which will accept index for output result.
    So As far as I know, what u are trying to achieve is not possible with RQL statements OOTB way.U can consider range of results based on some condition from Repository items.
    Please let me know if u find any way to implement it.
    Above Query builder should always return different ids if range is not overlapping with previous range.
    Please verify that repeated items ids are same or different,
    Quoting from API docs:
    RepositoryItem[] executeQuery(Query pQuery,
                                  int pStartingIndex,
                                  int pEndingIndex)
                                  throws RepositoryException
        Executes the given query and returns an array of matching RepositoryItems, which are contained within a total potential result set. For example used if one wanted to retrieve elements 50-60 from a query which could return 100 elements.
    Regards,
    Nitin.

Maybe you are looking for