SAP B1 2007 General Ledger

hi,
can anyone pls advice on adding of UDF to the default General Ledger Report? may i know where to find the default query? i have tried OUQR but to no avail.
Hope to hear a good advice..

Hello Nicholas - welcome to the forums - I am not sure what SQL you are looking for, but here is an example of some SQL my End Users utilize...
Regards - Zal
--B-FN Journal Entry List by Date Range Ver 1 ZP 2011 04 22
--DESCRIPTION:  SQL lists out all Journal Entries by SAP B1 Drawer and identifies what type of transaction the JE is.
--AUTHOR(s):
--Version 1 Zal Parchem 22 April 2011
SELECT
T0.Account,
T1.Segment_0 + '-' + T1.Segment_1 AS 'GL Acct',
T1.AcctName,
CASE
WHEN T1.GroupMask = 1 THEN 'Assets'
WHEN T1.GroupMask = 2 THEN 'Liabilities'
WHEN T1.GroupMask = 3 THEN 'Equity'
WHEN T1.GroupMask = 4 THEN 'Revenue'
WHEN T1.GroupMask = 5 THEN 'COGS'
WHEN T1.GroupMask = 6 THEN 'Expenses'
WHEN T1.GroupMask = 7 THEN 'Financing'
WHEN T1.GroupMask = 8 THEN 'Oth Inc/Exp'
ELSE 'RESEARCH'
END AS 'Grp Mask Def',
T1.GroupMask,
T0.RefDate AS 'Post Date',
T0.TransId AS 'JE Numb',
CASE
WHEN T0.TransType = -1 THEN 'System Generated'
WHEN T0.TransType = -2 THEN 'Open Balance'
WHEN T0.TransType = -3 THEN 'Year End Closing'
WHEN T0.TransType = 13 THEN 'AR Invoice'
WHEN T0.TransType = 14 THEN 'AR Cred Memo'
WHEN T0.TransType = 15 THEN 'AR Delivery'
WHEN T0.TransType = 16 THEN 'AR Goods Ret'
WHEN T0.TransType = 17 THEN 'AR Sales Order'
WHEN T0.TransType = 18 THEN 'AP Invoice'
WHEN T0.TransType = 19 THEN 'AP Cred Memo'
WHEN T0.TransType = 20 THEN 'Goods Receipt PO'
WHEN T0.TransType = 21 THEN 'AP Goods Ret'
WHEN T0.TransType = 22 THEN 'AP Purch Ord'
WHEN T0.TransType = 23 THEN 'AR Sales Quote'
WHEN T0.TransType = 24 THEN 'Incoming Pay'
WHEN T0.TransType = 25 THEN 'Deposit'
WHEN T0.TransType = 30 THEN 'Jrnl Entry'
WHEN T0.TransType = 46 THEN 'Outgoing Pay'
WHEN T0.TransType = 56 THEN 'Chk for Payment'
WHEN T0.TransType = 58 THEN 'Inv Bal Adj'
WHEN T0.TransType = 59 THEN 'Rcpt frm Prod'
WHEN T0.TransType = 60 THEN 'Goods Issue'
WHEN T0.TransType = 67 THEN 'Inv Transfer'
WHEN T0.TransType = 68 THEN 'Work Instruct'
WHEN T0.TransType = 69 THEN 'Landed Costs'
WHEN T0.TransType = 76 THEN 'Posted Deposit'
WHEN T0.TransType = 132 THEN 'Correct Invoice'
WHEN T0.TransType = 162 THEN 'Inv Reval'
WHEN T0.TransType = 163 THEN 'AP Corr Inv'
WHEN T0.TransType = 164 THEN 'AP Corr Inv Rev'
WHEN T0.TransType = 165 THEN 'AR Corr Inv'
WHEN T0.TransType = 166 THEN 'AR Corr Inv Rev'
WHEN T0.TransType = 182 THEN 'BOE Deposit'
WHEN T0.TransType = 202 THEN 'Prod Ord'
WHEN T0.TransType = 203 THEN 'AR Down Pay'
WHEN T0.TransType = 204 THEN 'AP Down Pay'
WHEN T0.TransType = 321 THEN 'Manual Recon'
WHEN T0.TransType = 310000001 THEN 'Open Balance'
ELSE 'RESEARCH'
END AS 'Trans Def',
T0.TransType AS 'Trans Type',
T0.Line_ID +1 AS 'JE Line',
T0.Debit AS 'Debit',
T0.Credit AS 'Credit',
(T0.Debit - T0.Credit) AS 'Net'
FROM
JDT1 T0 
INNER JOIN OACT T1
ON T0.Account = T1.AcctCode
WHERE
T0.RefDate >= [%0]
AND T0.RefDate <= [%1]
AND T1.GroupMask = [%2]
AND T0.TransType < > -3
ORDER BY
T1.Segment_0,
T1.Segment_1,
T0.TransType,
T0.RefDate
FOR BROWSE

Similar Messages

  • SAP R/3  General ledger Open line item posting

    Hi
    I have a query on how to clear a Gl account after it has been made open item managed
    Issue: Assuming GL A/c 12345  was not open item managed till March 2007 .  when we look for open items for this Gl acount through T Code FBL3n it shows all the items made to this Gl account as posted but not cleared .
    Now we have made this Gl as open item managed since April 2007 . I want to know is there any way
    I can clear the open items posted to this Gl account before it was made open item managed.
    Thanks & regards
    RK

    Hi
    Have a look to the ABAP RFSEPA02.
    Since 4.0 you can no longer run it but jour can change the program or run it in DEBUG mode.
    In ERP2005 it was no longer possible to change g/l to open item management. (without turnoff the error message) When you use new G/L you can no longer use this.
    SAP advise to create a new G/L account and don't change it. (for this there is an OSS note. There are risks that this is going wrong. Test this first in a test system (95% it don't will give problems
    Paul

  • Difference in Open Balance As per Trial Balance and General Ledger in SAP

    Dear All,
    1 ) Whle generating trial balance in SAP B1 for one Business master there is a difference in Opening Balance as per Trial Balance and as per General Ledger how ever closing balance in matching.
    Difference As follows
    Report Name      ob cr     ob dr           dr                   cr                                  CL
    General Balance          614536     19237612.34            18650320.01     1201828.33
    Trial balanceB     4521743.19          19237612.34       13514040.82     1201828.33
    Is it possible  the open balnce should be same in both report. The opening balance as per GL report is correct.
    2)  I have run the period end closing for Apr- 2010 to Mar 2011 after that I generated the traial balance for Apr-1-2011 where the opening balances for expense account  and revenue account is showing technically after period end closing the balance become zero for all closing balance revenue and expenses accounts.
    Please note that there are some entries in revenue and expense account in on 1st apr. 2011.
    Please guide on this.
    Regards
    Aarati Kollur.
    <a href="http://www.youtubemp3.net/">youtube mp3</a>, <a href="http://www.limewire.name/">limewire</a>

    Hi,
    I think you should re-visit the selection creteria for the Trial balance.
    The Display Opening Balance has two options. If you select from 'Start of Company activity', then it will include every balance of previous year.
    Check for the Display Closing balance option as well. As you have performed the Period End closing, the checkbox options can have an impact on the outcome in the report.
    Check the selection again.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • Migrating to SAP General Ledger (NewGL)  on a different box

    We are looking at migrating to SAP General Ledger on a production system with over 150 company codes and 10 years of unarchived data. Since this results in pretty large database tables we are looking at several options to minimize business impact.
    Among the available options, I have been told that it is possible to perform a migration from one box to another rather than in-place. I'm having trouble visualizing how transactional data from other modules (CO, SD, MM, PP etc) would be preserved in this case.
    Can anyone tell me if migrating from classic GL on one box to new GL on another is possible? Does it really reduce downtime? If so, how does it achieve this time savings? What are the pitfalls of taking this approach? Can a box-to-box approach be taken without loss of non-GL transactional data?
    Thanks in advance,
    Paul

    Hi,
    we migrated on 31st of march 2008 3 different 46c systems (AT, IN, CN) with 3 huge and a few small company codes into one ECC 60 system (using HR, SD, MM, PM, PP, QM, FI, CO). In ECC 60 we are using NewGL, document split, functional area reporting, PRCTR-wise balance sheets, segment reporting, FI/CO online integration, leding ledger IFRS, 2 non leading ledgers for every comp. code,...
    The migration project was started a year before go-live the system downtime was only the 31st of march (one day) for each company code.
    The main thing was, that we decided not to migrate any old transactional data to the new system but only the data (master data, open items, open PO's,...) thats needed.
    So the old stuff remains still in the old system (FY-end closing was done there) and all comp.codes started the new fiscal year in the new system.
    Due to the fact that many reporting issues where covered by business warehouse this ensured a continously reporting across the old and new system landscape and there was never a need to have "old" data visible in the new system.
    BR Christian

  • ALE methods in SAP General Ledger

    Hi,
    I am working on SAP General Ledger. I heard that data is transferred to the central general ledger using ALE methods which are part of the General Ledger Accounting (FI-GL) component.
    I know a about ALE but I am trying to grasp what does it mean when it says Using ALE methods as a part of general ledger component.
    Thanks.
    Regards,
    Tushar.

    Hi,
    Here is a link from SAP help. May be this will help:
    <a href="http://help.sap.com/saphelp_47x200/helpdata/en/0b/2a620b507d11d18ee90000e8366fc2/frameset.htm">http://help.sap.com/saphelp_47x200/helpdata/en/0b/2a620b507d11d18ee90000e8366fc2/frameset.htm</a>

  • Define Ledgers for General Ledger Accounting in sap 4.6

    hi
    am a student in sap, and am trying to configure my system for the best practices guide, however the guide is of ecc 6.0 and my system is 4.6, and have got stuck with the configuration so
    could u pleas help me find the path to Define Define Ledgers for General Ledger Accounting in sap 4.6
    thanks

    they dont exist in 4.6c
    You can only do this from 4.6c
    Check this website which shows the differences between systems
    http://solutionbrowser.erp.sap.fmpmedia.com/
    Award points if useful.

  • Quantity Material , FI Document NO, General Ledger Account No in SAP Table

    Hi,
    I want to extract the details Quantity, Material , FI Document No, General Ledger Account No from SAP Table.To extract the data from GL is verfy difficult and time consuming.
    please help
    Regards
    Nikunj
    Edited by: NIKUNJPATEL on Mar 28, 2010 11:31 AM

    Dear Christian,
    Thanks a lot for help.
    The required infor is available in BSEG Table itself. No need to go other table.
    Regards
    Nikunj

  • PLD General Ledger TaxDate B1 2007 SP01 PL10

    Dear Experts,
    I am searching for the systamvariable of the taxdate in the general ledger. Does anybody know it?
    As well I am searching for the PLD variables list - I only got one from march2007. Does anybody own a copy for B1 2007 A?
    I would appreciate it if I could get a copy via Email.
    With best regards
    Bastian Thies

    Hi,
    thank you very much!
    Do you think it would be possible to send me the list?

  • General Discussion - SAP SCM 2007

    Is any one refred the help.sap.com site for Supply chain mangement.
    Now SAP SCM 2007 (SCM 5.1) versions documents are available for us to refer.
    Just want to know the SCM consultant's view on the same.
    Is now SCM - Demand Planning Consultant, Supply Network Planning Consultant, PP/DS consultant will replace with some other names?

    Hello Anjali -
    As far as I have seen the names will remain the same like DP consultant, PPDS consultant or SNP consultant, but what might happen in future is they might now be called as SCM APO consultant.(APO is now an integral part of SCM along with SNC, F&R, EM and EWM) so they might add those in there.
    Regards,
    Suresh Garg

  • What is the system variables of document number in General Ledger PLD?

    Dear all,
    Would anybody kindly tell me what is the system variables of document number in General Ledger Print Layout Designer?
    The default print layout use transaction number (system variables 272), however, my client wants document number to be displayed in the transaction number column.
    Regards,
    Simon Chiu

    Hi
    The only list available for Supported variables is for the version 2007A and for some specific localizations like Brazil and India.
    For the 2007A version the list is available in the following link:
    http://service.sap.com/smb/sbo/pld
    'How To Use the PLD Variables File in Release 2007 A '
    But in general the variables are for documents not for reports.
    In this case I believe there's no variable and you may need to fill a requirement in the Forum for that.
    Paulo Calado
    SAP Business One Forums Team

  • Display subtotal in General Ledger Accounting details

    Hi all
    Our client has a request to have a default setting for the option to display subtotal to print only Yearly results in General Ledger Accounting Report?  Currently the Display Subtotal by Daily and Monthly are always selected.  It is too slow whenever we remove these display options.
    With reference to SAP Case 413706 on 28.04.2009 13:25 Reply to Reporter by SAP 
    Dear Kedalene,
    I have tested the problem you raised in the latest patches of version 2005 B (PL45) and 2007 B (PL11). The current system design is that by default all three boxes for "Display Subtotal" (Daily / Mont hly / Yearly) are checked. All changes you make to the default will be lost after you have closed the report. Unfortunately there is no way to work around that.
    Apologies for the inconvenience caused.
    Kind regards,
    Gunther Sandtner
    Support Consultant
    SAP Product Support for SAP Business One
    SAP SSC Ireland

    Hi All,
    The issue above has been posted by our consultant as a client we would want to elevate further.
    Due to such an functionality; to uncheck the monthly / daily subtotal in a GL for one whole year of records takes up 30 mins!!!
    It is weird why such a small issue has not been taken care of in such an advance system like SAPB1.
    Would appreciate if this matter is taken up by the SAP development team; and we are reverted with a solution at the earliest.
    Regards.
    Edited by: Vishal Attal on Apr 30, 2009 11:11 AM

  • Sap CRM 2007 Security related issue

    Hi All,
    I am working on SAP CRM 2007 security.
    I have scenario, which we are trying to fix.
    There are two users A and B.
    A is assigned to role X
    B is assigned to role y
    Business Partner 123 is created for user A
    Business Partner 456 is created for user B
    These Business Partners are assigned to Authorization Groups.
    See below:
    1)Authorization Group (LK01) is assigned to Business Partner --123.
    2) Authorization Group (LK02) is assigned to Business Partner --456
    3) Authorization groups LK01 is assigin to user A in PFCG role X
    4) Authorization groups LK02 is assigin to user B in PFCG role Y
    a) User A assigned with PFCG role X>Authorization Group (LK01)>BP 123.
    b) User B assigned with PFCG role Y>Authorization Group (LK02)>BP 456.
    Note:
    1) Authorization Groups are assigned to BPs under the Control tab.
    2) These Auth Groups are assigned in Authorization Object in PFCG role.
    Now, USER 'A' should not be able to work under the BP 456 as this BP is assigned to authorization group LK02.
    The issue is when we open the WEB UI and login with user A role X, He can search for the BP 456 assigned to Auth Group LK02.
    User A can open the Interaction History and edit the Service Order created using the BP 456.
    He can Edit the following in Service Order details:
    1) General Data Status (from created to complete), Contact person, Sale Rep name.
    2) Organization Data like Sales Office, Sales Org Unit, Distribution Channel
    3) Business Partner.
    However, one good thing is he cannot edit the Account details like Account ID, House No, Employee Resposible, the message he get is "No authorization to change partner with authorization group"  which is a
    good thing.
    I have tried to be precise, please let me know if you require more information.
    Regards,
    Dave.

    I suggest the following:
    Please, check whether the system works if you activate the implementation BUPA_F4_AUGRP.
    In addition check the notes 559662, 674869 and 782927. Maybe the notes are already implemented but you can try then the implementation of the BADI (SE19). It should resolve your issue.
    I have implemented this Badi solution before, and after activation; the search help ; nor search result list did NOT show any Business partners anymore that had an authorization group I was not allowed to see.
    kind regards
    Davy Pelssers
    SAP CRM/Security consultant

  • Business One C# DI API's for General Ledger Report?

    I am working on the General Ledger Report and unable to find the DI API's for C# for the following cases. If somebody can point me the API's, that would be really helpful. I have handle to the logged in company.
    Get all ChartOfAccounts
    Get AccountSegmentations
    Get BusinessPartners
    Get JournalEntries_lines
    I am new to SAP. The documentation is bit unclear. I am using the following code to load the objects. Now it is unclear how to loop through the journalvouchers to load all the lines one by one.
    SAPbobsCOM.AccountSegmentations segmentations =  oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oAccountSegmentations);
                SAPbobsCOM.AccountSegmentationCategories categories = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oAccountSegmentationCategories);
                SAPbobsCOM.BusinessPartners partners = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oBusinessPartners);
                SAPbobsCOM.JournalVouchers vouchers = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oJournalVouchers);
                SAPbobsCOM.JournalEntries jEntries = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oJournalEntries);
                SAPbobsCOM.JournalEntries_Lines jLines;

    Hi,
    Are you trying to run the report via code?  If so, you can only do that using the UI objects as there is not DIAPI for reporting.
    You first need to activate the menu item for the report:
    connect.SboApp.ActivateMenuItem("13058");
    Once you've done that, you can get the active form which will be your criteria window, use the UIAPI to set your criteria and run the report by getting the OK button object and calling the Click method.
    David

  • General Ledger Accounting (New): Line Items of the Leading Ledger

    Hello Guys,
    We are planning to implement
    General Ledger Accounting (New): Line Items of the Leading Ledger
    0FI_GL_14
    We are in ECC6 sap_appl 6.00 and BI 7.0 SP 14, BI Content 7.3 level 4.0
    The new GL line item is available
    Financial Accounting: General Ledger Accounting (FI-GL)
    Available as of Release - SAP Enhancement Package 3 for SAP ERP 6.0
    Shipment - SAP NetWeaver 7.0 BI Content Add-On 3 Support Package 08
    Content Versions- 1.0; 703
    Just we have  to install SAP NetWeaver 7.0 BI Content Add-On 3 Support Package 08  and on ECC side SAP Enhancement package 3 for ERP 6.0 --. Financial accounting - SAP APPL 603.
    Is it correct. Can you please confirm.
    Thanks
    Senthil

    Hello Senthil,
    Yes, thats engough, since SAP is recommending the same for that datasource 0FI_GL_14. I think you are already in that version.
    See this SAP help document
    [DataSource Transactional Data: 0FI_GL_14|http://help.sap.com/saphelp_nw04s/helpdata/en/45/4f8e8bbf3f4f63a5dd197ef7d53fa2/content.htm]
    Thanks
    Chandran

  • Posting of CarryForward New general ledger

    Hi financial wizards,
    our client uses new general ledger. The accounting block has been extended with some ZZ user fields carrying results determined via substitution exits during posting.
    The additional customer fields are added to the accounting block and are stored on item level (BSEG) as on aggregate level (FAGLFLEXT).
    After the run of transaction FAGLGVTR - 'Balance Carryforward (New)' we have the correct values in the carryforward column of the target account, but values from customer fields are not transfered.
    SAP will not help us with a note at this time; the features may be integrated in a later release.
    Now my question: How to post the carryforward values manually or by program? I know the SAP Carryforward does not create any documents but after the run the Carryforward period (period 0 in former times) is filled with the sums of previous years P+L accounts. Carryforward works correct i.E. for profit center but not for the additional clients fields.
    We need some good ideas as how to overcome this      obstacle.
    Regards,
    Clemens

    Dear Peter,
    I am afraid that you are mistaken. There is lot of difference between the New GL Accounting and COPA. They are entirely different and its utility is also different.
    Here in New Gl, Characteristics means, segment characteristics, for example, business area, profit center, functional area, segment.
    Trust this answers your query!
    Cheers,
    Ashok SINGH

Maybe you are looking for