Infoset Query Wrong result after removing document number in the drilldown

Hi Friends,
I have 2 oDS,billing ODS and Condition ODS.I have created an infoset query based on these two ODS.
From my Billing ODS i need QTY and from Condition ODS i need Value,Discount etc.
Since there are more than one record in condition ods for each and every document of billin gods,i have divided the qty using number of records in the query.
Im getting wrong qty if i run report based on customer or material,but if i drilldown based on document im getting the correct quanity.
Can any one help me..
Thanks & Regards
Sudhakar

Thnaks Oscar and Ganesh for your interest.
FYI,my infoset is created based on bill doc and item number which is available in both the ODS.
Here,for every document in Billing ODS,there are more number of documnets in Condition ODS,so the bill qty is getting added according to the numvber of records in Condition ODS.
Eg.Billing ODS: Doc Num:100012, Qty = 8.if 10 records are ther in condition ODS,then in the infoset my QTY becomes,
Doc Num:100012, Qty = 80.
So in the query i divided it by number of records to get the qty and is coming correctly for documnet wise report.
Problem comes when i remove documnet from the report and drilldown to higher level,say material,then it is calculated wrongly.
Your suggestions plz..
Regards
Sudhakar

Similar Messages

  • Assignment from source document number in the query to archived document

    Dear all,
    we scan all original documents and store them in an optical archive like IXOS. This archive is connected to our ERP-system. An on ERP with the source document number. When I pick up the financial document I have the possibility to open the scanned original document.
    In BI we use the cost center cube. One of the characteristics in the cube is the source document number. Now we have the request to jump direct from the source document number in the query to the archived original document.
    Is there a possibility to define an assignment from the source document number in the query to the archived original document.
    Best regards
    Juergen

    Thnaks Oscar and Ganesh for your interest.
    FYI,my infoset is created based on bill doc and item number which is available in both the ODS.
    Here,for every document in Billing ODS,there are more number of documnets in Condition ODS,so the bill qty is getting added according to the numvber of records in Condition ODS.
    Eg.Billing ODS: Doc Num:100012, Qty = 8.if 10 records are ther in condition ODS,then in the infoset my QTY becomes,
    Doc Num:100012, Qty = 80.
    So in the query i divided it by number of records to get the qty and is coming correctly for documnet wise report.
    Problem comes when i remove documnet from the report and drilldown to higher level,say material,then it is calculated wrongly.
    Your suggestions plz..
    Regards
    Sudhakar

  • Excise No. using  Accounting Document Number and the P.O. number

    Hi All ! In my GL report, I'm displaying the Accounting Document Number and the P.O. number.
    Now, the requirement is to display the excise no..
    Tried different tables in SE11 using J_1EXC for excise detials, but to no avail.
    And last which vendor to pick, Because vendors in P.O and BSEG differs.
    If I use the BSEG-BELNR I get a different vendor & If I use the P.O. no. in EKKO then also I get a different vendor.
    Please suggest.

    Hi,
    Actually the vendor in the accounting document and PO should match. If not look in table EKBE, It will have the accounting document or at least the invoice receipt against which accounting document would have been created. Check if the vendor number matches with the invoice receipt.
    Regarding the excise number I'm not sure what you mean, If you mean excise invoice number, you can look at the J_1IEXCDTL
    J_1IEXCHDR tables. You could check with FC on what basis the document is getting created to make out the relation ship. If it is vendor excise no etc. you can hit F1 help to find out the table etc.
    Hope it helps.
    Sujay

  • TRM: Put document number in the field

    I want to put the document number in the field of TRM. The user cannot enter the field. The System need to say what document will processed.
    I too need to put others two fields in a dynpro.
    It's possible?

    .

  • Account Document Number Against the Purchase Order No.

    Hi,
    I have 2 queries in my report...
    1..i want Account Document Number Against the Purchase Order No.
    2..and Account Document Number Against the Invoice No.
    Note:.. Account Document Number have the 55... series. foe ex. 5500017019...
    Plz let me know in which table i can get it...
    Thanks...

    Hello Prince,
    To find the GR no. against the FI doc number the tables involved will be BKPF, RSEG, EKBE.
    Plz see the algorithm below for details:
    1. Select the A/C'ing docno. from BKPF. For the FI docs selected, get the incoming invoice details from RSEG.
    RSEG-BELNR = BKPF-AWKEY+0(10)
    RSEG-GJAHR = BKPF-AWKEY+10(4)
    Please note you can restrict the FI docs selections by using BKPF-AWTYP = 'RMRP'.
    2. From RSEG you get the PO number (RSEG-EBELN) & then go to the PO History Table EKBE to get the GR number (EKBE-BELNR).
    EKBE-EBELN = RSEG-EBELN
    EKBE-EBELP = RSEG-EBELP.
    Hope this is clear.
    BR,
    Suhas

  • Wrong results after upgrading 10g database to 11.2.0.2.6

    Hi,
    Do anyone know, why the following query results are different?
    Not Working query:
    sql1:
    select col1 from tab1
    where col1 = (select '123' from dual)
    Working query:
    sql2:
    select col1 from tab1
    where col1 = '123';
    Both the sql1 and sql2 are returning same reseults in 10g database , but not in 11g.

    Pl post OS details along with sample outputs and explain plans from the the sql1 statement from the two databases. These MOS Docs may help also
    Things to Consider Before Upgrading to 11.2.0.2 to Avoid Poor Performance or Wrong Results [ID 1320966.1]
    Wrong Results on 11.2.0.2 with Function-Based Index and OR Expansion [ID 1264550.1]
    Wrong Results/No Rows for Sql Involving Functions in 11.2.0.2. [ID 1380679.1]
    HTH
    Srini

  • Resetting of FI document number during the same year

    Hi,
    Our permit for a computerized books of accounts using SAP has been issued by our Tax agency effective March 01, 2009.  Relative to this, we need to reset FI document number effective March 01, 2009.
    Our problem is we already used up document number from January 01, 2009-up to present.  Is resetting possible for the same year?
    Thanks for the help.

    Hi,
    SAP is not suggested these kind of activities, since it causes a inconsistancy in the database.
    A document in the database will identified with a unique document number, company code, and fiscal year. This is the basic logic.
    Eventhough there is a way to sort out this issue.
    For Ex: We will discuss about document number range interval 02, which is assigned to document type SA.(I think your fiscal year starts from 01.01.2009)
    in FBN1 transcation code, you will find the below intervals for the above said object.
    Obj    Year        From No.                 To number        Current Number  
    01     2007        1000000000     to     1999999999       1000007890
    01     2008        1000000000     to     1999999999       1000005463
    01     2009        1000000000     to     1999999999       1000004821
    Here you have to change the current number for the all the above intervals to 0, and then delete all the above intervals.
    Change current number---menu->interval->change numbermake 0 for the 02 object and save it and come back--again go to fbn1 and delete the objects
    Again create a number range interval for the same object with different series, as shown below
    Click on Add interval, and enter the following
    01     2009      7000000000      to      7999999999           (Any Different Series of numbers)
    save it and try to post the documents with document type SA.
    Prerequisites for the above solution:
    1) You need to complete all the transactions pertaining till the end of FEB with the old number series.
    2) Close the posting Periods for the company code upto FEB
    3) For all the number range objects use a new number series, which should not been used before for any other number range object.
    I think this will helps you a lot.
    Thanks,
    Srinu

  • How to get the Material-Document-Number wie the delivery-Number+Position???

    Hi,
    we want to connect mseg and likp+lips.
    But therefore we need the Material-Document-number concerning this
    delivery and in likp+lips isn't a Material-Document-Number!
    Could anybody help me to connect likp+lips with mseg!

    ok, NICE!!! But how should I get with these information a unique Material-Document-Number for a delivery+deliveryposition?

  • Want to use document number as the cheque number (without cheque management

    Dear All,
    During Automatic payment run - F110 I would like to use accounting document number as cheque number.
    Kindly suggest solution for the same.
    Thanks
    Prashant

    Hi Santosh,
    In this country Bank letters are issued as mode of payment. Unique sequence number is used to track the Bank letter. Since Accounting Document is Unique number I want to use the same.
    Kindly suggest the solution for capturing Accounting Document number instead of Cheque number.
    Or in other words I want to run F110 without maintaining cheque lot. Is it possible to make payment run without maintaining cheque lot number.
    Thanks
    Prashant

  • 2 material document number having the same delivery number???

    hi
    is it possible to have 2 different material document numbers assigned to the same Outbound delivery number????
    the situation is that one of the material document number was assigned to a particular delivery number  say 'a'  and deleted later on a particular date.
    on the same date another material document number was created with  the same delivery number 'a'.
    is this possible to happen .(i.e functionally correct)   ?????? bcoz i am getting such type of output in transaction "MIGO"...
    PLZ HELP .POINTS WILL B AWARDED!!!

    Hi,
    Yes,it is possible.If you take example of partial delivery then say for example one delivery contains 10 items.Out of whixh I have delivered 4 yesterday and 6 today.This is done via creating transfer orders.Then two material documents will be created at time of PGI but they will refer to same delivery number.
    Reward points if useful
    Regards,
    Amrish Purohit
    Message was edited by:
            AMRISH PUROHIT

  • Remove port number of the URL

    Anyone know how I can remove the port of the URL, What do I need to configure to change the url and appears with another name?

    I have a very similar question as well. I am very new to web applications and web development in general, but we have some here that will come up by simply typing in the IP of the host or the word associated with that host in our local DNS environment. You are then directed to whatever site is on port 80 of that host.
    I would like to do the same with my app I have built in App Express - have users type in a "keyword" and they are immediately directed to my application home page. If my application URL requires a specified port 8080, this doesnt happen by simply pointing to the host. Is it as simple as changing the port number for the application?

  • How can i insert document number in the Idoc status

    Hi All,
        I am working on customized program, which will post the inbound Idoc data to transaction. Once everything updated / posted, Idoc should show the status 53 with description - <b>'Document XXXXXXXXX is created / changed</b>'. 
        I knew that we can use messages like ' Document &1 is created / Changed' in place of &1 need to replace with document number, but could not able to do that, can you please help me as soon as possible.
    Thanks
    Jayasri

    Hi,
    check this code
    LOOP AT itab_status WHERE mess NE 'WMMBXY'.
    SELECT SINGLE * FROM edids INTO wa_edids WHERE docnum = itab_status-idoc
                 AND countr = itab_status-status_counter.
          IF  wa_edids-statxt CA '&'.
            v_msgno = wa_edids-stamno.
            IF v_msgno NE '000'.                                "----mod3
              CALL FUNCTION 'MESSAGE_PREPARE'
                   EXPORTING
                        msg_id   = wa_edids-stamid
                        msg_no   = v_msgno
                        msg_var1 = wa_edids-stapa1
                        msg_var2 = wa_edids-stapa2
                        msg_var3 = wa_edids-stapa3
                        msg_var4 = wa_edids-stapa4
                   IMPORTING
                        msg_text = itab_status-descrp.
              CONDENSE itab_status-descrp.
            ENDIF.                                              "---- mod3
          ELSE .
            itab_status-descrp = wa_edids-statxt.
          ENDIF.
          MODIFY itab_status.
        ENDLOOP.
        LOOP AT itab_status WHERE mess EQ 'WMMBXY'.
          itab_status-descrp = 'APPLICATION DOCUMENT POSTED'.
          MODIFY itab_status.
        ENDLOOP.
    i guess you can do similair thing in your case too.
    let me know if you need any further help
    thanks
    venki

  • InfoSet - returns no result after transport

    I realize I will not receive an answer to solve me problem, but hope someone can point me to how to determine my problem.
    I have an InfoSet in our BI dev system that works fine.  Previously, it was transported to our BI qas system and also worked fine.  There was a data purge and reload, and since then it stopped retrieving data.  There may have been a patch placed on the system, and changes to the InfoSet in dev which required adjusting the InfoSet.
    What I have is the BI InfoSet working in dev, but not in qas.  I have also created a duplicate of this InfoSet, and it returns no results.  I have confirmed both my InfoProviders have reportable data, and the InoProviders have matching 0materials (which is the linked between them).
    I'm open to any thoughts on what to check.  I've ran RSISET in dev, recollected the InfoSet and transported it.  The InfoSet still fails.  It's puzzling why it works in dev but not qas.
    Again, I'm open to any thoughts, however remote they might be.

    If your QA is open, then try to deactivate and re-activate the InfoSet.

  • Query on Multiprovider after removing infocube from multiprovider

    I have a set of queries built on a multiprovider that contains 3 infocubes.  2 of the infocubes contain the same data (one is a new version replacing the old version) All of the queries are filtered to select the correct multiprovider.  I removed the old cube from the multiprovider and everything works fine but when I run RSRT on any of the queries and check the performance tab, I still see a reference to the old cube that is no longer part of the multiprovider. 
    If I create a new query on the multiprovider, RSRT does not reference the old cube.  There must be some rteference in the query definition to the old cube, how can I get rid of it?

    in RSRT use execute+debug option
    and under MP select MP explain and also select SQL run.
    It will show the IC or ODS the MP is using and the rest of the infoproviders will be skipped .
    this will give u a better idea wether ur query is accessing old cube or not.
    apart from this if ur MP still reference the IC but no query is accessing. it........................it is fine..
    However u can raise a ticket to SAP

  • HT4061 I upgraded and no longer have an iphone. Now my fiance nor anyone with an iphone can text me because it still wants to use iMessage even though I have removed my number from the icloud, apple, and itunes. I have no idea what more to do.

    We have already deleted my name and number from his iPhone, and tried re-adding it. It still lists my number as an iMessage. It is not feasible to ask everyone in my contact list with an iphone to turn that off so that they can text me. Please help. I've already done everything that I could find online, deleting my number out of everything and nothing has helped thus far. Thanks in advance.

    Hi tinkdgw99,
    If you are having issues receiving text messages after switching away from an iPhone, you may find the following article helpful:
    iOS: Deactivating iMessage
    http://support.apple.com/kb/TS5185
    Regards,
    - Brenden

Maybe you are looking for

  • Firefox with multiple system accounts: solutions or alternatives?

    The subject isn't exactly clear but I couldn't think of a good way to summarize the issue. I want to share a subset of Firefox bookmarks, extensions, settings and search plugins across different system accounts. For example, I have a bookmark hierarc

  • My macbook will not take in a CD or DVD. It goes most of the way then stops.

    I cannot insert a disc in my optical drive. Any ideas? Also, can you run an external optical drive via USB? Thanks.

  • Search Criteria - job search for candidate - TREX

    I need to add branches field to  selection criteria for job search function( candidate pages). in standard we have functional area,hirarchy level,country,Work contract type,Education level. i was able to add branches successful , but when i search wh

  • Database Adapter Configuration Execute Pure SQL

    Hii I have following scenario in my Project. I have ERRORCODE Details Table in Database which has following columns. 1)ERRORCODE VARCHAR2 2)PRIORITY VARCHAR2 3)QueueName Varchar2 I have one web service which takes errorcode as input parameter of stri

  • Search Result Customisations

    Hi I am trying to customise search results by creating my own custom version of the GroupedResultsViewHelper class. I've configured the dynamic discovery and thats all working. However the problem i'm having is with the nature of the customisation it