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
Similar Messages
-
Standard Crystal Layout for General Ledger Report, Development Limitations
Hi Guys,
I have experienced some development limitations in the standard crystal general ledger layout for "General Ledger report" in SAP.
So if we are running standard "General Ledger" report we have a lot of columns but we unable to get these columns in the standard crystal layout because PLD_Items (XML source file) doesn't contain all of them. For example, I need to add a "Project" into existing standard crystal layout and I can't do that.
Do you have guys, any ideas how to change PLD_Items source or it's impossible?
Any help will be appreciated.
Thanks,
Sergey MagsumovHi,
Please refer this thread http://scn.sap.com/thread/642764
Thanks & Regards,
Nagarajan -
SAP Business One UI/DI API SQL query
I am using SAP Business one UI/DI API with C#, how do I get data from the database using a select statement? I would like to obtain items from the database using a condition 'WHERE' and fill a matrix with the information.
ok - here's a c# sample:
oForm = globals.SBO_Application.Forms.Item(FormUID);
oForm.DataSources.DataTables.Add("DATA");
oForm.DataSources.DataTables.Item("DATA").ExecuteQuery("SELECT CardCode, CardName FROM OCRD");
((SAPbouiCOM.Matrix)(oForm.Items.Item("mtxList").Specific)).Columns.Item("ColCC").DataBind.Bind("DATA", "CardCode");
((SAPbouiCOM.Matrix)(oForm.Items.Item("mtxList").Specific)).Columns.Item("ColCN").DataBind.Bind("DATA", "CardName");
((SAPbouiCOM.Matrix)(oForm.Items.Item("mtxList").Specific)).Clear();
((SAPbouiCOM.Matrix)(oForm.Items.Item("mtxList").Specific)).LoadFromDataSource();
((SAPbouiCOM.Matrix)(oForm.Items.Item("mtxList").Specific)).AutoResizeColumns();
i hope it helps
regards
David -
Document types for Entry view Vs document type for General Ledger view
Dear experts...
Can you explain what is the deference between Document types for Entry view and document type for General Ledger view?
DasuHi,
Document Types for Entry View
In this activity, you define your document types. Document types are used to differentiate the business transactions and to manage how document are stored.
Document Types for General Ledger View
You define for non-leading ledgers the document types for the documents in the General Ledger view. At the same time, you assign for each document type a number range to be applied in the assignment of document numbers:
o You do not need to make these settings for your leading ledger
because, in the case of this ledger, the document number in the
entry view always corresponds to the document number in the general
ledger view.
o You only have to make these settings for any non-leading ledgers
that have a fiscal year variant that differs in at least one company
code from the fiscal year variant of the leading ledger in this
company code. In this case, the document number in the entry view
does not correspond to the document number in the general ledger
view and you have to define a separate document type with document
number assignment for the general ledger view.
For all non-leading ledgers that, in the company code to which the
postings are made, have a fiscal year variant corresponding to the
fiscal year variant of the leading ledger in this company code, the
document number in the entry view always corresponds to the document
number in the general ledger view.
Note
The need to define a document type for documents in the general
ledger view depends only on whether the fiscal year variant of the
non-leading ledger in the company code (to which the postings are
made) differs from the fiscal year variant of the leading ledger in
this company code.
Regards,
Kiran -
Offset account name for BP is missing in the general ledger report
Hi all,
while taking the ledger report of a cash account through General ledger report in the financials ,it is not showing the Business partner name ,it is only displaying the code.
Regards,
naresh kHello,
I am trying to get the "Offset Account Name" to print in the paper report. For the "on-screen" report it is displayed and can be toggled in the form settings, but this has no impact on the printable reports. I have looked all over trying to figure out an easy way to just add the data into the report, but for the built-in Crystal report, all the items come from the "PLD_Items" database. PLD_Items F_120 is the field for the Offset Account Code, but I don't know which one it is, if it's even there, for the description field.
Short of writing an entirely new report, is there a way to add this field?
Thank you. -
Scenarios for general ledger accounting
Hello,
Is there additional scenarios to assign in FI apart from the following ones : FIN CCA/FIN CONS/FIN PCA/FIN SEGM/FIN_UKV/FIN GSBER as I am looking into retrieving from FAGLFLEXT the transaction type (RMVCT) and plant fields (WERKS) which I already added to the table but the fileds are blank although the informations is on the document on BSEG.
So I assume I have to assign additional scenarios to have the data duplicated from BSEG to FAGLFLEX.
Is it possible to create scenarios and if so how to proceed in custo?
Thanks a lot for your help.
Regards,
FaridaHi ,
I don't want to see document splitted based on Cost Centers.
I active Cost Center Update scenarios on this month.
IMG/Financial Accounting (New)/FA Basic Settings(New)/Ledgers/Fields/Display Scenarios for General Ledger Accounting
Scenarios
FIN_CCA Cost Center Update
Scenario Fields
Accounting documents RCNTR
After this setting I post one document with cost center.
I view documents , in the GL view, there is no cost center information.
It's meaning that the field of RCNTR not update in table FAGLFLEXA .
Can tell me which IMG I need to set? -
Any Specific patches for General Ledger on Release 12.1.3
All -
I came to know we can migrate oracle apps *12.1.1 to 12.1.3* by implementing update pack - (*Patch 9239090*)
But are there any specific patches for General Ledger Module on release *12.1.3*
Please advise on this
Regards
VSHI came to know we can migrate oracle apps *12.1.1 to 12.1.3* by implementing update pack - (*Patch 9239090*)
But are there any specific patches for General Ledger Module on release *12.1.3*
Please advise on thisPlease see the docs under the "2. Recommended Patching" section in (EBS R12 Period Close Advisor: General Ledger [ID 1359476.1]).
Also, please the docs referenced in these docs.
Planning Your Oracle E-Business Suite Upgrade from Release 11i to Release 12.1 [ID 987516.1]
E-Business Suite: Oracle Financial Control Information Center [ID 1207527.1] -- GENERAL LEDGER
Oracle Applications Current Patchset Comparison Utility - patchsets.sh [ID 139684.1]
My Oracle Support > Patches & Updates > Recommended/Latest R12 Patches
Thanks,
Hussein -
Changes from 11i to R12 for General Ledger Module
Can anybody help me from where can i get the document for technical changes from 11i to R12 for General Ledger Module.
check at:
http://www.oracleappshub.com/general-ledger/r12-oracle-general-ledger-new-and-enhanced-features/ -
Line Items Data Source for General Ledger
Hello everybody,
I'm trying to generate a Data Source for Line Items (new General Ledger) in transaction FAGLBW03. When I generated a Total Record-Data Source, everything was done correctly. When I try to generate a Line Item-Data Source, I receive following error message: "Extractors for general ledger documents are not yet supported". I was looking for any SAP notes that would explain this issue, but I couldn't find anything.
Could you please tell me how can I generate Data Source for Line Items? Add some SP, use some another transaction, ...?
Thank you for any help
JanuleHi,
Can u tell me how did u solve that problem.
i m facing same.
/sachinkumar. -
After Successfull Load ETL for General Ledger No data showing in Warehouse
After Successfull Load ETL for General Ledger No data showing in Warehouse Tables
DB Version # 11.2.0.1.0 and OS of Warehouse Microsoft Windows Server
2003 R2 Enterprise Edition Service Pack 2, v.4922
1. BI Apps version
Release 7.9.6.3
2. BI Apps module
Financials
3. Source system and version
EBS R12.1.2
Please help me out .......Hope you have done finance config as per the link
http://docs.oracle.com/cd/E20490_01/bia.7963/e19039/toc.htm
List out the tables with row count=0, get the sql override query and execute in source to see # records for tables ending DS or FS where row count=0
do the same for tables ending with _D using warehouse db.
If fact tables are getting 0 records check the w_day_d table.
let me know updates.
If helps pls mark. -
Drill Down Report gives an error for General Ledger.
Hi,
I'm using the transaction GCAC to compare general ledger with profit centre accounting.While drilling down the report for PCA, the report works fine and gets drilled down to the invoice in SAP.But I get an error when I try to drill down the report for general ledger.It gives an error GI358 i.e. No line items were selected.The diagnosis of the error message shows that pool tables have to converted to transparent tables.
I want to know whether the error occurs beacuse of pool tables issue and if yes then how can we remove the error.
<<removed_by_moderator>>
Thanks,
Sandeep.
Edited by: Vijay Babu Dudla on Apr 27, 2009 7:04 AMHi sandeep,
Check if this is of any relevance to you:
http://help.sap.com/saphelp_45b/helpdata/EN/0a/8b7415dc4ad111950d0060b03c6b76/frameset.htm
Regards,
Ravi -
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
thanksthey 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. -
Hi expert,
I am running a transaction in F.05 and encounter several error messages such as:
1 Incorrect account determination: ABC 11111 >> No performance Assistant message
2 Enter account number with a maximum of 10 characters No performance Assistant message
3 Posting for general ledger account 11111 amount >>
Performance Assistant message prompt:
Posting for general ledger account 11111 amount 199,999.00 set in batch input
Message no. FR008
Diagnosis
In an evaluation that affects the financial statements, the posting for company code ABC and G/L amount 199,999.00 SGD, could not be carried out.
System Response
The posting is entered in a batch input session.
Procedure
Correct the error, for example, missing account determination, and run the batch input session. This ensures that the posting and the evaluation difference noted in the documents agree again.
Please advise.
Thank you!1. Financial Accounting (New) > General Ledger Accounting (New) > Periodic Processing > Valuate > Foreign Currency Valuation.
Check your settings
2. Check if how you have defined you account groups in OBD4. Most probabaly you have defined 10 digit account length.
3. Check if the document type is relevent only for batch input.
Rgds
Harmees -
In General Ledger report i want "cheque Number" Column
Hi All,
I am seeing General Ledger report in-built in sap B one 2005 for one single bank G/L A/C. i want one column in this report "Cheque Numbers" which is posting in Outgoing Payment, any body help on this.
Regards,
S.Mobin.hi
please go to form setting and make visible "Ref. 3"
u will get the number
please let me know if it does not work
Avtar singh Saini . -
Display the Customer/Vendor Name in the General Ledger Report
**I have Questions about General Ledger Report in SAP Business One. How can Display the Customer/Vendor Name in the General Ledger Report.**
*Just would like to ask if its possible to display the Customer/Vendor Name in the General Ledger Report? The format simply have the Customer/Vendor Code on the said report. Is there a work around on this?*If ur selection creteria by g/l account,u can display customer/vendor name by including
offset account from form settings.
Maybe you are looking for
-
How do I find out how much memory can my macbook upgraded?
How do I find out how much memory can my macbook upgraded?
-
Running on OSx 10.6.8 using a new HP Officejet 6000 printer. How can I get to within 1/8" on all sides of an 8.5x11 sheet of paper. Images and copy cuts off at 5/8" at bottom. HP says it's a mac problem, not an HP problem. I tried every combination o
-
Can I filter or eliminate the digits from the field in report ?
Hi, I have one report which has two columns activity and network activity. activity is 5-digit code (00012) while network activity is combination of latter and digits (eg. A 02489). if i run report without any filter - its runs fine and shows all the
-
How to setup variants for webdynpro report in ABAP? Help!
Hi Experts, I have a webdynpro for ABAP report with selection screen. How to setup variants for webdynpro report in ABAP? Thanks Gopal
-
Third party logistics provider
hi , Has any one worked on third party logistics ? Can any one explain what are 'Interfaces u2013 figuring about 10 on 3rd party logistics provider side and 21 on the customer side' . Are they like interface to send some data from some other system t