Interfaces - (FI/CO)  - GL Account Balances Extract To Legacy

Hi ,
I Need to extract data from coss and cosp tables based on selection criteria given in Functional design.Company code and Fiscal Year and Fiscal Period is the selection screen input.
From cosp and coss  tables
LEDNR,objnr,wrttp,versn,kstar,beknz,twaer fields needs to be retrieved and I need to write it in to a file at application server.At the same time I need to calculate debit balance and credit balance and netamount.
In these two tables GL account field is not available.
How can I calculate debit ,credit balances and net amount based on this criteria by cosidering G/L accounts.
Please give me clear picture of this.(Tables ,fields and regarding selection )
Please reply immediately.
Regards
vijaya P

Hi ,
My Problem is from which table can I Get GL accounts and how can i link that field to coss and cosp and calculate debit balance and credit balance and net amount.please explain in detail.
I Need to extract GL BAlances data from coss and cosp tables based on selection criteria given in Functional design.Company code and Fiscal Year and Fiscal Period is the selection screen input.
From cosp and coss tables
LEDNR,objnr,wrttp,versn,kstar,beknz,twaer fields needs to be retrieved and I need to write it in to a file at application server.At the same time I need to calculate debit balance and credit balance and netamount.
In these two tables GL account field is not available.
How can I calculate debit ,credit balances and net amount based on this criteria by cosidering G/L accounts.
Please give me clear picture of this.(Tables ,fields and regarding selection )
Please reply immediately.
Regards
vijaya P

Similar Messages

  • Need to extract AR account balances in 11.5.10.2

    Hi,
    I have a requirement to extract AR balances as on a particular GL date. The version of EBS is 11.5.10.2.
    Required fields:
    Segment1
    Segment2
    Segment3
    Segment4
    Segment5
    Period End date
    AR Account Balance
    Can anyone provide an SQL query having the tables that will give these details from AR.
    Thanks

    Hi,
    To expand a bit further, typically the code_combination_id (CCID) is stored on any tables where an account is required. The descriptions are shown on the form and reports. If you update the descriptions, there is no history kept on the old description, and only the new one will show.
    I hope this helps as well.
    Regards,
    Cheryl

  • GL Account Balance Query Issue

    Hi,
      I'm trying to extract GL Balances in the following format
    Company Segment(Segment2)  ||   Account Number(Segment1) ||  Cost Center Segment4 ||  Account Descr ||  Actual Flag || Account Type || Activity || Activity in Period || Currency || Period End date || Account Balance
    Here's my query :
    SELECT     gcc.segment4  "Company Segment",
               gcc.segment1  "Account",
               gcc.segment2  "Cost Center",
               a1.description "Account Description",
             --  a2.description Company_Description,
               Decode(gcc.account_type,'A','Asset','E','Expense','L','Liability','O','Equity','R','Revenue') "Account Type",
               Decode(gcc.enabled_flag,'Y','TRUE','FALSE')  "Active Account",
               Decode(abs(bal.Period_net_dr - bal.Period_net_cr),0,'FALSE','TRUE') "Activity in Period",
               bal.actual_flag  " Actual Flag",
               bal.currency_code  "Account Currency",
               per.end_date  "Period End Date",
               SUM(( NVL(bal.PERIOD_NET_DR,0) + NVL(bal.BEGIN_BALANCE_DR,0))) - SUM(NVL(bal.PERIOD_NET_CR,0)+NVL(bal.BEGIN_BALANCE_CR,0)) -
                         SUM( NVL(bal.BEGIN_BALANCE_DR,0) - NVL(bal.BEGIN_BALANCE_CR,0))   "Account Balance"
    FROM        apps.fnd_flex_values_vl a1,      --- For Account Segment
                apps.fnd_flex_values_vl a2,              -- For Cost Center
                apps.gl_code_combinations gcc,
                apps.gl_balances bal,
                apps.gl_periods per
    WHERE       a1.flex_value = gcc.segment1 
    AND         a2.flex_value = gcc.segment2
    and         a1.flex_value_set_id = 111111        -- Value set id for Account
    ---and         a2.flex_value_set_id = 222222    -- Value set id for Cost Center
    and         gcc.code_combination_id = bal.code_combination_id
    and          bal.period_name = per.period_name
    and         gcc.segment1 in ('777777')      --- Sample Account for testing only
    --and         gcc.segment2 in (222222)
    and         per.period_set_name ='GL_CALENDAR'
    and         bal.period_name ='SEP-13'
    and         bal.actual_flag='A'
    group by    gcc.segment4,
                gcc.segment1,
                gcc.segment2,
                a1.description,
               --            Decode(gcc.account_type,'A','Asset','E','Expense','L','Liability','O','Equity','R','Revenue'),
                Decode(gcc.enabled_flag,'Y','TRUE','FALSE'),
                Decode(abs(bal.Period_net_dr - bal.Period_net_cr),0,'FALSE','TRUE'),
                bal.actual_flag,
                bal.currency_code,
                per.end_date
                order by gcc.segment1,gcc.segment2
    1) If I  comment value set id 222222(Cost Center), then I'm getting 15 Records ,If I uncomment that I'm getting 10 records?Is there anything wrong with my queryAs I'm not displaying descriptions for cost center and company do I need to join fnd_flex_values_vl again or not ? 2) To check activity in particular period in this case for SEP-13,I'm using the following clause : Decode(abs(bal.Period_net_dr - bal.Period_net_cr),0,'FALSE','TRUE') Do I need to check ABS values also ro not?

    Hi,
      You can do this with WD dynamic programming.
      You can do with domodifyview badi for accounting component /SAPSRM/WDC_UI_DO_ACC.
      You need to handle both views 'V_DO_ACCOUNTING' and  'V_DO_ACCOUNT_DETAIL' in the domodifyview badi implementation.
    I am sending the sample  code. How to attach the custom search help dynamically.
      DATA lo_nd_comp_context    TYPE REF TO if_wd_context_node.
      DATA lo_nd_acc_context     TYPE REF TO if_wd_context_node.
      DATA lo_nd_info_acc        TYPE REF TO if_wd_context_node_info.
      DATA lv_value_help_mode    TYPE i.
      DATA lv_value_help         TYPE string.
      " Read Context
      lo_nd_comp_context = wd_context->get_child_node( name = 'COMP_CONTEXT' ).
      " get node info object of accounting node
      IF lo_nd_acc_context IS BOUND.
        lo_nd_info_acc = lo_nd_acc_context->get_node_info( ).
      ENDIF.
      " continue only if node info is supplied
      IF lo_nd_info_acc IS BOUND.
        " get current search help info
        lo_nd_info_acc->get_attribute_value_help(
          EXPORTING
            name            = 'G_L_ACCT'
          IMPORTING
            value_help_mode = lv_value_help_mode
            value_help      = lv_value_help
    " Below this will add the custom search help from SRM .
             lo_nd_info_acc->set_attribute_value_help(
            EXPORTING
              name            = 'G_L_ACCT'
              value_help_mode = 'BUS2121'
              value_help      = 'Z_F4-Your search help'   " you own search help.
      endif.
    Regards,
    Devi prasad

  • GL account balances by Profit Center

    Is there a transaction to extract GL account balances by Profit Center.  Something like this...
    Account No. 1   Profit Center A   $xxx
    Account No. 1   Profit Center B   $xxx
    Account No. 2   Profit Center A   $xxx
    Account No. 2   Profit Center B   $xxx
    Thanks in advance for your replies,
    Srikanth

    Thanks again Jigar!
    S_PL0_86000030 output is as under (I ignored columns that I don't need).
    Account                         Dr. Total          Cr. Total         Balance
    1000000                             100                 200             100-
    1000001                             200                   50             150
    What I'm looking for is as under
    Account   Profit Center    Dr. Total          Cr. Total         Balance
    1000000      AAA                  50                 100             50-
    1000000      BBB                  50                 100             50-
    1000001      AAA                100                   25             75
    1000001      BBB                100                   25             75
    Your response above (additional selection) I presume is for Dynamic selections.  I do not need to go to Dynamic selections at all - Profit Center is available in basic selections itself.  My question is specifically regarding the output of the report, which should be as above.
    Thanks,
    Srikanth

  • GL Account balances in F.08

    Dear Friends,
    We are working on 4.7v.
    Using T.code F.08 - Gl Account balances, I entered
    Chart of Accounts,
    Company Code,
    Fiscal year
    Business area
    Reportng period
    There is a huge differences in the totals of debit and credit amount and total credit balance showing huge diffence amount.
    Please let me know, how to check the dfferences of gl balances and since business area is also there, how to check the differences based on businessd area?
    Thanks and regards
    Sridhar

    Hi,
    My suggestion is to check whether the debit & credit is tallying by either giving the Business Area or the Company Code.
    If it is tallying, then you will have to extract the balances business area wise/ company Code wise & then to locate the difference. This may be because of inter-company tranasactions.
    Regards,
    Amit

  • KE24 Report comparison with FI GL account balance report

    Hi Friends,
    I'm comparing KE24 transaction code COPA actual line item balance with FI GL account balance report, but I'm not able to match it/not sure how to match it.
    Could you please let me know how to compare these two reports mainly to know whether all the balances in FI are moving to COPA properly. Also please let me know how the values are being extracted for this KE24 transaction code.
    Thanks & Regards,
    Dwarak

    This comparison can only be done with a thorough knowledge of the config that was made to transfer information into the COPA system. It is COMPLETELY implementation specific. It generally is grouped into several areas - Revenue, Cost of goods sold @standard, cost of goods sold period based adjustments (E.g. variances) and overheads.
    Here is some VERY broad guidelines:
    Revenue method will depend on whether you are using "vanilla" sales of inventory from SD, or whether you use resource related billing in PS. Further you will need to know which condition types post to which GL Accounts, and to which value fields.
    Cogs method will depend on the sames differences, also whether you are using material master price (VPRS), or whether you are using standard cost estimate. If you are using standard cost estimate, you need to know the cost components used, and which value fields they post to.You also need to know which GL account(s) is posted to. This is based on the valuation class in table 30. Alternatively, for resource related billing you have to know how the DIP profile was set up.
    You need to know how your production variances are posted, your purchase price variances and your overhead variances on production cost centres.
    Overheads can be posted directly from FI, from MM, or settled from an internal order or project. Alternatively, they are assessed from cost centres, to PA using assessment rules.
    You also need to know whether there are any statistical value fields, which should be excluded from the reconciliation.

  • Company Code account balance migration

    We have a merger between 2 company codes (moving from one co code to another).
    We have several balances on accounts in company code A which we want to push into company code B. Can you suggest if IC doc type is the best way to complete this?
    We do not have in SAP a document type for mergers, therefore a suggestion was to use this doc type and enter text field MERGER Document etc.

    Hi,
    I have done many mergers in different ways and the only problem with intercompany is that you will create an intercompany between the merged company and the merge 2 company.  If the company you are merging from has subledger balances, this is the best approach i have found:
    reverse out all open items in old company against a migration account for AP and AR with the exception of FA in document currency.  FA can be transfferred within FA but will create a G/L account balance on old company.  After this process is done than extract the balances left and make an entry for each account to zero the balance out, netting this against the migration account.
    The new company:  First decide if you want open items or only account balances.  If your moving open items, post them all on new company with the exception of FA.  You will follow the same steps as above except you post the GL open items versus just the balance.
    Best of luck.  Mergers are fun!
    Oh yeah, when you make the entries on the new company code, if you are posting to an already existing account that has balances, you might want to add the old company code to a line item field so you can easily tell what items are from what company.
    Jes

  • Report to download impersonal account balances

    Hello together,
    I am currently preparing data migration. I also have to migrate the impersonal account balances.
    I was told to use a standard transaction for account balances (S_ALR_87012277 or S_ALR_87012279 or ...) and then download the selected values into Excel. So far so good.
    My problem is the legacy system. It's a 4.6C and there I only get lists and when you try to download them into excel ......
    it doesn't look good and I would have to delete hundreds of lines and a lot of columns.
    So - does anybody know a better way to download or extract the data a different way?
    Regards
    Heiko

    Solution was a Z-Copy of an SAP standard report with modifications to download the needed data.

  • GL account balance display(tcodes) in ECC6.0

    Hi friends,
    what trasaction codes helpful for validating GL account balances(debit,credit,balance, cumulative balances) in ECC6.0 as BW consultant brought P&L and Balance sheet figs.
    Thanks,
    Naresh

    Hi friends,
    I'm using fs10n, for some of the P&L components(manufactring expeses) for 2 or 3 periods, mismathcing occurs at debit & balances level(fs10n figs vs DSO data).
    Does anyone faces problem like fs10n giving wrong results? where as extractor(rsa3: 0fi_gl_4) debit & balances are different from fs10n results.
    which one is best way, extracted data(gl balances) in DSO be validated against extractor data or fs10n/FAGLB03 data?
    thanks,
    naresh

  • I can no longer see the account balance on my iTunes gift card.  Why?

    Where can I find the account balance from my iTunes gift card, on my macbook pro, in the iTunes store?

    Thank you responding.  (you're the only response I received).  I did, and was doing, as you suggested.  Before the latest iTunes update, I was able to see my account balance (a whopping $9.98), but can no longer see the amount.  I've tried logging out and back into iTunes to no avail.  Same goes on my iPhone and iPod, and iPad.  The system keeps asking for credit card info, but I'm hesitant to do that.  (That's why we purchase iTunes gift cards, isn't it ?) !
    Anyway, Thank you for your assistance.  Next stop is the local Apple Store and see what the Genus bar can do. !!

  • Query help on totalling 2 account balances

    Hi Experts,
    I have the following query:
    SELECT SUM(T0.[SYSDeb] - T0.[SYSCred]) AS 'Production'
    FROM JDT1 T0  INNER JOIN OJDT T1 ON T0.TransId = T1.TransId WHERE T0.[Account] = '_SYS00000000238' AND T0.[Account] = '_SYS00000000239'
    If I add the second WHERE statement the query gives me no results. I want to see the total of the 2 account balances in this query.
    Any help would be appreciated.
    Marli

    Hi Marli,
    Try this:
    SELECT SUM(T0.SYSDeb  - T0.SYSCred) AS 'Production'
    FROM JDT1 T0
    WHERE T0.Account in ('_SYS00000000238','_SYS00000000239')
    Thanks,
    Gordon

  • How do I get rid of the last $0.02 on my account balance ?

    I need to change my country and it wont let me as I have an account balance of $0.02. How do I get rid of this so I can change countries ?? HELP !!

    Try contacting iTunes Support and ask them if they can remove the balance from your account so that you can change countries : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • Currency Valuation G/L Account Balance Sheet Posting F.05

    Hi all,
    Is there a way to post the Currency Valuation F.05 for G/L account balance sheet posting to another account than itself.
    I cannot find any configuration on that, and a trace look to show that it goes back to SKA1,
    SKAT & SKB1.
    Open item have configuration in OBA1 and we can fix the posting where we want.
    But the currency valuation for the account balance always happen to the same account.
    Thank you,
    Carole

    Bal.sheet adj.1 in OBA1 is for that only. The GL account is for Identifying that this is FC account in case of Valuation Loss/ Gain.
    Incase of realized loss or gain, it is the same GL account that has to hit in the local currency.

  • Display account balances for vendor PO's and GRPO's

    In the BP Master, there is a display for customers of the account balance, open orders, deliveries, and opportunities.  But for vendors there is only an account balance.  There should be a similar display for open PO's and GRPO's.

    Hello Marcia,
    Maybe you can have a try with Drag&Relate function then use Filter to just include Open PO/GRPO only, the total amount will be displayed at the bottom of Drag&Relate result window.
    Howeve this is not as convenient as the open balance field directly showed on BP Master Data field.
    Regards,
    Canna Mu

  • STandard Report for GL Account balances

    Hi,
    I am looking for a standard report for GL Account balances in the following :-
    Opening Blanace          Tranasactions during the month                               Closing Balance                       
                                          Debit                       Credit
    REgards,
    RAJ

    I am looking for LINE ITEM WISE REPORT for GL Accounts in the following format:-
    Opening Balance  
    Transactions during the month (DR  and Credit )        
    Closing Balance
    REgards,
    Raj

Maybe you are looking for

  • Can read TEDS in MAX but not with DAQmx VIs

    Hi, I have a cdaq 9181 with a 9234 accelerometer module.  I have 3 teds equipped accelerometers connected to ai0, ai1, and ai2 repectively.  In MAX, when I reserve the chassis I can read all three teds, no errors.  When I do the same thing in labview

  • Layering AS effects in app design

    whats up guys? relatively new to the forum and flash in general. Very well adept to pretty much every other adobe CS program. That said, I have a small project Im doing for school I needed some help with if you dont mind. Im designing this sort of th

  • HTML Process API

    I am trying to pass arguments to a BPL method using the 'RUN_ITEM' action. I set up the arguments (argument1 and argument2) in the 'reply' task. The task runs fine, however the arguments are not getting passed. My HTML form code is as follows: <br> <

  • Removing mail for exchange but keeping contacts

    Is there any way to remove my Mail for Exchange account, but keep the contacts? Everytime I remove the mail for exchange account, the contacts get deleted, but I want them to stay on the phone. If not, I have VCards of the contacts, can I import thos

  • How can I reactivate my Nook Glo-Lite. Adobe doesn't seem to recognize it?

    How can I reactivate my Nook Glo-Lite. I was instructed by Chat Support to deactivate it, but now I can't reactivate it. Nothing happens when I try. Adobe doesn't seem to recognize it.