Date selection giving wrong sequence of dates in variable output...

hi gurus
While executing a query it is also showing the calendar date as 31.12.9999. Qty & value is also under the same date while there is no such date in cube.
why is it so.
Please help me out..........
Regards
venu...

Hello,
Just search the data in R/3 System for that characteristic.
Later,check whether any routine was written for the 0calday in transformations?
Just try it out with these checks.
Bye,
Chandu.

Similar Messages

  • Wrong sequence of printout's.

    Hi!
    When I print on an SAP printer, the output requests are issued in the wrong sequence, even though the SAP output device in SPAD is defined with the "sequential processing" attribute. This situation appear when I have got more than 400 spool requests. When I put more requests some printout are missing and the sequence is wrong.
    I checked the SAP notes especially Note 412065 - Incorrect output sequence of output requests.
    I check the parameter rspo/global_shm/job_list and It is 1000. That mean I can put on spool queue 1000 requests before it will be full. I put less becouse 400. What is wrong and how can I fix it.
    THX for answer.

    hi,
    the bug u r telling is a functional issue and some thing related to printer configurations. this has nothing to do with our coding .
    correct me if i am wrong.

  • Why Transaction Date Line Earlier Created than Creation Date and Make Wrong Sequence?

    Hi Guys,
    In material transaction record, we have two different item and transaction : First is Move Order Issue and then WIP Completion.
    Both of them have same problem. The problem is in the transaction_date and creation_date. If we see the transaction_date is earlier created than creation_date
    The query data from material transaction order by descending :
    SEGMENT1
    TRANSACTION_QUANTITY
    TRANSACTION_TYPE_NAME
    TRANSACTION_DATE
    CREATION_DATE
    PCG-001-0047
    150
    PO Receipt
    6/10/2014 16:54
    6/10/2014 16:57
    PCG-001-0047
    -30
    Move Order Issue
    6/10/2014 16:26
    6/10/2014 17:00
    SEGMENT1
    TRANSACTION_QUANTITY
    TRANSACTION_TYPE_NAME
    TRANSACTION_DATE
    CREATION_DATE
    BM-200-1
    774.48
    WIP Completion
    27-FEB-2014 23:07:47
    27-FEB-2014 23:08:38
    BM-200-1
    -165.77
    WIP Issue
    27-FEB-2014 23:01:58
    27-FEB-2014 23:09:21
    BM-200-1
    -213.21
    WIP Issue
    27-FEB-2014 14:11:44
    27-FEB-2014 14:12:50
    BM-200-1
    -770.04
    WIP Issue
    27-FEB-2014 06:01:50
    27-FEB-2014 06:06:46
    BM-200-1
    -332.19
    WIP Issue
    27-FEB-2014 05:51:11
    27-FEB-2014 05:51:37
    BM-200-1
    990.86
    WIP Completion
    27-FEB-2014 01:16:54
    27-FEB-2014 01:17:44
    This problem have made each transaction in wrong sequence. The PO Receipt must be created before Move Order Issue and The WIP Completion must be created before WIP Issue.
    And also this wrong place record take effect to costing.
    How can be happened? And any solution to solve and prevent this problem?
    Thank for your attention. Please Reply.
    Regards,
    Contrasena Luz

    HI luz..
    In your case number 1, its look like hapened due to date in form transact move order not automaticaly update.
    but i dont know. why transaction date in form transact move order not automaticaly update if we dont open close that form.
    anyone explain this?
    maybe little tips, you must inform your user to be close that form after he / she doing allocate / transact move order.
    or you can personalize that form.
    hope this help.
    regards,
    the pooh

  • Date format needs to be in selection screen mm/dd/yyyy but in alv output ..

    hi
    i need help on displaying date in alv output
    date format needs to be in selection screen mm/dd/yyyy but in alv output ..it should be displayed as yyyymmdd
    regards
    Nishant

    hi,
    you are passing the value to ALv using an internal table.
    so store the format  YYYYMMDD date in the internal table and pass it to ALV.
    use the below FM
    DD/MM/YYYY -> YYYYMMDD
    <b>CONVERSION_EXIT_PDATE_INPUT</b>
    rgds
    Anver

  • Creation/modification dates text variable wrong

    I have a document where i wish to use the creation date amd modification date text variables.  However when htey are inserted into the document the date is wrong. My Local Date Time on the pc is correct.
    Has anyone else experienced this issue? I am running ID CS4 if that helps.
    Thanks for any help in advance.

    Well I created the document yesterday. 18/10/2012 and it brings up a creation date of 27/02/12.
    But creating another new doucment it shows correctly.
    So all i can assume is that there may have been another file created on that date with the same name and it is taking that date even though this is a new document
    Message was edited by: ScruffyG

  • Geting select options data into variable

    hey ,
    when i get the value of select options i have to use a variable with type any
    and to assign it to field symbol type table.
    DATA: NODE_FLIGHTS TYPE REF TO IF_WD_CONTEXT_NODE.
      DATA: RT_CARRID TYPE REF TO DATA.
      FIELD-SYMBOLS: <FS_CARRID> TYPE TABLE
    .* Retrieve the data from the select option
      RT_CARRID = WD_THIS->M_HANDLER->GET_RANGE_TABLE_OF_SEL_FIELD( I_ID = 'S_WEIGHT).
    Assign it to a field symbol
      ASSIGN RT_CARRID->* TO <FS_CARRID>.
    how can i pass RT_CARRID or <FS_CARRID> to a varible with type vbap-netgrw ( net weight ) ?
    thanks
    ASA

    posted in other forum

  • Query giving wrong values in portal but correct through RSRT

    Hi,
    Users are running a query through portal which is giving wrong figures. But when we are running the query through RSRT it is showing correct values. The quesry is built on top of an InfoCube which is regularly updated and data in it is matching with R/3.
    This is an Inventory Valuation Query.
    Please suggest what could be the possible issue.
    BR,
    Sayan

    Hi,
    Make sure cache is deleted for the particular query. While the report is executed through portal it refers the cache and if the data in the backend is not changed then the cache for a particular query selection is active and referred each time the query is run.
    on other hand while running RSRT we have an option of not using cache and thus it refers the infoprovider and fetches the correct result. In this case cache could be invalid.
    Try deleting the cache.
    Regards,
    Amit

  • Date Difference between to date formula variable

    Hi Expert,
                    I have create two formula variable one for Document Date and another one for Goods reciept date
    and through formula variable I am subtracting these two formula variable and getting the no. of days between
    document date and GR date.
    This Shows me the correct value for one document date because i am filtering my query according to document
    date,
    while i am giving the date range for document date is shows me incorrect result. bucause document date formula
    variable contains only one date.
    Eg. i am giving the document date range like 01.02.2010 - 28.02.2010.
          In document date formula variable it contains only 01.02..2010 and GR date formula variable it contain correct
    value, thats why the date difference is incorrect because those PO which has PO date like 12.02.2010 for that Doc
    formula variable bring the same date like 01.02.2010.
    Please tell me the solution
    Thanks and Regards
    Lalit Kumar

    Hi Expert,
                     Actually i have created two formula variable on for PO date and another for GR date
    and i've restrict the query through PO date.
    while i am taking the single PO date in Selection parameter it showing me correct difference
    eg: Selection Parameter for PO: 01.01.2010
    But while i am taking the date interval for PO date
    eg: 01.01.2010-30.01.2010
    PO No: XXXXX123 , Doc date: 01.01.2010 GR date: 7.01.2010 then date difference is : 6
    PO No: XXXXX432, Doc date: 03.01.2010 GR date: 8.01.2010 then date difference is : 7 but it is 5
    Thanks and Regards
    Lalit Kumar

  • ODI: Using Date in Variable - Suggestion

    Hi,
    I have created a refresh variable - DAY with following code:
    Select TO_CHAR(sysdate,'MM/DD/YYYY') from dual
    Variable datatype - Alphanumeric
    Now I am using the siame variable as evaluate variable in a package.
    The Evaluation condition is also the same - Select TO_CHAR(sysdate,'MM/DD/YYYY') from dual
    However, the ODI is not evaluating the condition properly and always returns false.
    Any guidelines where i am going wrong.

    Hi
    Please try below select query in both refresh and evaluate variables, for date variable hope you provided Logical Schema in date variable
    SELECT '<%=odiRef.getSysDate( )%>' FROM dual
    In Refresh variable:
    pass above select query
    place same variable in pkg with variable type Evaluate
    In Evaluate variable:
    by default above select query will available in Refreshing tab and in Evaluate variable property give Operator as = and Value as above select query.
    This will work
    Regards,
    Phanikanth

  • Function modules invoked in wrong sequence  bapi_po_create

    trying to use bapi_po_create in se37
    enter purch org     vendor   doc type    purch group 
    when test get the following
    function modules invoked in wrong sequence
    what does that mean?
    how an i create

    Not sure, but  I do think you need more information than that.  Here is an example program calling the BAPI.
    report zrich_0001.
    constants : c_x value 'X'.
    data: del_date type sy-datum.
    data: pohead  type bapimepoheader.
    data: poheadx type bapimepoheaderx.
    data: exp_head type bapimepoheader.
    data: return  type table of bapiret2 with header line.
    data: poitem  type table of bapimepoitem with header line.
    data: poitemx type table of bapimepoitemx with header line.
    data: posched  type table of bapimeposchedule with header line.
    data: poschedx type table of bapimeposchedulx with header line.
    data: ex_po_number type bapimepoheader-po_number.
    parameters: p_matnr type ekpo-matnr.
    parameters: p_werks type ekpo-werks.
    parameters: p_lgort type ekpo-lgort.
    parameters: p_menge type ekpo-menge.
    parameters: p_lifnr type ekko-lifnr.
    parameters: p_ekorg type ekko-ekorg.
    parameters: p_ekgrp type ekko-ekgrp.
    parameters: p_bukrs type ekko-bukrs.
    * Header Level Data
    pohead-comp_code = p_bukrs.
    pohead-doc_type   = 'NB'     .
    pohead-creat_date = sy-datum   .
    pohead-vendor = p_lifnr.
    pohead-purch_org = p_ekorg.
    pohead-pur_group = p_ekgrp.
    pohead-langu      = sy-langu   .
    pohead-doc_date   = sy-datum.
    poheadx-comp_code  = c_x.
    poheadx-doc_type   = c_x.
    poheadx-creat_date = c_x.
    poheadx-vendor     = c_x.
    poheadx-langu      = c_x.
    poheadx-purch_org  = c_x.
    poheadx-pur_group  = c_x.
    poheadx-doc_date   = c_x.
    * Item Level Data
    poitem-po_item  = 1.
    poitem-material = p_matnr.
    poitem-plant    = p_werks.
    poitem-stge_loc = p_lgort.
    poitem-quantity = p_menge.
    append poitem.
    poitemx-po_item    = 1.
    poitemx-po_itemx   = c_x.
    poitemx-material   = c_x.
    poitemx-plant      = c_x .
    poitemx-stge_loc   = c_x .
    poitemx-quantity   = c_x .
    poitemx-tax_code   = c_x .
    poitemx-item_cat   = c_x .
    poitemx-acctasscat = c_x .
    append poitemx.
    * Schedule Line Level Data
    posched-po_item        = 1.
    posched-sched_line     = 1.
    posched-del_datcat_ext = 'D'.
    del_date = sy-datum + 1.
    write del_date to posched-delivery_date.
    posched-deliv_time     = '000001'.
    posched-quantity       = p_menge.
    append posched.
    poschedx-po_item        = 1.
    poschedx-sched_line     = 1.
    poschedx-po_itemx       = c_x.
    poschedx-sched_linex    = c_x.
    poschedx-del_datcat_ext = c_x.
    poschedx-delivery_date  = c_x.
    poschedx-quantity       = c_x.
    append poschedx.
    call function 'BAPI_PO_CREATE1'
         exporting
              poheader         = pohead
              poheaderx        = poheadx
              testrun          = ' '
         importing
              exppurchaseorder = ex_po_number
              expheader        = exp_head
         tables
              return           = return
              poitem           = poitem
              poitemx          = poitemx
              poschedule       = posched
              poschedulex      = poschedx.
    call function 'BAPI_TRANSACTION_COMMIT'
         exporting
              wait = 'X'.
    if not ex_po_number is initial.
      call function 'DEQUEUE_ALL'.
    else.
      call function 'DEQUEUE_ALL'.
    *  message i036.
    endif.
    Regards,
    RIch Heilman

  • Date formula variable with replacement path.

    Hi ,
    I have date formula variable with replacement path.
    Variable pop up with date format yyyymmdd. but i want dd.mm.yyyy.
    I have checked my user profile setting and it is dd.mm.yyyy.
    Can u please suggest it .
    Thanks
    Pramod

    Thanks for the rely , but basically i need a variable only for selection.
    thats why i have created formula variable processing my cutomer exit.
    But i think customre exit variable comes with text format .
    any1 has an idea for the same.
    Thanks
    Babu

  • User Report data bind variable problems

    Hello,
    I am trying to build a simple report in SQLDeveloper, using a DATE bind variable. But it fails with the error message:
    Inconsistent datatype, expected DATE got NUMBER
    SELECT * FROM FLOW_COMP_REC_SUMMARY_RU
    where create_date = trunc(:TARGET_DATE)
    and type = 'D'
    ORDER BY MESSAGE_FLOW_ID
    Running this query in SQLDeveloper worksheet executes properly after a dialog box pops up and I enter: current_date - 1
    SELECT * FROM FLOW_COMP_REC_SUMMARY_RU
    where create_date = trunc(&TARGET_DATE)
    and type = 'D'
    ORDER BY MESSAGE_FLOW_ID
    I've searched but no clear solutions present themselves. If you have one it would be most appreciated.
    Thanks

    You'll have to convert the input to date yourself:
    SELECT * FROM FLOW_COMP_REC_SUMMARY_RU
    where create_date = TO_DATE(:TARGET_DATE, 'DD/MM/YYYY')
    and type = 'D'
    ORDER BY MESSAGE_FLOW_ID
    Have fun,
    K.

  • How to use the date repository variable in filter expression

    Hi Gurus
    I am getting error in using the date repository variable in Filter expression. I am using the below formula
    filter( Fact.calls USING  "Dim Time"."Fiscal Month End Date" = VALUEOF("month_start") )
    I am getting below error
    Formula syntax is invalid.
    [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 22024] A comparison is being carried out between non-compatible types. (HY000)
    SQL Issued: SELECT filter( fact.Calls using "Dim Time"."Fiscal Month End Date" =VALUEOF("month_start")) FROM "Call Data"
    Then i tryed the below format i am getting still the error
    filter( Fact.calls USING  "Dim Time"."Fiscal Month End Date" = DATE'(VALUEOF("month_start"))' )
    Formula syntax is invalid.
    [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 46047] Datetime value (VALUEOF("month_start")) from (VALUEOF("month_start")) does not match the specified format. (HY000)
    SQL Issued: SELECT filter( Fact.Calls using "Dim Time"."Fiscal Month End Date" =DATE'(VALUEOF("month_start"))') FROM "Call Data"
    Please let me know what i am missing or what is the correct syntax for fitler using the date repository variable.
    Thanks in advance
    Regards
    @li

    Hi @li,
    Syntax-1 is fine it will work,What kind of Variable is it?
    Static or Dynamic
    Thanks,

  • Date formula variable in BEx output

    Dear All,
    In Bex , I made a formula variable F_CURDATE and used it in formula. I fill it with current date
    l_s_range-low = sy-datum.
    My value in BEx comes 201,40,604. This is 04 Jun 2014.
    Why isn't it coming in date format. I then, used data function [date]'process value as date. The output shows value X.
    How can I show  date in date format in BEx?
    Regards,
    cleo

    Hi Cleo,
    The bit l_s_range-low = sy-datum must be coming from the customer exit code, right?
    And should this code not be used for populating a cust exit variable? How do you populate sy-datum to a formula variable in the query? Pls correct me if i m missing something in your question.
    However if it is a formula variable on 0CALDAY, there are standard SAP variables giving current date.
    Can you not use them in your query as per your requirement?
    Regards,
    Srilakshmi B

  • Formula variable - Maximum Date in result output

    Hello Guys,
    Scenario -
    Data in Cube
    *Reseller      Sales Date*
    RS1          01.01.2010
    RS1          01.01.2011
    RS1          01.01.2012
    RS2          01.01.2008
    RS2          01.01.2009
    RS2          01.01.2010
    Required Output - Display one record for each Reseller with recent Date.
    *Reseller      Sales Date*
    RS1          01.01.2012
    RS2          01.01.2010
    What I did till now --->
    Created a Formula and included a Formula Variable (replacement Path ref char - Sales Date) hence I got the date as keyfigure.
    Reseller      Sales Date     Sales Date Formula
    *RS1          01.01.2010     201,00,101*
    *RS1          01.01.2011     201,10,101*
    *RS1          01.01.2012     201,20,101*
    *RS2          01.01.2008     200,80,101*
    *RS2          01.01.2009     200,90,101*
    *RS2          01.01.2010     201,00,101*
    For the Sales Date Formula (Calculation tab - Calculate result as Maximum) to display the result as maximum.
    The issue is that when I remove the Sales Date from Drilldown the Sales Date Formula display X. I was expecting the result row to be displayed i.e  the maximum value for RS1 and RS2.
    Can you guide where I am going wrong... or any other method to achieve the above output is appreciated.
    -Amit

    Hi,
    Through replacement path you can achieve this.
    On row side put *Reseller.
    on Column side create a formula(and  on Aggregation Tab: Exception Aggregation: Last Value, Reference Characteristics: Sales Date)
    and there create formula variable and use replacement path.
    Details
    Type of variable: Formula
    Processing By: Replacement Path
    Reference Characteristics: Sales Date
    Replace variable with: InfoObject
    Replace With: Key
    Dimension: Date

Maybe you are looking for

  • Problem with validateRegExp (problem with IE and chrome but works for firefox)

    Hi everyone, I have a simple af:inputText with an af:validateRegExp in it with pattern "([^$%# ]+([ ]*[^$%# ]+)*)$". Now when I enter a very big value in this inputText and finally add a space to it, it gives a proper validation exception in Mozilla

  • Photos app won't consolidate

    I choose to consolidate photos from the file menu.  I let it chug along over night, it claimed to be complete, however I'm finding not all photos actually moved.  The consolidate option is now grayed out, but the photos are split between my Photos Li

  • Startup error in ebs 11i

    Dear all,               we have scheduled a script to start and stop the oracle applications for taking backup.yesterday the application services shutdown propely on the scheduled time but failed to start and gave  the error shown below: xapplstart.s

  • Setting A Font Size

    I have set the font to size 10, however, every time I enter the default size 14 takes over. Any solution?

  • Validation documentation

    Dear Expert Consultants,                                     Please let me know the validation means,and how it works, if u have the documentation of that, please let me know full configuration steps. In Advance thanks, Cheers, Chinni