Problem with document total

Dear All,
I have problem adding an invoice through DI API with the total amount of 50,000 including VAT. The system is SBO 2005B, PL42; Document Setting is as following:
- Rounding Method = By Document
- Rounding Rule for Tax = Round Down
- Round Tax Amount in Rows = False
The following VBA code is used to add an invoice:
Dim boInv As SAPbobsCOM.Documents
Dim boCom As SAPbobsCOM.Company
Set boCom = GetSboCompany() 'this function returns SBO company
Set boInv = boCom.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
boInv.CardCode = "Customer1"
boInv.DocDate = #9/1/2008#
boInv.DocType = dDocument_Items
boInv.DocCurrency = "JPY"
'Now add a invoice line
'boInv.Lines.Add - No need for the first line
boInv.Lines.ItemCode = "item1"
boInv.Lines.VatGroup = "S01" 'VAT rate for Japan is 5%
boInv.Lines.PriceAfterVAT = 50000
boInv.Add 'add the invoice
What I get is an invoice with:
Gross Price = 50000 (in a line)
Total (LC) = 47619 (in a line)
Tax Amount = 2380.952381 (in a line)
and
Total Before Discount = 47619 (in a header)
Tax = 2380 (in a header; fractional part was round down because of the Document Setting)
Total = 49999 (in a header; which is different from Gross Price by 1 yen)
However, if I enter this invoice directly from the screen, then there will be no difference between Gross Price (Price after VAT) and Total, so, the invoice will be created correctly.
My question is how to add an invoice with the total amount of 50000? (Of course, 50000 is not the only "difficult" number, for example, 40000 also poses the same problem). I tried to use boInv.Lines.NetTaxAmount property to directly assign the tax amount (which is possible from the SBO screen), but in PL42 there's an error saying that this property is not yet implemented.

Verner, thank you for advice. I also tried that way, but wasn't helpful. OK, I found a solution that is I think acceptible. I will describe it in short, for those who face such problem. Basic idea is to use XML to create an invoice. Here's the code:
Dim boInv As SAPbobsCOM.Documents
Dim boCom As SAPbobsCOM.Company
Dim strXML As String
Set boCom = GetSboCompany() 'this function returns SBO company
'XML data will be supplied as string variable, not an external file
gboCom.XMLAsString = True
'Here you will create your XML stream. Important tags are <DocTotal> for the invoice header, and
'<Quantity>, <PriceAfVAT> tags for invoice lines. If <DocTotal> is specified then you will get invoice with
'this exact total amount. If sum of <Quantity> x <PriceAfVAT> is equal to '<DocTotal>, then
'document level discount will be zero.
strXML = "<BOM> ... </BOM>" 'building XML here
Set boInv = gboCom.GetBusinessObjectFromXML(strXML, 0) 'Create an invoice object from XML
boInv.Add 'add the invoice
Edited by: Jandos Khalik on Sep 2, 2008 10:17 AM
Edited by: Jandos Khalik on Sep 2, 2008 10:18 AM
Edited by: Jandos Khalik on Sep 2, 2008 10:20 AM

Similar Messages

  • Problem with documents on iCloud.

    I have a problem with documents on iCloud, I can`t use it with Pages on Mac and iOS too, Pages not view any documents and can not approach to save documents and not save new documents to iCloud. Any idea?
    Thank you for help.

    Hello,
    Winston and Shayari,
    I have also faced this problem with document on iCloud, I couldn't saved the documents to iCloud,
    But I found this article problem posted by Hindi love Shayari San and I found the solution this way:
    I signed out, then singed in again renabled the iCloud and it works.
    I could do this with the instructions of Winston told to Shayari.
    Well, a big thanks from my side.
    Veena

  • Problem with document splitting

    Hi,
    I am encountering a problem with document splitting, where in while doing clearing of down payment against miro invoice profit center of first line item is over ridding profit center of second line item (line items are two different materials in purchase order).

    Hi Milind,
    Thanks for the reply.
    I've done the below configuration and assigned cost/profit center update. It now works for profit center split. It still does not split accordingly per cost center though.
    SAP Customizing Implementation Guide > Financial Accounting (New) > Financial Accounting Global Settings (New) > Ledgers >Ledger > Assign Scenarios and Customer Fields to Ledgers
    In the below configuration, cost center is not an available option. Unlike the profit center which is available here.
    SAP Customizing Implementation Guide > Financial Accounting (New) > General Ledger Accounting (New) > Business Transactions > Document Splitting > Define Document Splitting Characteristics for General Ledger Accounting
    The profit center split looks fine now, however the cost center split still is only reflected in the expense items and not on the AP item.
    Any ideas on how to actually split the AP line items according to the cost center assignments ?
    Edited by: Patrick on May 9, 2011 7:46 AM

  • Problem with Grand total in Crystal report xi

    Post Author: eshwar_polawar
    CA Forum: Crystal Reports
    Dear all,
    I am facing the problem with Grand total field in Report footer.Please advise me how should we resolve it.
    My report design as follows
    Report Title
    Page Header section:
    charged date    fee_ description charge_ amount currency_code
    Group  Header #1(Group by bank_ref)
    Group Header #2(Group by Currency code)
    Details
    charged date    fee_ description charge_ amount currency_code
    Group Footer#2 
    (Sub Total )
    Running Total field(Fields to Summarize on Charge_amount, Evaluate on "Group2# change of currency code) ,Sum of Charge_amount,Currency_ code
    Report footer:
    Sum of (charge_amount) currecy code
    Example of data:
    charged date   fee desc   chrage amount  currencycode
    0000000060129
    CAD
    10-Oct-2007    Transfer     200   Cad
    11-Oct-2007  comm          150 cad
    Sub total                        350 Cad
    0000000060129
    CAD
    10-Oct-2007    Transfer     100   USD
    11-Oct-2007  comm          150  USD
    Sub total                        250 USD
    Grand total     should   350 CAD  but it is showing  all total amoun 1000 CAD ,Group by Curreny code in the table
                                        250 USD but it is showing all  total amount 1200 USD
    Please provide the solutions like:
    1).About Running total in Report footer section
    2).Formula on While printing records for grand total
    3).How will send links with subreports
    Thanks and Regards
    Eshwar

    Post Author: eshwar_polawar
    CA Forum: Crystal Reports
    eshwar_polawar:
    Dear all,
    I am facing the problem with Grand total field in Report footer.Please advise me how should we resolve it.
    My report design as follows
    Report Title
    Page Header section:
    charged date    fee_ description charge_ amount currency_code
    Group  Header #1(Group by bank_ref)
    Group Header #2(Group by Currency code)
    Details
    charged date    fee_ description charge_ amount currency_code
    Group Footer#2 
    (Sub Total )
    Running Total field(Fields to Summarize on Charge_amount, Evaluate on "Group2# change of currency code) ,Sum of Charge_amount,Currency_ code
    Report footer:
    Sum of (charge_amount) currecy code
    Example of data:
    charged date   fee desc   chrage amount  currencycode
    0000000060129
    CAD
    10-Oct-2007    Transfer     200   Cad
    11-Oct-2007  comm          150 cad
    Sub total                        350 Cad
    0000000060129
    CAD
    10-Oct-2007    Transfer     100   USD
    11-Oct-2007  comm          150  USD
    Sub total                        250 USD
    Grand total     should   350 CAD  but it is showing  all total amoun 1000 CAD ,Group by Curreny code in the table
                                        250 USD but it is showing all  total amount 1200 USD
    Please provide the solutions like:
    1).About Running total in Report footer section
    2).Formula on While printing records for grand total
    3).How will send links with subreports
    Thanks and Regards
    Eshwar

  • Problems with Document Connect

    I have a problem with Document Connect. I am unable access office live workspace.
    I have been on the help line with microsoft but they were unable to help.
    Then I went to an apple store and was informed by one of the sales assistance that Document Connect never worked with the apple. Well what was the point in having it then?

    I wish I knew what Document Connect is. I'd bet I could fix it. Not really, but what is it?

  • Problem with the "Total By" icon

    Hi.
    Working with Answer I've a problem with the "Total By" icon when the fact displayed is semi-additive.
    I try to explain better:
    1) my fact table has the following dimensions
    Time (year granularity)
    City
    Type of contracts
    2) the fact table contains the fact "Number of Active Contracts"
    this fact is additive by City and Type but not by Year.
    The "Number of Active Contracts" is calculated usign 2 existing logical columns
    Sum (of Number Of Contracts (at base granularity)) / Count Distinct ( of Years )
    This fact express an average when more than year is involed in the aggregation,
    but express the exact number of contracts if the year is displayed as an output column of the report.
    This fact works well changing the aggregation in reports, but when I click on the "Total By" icon to show
    the totals its behaviour is different from expected.
    consider the report with the following columns:
    Yearm City, Number of Active Contracts
    Click her to view it: http://yfrog.com/euerrtotaliconj
    The "Total By" icon Instead of the sum divided by ditinct years involed, i.e. 1, shows the sum divided by the number of Cities.
    It seem it is counting 5 tiimes (= number of cities) the same year.
    But If make a report with
    Year, Number of Active Contracts
    Click her to view it: http://yfrog.com/mjoktotalj
    it works as expected !
    Many thanks,
    Andrea
    Edited by: aromani on 17-nov-2010 8.06

    Philipp is right to tell the developer that the toolbar is automatically disappearing after customizing the add-on on the toolbar. I tried it, and it looks like it gets attached to the Bookmark Tool bar. It may help to make sure all the Toolbars are visible in '''View> Toolbars. '''
    It may also be because I have too many extensions on my toolbar ( Too many favorites :-))

  • Problem with Grand Total

    Post Author: eshwar_polawar
    CA Forum: Formula
    Dear all,
    I am facing the problem with Grand total field in Report footer.Please advise me how should we resolve it.
    My report design as follows
    Report Title
    Page Header section:
    charged date    fee_ description charge_ amount currency_code
    Group  Header #1(Group by bank_ref)
    Group Header #2(Group by Currency code)
    Details
    charged date    fee_ description charge_ amount currency_code
    Group Footer#2 
    (Sub Total )
    Running Total field(Fields to Summarize on Charge_amount, Evaluate on "Group2# change of currency code) ,Sum of Charge_amount,Currency_ code
    Report footer:
    Sum of (charge_amount) currecy code
    Example of data:
    charged date   fee desc   chrage amount  currencycode
    0000000060129
    CAD
    10-Oct-2007    Transfer     200   Cad
    11-Oct-2007  comm          150 cad
    Sub total                        350 Cad
    0000000060129
    CAD
    10-Oct-2007    Transfer     100   USD
    11-Oct-2007  comm          150  USD
    Sub total                        250 USD
    Grand total     should   350 CAD  but it is showing  all total amoun 1000 CAD ,Group by Curreny code in the table
                                        250 USD but it is showing all  total amount 1200 USD
    Thanks and Regards
    Eshwar

    Post Author: eshwar_polawar
    CA Forum: Crystal Reports
    eshwar_polawar:
    Dear all,
    I am facing the problem with Grand total field in Report footer.Please advise me how should we resolve it.
    My report design as follows
    Report Title
    Page Header section:
    charged date    fee_ description charge_ amount currency_code
    Group  Header #1(Group by bank_ref)
    Group Header #2(Group by Currency code)
    Details
    charged date    fee_ description charge_ amount currency_code
    Group Footer#2 
    (Sub Total )
    Running Total field(Fields to Summarize on Charge_amount, Evaluate on "Group2# change of currency code) ,Sum of Charge_amount,Currency_ code
    Report footer:
    Sum of (charge_amount) currecy code
    Example of data:
    charged date   fee desc   chrage amount  currencycode
    0000000060129
    CAD
    10-Oct-2007    Transfer     200   Cad
    11-Oct-2007  comm          150 cad
    Sub total                        350 Cad
    0000000060129
    CAD
    10-Oct-2007    Transfer     100   USD
    11-Oct-2007  comm          150  USD
    Sub total                        250 USD
    Grand total     should   350 CAD  but it is showing  all total amoun 1000 CAD ,Group by Curreny code in the table
                                        250 USD but it is showing all  total amount 1200 USD
    Please provide the solutions like:
    1).About Running total in Report footer section
    2).Formula on While printing records for grand total
    3).How will send links with subreports
    Thanks and Regards
    Eshwar

  • Problem with document

    Hi All,
    I've got error message : "problem with document numbering file. Restore the file and contact your software vendor..." after importing some invoices. The first line of message is 2100oInvoices.
    Pls give advice how to resolve it. Thx
    John

    Dear,
    Try below procedure:
    Log off by File Exit, restarting the system, and logging on again.
    If can't sovle your issue, you have to follow the recommandation from Du or log a message to SAP
    Regards
    Apple

  • Problem with document dates

    Hello dear friends,
    I have a little problem with some document dates
    I've created a sales order (tcode: VA01) on 07.05.2009
    After creating delivery on 25.06.2009 and doing PGI at the same day, I've created billing invoice (tcode: VF01).
    I've noticed in invoice header data the following:
    System shows that the invoice was created on 01.07.2009.
    But, under "accounting data" tab, the system shows billing date: 26.06.2009
    What's going on ? I don't seem to understand !
    Regards,
    Bahia.
    Edited by: Bahia M. on Jul 15, 2009 3:07 PM

    Dear Bahia,
    > My request is: I would like to make the system brings the sales order's date as the princing date in the invoice.
    While maintaining the Sales order type in VOV8 we generally maintain the setting for Pricing date proposal., please check this, i guess this is blank in your case that is why system is proposing Todays date as pricing date Please change it to B.
    in Invoice as the pricing in billng is copying from the Sales order date. This control is in copy control.
    For this please check these
    Goto VTFL,
    Select Delvery and sales document type, Click on item right side, Select the correct item category, generaly it will be TAN.
    Now there is two things One is pricing source and the other is pricing type.
    Make the relevant setting and try to do the cycle again and give us your feedback, i guess it will help.,
    Thanks,
    Raja

  • Problem with Document.importNode function

    What is the problem with the following code?
    What printed out by the last line of code (xmlres.print) is always empty while the 1st print out (xmldoc.print) does print the whole document?
    Can anyone help me out?
    Gary
    FileReader fr = new FileReader("some_xml_file.xml");
    DOMParser parser = new DOMParser();
    parser.setValidationMode(XMLConstants.NONVALIDATING);
    parser.parse(fr);               
    XMLDocument xmldoc = parser.getDocument();
    xmldoc.print(System.out); // 1st print out
    Element elem = xmldoc.getDocumentElement();
    XMLDocument xmlres = new XMLDocument();
    xmlres.importNode(elem, true);
    xmlres.print(System.out); // 2nd print out ; here prints nothing!

    Hi Andrew,
    Thanks for the reply. Yes you are correct, that pretty much sums it up. The problem is that absolutely nothing happens. The page redirects correctly (onto itself) however the plsql page process does not fire. I have done the following:
    * Checked there are no conditional traps inside the plsql code block - None
    * Tried removing the conditional processing on the process definition - No difference
    * Put in a temporary branch to another page conditional on the REQUEST value to test it is correctly working... It does.
    * I have dropped and recreated the page process in case there was something in there that I missed - No difference
    The only time that the plsql is fired is when I remove the call to confirmDelete(). This worked for both the original and the recreated process. It just seems to skip the plsql process for some reason.
    Any suggestions??
    Cheers,
    Mike

  • Formatting problems with document

    Ok I've made an estimate form in pages and put a table in it.  Adding a table has done a lot of odd things to the document. I can't change the spelling on any words inside the table. It will hightlight them as incorrect but I'm unable to change the spelling using my mouse for suggestions. I can change it manually if I can figure out how to spell the word.
    But here are my real problems, please see attached screenshot. 
    1) In the line total column it won't allow me to put a period after the dollar amount. I put it there and it keeps removing it!
    2) I can't line up the text in the 2 columns. Because when I put in the $640. where I want it to be (using return key) once I finish putting in the number it puts it at the top of the column.  I can't keep it down by the text "Labor and Materials".  As you can see by the red underline I had to put in text there and make it white so it won't show up to move the $640. down.
    Can someone tell me how to fix these 2 issues??
    Any help would be greatly appreciated.
    Susan

    Hi!
    I would use cells with the same height. I would only write one line in each cell, at least for the ones that will have a number in the next cell to the right. You really don't need a  punctuation after the number. I have used the formatting options in the Inspector. I have changed the cell borders for some cells to none (see the second image). I do this on Snow Leopard, not on Lion like you have. The spelling correction problem must someone else test. It works on my computer to right click on the misspelled word

  • JAX RPC extension: Problem with document/literal and MyType[]

    Hi,
    I have installed the JAX RPC extension and want to generate a stub from my WSDL file. The WSDL describes a document/literal binding.
    Problem:
    A webservice server method like:
    public wineshop.model.common.SimpleProducer[] getSimpleProducerList() throws RemoteException;
    is translated into a stub method like:
    public UnknownType getSimpleProducerList() throws Exception {..}
    Is an array of own types with the binding style "document/literal" not supported in JAX RPC 1.4 or is it just a bug?
    The WSDL file is generated by JAX RPC 1.4.
    I have installed JWSDP-1.5 and generated a stub with wscompile from the WSDL file. The generated stub has the correct method return type:
    public wineshop.ws.client.SimpleProducer[] getSimpleProducerList()
    throws java.rmi.RemoteException
    It there a workaround like replacing some JDev JARs with JWSDP-1.5 to solve the problem?
    Any hints are welcome.
    Thanks Markus

    repost.....

  • Problems with Document base that does not exist

    I'm using Tomcat to run a Java servlet. Within my "Output - Apache Tomcat 6.0.14" window, I see the following.
    SEVERE: Error starting static Resources
    java.lang.IllegalArgumentException: Document base C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.14\bin\jupload.4.sourceforge.net\build\web does not exist or is not a readable directory
    This path no longer exists and it is not part of the project. How do you fix the problem? I did a search of "jupload.4"; nothing was found. I looked through some web.xml and context.xml file in the project. The path is not there.
    Here is the entire window content.
    Using CATALINA_BASE: C:\Documents and Settings\esharris\.netbeans\6.0\apache-tomcat-6.0.14_base
    Using CATALINA_HOME: C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.14
    Using CATALINA_TMPDIR: C:\Documents and Settings\esharris\.netbeans\6.0\apache-tomcat-6.0.14_base\temp
    Using JRE_HOME: C:\Program Files\Java\jdk1.6.0_04
    Feb 19, 2008 9:45:28 AM org.apache.catalina.core.AprLifecycleListener init
    INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_04\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\oracle\product\10.2.0\client_2\BIN;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\Perl\bin;c:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Support Tools\;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\Rational\common;C:\Program Files\QuickTime\QTSystem\
    Feb 19, 2008 9:45:29 AM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8084
    Feb 19, 2008 9:45:29 AM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 3208 ms
    Feb 19, 2008 9:45:29 AM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Feb 19, 2008 9:45:29 AM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
    Feb 19, 2008 9:45:32 AM org.apache.catalina.core.StandardContext resourcesStart
    SEVERE: Error starting static Resources
    java.lang.IllegalArgumentException: Document base C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.14\bin\jupload.4.sourceforge.net\build\web does not exist or is not a readable directory
    at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:141)
    at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3944)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4113)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
    at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    at org.apache.catalina.core.StandardService.start(StandardService.java:516)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    Feb 19, 2008 9:45:32 AM org.apache.catalina.core.StandardContext start
    SEVERE: Error in resourceStart()
    Feb 19, 2008 9:45:32 AM org.apache.catalina.core.StandardContext start
    SEVERE: Error getConfigured
    Feb 19, 2008 9:45:32 AM org.apache.catalina.core.StandardContext start
    SEVERE: Context [jupload.4.sourceforge.net] startup failed due to previous errors
    Feb 19, 2008 9:45:32 AM org.apache.catalina.core.StandardContext stop
    INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[jupload.4.sourceforge.net] has not been started
    Feb 19, 2008 9:45:37 AM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8084
    Feb 19, 2008 9:45:37 AM org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    Feb 19, 2008 9:45:37 AM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/99 config=null
    Feb 19, 2008 9:45:37 AM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 8557 ms
    Feb 19, 2008 9:45:47 AM edu.stanford.smi.protege.plugin.PluginUtilities findPluginsDirectory
    WARNING: Plugins directory not found: C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.14\bin\plugins
    Feb 19, 2008 9:45:56 AM edu.stanford.smi.protegex.owl.repository.impl.LocalFolderRepository update
    WARNING: [Local Folder Repository] The specified file must be a directory. (C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.14\bin\plugins\edu.stanford.smi.protegex.owl)
    Feb 19, 2008 9:45:56 AM edu.stanford.smi.protegex.owl.repository.util.RepositoryFileManager loadRepositoriesFromURI
    WARNING: [Repository Manager] Could not find repository file: file:/C:/Program%20Files/Apache%20Software%20Foundation/Apache%20Tomcat%206.0.14/bin/RepositoryViewer/web/newspaperswc.repository
    Feb 19, 2008 9:45:56 AM edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser loadTriples
    INFO: Loading triples
    Feb 19, 2008 9:45:56 AM edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser loadTriples
    INFO: Start processing ontology: file:/C:/Program%20Files/Apache%20Software%20Foundation/Apache%20Tomcat%206.0.14/bin/RepositoryViewer/web/newspaperswc.owl Time: Tue Feb 19 09:45:56 EST 2008
    Feb 19, 2008 9:45:57 AM edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser loadTriples
    INFO: [ProtegeOWLParser] Completed triple loading after 1109 ms
    Feb 19, 2008 9:45:57 AM edu.stanford.smi.protegex.owl.model.triplestore.impl.TripleChangePostProcessor log
    INFO: [TripleChangePostProcessor] Completed lists after 0 ms
    Feb 19, 2008 9:45:57 AM edu.stanford.smi.protegex.owl.model.triplestore.impl.TripleChangePostProcessor log
    INFO: [TripleChangePostProcessor] Completed anonymous classes after 0 ms
    Feb 19, 2008 9:45:57 AM edu.stanford.smi.protegex.owl.model.triplestore.impl.TripleChangePostProcessor log
    INFO: [TripleChangePostProcessor] Completed deprecated classes after 0 ms
    Feb 19, 2008 9:45:57 AM edu.stanford.smi.protegex.owl.model.triplestore.impl.TripleChangePostProcessor log
    INFO: [TripleChangePostProcessor] Completed properties after 0 ms
    Feb 19, 2008 9:45:57 AM edu.stanford.smi.protegex.owl.model.triplestore.impl.TripleChangePostProcessor log
    INFO: [TripleChangePostProcessor] Completed named classes after 0 ms
    Feb 19, 2008 9:45:57 AM edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser loadTriples
    INFO: ... Loading completed after 1159 ms
    Edited by: esharris on Feb 19, 2008 7:18 AM

    Has the phone been set up with your Apple ID? To find out if the phone has been used with another Apple ID, check the current Activation Lock status of a device by visiting icloud.com/activationlock from any Mac or PC.

  • Problems with document attachments

    I generally look at email as web mail. When senders send me Word documents they often don't show up as separate attachments. A strange detail is that the total size of the message, e.g., 120 KB, shows that the document is there somewhere, but is not visible.
    By contrast, .rtf files always work: they show up clearly.
    I would appreciate any thoughts, thank you in advance.

    Hi Karri,
    Believe what you are looking  at is a direct translation of Open XML Documents (.DOCX) to HTML, enabling access to the information in the Open XML format from any platform with a Web browser i.e, Document viewer in this case.A plug-in for Firefox, IE7 and IE8 is available  that allows users to view Open XML documents (.DOCX) within the browser on Windows and Linux platforms.
    Trust the below link will aid you resolve this:
    http://blogs.msdn.com/interoperability/archive/2009/05/17/openxml-document-viewer-v1-released-viewing-docx-files-as-html.aspx
    Regards,
    Pradeepkumar Haragoldavar

  • Problem with sub totals ALV Grid

    Hi experts,
       I got one requirement, I am using ALV GRID function modules technique. My requirement is, I want to display one value at subtotal line(i.e. like header value). How to display the table values in the subtotal line.
    Please give any solution for this.
    Thanks in advance.
    Sandya.

    Hi Sandhya,
                       i will send a sample code for ur problem.And also i will send a entire program about subtotals.Check it once ok..Copy the below prog and execute it and debug it..
    *SubTotal on the Field NETWR
        wa_fieldcat-tabname       = 'IT_SALESORDER'. "Internal
      wa_fieldcat-fieldname     = 'NETWR'.         "Field Name
      wa_fieldcat-do_sum        = 'X'.             "Sum
       APPEND wa_fieldcat TO gt_fieldcat.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                = ' '
      I_BUFFER_ACTIVE                   = ' '
        i_callback_program                = sy-repid
      I_CALLBACK_PF_STATUS_SET          = ' '
      I_CALLBACK_USER_COMMAND           = ' '
      I_CALLBACK_TOP_OF_PAGE            = ' '
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
      I_GRID_TITLE                      =
      I_GRID_SETTINGS                   =
      IS_LAYOUT                         =
        it_fieldcat                       = gt_fieldcat
    SAMPLE PROGRAM:
    *& Report  YSALESORDER_ALV_SUBTOTALS                                   *
    *& DEVELOPER  : KIRAN KUMAR.G                                          *
    *& PURPOSE    : DISPLAYING SUBTOTALS FOR A PARTICULAR SALES DOC NO     *
    *& CREATION DT: 26/11/2007                                             *
    *&  REQUEST   : ERPK900035                                             *
    REPORT  ysalesorder_alv_subtotals.
    Type Pools
    TYPE-POOLS:slis.
    Tables
    TABLES: vbak,  "Sales Document: Header Data
            vbap.  "Sales Document: Item Data
    Global Structures
    DATA:gt_fieldcat TYPE slis_t_fieldcat_alv,
         wa_fieldcat TYPE slis_fieldcat_alv,
         gt_sortcat TYPE slis_t_sortinfo_alv,
         wa_sortcat  LIKE LINE OF gt_sortcat.
    Internal Table
    DATA: BEGIN OF gt_salesorder OCCURS 0,
            vbeln LIKE vbak-vbeln,    " Sales Document Number
            posnr LIKE vbap-posnr,    " Sales Doc Item
            netwr LIKE vbap-netwr,    " Net Value
          END OF gt_salesorder.
    SELECT OPTIONS
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS: s_vbeln FOR vbak-vbeln.   " Sales Document Number.
    SELECTION-SCREEN END OF BLOCK b1.
    Initialization
    INITIALIZATION.
      PERFORM initialization.
    Start Of Selection
    START-OF-SELECTION.
      PERFORM field_catalog.   "For Structure Creation
      PERFORM fetch_data.      "Get the Data From DB Table
      PERFORM sorting USING gt_sortcat.
    End Of Selection
    END-OF-SELECTION.
      PERFORM display_data.
    *&      Form  initialization
          text
    -->  p1        text
    <--  p2        text
    FORM initialization .
      s_vbeln-sign   = 'I'.
      s_vbeln-option = 'BT'.
      s_vbeln-low    = '4969'.
      s_vbeln-high   = '5000'.
      APPEND s_vbeln.
    ENDFORM.                    " initialization
    *&      Form  field_catalog
          text
    -->  p1        text
    <--  p2        text
    FORM field_catalog .
      REFRESH : gt_fieldcat.
      CLEAR   : wa_fieldcat.
      wa_fieldcat-col_pos       = '1'.             "Column Position
      wa_fieldcat-tabname       = 'IT_SALESORDER'. "Internal Table
      wa_fieldcat-fieldname     = 'VBELN'.         "Field Name
      wa_fieldcat-key           = 'X'.             "Blue Color
      wa_fieldcat-seltext_m     = 'Sales Doc No'.  "Display Text In Screen
      APPEND wa_fieldcat TO gt_fieldcat.
      CLEAR wa_fieldcat.
      wa_fieldcat-col_pos       = '2'.             "Column Position
      wa_fieldcat-tabname       = 'IT_SALESORDER'. "Internal Table Name
      wa_fieldcat-fieldname     = 'POSNR'.         "Field Name
      wa_fieldcat-seltext_m     = 'Sales Doc Item'."Display Text In Screen
      APPEND wa_fieldcat TO gt_fieldcat.
      CLEAR wa_fieldcat.
    *SubTotal on the Field NETWR
      wa_fieldcat-col_pos       = '3'.             "Column Position
      wa_fieldcat-tabname       = 'IT_SALESORDER'. "Internal Table
      wa_fieldcat-fieldname     = 'NETWR'.         "Field Name
      wa_fieldcat-do_sum        = 'X'.             "Sum
      wa_fieldcat-seltext_m     = 'Net Value'.     "Display Text In Screen
      APPEND wa_fieldcat TO gt_fieldcat.
      CLEAR wa_fieldcat.
    ENDFORM.                    " field_catalog
    *&      Form  sorting
          text
         -->P_IT_SORTCAT  text
    FORM sorting USING p_it_sortcat TYPE slis_t_sortinfo_alv.
      CLEAR wa_sortcat.
      wa_sortcat-fieldname = 'VBELN'.
      wa_sortcat-up        ='X'.
      wa_sortcat-subtot    = 'X'.
      APPEND wa_sortcat TO p_it_sortcat.
    ENDFORM.                    " sorting
    *&      Form  display_data
          text
    -->  p1        text
    <--  p2        text
    FORM display_data .
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                = ' '
      I_BUFFER_ACTIVE                   = ' '
        i_callback_program                = sy-repid
      I_CALLBACK_PF_STATUS_SET          = ' '
      I_CALLBACK_USER_COMMAND           = ' '
      I_CALLBACK_TOP_OF_PAGE            = ' '
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
      I_GRID_TITLE                      =
      I_GRID_SETTINGS                   =
      IS_LAYOUT                         =
        it_fieldcat                       = gt_fieldcat
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
        it_sort                           = gt_sortcat
      IT_FILTER                         =
      IS_SEL_HIDE                       =
      I_DEFAULT                         = 'X'
      I_SAVE                            = ' '
      IS_VARIANT                        =
      IT_EVENTS                         =
      IT_EVENT_EXIT                     =
      IS_PRINT                          =
      IS_REPREP_ID                      =
      I_SCREEN_START_COLUMN             = 0
      I_SCREEN_START_LINE               = 0
      I_SCREEN_END_COLUMN               = 0
      I_SCREEN_END_LINE                 = 0
      IT_ALV_GRAPHICS                   =
      IT_HYPERLINK                      =
      IT_ADD_FIELDCAT                   =
      IT_EXCEPT_QINFO                   =
      I_HTML_HEIGHT_TOP                 =
      I_HTML_HEIGHT_END                 =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
        TABLES
        t_outtab                          = gt_salesorder
       EXCEPTIONS
        program_error                     = 1
        OTHERS                            = 2.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " display_data
    *&      Form  fetch_data
          text
    -->  p1        text
    <--  p2        text
    FORM fetch_data .
      REFRESH : gt_salesorder.
      CLEAR   : gt_salesorder.
      SELECT a~vbeln
             posnr
             b~netwr
        FROM vbak AS a
       INNER JOIN vbap AS b ON  avbeln = bvbeln
        INTO TABLE gt_salesorder
        WHERE a~vbeln IN s_vbeln.
    ENDFORM.                    " fetch_data
    Reward points if helpful.
    Kiran Kumar.G.A
            Have a Nice Day..

Maybe you are looking for

  • How to create a dynamic menu for each group of responsibility and  user

    Hi I am using Jdev 11.1.1.6 and new to ADF, my application require to populate menu which would be different for different groups of user, and the user in each group would have different submenu depends on their responsibilities assigned to each one

  • NSS4000 logon to share

    Hello I have a problem connecting to shares on at NSS4000 with windows 2008 server and windows 7 below is the CIPS log fil. Do anyone have some suggestions? Apr 4 14:33:56 LILLYNAS nmbd[4513]: [2012/04/04 14:33:56, 0] nmbd/nmbd.c:main(711) Apr 4 14:3

  • Exposure to the right results in different TRC than normal exposure

    Exposure to the right is advocated by most experts to improve tonality and dynamic range. On the Luminous Landscape a photographer noted that ETTR all the way to the right followed by negative exposure correction in ACR produces a different image tha

  • Roles setup for NWDI(CMS, SLD, DTR)

    Hello All, I have a req to to setup users & roles for NWDI (CMS, SLD & DTR).  please let me know about your strategy  while implementing this. If you have any document other than help.sap.com, that would help. Currently we're thinking of the followin

  • Delete entire backup of retired mac?

    I've read the very helpful FAQs here but am still not getting anywhere with this issue... 1. I have a new iMac. 2. I've successfully migrated all of my files to that new iMac from my Time Capsule backup. 3. I've handed down my old iMac to my wife who