Merger of GL ,PCA report

Hi,
We are trying to create a line item level report by merging the classic GL and PCA datasources. There is no direct linkage in the system at the line item level between GL line items and PCA line items. However if we pick up document items in the same sequence they do match. We are enhancing 0EC_PCA_3 and adding GL document/item number to it.The challenge in this is that if the document gets split between two different data packages in BW data extraction then the sequencing logic would fail. Is there any way to ensure that documents dont get split into multiple packages and the design becomes full proof. Still better is there any way to connect the GL line item and PCA line item via any common fields/tables.

LOOP AT c_t_data INTO wa_glpcw.
  READ TABLE it_bkpf INTO wa_bkpf
      WITH KEY  BUKRS =  WA_GLPCW-RBUKRS
                blart = wa_glpcw-blart
                gjahr = wa_glpcw-refryear
                awtyp = wa_glpcw-awtyp
                awkey = wa_glpcw-zzawkey.
      IF sy-subrc EQ 0.
        wa_glpcw-zzbelnr = wa_bkpf-belnr.
        wa_glpcw-zzgjahr = wa_bkpf-gjahr.
        wa_glpcw-zzblart = wa_bkpf-blart.
        wa_glpcw-zzbktxt = wa_bkpf-bktxt.
        wa_glpcw-zzppnam = wa_bkpf-ppnam.
        wa_glpcw-zzusnam = wa_bkpf-usnam.
        wa_glpcw-zzbvorg = wa_bkpf-bvorg.
            IF wa_bkpf-belnr <> wa_old_bkpf+4(10)
          OR wa_bkpf-bukrs <> wa_old_bkpf(4)
          OR wa_bkpf-gjahr <> wa_old_bkpf+14(4).
          lv_bseg_index = 0.
          CONCATENATE wa_bkpf-bukrs wa_bkpf-belnr wa_bkpf-gjahr
          INTO wa_old_bkpf.
          READ TABLE it_bseg INTO wa_bseg WITH KEY
             bukrs =  wa_bkpf-bukrs
             belnr = wa_bkpf-belnr
             gjahr = wa_bkpf-gjahr.
          IF sy-subrc EQ 0.
            lv_bseg_index =  sy-tabix.
          ENDIF.
        ELSE.
          IF wa_glpcw-docln <> wa_oldpcaitm.
            lv_bseg_index = lv_bseg_index + 1.
          ENDIF.
          READ TABLE it_bseg INTO wa_bseg INDEX lv_bseg_index.
        ENDIF.
        IF wa_bseg IS NOT INITIAL.
          wa_glpcw-zzaugdt = wa_bseg-augdt.
          wa_glpcw-zzaugbl = wa_bseg-augbl.
          wa_glpcw-zzkoart = wa_bseg-koart.
          wa_glpcw-zzbuzei = wa_bseg-buzei.
          wa_glpcw-zzsgtxt = wa_bseg-sgtxt.
          wa_glpcw-zzhkont = wa_bseg-hkont.
          wa_glpcw-zzzuonr =  wa_bseg-zuonr.
          wa_glpcw-zzpernr =  wa_bseg-pernr.
          wa_glpcw-zzimkey =   wa_bseg-imkey.
          wa_glpcw-zzspgrq =  wa_bseg-spgrq.
          wa_glpcw-zzvalut =  wa_bseg-valut.
          wa_glpcw-zzxref1 =  wa_bseg-xref1.
          wa_glpcw-zzxref2 =  wa_bseg-xref2.
          wa_glpcw-zzxref3 =  wa_bseg-xref3.
          wa_glpcw-zzvname =  wa_bseg-vname.
          wa_glpcw-zzrecid =   wa_bseg-recid.
          wa_glpcw-zzegrup =    wa_bseg-egrup.
        ENDIF.
      ELSE.
        lv_bseg_index = 0..
      ENDIF.
      MODIFY c_t_data FROM wa_glpcw INDEX lv_tabix.
      wa_oldpcaitm = wa_glpcw-docln.
    ENDLOOP.

Similar Messages

  • GL not appearing in PCA report S_ALR_87013336

    Dear Experts,
    For acct XXXX, there's balance & we can view line item thru FI (tcode: FBL4N). We can see PC been assigned to those line items, but the GL XXXX not reflecting in PCA report (tcode S_ALR_87013336).
    GL XXXX is a Balance Sheet GL (not a Reconciliation GL). This GL is not added to 3KEH. There are other GLs too, which are not added to 3KEH, but still those are appearing in PCA report S_ALR)87013336.
    If you can please advice about this discrepancy.
    Regards,
    Hussein.
    Edited by: Hussein  Merchant on Apr 18, 2011 5:05 PM

    After adding 'trip type expenses in the layout' in the layout, save the layout as a variant and give it a name.
    Next time when you run the report, put that variant and then run
    Values will come

  • #SYNTAX error while using Merge Dimension in webi report

    Hi All,
    # Syntax error when using merge dimension in webi report
    screen shot has been attached.
    iam using BO 4.0 SP6
    checked the datatypes in BW
    they are same in BW in both the queries
    i followed the given links but no result.
    https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3138343530303526
    https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3136323339323126
    https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3137353438313026
    http://scn.sap.com/thread/3592588#15241008
    Need Help!!!!!
    Regards
    Sushma

    Hi Mark,
    Thanks for the reply,
    I did not use any formula,
    I used merge dimension
    Anyways i tried in other system,it s working fine.
    Regards
    sushma

  • Currency difference in PCA reports

    Dear All,
    I am facing an issue in PCA report. When I run t code: S_ALR_87013326 for a particular profit center values are showing in the PrCt currency ie. SAR. Later, if I want to check the company code currency (e.e. EGP) by selecting currency translation and select EGP as currency and choose "default for drill down report. Here the value is showing as below:
    Later, come back and check for actual line items, the value is showing different as below:
    What I have observed is, I have checked the currency settings. Till 20.05.2014, currency translations was 1 SAR to 1.86 EGP. From 23.05.2014, we have changed the exchange rate as 1 SAR = 1.90 EGP. Today, I checked the profit center report for March 2014, it is converting the local currency (EGP) value with today's currency exchange rate i.e. 1.90. Actually it should be calculated based on 1.86.
    How to achieve the above scenario?
    Br, Srinivas Salpala

    Hi Ajay,
    Actually, when we check the report, initially values are in SAR. Later, when the user going for currency translation as shown in the below and select the local currency in EGP and choose "Default to drill down reporting" value is showing is converted with the today's rate i.e. 1.90 and the value is 76,612.90.
    But when I come back and double click on the item to check actual line item with "In company local currency" from change layout, value is showing only EGP75,000.
    Here, client wants when he checks with the currency translation as shown below, the value the value of SAR40,322.58 should be consider the exchange rate 1.86 (which was there at the time of posting the transaction in the month of March 2014). But its considering the exchange rate as 1.90 which is for today's rate.
    How to achieve this?
    BR, Srinivas Salpala

  • Is there a way to merge 3 or more report output in PDF into one

    Hi All,
    I know about the report sectioning. I am wondering is there any other way to merge 3 or more report output in pdf form to a single document.
    I have seen that there are many thrid party tools. Wondering is there anything from Oracle reports feature or any Oracle product for this?
    Thank You
    Rajesh ALex

    If not changing the reports design, third party tools is the only options. AFAIK, there is no Oracle proprietary tool for merging PDF files..

  • Reconcilation Accounts are not updating in KE80 PCA-Report

    Hi,
    i have executed all balance carry forward to PCA transactions,Still the reconcilation accounts balances are not updating in the KE80-PCA report.I have maintained all reconcilation accounts in 3KEH transaction.Is this the reason,to not update the reconcilation balances in the PCA report?
    Kindly advice me
    Thanks
    Supriya

    Hello,
    There is no need to maintain the reconciliation accounts in 3KEH.
    You only need to maintain the additional balance sheet accounts in 3KEH.
    If you further interested to determine on various level, you can write the PCA determination in 3KEI
    Please remove reconciliation accounts from 3KEH.
    Execute F.5D (Balance Sheet Adjustment)
    Execure 1KEH, 1KEK, 1KEI and 1KEJ reports. (Make sure that you have removed test runs)
    Useful transaction code is KE5T, where you can see the difference between FI and PCA
    Regards,
    Ravi

  • COPA and PCA reports at Operating Conern level

    Hi,
    As I know COPA reports lie on Operating conern level, how about PCA report? is it at Operating concern or controlling area level?
    Thanks a lot!
    Cheers,
    Helen

    Hi,
    As far as i know COPA is config at a operating concern level but the reporting can be done at company code or even a product or customer of a company code.
    PCA is more at a controlling area level.
    regards,
    SGP

  • PCA report for balance sheet accounts

    Hi,
    i have assigned Profit Center in Material.
    So the Cunsumption account hit the Profit center.
    If i see the GL document profit center assigned at line item, but i couldnot able to view the PCA report for Balance sheet account
    Can you please help.
    Thanks,
    Sudha

    Hi Wamman,
    We are in ECC 6 and New GL is not activated.
    Clssic PCA maintained PC in 3KEH.
    Assigned PC in Material Master  consumption entry   Consumption (P&L) to Inventory (B/S)
    Consumption (P&L) updated with Profit center and PCA document created
    Inventory (B/S) line updated with Profit center but PCA document was not created.
    Kindly help
    Thanks,
    sudh

  • Classic PCA reports in New GL environment.

    Hi,
    We have now implemented New GL.  Also applied EHP3 .  In EHP3 enviornment, there is a facility by which we can convert classic PCA reports (report tree : KE5A) into new GL, that is, practically changing the tables from GLPCT to FAGLFLEXT.  This helps us in not re-creating those reports.
    I have converted two reports into the New Tables.  But, I am not able to see these reports seperately.  That is, classic PCA reports can be accessed through KE5A transaction. What about these convered reports ?
    Please advice me how to access these reports (New GL converted reports).  Is there any transaction code like KE5A?
    Till, classic PCA is deactivated, both will run parallelly.
    Regards,
    Rama

    Hi,
    old PCA report painter reports can be migrated to NewGL reports under certain circumstances (see SAPNET note 1555535 for details).
    As the NewGL PC reporting bases on the data available in the new GL tables FAGLFLEX* I think that you will miss some infos in NewGL PC reporting compared to infos available in classic PCA reporting (eg object type / object class).
    Nevertheless it is possible to add fields toFAGLFLEX* but I doubt that this will be helpful in your case.
    BR Christian

  • PCA Report

    Hi
    Can someone help me on PCA report we need a Sales report by customer, part numer with customer #, sales order, parts on work order, quoation amount, invoice amount, marging, work quantity, time etc..
    Appreciate for any source.
    Thank you

    You could try an SAP query based on table GLPCA for basic information on sales order, material, value customer etc. For additional information, you could add on relevant table or extra fields to get your information. Bear in mind, since this accesses transaction data, this could take a long time. Suggest to try in production. If you have frequent production copy being made , you could try it out there.

  • Report painter.....PCA reports & historical data issue

    I need to create a report painter PCA report for P&L that will do the foll:
    --> Consolidated P&L for 2 company codes
    --> Company code 1 - YTD figures to include full year
    --> Company code 2 - YTD numbers to include only 2nd half year as company 2 was acquired in middle of year
    Problem is we are migrating the historical data for the last two years. I do not want the report to pick up this as part of the report.
    Suggestions?

    anyone?
    Thanks

  • PCA Report Query

    Hello Experts
    The PCA report (KE30) in our systems is only showing the Sales and the Standard cost of the Products. I want to allocate my Total Cost of different cost objects to all the products shown by the PCA report against the sales figure, rather than the standard cost. Is it Possible through PCA Report, If yes, Than how?
    Please Help
    Points will be surely be awarded.
    Regards
    Prashant

    Hi Prashant,
    KE30 is not a PCA report it is a COPA report to analyse the contribution margin, Sales oriented point of view.
    Costs are allocated to production order of a product and this is reflected in fi & co after period end process or settlement of the PO.
    you can see the cost allocted to the production order in CO03 (COR3 for process order), in menu goto>costs>analysis.
    Award points if found useful.
    Regards,
    Praveen

  • Exporting PCA Reports to Excel

    This question is in regards to the report: PCA Report Profit Center Grp: Plan/Actual/Variance - Tcode S_ALR_87013326.
    When exporting this report to a spreadsheet I'm getting different results in my development environment vs. my production environment.  In development the export moves the data into Excel as expected.  In production when I go to export to a spreadsheet my list object goes to SAPoffice.  Any feedback on what controls this behavior would be greatly appreciated.  My thanks in advance for the help.
    Paul Portella

    Hi Paul,
    First you need to find out which report group your report is using. You can find this in GRR2. Then go to GR55 and execute the report group.On the report seection screen: for profit center enter 8217320, then go to Environment - Options - Office Integration - excel.
    This should solve the issue.
    Regards,
    Abhisek

  • PCA report can't include customized library

    I want to create PCA report and execute under KE80
    I use GR21 to create a libray Z80 by copying standard library 8A0. in KE84, how can I create form under Z80 library , so I can create PCA report under Z80 library, I just don't want create customized report under standard library? thanks

    Libriaries are used for ReportPainter/ReportWriter reports (RPRW) TC GRR2 and GR32 respectivelly.
    KE8... transactions are intended for Drilldown reports where you don't use a library,
    Instead you have a Characteristic list to choose from and I don't know if you can add new ones.
    Cheers
    matej

  • PCA report drill down

    Hi,
    When I drilldown PCA report S_ALR_87013343 to look up the original document, it takes me to PCA_FB03 transaction and gives an error "Enter Document Number". I imported all the reports and generated them again. Still the problem continues. What could be the problem?
    Thank you,
    Ram
    Message was edited by:
            Ram R

    Hi,
    This report displays receivables balances as per the reconciliation account. For reconciliation accounts, no line item display will be selected in GL Master. I think probably, because of that this report is asking to enter document number.
    Thanks
    Murali.

Maybe you are looking for

  • Error creating a role from the process task adapter - OIM 11g R2 PS1

    I have a requirement to create an OIM role dynamically when a resource account is created. Also once the role is created, I need to assign that role to the user dynamically. Following code works perfectly fine if I replace the Platform with OIMClient

  • Final Cut Pro X, Export to Youtube fail says, QuickTime Error: -50

    Im having trouble with Final Cut Pro X every time I try to export my project to Youtube a quarter way through processing it stops and says QuickTime Error: -50  How do I fix this?

  • Repeating Network@etp... message Help please

    I can seem to get blackberry to quit sending me this email: This message is used to carry data between the BlackBerry handheld and an associated server. Please do not delete, move or respond to this message - it will be processed by the server. BEGIN

  • Any easy way to parse string to date?

    I need get data from process instance and pass it to web service. The process instance is xmlObject and one field is date type. The value read from xmlObject is "2011-09-13T20:10:00Z" Is there any easy way to convert it to Date? Thanks,

  • C7280 driver + solution center install in windows 8

    Is hp going to release drivers that will make solution center  work with windows 8? I tried installing under compatibility mode windows 7 but with no sucess. I am tried connecting it through wifi, it finds the printer but when it goes to install it,