Data not coming to the query

Hi Experts,
I have a multiprovider build on a DSO. My query is build on the multiprovider.
Query requirement - to see the customers having no work excluding the date range provided by the user.
I have 2 variables: A & B.
This works as explained below:
Suppose the user entered the range - 03/27/2010 - 03/28/2010
then,
the variable A will get the data from 01/01/1900 to 03/27/2010 and
the variable B will get the data from 03/28/2010 to sy-datum (till date).
have both the variables as user exit.
I can see the data in the ODS & multiprovider, but when I execute the report, I cannot see any data...NO APPLICABLE DATA FOUND.
Can anyone plz help?
Preet

This is what I've written in the code:
DATA : diffdate type datum,    
      g_date  type datum.
if I_VNAM = ' CMUCREAL'.
  IF I_STEP = 2.
    clear: l_s_range, v_mm, v_year, l_fiscper.
  READ TABLE i_t_var_range into wg_t_var_range WITH KEY vnam = ' CMINMCRD'.
        if sy-subrc eq 0.
       l_s_range-sign = 'I'.
       l_s_range-opt  = 'BT'.
       l_s_range-low = '19000101'.
       diffdate = wg_t_var_range-low .
       diffdate = diffdate - 1.
       g_date = diffdate.
       l_s_range-high = g_date.
       append l_s_range to e_t_range.
     ENDIF.
    endif.
  ENDIF.
    if i_vnam = ' CMUCREAH'.
      iF I_STEP = 2.
        clear: l_s_range, v_mm, v_year, l_fiscper.
  READ TABLE i_t_var_range into wg_t_var_range WITH KEY vnam = 'CMINMCRD'.
        if sy-subrc eq 0.
       l_s_range-sign = 'I'.
       l_s_range-opt  = 'BT'.
       diffdate = wg_t_var_range-high .
       diffdate = diffdate + 1.
       g_date = diffdate.
       l_s_range-low = g_date.
       l_s_range-high = sy-datum.
      append l_s_range to e_t_range.
  endif.
  endif.
  endif.

Similar Messages

  • UDF Value is not coming in the query report

    Hi all,
    i have designed query report based on AR Invoice which has some UDF .
    all udf have FMS applied and all these udf has values.
    when i run report some times udf values are coming in the report and somtimes not even if udf contains values.
    if i open perticular invoice and again update that udf and again run report now udf value will come in the report.
    every time i need to manualy update the udf even if that udf contain value.
    how to avoide this problem.
    Pls suggest solution.
    Regards,
    Chetan

    Hi Chetan,
    Try this,
    -> Open the require document(module).
    Assign this procedure and then ADD the document
    and Run the Query Report.
    1. Goto the UDF and Click (ShiftAltF2).
    2. Select the SEARCH BY SAVED QUERY.
    3. Assign the FMS Query in UDF.
    4. Select the AUTO REFRESH WHEN FIELD CHENGES.
    5. Select the Auto Refresh Field (for example CardCode (or) Remarks).
    6. Check the Display Saved Values.
    OR
    -> Open the require document(module).
    1. Goto the UDF and Click (ShiftAltF2).
    2. When will you add the document at that time
    you can Click the SHIFT + F2 and than ADD the document.
    and than Run the Query Report.
    Regards,
    Madhan.

  • Actual delivery Date not coming in the extractor 2LIS_11_V_SSL

    Hi
    I am trying to get the Confirmed and Actual Delivery date for a Order from ECC in BIW. The extractor 2LIS_11_V_SSL has both these fields. But when I check the data in the extract checker (RSA3) in ECC, I always get the Actual Delivery Time as Blank.
    Is there any problem with the standard extractor? Or anything needs to be done to get this field from ECC.
    The BI Content Version in ECC is 703 SP 4.
    Actually I want to know whether the Order is delivered on Time or not, Is there any way like status which can tell me if the Order is "Delivered on Time" or not
    TIA
    Abhishek

    Yes we were using the field MCEX_I_LFDAT Actual Delivery Date. It only gets filled for confirmed deliveries and is blank for other orders.
    Though the values were not tallying with what the Functional Team wanted. So now we are using the field MCEX_I_WADAT (Acttual Good Issue Date) from the source system. We are still using the extract 2LIS_11_V_SSL for the same. This field is filled from the Deliveries from the Source System.
    Both the Extracts 2LIS_12_VCHDR, 2LIS_12_VCITM also have Actual Goods Issue (GI) Date and no Actual Delivery Date. Though these come from different fileds in different tables.
    Closing the Post.
    Thanks
    Abhishek

  • Data from one cube is not coming in the multiprovider

    Hi,
    I have two cubes with a common characterstic.
    I created multiprovider above these two cubes. But data is not coming from the cube 2. The values from cube 2 are showing as 0.
    Can anyone help me out in this?

    Hi ,
    Check the following:-
    1 Check whether you have made the joins properly.
    2 Check data at multiprovider level .
    3 is data available for reporting in both the cubes
    Regards
    Rahul

  • Drill Down when data is coming from a query

    Hello experts,
    I have one question regarding the drill down functionality. For sake of simplicity, let's assume we are working on a pie chart.
    i) Data is coming from a query (via the universe).
    ii) The data source is really the query itself, it is not coming from the excel sheet. In other words, the query is not first copied to the excel sheet and then fed to the pie chart. Pie chart directly uses the query binding.
    ii) When a slice in the pie is clicked, I want to copy that slice's information into a cell (basically the drill-down functionality).
    I wasn't able to achieve this functionality.  I think the problem is the 'source data' field in the 'insertion' tab. I select 'Row' as my insertion type and I also select a destination. However, when it comes to selecting 'source data' I have nowhere to point to since my source data is the query (query binding is not an option here). So, since I have no real source data, I cannot drill down and copy the values to the destination cell.
    The workaround is to copy the query data into excel first, but I don't that is an elegant solution. Is there any other way to achieve this?
    Regards,
    Guven.

    Hello David,
    You confirm that mapping the whole column would be an option, right?
    Here is why I asked this question: Let's assume I have a dashboard that displays the types of encounters in a hospital. Some examples of encounter types are: emergency, elective, newborn, etc... Currently, in the database, there is data for these 3 types. So, the dashboard contains a pie chart and each slice corresponds to the number of visits by patients for this encounter type (e.g. 450 emergency encounters, 9900 elective encounters and 32 newborn encounters).
    Tomorrow, a new encounter type could take place in the hospital and this of course has to be reflected in the dashboard. If I make the assumption that there are only 3 encounter types, then the dasboard would be missing information. So, in this case, should I be mapping the whole column to the pie chart?
    Regards,
    Guven.

  • Data not coming from DOE to Mobile After defining Rule for device attribute

    Hi All,
    I have created a DO and rule for it.In case of Bulk Rule for all definition when i triggere extract from Portal then all the data comes to outbound queue but when i define rule for Device attribute then no data comes to my Outboun queue.Here is the scenario what i am doing :
    1. I have order header in my backend which has a field named "Work_Center" and this will be criteria field.
    2. In CDS table i have all the records for all the work center.
    3. Now in RMM under customized , i have added an attribute named "Work_center".
    4. Now i defined a rule with Device attribute mapping and activated the rule.
    5. Now on Portal i assigned this data object and in the device attribute tab i assigned the value(this value exist in CDS table for few orders) of a   Work center to the attribute "Work_Center" .
    6. Then i triggrere extract but its Outbound queue is empty, what could be the reason.
    Is my approach is correct
    Regards,
    Abhishek

    Hi Abhishek,
    You can check one ore thing, after you have performed all the steps till step 5, i.e. just before triggering
    extract. Check if the AT table for ur DO has entries based on the criteria specified by you...
    1. In the workbench click on the Data Object, and then right click and select "View Metadata".
    2. Select Distribution Model tab.
    3. Now select your DO's Association table.
    4. For the input field DEVICE ID specify your corresponing device id,and also for status field specify it 
        as "I"  and execute
    If there are any entries now in the AT table, and on triggering extract if they are not coming to the
    outbound Q there is some EXTRACT Q blocked. And is there were no entries in the AT then the rule
    specified is not  the satifying.
    Thanks,
    Swarna
    Now if you have entries w

  • Few line items are not coming at the time of creation of delivery

    Dear Experts,
    When the user creating the delivery few line items are not picking in the delivery document
    the following checks i verified,
    Stock is available
    shpping condition is differ from sold to party and sales document
    Plants are same for all the line items
    why the few line items are not coming in the delivery document creation,
    please help me to sort out this issue
    Thanks and Best Regards,
    Muralidharan S

    Hi,
    Check below points.
    Point 1:
    When you create a delivery document, you create it for a Shipping Point.
    So whatever the line that came in to one delivery has determined same shipping point that you entered in VL01N screen.
    Others got a different shipping point and that's why it didn't come to the same delivery document.
    Shipping point determined based on below criteria
    - Shipping Condition - From customer master
    - Loading Group - Material
    - Plant  - Delivery Plant of the sales order line item
    You assign a proffered shipping point for above combination in configuration.
    If that combination is not find, those line items are not going in to the delivery.
    You can check the log of the delivery document for more information as well.
    Point 2:
    Check the line item Requested delivery date and the "Selection Date" you entered in the VL01N screen.
    Al  Requested delivery dates has to be on or before the  "Selection Date" you entered in the VL01N screen.
    Those line items which has a date more than that will dropped in the delivery.
    Best regards,
    Anupa

  • Web Analysis report is not coming with the border/logo/heading while print

    Hi All,
    I am using 9.3.1 version of hyperion planning were Web Analysis report is not coming with the border/logo/heading while printing with the option "print all object", Only the data grid is coming in the print. If I use "print screen" it is coming with border/logo/heading but it gives a screenshot of the report, that won't cater out need.
    So please suggest us with a resolution to have border, logo and heading, while using Print all object.
    Thanks with regards....
    Rao

    Hi Sagar,
    In scripts when you will see print preview the logo will be not shown up with clarity.Take the print out of the document and check whether logo is printing up with clarity.
    Thanks
    Phani

  • Credit memo related Data not reflected in  BCT Query

    Hi Experts ,
    If anyone can help me .
    Problem : I have loaded data in 0SD_C03 for sales analysis. Everything is alright and all data except Credit Memo related data are showing . During the selection in query the C/D posting + Doc Categ + Net Value forms the output value for Credit memo but it is not showing . The SD doc categ has credit memo records in VBFA table . Now i don't understand why data related to Credit memo is not retrieved in the query . I am using the standard queries and std BCT objects only .If anyone have come across please share your experience .
    Theba

    Check in your Cube fact table whether you have entries with document category O - for credit memo
    If not, ensure cube has the data and your query do not have any exclusion filter dor document category O. Check in PSA also, if not there your extractor is excluding the credit memo records

  • SLED date not coming automatically

    hi,
    As per my client requirement they will enter the production date only in goods receipt and SLED date have to come automatically at GR time. I already maintain the Total shelf life and minimum remaining shelf life in material master.i activated SLED for plant and movement type but SLED date not coming automatically.
    If i l enter SLED date more than my Total shelf life period , then system automatically updating the total shelf life period in batch master record. how to avoid this issue? i want whatever shelf life entered in GR should have to recorded not system calculated based on master data(Total-shelf life)
    Thanks
    Muthuraman.D

    Dear all,
    i am using internal batch numbers at the time of goods receipt  provide me  some solution for above issue?.....
    Thanks
    Muthuraman.D
    Edited by: muthuraman d on Nov 7, 2011 12:18 AM

  • Employee over manager is not reflecting in the Query

    Hello Gurus
    We have query reg the employee and manager :
    In our Business prrocess   when we run the report we will come to know the Employee and the reporting manager.
    In our case  manager is not in the position or left  the next level manager is not  coming  in the picture /report. for this we need how to go ahead in fixing the issue.
    Is there any std programme for it or else we need to do in the same query.....
    Regards
    Dineesh

    Hi
    Please let me confirm if you want the report to show Manager's Supervisor as Manager when a Managers Position is vacant
    Yes i confirm that if the Manager position is vacant in need the one level up Manager for that Employee
    Also let me know if you are using a standard query or a customised program to get this report.
    I am using the standard Query in Sq02.
    Thanks
    Dinesh

  • IO assigned with Asset,but not coming at the time of PO creation

    Hello
    IO assigned with Asset,but not coming at the time of PO creation.
    I have made following settings:
    1     Depreciation - IFRS (INR)              1     0L
    15     Income Tax Act                             0
    20     Depreciation - Indian GAAP (INR)     3     1L
    30     Depreciation - IFRS (USD)              0
    31     Depreciation - Indian GAAP (USD)       0
    In ACSET-Account assignment:
    for dep area-20
    CAUFN     Internal Order     *     Generic Trans. Type     02 Depreciation Run
    KOSTL     Cost Center     *     Generic Trans. Type     02 Depreciation Run
    so currently i am using only dep area-20 only(Indian GAAP)
    CAPEX budgeting is through IO. AUC is not doing through IO,its directly from AIAB/AIBU
    AS01
    KO01
    AS02
    KO22
    KO30
    so what is the problem,why i am not getting IO (which is in display mode in PO) when assigned the Asset with category of "A" (asset) in PO.......when i assigned Asset- the GL account come automatically but IO didn't come.
    kind regards

    Hey Ajay
    thanks for your reply.....
    now i'm getting new error:
    Parallel depreciation area 31 is not posted
         Message no. AA565
    Diagnosis
         The asset to be posted does not manage parallel depreciation area 31, or
         transaction type  that you are using is limited to certain depreciation
         areas, and does not contain depreciation area 31. This is incorrect.
    System Response
         Posting is rejected.
    Procedure
         Check the asset and the transaction type.
    I have checked some configuration but not able to debug it.
    regards

  • Problem in the main area of the table not coming on the same page

    Hi Experts,
    I have created a invoice in the table header with descriptions and main area with the values,below main area i have also created a template in smartform for calculation when i have assigned this to a transaction and i goto printpreview my main area and the calculation template are not coming in the same page,and the calculation and the header template goes to next page without main area,even if i decrease the size of main window my problem does not get solved.Is there any way out.
    Please Help
    Regards

    Hi Summet ,
      Just check in the form where your writing the code if theer are any new lines before your calculation template .
    It happens that may be the form you write is unabl;e to accomadate your window size .
    Try this!
    Hope it helps!
    Much Regards ,
    Amuktha .

  • Decimals not seen in the query...

    Hi Guys,
    I have a problem with the query..
    I have loaded a KF with 2 decimal places in the cube.
    But when I run a query created on the cube, the digits after the decimal place are not seen in the query.
    For e.g.  the value of the KF in the cube is 9.85...but in the query, it is seen as 9
    please let me know where do i need to make the changes.
    FYI..the unit of the KF is %. Has this got anything to do with the problem ?
    thanks in advance,
    Punkuj...

    Hi Aby,
    Sorry, i just missed to mention this imp point :
    I had done the operation that you have suggested :
    I am getting the following output :
    In the Cube : 9.85
    in the query ( after the decimal selection) : 9.00
    I hope that clears my problem..
    Thanks..
    Punkuj

  • Amount is not coming into the Invoice for Warranty Order

    Salute All !!
    Amount is not coming into the Invoice for Warranty Order which is Free of Charge.
    This amount is not going to Customers debtor A/C, means there is no any A/C posting for this specific Amount because this is free of charge Sale (Warranty Order).
    This is required by A/C department to put Value in to the Invoice to show so Transporter can carry the material as 0 value material is unable to Transport.
    Please provide solution.
    Rgds
    Srivastav
    +91-9973504950

    Hi,
    Because you are not billing to customer the net amount is zero-
    You can do like bill the component as regular item and give credit note against it.
    or else create seperate billing output type assign this to proforma invoice- print the cost of item  by pulling it in new smart form.
    (this is not very good idea because , customer knows the actual cost of the item)
    Thanks
    Chidambaram

Maybe you are looking for

  • Can multiple version of the same suite coexist on Mac

    Just asking before I commit.... I have CS Design Premium CS3 and the CS4 Master Collection installed on my laptops running Mac OS 10.5.8. Is their any potentials issues If I install the French version CS Design Premium CS4? Does both installation coe

  • Open Item Management status on G/L

    Hi Everyone, One of the GL account is not allowing to change its status to Open Item Management. We tried to convert this, but the process could not be completed because the sum of the transactions did not equal the balance (by 448.69). It appears th

  • Has anyone run into an issue with their hotmail account being hacked on ios 6 ?

    Im noticing that I am getting strange MALIER DEAMON emailsadvising me that my email to whomever could not be sent.I have preiously run into this issue and it turned out my yahoo account had been hacked when I began getting those messages. Has this ha

  • Best way to make animation w/stills for intro?

    Kind of like the template intro movies in the themes, I want to cut up my own photo and have pieces move around and off screen. For example, I want a photo to split in half right up the middle and have each half go off screen in opposite directions.

  • I can't retrieve usm and vacm tables from router cisco 2800. Help please!!

    Hi, I'm doing some tests in a router cisco 2800 using snmp in versions 2c and 3. I configured views and communities for version 2c and user, groups and views for version3; I suppose that the vacm and usm parameters involved in the groups, views are s