Transaction total

Hi,
I have to create report like the followi
                          Tr.No     Item.No       Itemvalue    TotalTransactionValue
                                1               1              100            300
                                1                2              200            300
Result                                                        300            300     
                                 2               1              50                    400
                                 2                2              350                  400
Result                                                        400                  800
Overall Result                                              700                  1100
If I get the result for the total transaction value as the average, the result line is fine. But the overall result isnot correct.
Is there a way to do in BEX without any code ?
Thanks.
Edited by: P R on Aug 17, 2008 4:03 PM
Edited by: P R on Aug 17, 2008 4:05 PM
Edited by: P R on Aug 17, 2008 4:10 PM

Hi,
If I select as summation, the result line is wrong as the transaction total is doubled.
Any other options?
Thanks.

Similar Messages

  • Open transactions (Total Balance due = 0)

    dears, i need your help with the following :
    we want a query which provide us with open transactions...
    what i mean with open transactions is the transactions where their Total Balance due = 0 from transaction screen..
    i tried to get the tables from the screen but nothing returned this value
    can you help me with that??
    thanks

    Hi.
    Run the following query:
    SELECT
    trx_number,
    amount_due_original,
    amount_due_remaining
    FROM ar_payment_schedules_all
    WHERE status = 'CL'
    AND class in ('INV', 'DM', 'CM')
    Octavio

  • Unbalanced Transaction Total - Invoice

    Hi,
    I am using the DI API to connect to a webservice which is pulling back Reserve Invoices placed on an online store and the payments. These have to equal the same amount.
    I am creating the invoices but there are some which are having rounding problems which result in the payment equaling a different amount to the invoice.
    Is there a way that you can explicitly set the document total so that it is always equal to the payment amount using the DI API which will use a rounding amount to automatically correct any differences?
    For example:
    Web invoice & payment total = $100.00
    Sap calculated invoice total = $100.01
    Using the DI it would automatically calculate - Invoice DocTotal $100.00 + Rounding Required $0.01
    If this was possible it would allow me to ensure the payments would reconcile exactly for each transaction.
    Any help appreciated

    Hi James,
    I have not had to do this myself yet, but the invoice object has two properties (actually 4) pertaining to rounding:
    oInv.Rounding = BoYesNoEnum.tYES
    oInv.RoundingDiffAmount = 0.01
    You could do some testing to see if these might be any help.
    Good luck,
    Johan

  • Mobile Sales: Volumes/Trade Spends planning (same as CRM_MKTPL transaction)

    Hello
    I am using Mobile Application Studio 4.0SR1 with SP8
    I have some trouble with the modification of the Volumes/Trade Spends Planning.
    - The first thing I don't understand, running the project step by step, is how a DLL can call back functions in the program, when the object is created with a CreateObject().
    In the Business Objects project (sfabol), class PLANNINGMANAGER, the dll PlanSrvc.dll is used (version from Aug. 2006) :
    Private PlanningManagerDLL As Variant
    (Private Sub Loaded)
    Set PlanningManagerDLL = CreateObject("SAP.PlanningService")
    (Public Function ForecastPrepare)
    ForecastPrepare = PlanningManagerDLL.Forecast_prepare(time_array, html_view, html_data)
    If ForecastPrepare = False Then GoTo ErrHandler
    (note that time_array, html_view, html_data are empty when the function is called)
    So, during the execution of "PlanningManagerDLL.Forecast_prepare", my next step should be the line just after (I put a breakpoint on it to be sure that it cannot resume the execution), instead it goes back to my original class BOTSPPromotionPlanning, and calls several functions in it, then resumes to the True/False test
    I searched the entire project and couldn't find any calls to these functions elsewhere.
    My first deduction was that this PlanSrvc.dll somehow called its parent (or parent's parent) function, by i've just thought that it may have declared an object of BOTSPPromotionPlanning, or the dll of sfabol, but as I cannot access its code (standard SAP dll, it seems) I can't tell what happens.
    - This leads to my 2nd problem :
    As of the latest SP08 and patches we are working with (though I don't know what was the latest patch), the Volumes/Trades Spends planning is displayed as follow :
    Product Group          Material          Sales Unit
    </b>
    Total               #               ST
       P1               #               ST
          Product1          #               ST
          Product2          #               ST
    and I would want it displayed as in the crm_mktpl transaction :
    Total               # (or blank)          ST
       P1               # (or blank)          ST
          Product1          Id1               ST
          Product2          Id2               ST
    But the only result I can get is  (by applying a modification in method PopularCharValues, similarly to note 787400)
    Total               Id1               ST
                   Id2               ST
       P1               Id1               ST
                        Id2               ST
          Product1          Id1               ST
          Product2          Id2               ST
    (and here in Total and P1, the key figures are displayed for each product instead of being calculated in the 1 line case)
    I tried to play with variables during runtime, but I could only put one of the IDs to '#' so I still got the 2 lines with a '#' and the other Id.
    These lines seem to be set in the dll PlanSrvc, unless I missed something.
    So >>> Is there a way I could access the code in the dll, or is it only private to SAP so I would have to ask them for a change ?
    (create a note ?)
    Or maybe someone can tell me where to modify so as I get the right values ?
    Thanks and Regards,
    François
    -edit-
    I thought I had found a way around that problem by displaying the Product1 / Id1</b> line, and leaving the <b>#</b> in the 2nd column. The values were well calculated ; but while saving, only one product (on the 1st line) is saved. I think it is because the savin process checks the
    Material column for distinct values.However with my original solution, both the 2 products were saved.
    Message was edited by:
            Francois Feugier

    Hi !
    Ok I managed to get this solution :
    Total               #           ST
       P1               #           ST
          Id1/Product1     #          ST
          Id2/Product2     #          ST
    My problem in the -edit- of the previous post came from a conversion function, as the products didn't have their reference loaded it didn't update well a counter, so the converted objects didn't have the same structures and one was discarded some functions later.
    Now I have yet to see if it is ok when transferring the Campaign to the CRM Server (CRM_MKTPL transaction, which displays my original wanted solution), but as I only modified display variables and it seems that what is stored are the SQL Keys of the products, I think it will be OK.
    I still didn't get the DLL thing but I should be able to continue without having to modify it.

  • Transaction Type 'WIP assembly scrap' in Onhand, Availability/Available to Reserve/Available to Transact

    Transaction Type 'WIP assembly scrap' in Onhand, Availability/Available to Reserve/Available to Transact
    Dear All,
    Version: 12.1.3
    Problem Description/Question:   A Item shows different quantity in Inventory > Onhand, Availability/Available to Transact/Available to Transact
    total quantity = 1000
    available to reserve = 800
    available to transact = 800
    Find quantity = 200 exists with Transaction Type = WIP assembly scrap
    ***Question: For Transaction Type = WIP assembly scrap, whether it is availble for Reserve and Transact?
    Any response could be appreciated.
    Regards,
    Joy

    Hi,
    Your finding is correct.
    As "WIP assembly scrap" transaction for 200 qty. system will not allow to reserve the same stock qty again.
    200 qty Stock is reserved.
    Available to Reserve: The available quantity of an item you can reserve across an organization.
    Available to Transact: The available quantity of an item you can transact across an organization
    Thanks
    NS

  • Two jdbc connections in one transaction

    Hi<br>
              <br>
              In a method of a container managed ejb session bean I have two jdbc connections. I've expected, that they will be in the same transaction, so results of any actions performed with first connection will be visible for the second connection, but it is not. <br>
              I've checked, that there are two sessions at the database, so it seams that there are simply separate transactions. Is it a problem with a ejb-jar.xml (will paste it later), datasource (driver - Oracle Thin non-XA; 1PC selected) or such behaviour can not be achieved in WLS ? <BR>
              <BR>
              regards
              <br>
              <BR><?xml version="1.0" encoding="UTF-8"?>
              <BR>
              <BR><!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
              <BR>
              <BR><ejb-jar >
              <BR>
              <BR>     <description><![CDATA[No Description.]]></description>
              <BR>     <display-name>ConnectionTest1</display-name>
              <BR>     
              <BR>     <enterprise-beans>
              <BR>          <session >
              <BR>               <description><![CDATA[]]></description>
              <BR>               
              <BR>               <ejb-name>ConnectionTest1</ejb-name>
              <BR>               
              <BR>               <home>pl.axit.test.ConnectionTest1Home</home>
              <BR>               <remote>pl.axit.test.ConnectionTest1</remote>
              <BR>     <ejb-class>pl.axit.test.ConnectionTest1Bean</ejb-class>
              <BR>     <session-type>Stateless</session-type>
              <BR>     <transaction-type>Container</transaction-type>
              <BR>     
              <BR>     <resource-ref >
              <BR>          <res-ref-name>jdbc/wowrite</res-ref-name>
              <BR>          <res-type>javax.sql.DataSource</res-type>
              <BR>          <res-auth>Container</res-auth>
              <BR>     </resource-ref>
              <BR>     </session>
              <BR>     </enterprise-beans>     
              <BR>     
              <BR>     <assembly-descriptor>
              <BR>          <container-transaction>
              <BR>               <description/>
              <BR>               <method>
              <BR>                    <description/>
              <BR>                    <ejb-name>ConnectionTest1</ejb-name>
              <BR>                    <method-name>*</method-name>
              <BR>               </method>
              <BR>               <trans-attribute>Required</trans-attribute>
              <BR>          </container-transaction>          
              <BR>
              <BR>     </assembly-descriptor>
              <BR></ejb-jar>

    Hi,
              are you using XA transactions? Two separate JDBC Connections treated
              within one transactional context will require two phase commit (via
              Emulation or an XA database driver) Please check the connections
              settings within your datasources.
              Rgds,
              Axel van Lil (LMIS.de)
              Lukas Uruski schrieb:
              > I forgot to add, that in administration console in server_name > Monitoring > JTA parameter "Transactions Total Count" increases by one each time method from previous post is invoked.

  • Un reconciled transaction report

    Hi all,
    When we run BRS report we will get reconciled transaction and Unreconciled transactions report
    Under Unreconciled transaction we will get a headings and values as follows
    Open in Book after dates       xxxxxx                                      Open in bank after date     xxxxxx
    Bank's Closing Balance             xxxxxx                       Book's Closing Balance             xxxxxx                                                                 
    Transaction in bank after date  xxxxxx                       Transaction in book after date  xxxxxx                                                             
    Total in book for checking         xxxxxx                       Total in bank for checking         xxxxxx                                                            
    If some one can explain, it will be a grate help
    SBO version 2005 B
    Kind regards
    Rashid

    Hi,
    Thanks for your reply , in the following scenario i need some clarification
    VALUE DATE : 31.03.09          
                                                                      Unreconciled Transactions                                                       
    Total credits in Books   :  Rs. 123,335.94                                    Total Debit in Bank :  Rs. 174,048.00          
    Total open in Books      :  Rs. -123,335.94                                   Total Credit in Bank:  Rs. 357,395.00                                                                               
    Total Open in Bank:   Rs. 184,347.00          
    Open in books after date :    (4,364,249.01)                                 Open in Bank After date  : 7,506,301.09          
    Bank`s closing Balance            :  5,266,069.84                  Book`s closing balance          :  (2,326,264.66)          
    Transactions in Bank after date :  2,402,915.24                  Transaction in books after date :  (2,181,982.30)          
    Total in books for checking       :  3,181,400.13                    Total in bank for checking        :   3,181,400.13          
    Balance as per Bank  :   5,266,069.84
    Balance as per SAP   :  -2,326,982.30
    Differences                    7,593,052.14
    How can i get the list of unreconciled transactions in bank book and bank ledger matching with the above difference.
    TIA
    Kind regards
    Rashid
    Edited by: Muhammed Rashid on Sep 10, 2009 10:09 AM

  • Transaction report

    as far as i could find out the financial reports are monthly only.
    i tried to get a transaction report for yesterday or the day before for my app but so far (report periode: daily) but it tells me there is no report.
    are the reports (even the daily ones) only updated once per month and can then be accessed?

    Hi,
    Use: t.code STAD
    Pass: User ID & Time Interval
    You will have Transactions used in specified time intervals including additional fields like how much memory used, CPU time etc.
    Output
    To display the business transaction or job totals, choose Show business transaction totals. To display single records grouped by business transaction or job,  choose Show all records, grouped by business transaction. To display single records as they are displayed in Transaction STAT,  choose Show all statistic records, sorted by start time.
    How to schedule it in background for daily accumulations of data you need to approach BASIS person.
    Hope you will have clarity on this part.
    Rewards if you found it useful.
    Regards,
    Chintan

  • Balance on OACT does not balance to transactions on JDT1

    Is there a utility to verify balances on OACT to transaction totals. I have an account that shows a balance on OACT but the sum of the transactions is ZERO. Something appears to have gone awry and we know we cannot fix using SQL. What are the options?

    Hi,
    Can you check the following detect query and confirm whether the G\L Account mentioned by you appears in the result :
    SELECT T0.Account, T1.AcctName, (SUM(T0.Debit) - SUM(T0.Credit)) AS
    Should_Be, T1.CurrTotal
    FROM JDT1 T0 INNER JOIN OACT T1 ON T0.Account = T1.AcctCode, OADM T2
    WHERE T2.dispposdeb = 'Y'
    GROUP BY T0.Account, T1.AcctName, T1.CurrTotal
    HAVING (SUM(T0.Debit) - SUM(T0.credit)) <> (T1.CurrTotal)
    UNION
    SELECT T0.Account, T1.AcctName, (SUM(T0.Debit) - SUM(T0.credit)) AS
    Should_Be, T1.CurrTotal*(-1)
    FROM JDT1 T0 INNER JOIN OACT T1 ON T0.Account = T1.AcctCode, OADM T2
    WHERE T2.dispposdeb = 'N'
    GROUP BY T0.Account, T1.AcctName, T1.CurrTotal
    HAVING (SUM(T0.Debit) - SUM(T0.Credit)) <> (T1.CurrTotal*(-1))
    If yes, then you need to contact your partner to open a support ticket to SAP to get the issue investigated. If you are a partner you can log the support ticket to SAP Support.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • SRKIM: Rel.11i- PA-  GL_IMPORT_REFERENCES mapping with Project Transaction

    Purpose
    =====
    R11i: Project Transaction 이 GL Journal 로 import 되었을 시 mapping 하는 방법에 대해 알아 보도록 한다.
    Question
    =====
    11i 에서 Project Transaction 을 GL 로 Transfer 후 reconcile 을 위해 gl_import_references table 과 mapping 을 하고 싶다.
    어떻게 mapping 해야 하는가.
    Answer
    =====
    Project Accounting 의 Category 별로 아래와 같이 mapping 할 수 있다.
    Category: BORROWED_AND_LENT
    reference_1 = PA_CC_DIST_LINES_ALL.GL_BATCH_NAME
    reference_2 = CCID (either PA_CC_DIST_LINES_ALL.DR_CODE_COMBINATION_ID or CR_CODE_COMBINATION_ID)
    reference_3 = Account Type (either Cross Charge Debit or Cross Charge Credit)
    reference_6 = same as reference_1
    Category: Burden Cost, Inventory, Labor Cost, Miscellaneous Transaction, Total Burden Cost, or Usage Cost
    reference_1 = PA_COST_DISTRIBUTION_LINES_ALL.BATCH_NAME
    reference_2 = CCID (either PA_COST_DISTRIBUTION_LINES_ALLDR_CODE_COMBINATION_ID or CR_CODE_COMBINATION_ID)
    reference_3 = Account Type (either Cost or Liability)
    reference_6 = same as reference_1
    Category: Revenue
    reference_1 =
    If "Revenue - Normal Revenue" => PA_COST_DISTRIBUTION_LINES_ALL.BATCH_NAME
    If "Revenue - Event Revenue" => PA_CUST_EVENT_RDL_ALL..BATCH_NAME
    If "Revenue - UBR" => PA_DRAFT_REVENUES_ALL.UNBILLED_BATCH_NAME
    If "Revenue - UER" => PA_DRAFT_REVENUES_ALL.UNEARNED_BATCH_NAME
    reference_2 =
    If "Revenue - Normal Revenue" => PA_CUST_REV_DIST_LINES_ALL.CODE_COMBINATION_ID
    If "Revenue - Event Revenue" => PA_CUST_EVENT_RDL_ALL.CODE_COMBINATION_ID
    If "Revenue - UBR" => PA_DRAFT_REVENUES_ALL.UNBILLED_CODE_COMBINATION_ID
    If "Revenue - UER" => PA_DRAFT_REVENUES_ALL.UNEARNED_CODE_COMBINATION_ID
    reference_3 = Account Type, either:
    If expenditure item revenue =>"Revenue - Normal Revenue"
    If event revenue => "Revenue - Event Revenue"
    If unbilled receivables => "Revenue - UBR"
    If unearned revenue => "Revenue - UER"
    reference_6 = same as reference_1
    나머지 reference columns 은 모두 null 값으로 update 될 것이다.
    Reference
    ======
    Note. 331622.1 - How Are References Populated in GL_IMPORT_REFERENCES For Projects Transactions?

    Hi DST
    This is a great effort and gesture. thank you on behalf of all the newbies.
    PJ

  • Creation Sign on AR Transaction Type

    Hi All,
    This is regarding the Creation Sign on the AR transaction type setup in AR.
    This sign determines the allowed sign of the total amount of Invoices or Credit Memos.
    Is it possible to have this funcitionality at the Invoice Line level?
    Thanks.

    Hello.
    As you said, the Creation Sign applies to the transaction total. You cannot extend it to transaction lines. If the transaction is manually created using the application forms you have the option to use Forms Personalization to affect the sign of the line amounts.
    Octavio

  • Multiple Totals

    I need to create a report that lists the totals for various transaction types as well as a total for all transactions.
    totals.....all taction.....completed....pending
    ...............344.............222.........100 etc ......
    Each total is a independent count SQL based on the transaction type, except for the first total which is a count(*) based on a specified date. I am very new to this product and have looked at multiple queries but it appears that I need to associate each query which in this case is not neccessary. Any help will be appreciated.

    Hi Hans
    You can create a placeholder column in the datamodel and set its "Value if Null" property to '0'. Next create a Formula column in the same group as the rest of your columns. In this formula column, use the placeholder column to maintain a running count of you 'taction' column. You may then want to create one placeholder-formula column pair for each of those running totals.
    For instance, I tried creating a report that displays emp.ename, emp.sal and running count of emp.sal. I created a placeholder column CP_1. I then created a formula column CF_1 in group G_ENAME. In the PL/SQL procedure of CF_1:
    function CF_1Formula return Number is
    begin
    :CP_1 := :CP_1 + :SAL;
    return :CP_1;
    end;
    So CP_1 will maintain running count of Salary. You may include that in your layout as needed.
    Regards
    Sripathy

  • Report for vendor across company code

    Hi,
    We want to have a report which include the vendor name along with its transaction total and net balance. Will also need to have the overall view of the vendor for all company codes, as many of our company codes purchases from the same supplier.
    Regds,
    Bhavesh

    Hi,
    Please check the report S_ALR_87012082.
    At the end you will also find an output option as "Total from All Company Codes". You can have a cross company code view there.
    Regards,
    Gaurav

  • Data reconciliation using OBIEE/Answers

    Hi
    I am new to OBIEE. I am trying to use the OBIEE and Answers for the reconciliation of the accounting entries with transaction data, However This leads to two facts one transaction lines and accounting lines. I can make the transaction lines also dimension. But in such case can I compare the transaction amounts with accounting amounts something like
    Transaction Total – Accounting total – difference .
    Thanks a lot in advance.

    Hi
    Still I am not ready with complete data model. However I Can explain. we have the customer, transaction types, date , Currency as dimensions. These dimensions are linked to the transaction Fact where we have the transaction amount like Invoice amount for each Transactions, open balance for each TXtransaction. We have another child table to the transaction table called accounting distribution table. Now i can build two differnt star one for transaction as fact and another one as Accounting flex. In such a case in we join both fact in presentationlayer to get the transaction amount and accounting amount compared. Also another question is can we have the both facts in the same schema. Or any other approach?
    Thanks a lot in advance
    raj

  • Asset retirement - Error - AA416 & AA324

    Dear All,
    I am getting following error while doing asset retirement through t-code F-92.
    My legacy transfer date is 31.03.2009
    I am retiring last year legacy asset.
    For few of the asset class I am getting this error. For few of the asset I am not getting this error.
    *Following is the Error 1 detail:*
    Retirement of old assets data not possible (No existing old assets data)
    Message no. AA416
    Diagnosis
    You have tried to post an retirement based on amount, using a transaction type which refers to old assets data (acquisitions from previous years).
    However, the sum of the APC at the start of the fiscal year and the transactions, related to the past, equals 0.
    Procedure
    Check the transaction type entered and the asset.
    _Following is the Error 2 detail:_
    For few of the asset while retiring I am getting the following error. I also try with transaction type 260. But the same error I am getting.
    Posting with trans.type 210 not possible (No acquisition posted)
    Message no. AA324
    Diagnosis
    Transaction type 210 belongs to a transaction type group, which can only be used to post to assets to which posting has already been performed. However, no postings have been made to this asset.
    Procedure
    Use a transaction type from a transaction type group, which can be used for the first acquisition to an asset.
    Regards,
    nms

    Dear Phaneendra,
    Thanks.
    Even I tired with 260 transaction type, but I am not able to retire the asset.
    Retirement of new acquisition not possible (Transaction total = 0)
    Message no. AA417
    Diagnosis
    You have tried to post retirement of current acquisitions, although the sum of the transactions for the current fiscal year is zero.
    Procedure
    Check the transaction type entered and the asset.
    Regards,
    nms

Maybe you are looking for