All po's released in a given date range:EXIT M06E0004,logic?

Hai,
  After lot of browsing in the forum,I came to the conclusion that to capture ALL RELEASED PO in a date range one ahs to use
CDHDR/CDPOS or implement EXIT and populate ZTABLE.
Now i have seen the exit M06E0004 triggers upon lot of actions(change PO / release PO etc)..
Now how should I develop a Logic so as to  identify if the user action was to RELEASE the PO when the exit is triggered..
I can see that the values of RELEASE in table EKKO dont change while in the exit,though the user RELEASES the PO.

Whether the specified fields are available in the Structure "CEKKO"?  Standard Structure of CEKKO doesn't have these fields.
If the structure having these fields, CEKKO-FRGZU holds the status of Release during this enhancement.
Regards
Vinod
Edited by: Vinod Kumar on Apr 29, 2010 4:05 PM

Similar Messages

  • All po's released in a given date range

    Hai guys,
      I am looking for a table where i can find all PO's which are released by date as selection.
    if us see fields FRGZU  in ekko, it is set to blank if the PO is released,but it doenst change any DATES ..
    I cannot go for CDHDR and CDPOS as they are performing very bad.
    alternatively what are the options with EXITs?

    Whether the specified fields are available in the Structure "CEKKO"?  Standard Structure of CEKKO doesn't have these fields.
    If the structure having these fields, CEKKO-FRGZU holds the status of Release during this enhancement.
    Regards
    Vinod
    Edited by: Vinod Kumar on Apr 29, 2010 4:05 PM

  • Get table partition name dynamically for given date range

    Dear All,
    Could you please tell me how to get the partition name dynamicaly for given date range ?
    Thank you.

    SQL> select table_name,
           partition_name,
           to_date (
              trim (
                 '''' from regexp_substr (
                              extractvalue (
                                 dbms_xmlgen.
                                 getxmltype (
                                    'select high_value from all_tab_partitions where table_name='''
                                    || table_name
                                    || ''' and table_owner = '''
                                    || table_owner
                                    || ''' and partition_name = '''
                                    || partition_name
                                    || ''''),
                                 '//text()'),
              'syyyy-mm-dd hh24:mi:ss')
              high_value_in_date_format
      from all_tab_partitions
    where table_name = 'SALES' and table_owner = 'SH'
    TABLE_NAME                     PARTITION_NAME                 HIGH_VALUE_IN_DATE_FORMAT
    SALES                          SALES_1995                     01-JAN-96               
    SALES                          SALES_1996                     01-JAN-97               
    SALES                          SALES_H1_1997                  01-JUL-97               
    SALES                          SALES_H2_1997                  01-JAN-98               
    SALES                          SALES_Q1_1998                  01-APR-98               
    SALES                          SALES_Q2_1998                  01-JUL-98               
    SALES                          SALES_Q3_1998                  01-OKT-98               
    SALES                          SALES_Q4_1998                  01-JAN-99               
    SALES                          SALES_Q1_1999                  01-APR-99               
    SALES                          SALES_Q2_1999                  01-JUL-99               
    SALES                          SALES_Q3_1999                  01-OKT-99               
    SALES                          SALES_Q4_1999                  01-JAN-00               
    SALES                          SALES_Q1_2000                  01-APR-00               
    SALES                          SALES_Q2_2000                  01-JUL-00               
    SALES                          SALES_Q3_2000                  01-OKT-00               
    SALES                          SALES_Q4_2000                  01-JAN-01               
    SALES                          SALES_Q1_2001                  01-APR-01               
    SALES                          SALES_Q2_2001                  01-JUL-01               
    SALES                          SALES_Q3_2001                  01-OKT-01               
    SALES                          SALES_Q4_2001                  01-JAN-02               
    SALES                          SALES_Q1_2002                  01-APR-02               
    SALES                          SALES_Q2_2002                  01-JUL-02               
    SALES                          SALES_Q3_2002                  01-OKT-02               
    SALES                          SALES_Q4_2002                  01-JAN-03               
    SALES                          SALES_Q1_2003                  01-APR-03               
    SALES                          SALES_Q2_2003                  01-JUL-03               
    SALES                          SALES_Q3_2003                  01-OKT-03               
    SALES                          SALES_Q4_2003                  01-JAN-04               
    28 rows selected.

  • To find quarters in given date ranges

    Hi All,
    I need help on this..
    I need to display the quarter dates in a given date ranges.i.e the start date is 06-nov-2008 and the last date is 12-dec-2009.

    Hi,
    Something like:
    WITH  d  AS
        SELECT  TRUNC (TO_DATE (:from_dt_var, 'DD-mon-YYYY'), 'Q') AS from_dt
        ,       TRUNC (TO_DATE (:to_dt_var,   'DD-mon-YYYY'), 'Q')  AS to_dt
        FROM    dual
    SELECT  ADD_MONTHS (from_dt, 3 * (LEVEL - 1))  AS dt
    FROM    d
    CONNECT BY  LEVEL <= 1 + (MONTHS_BETWEEN (to_dt, from_dt) / 3);where :from_ and :to_dt_var are strings like '06-nov-2008'.
    Edited by: Frank Kulash on Nov 6, 2008 9:52 AM
    Added 1 to CONNECT BY condition.

  • How to calculate a week & Month in given date range (not for sele-options)

    Hi ,
      I have defined 2 date parameters in sel-screen (Plz remember that date variable are not a SELECT-OPTIONS).  Now i want ot display week nos & monts in output.
          Ex: date1: 20080101 & date2: 20080229. then
                    weeks : 1, 2, 3,---9.
                    months: jan-08, feb-08.
    Plz help me with block of code or any FM.
    Regards,

    Hi Srikanth,
            The FM HR_99S_INTERVAL_BETWEEN_DATES   is doesn't existing, but there is a fm HR_MX_INTERVAL_BETWEEN_DATES but it returns no of Years & Days.
           But i found some FM which r returns no of months for given date range. but my requirement is, want to display the month no bw 1 to 12. (ex: dat1=15-03-2008 & dat2= 01-06-2008 then in month fields 03,04,05 & 06. ).
    Plz help me on this.
    -Regards.

  • SD pricing extract for given date range

    Hi,
    Is any one knows any FM where you can able to extract pricing for given date range.
    FM Pricing works for one date. I don't want to loop at this
    FM for the given date rage. It takes very long time.
    Thanks for any suggestion.
    Kind Regards
    Nir

    Hi,
    Is any one knows any FM where you can able to extract pricing for given date range.
    FM Pricing works for one date. I don't want to loop at this
    FM for the given date rage. It takes very long time.
    Thanks for any suggestion.
    Kind Regards
    Nir

  • Name of users of a particular Tcode for a given date range

    Hi experts,
    I am making an alv where inputs will be
    1> T_code(as parameter)
    2> Date Range(as Select options)
    I have to display the following fields:::
    1> User name
    2> Frequency of use the Tcode for the given Date range.
    Please give me the tables where I can get the relation of those fields.
    N.B. I know the transaction AL08 and SM04.But it won't solve my purpose.
    Thanx in advance,
    Sourav

    >
    SOURAV PAUL wrote:
    > Hi experts,
    > I am making an alv where inputs will be
    > 1> T_code(as parameter)
    > 2> Date Range(as Select options)
    by creating the report As per your this requirement you need not to create any Bulk on your SAP.Just use STAD/STAT transaction they are availabe for this purpose.
    and more you may track by security log audit by SM20 get these details.
    i'm worried about tables which sre storing these details.

  • Price change report for  a given date range in inforecords

    hi,
    Can any body suggest how we can get price changes in inforecords for given date range. is there any standard sap tcode or  fuction module.

    Hi,
    If you are referring to the changes in the condition record (for eg. for PR00), then you may go through the foll path:
    Execute VK13 for any condition type - once inside the detail screen, from the menu path, choose Environment -> Changes -> change report. This will take you to a new selection screen where you can define the period you want to see the change record as well as the condition type for which you want to track the changes. Beware, this is a complex report for SAP and it will take definitely longer time to complete. So, it is better to specify short time periods and specific condition types and execute this in background.
    Hope, this helps!
    S. Siva

  • Working hours of an employee between a given date range

    Hi Everyone,
    how to calculate working hours of an employee between a given date range
    Please anyone qive me some idea..
    Thanks in advance

    Hi Lathessh,
    Thanks for the reply here is the sample data. Actually we have two datetime field and i want to calculate the Ageing of an employee , by excluding of sunday and holiday between startdate and endDate.
    Ageing should be in hours.   Thanks
    StartDateTime
    EndDateTime
    HolidayList
    2/24/2014 11:55
    3/1/2014 16:45
    1/1/13 0:00
    2/24/2014 12:08
    2/28/2014 12:55
    1/14/13 0:00
    2/24/2014 16:16
    2/28/2014 15:20
    1/25/13 0:00
    2/14/2014 12:56
    3/4/2014 16:20
    3/27/13 0:00
    2/14/2014 12:56
    3/4/2014 16:20
    3/29/13 0:00
    2/14/2014 12:56
    3/4/2014 16:20
    4/24/13 0:00
    2/14/2014 12:56
    3/4/2014 16:20
    5/1/13 0:00
    2/26/2014 13:53
    3/4/2014 16:20
    8/9/13 0:00
    2/27/2014 12:13
    3/5/2014 13:05
    8/15/13 0:00
    3/3/2014 14:42
    3/5/2014 17:05
    8/20/13 0:00
    3/3/2014 14:42
    3/5/2014 17:05
    8/28/13 0:00
    3/3/2014 14:42
    3/5/2014 17:05
    9/18/13 0:00
    3/6/2014 12:28
    3/6/2014 17:55
    10/2/13 0:00
    3/6/2014 12:59
    3/7/2014 13:55
    10/16/13 0:00
    3/6/2014 14:37
    3/7/2014 11:15
    11/5/13 0:00
    3/6/2014 14:57
    3/7/2014 12:10
    11/15/13 0:00
    3/4/2014 17:21
    3/10/2014 15:55
    12/4/13 0:00
    3/4/2014 17:21
    3/10/2014 15:55
    12/25/13 0:00
    3/6/2014 12:08
    3/10/2014 14:10
    12/31/13 0:00
    3/6/2014 13:31
    3/10/2014 13:05
    1/1/14 0:00
    3/6/2014 13:14
    3/11/2014 13:20
    1/14/14 0:00
    3/6/2014 13:14
    3/11/2014 13:20
    3/17/14 0:00
    3/11/2014 14:29
    3/13/2014 11:20
    4/8/14 0:00
    3/11/2014 14:29
    3/13/2014 11:20
    4/14/14 0:00
    3/12/2014 12:56
    3/13/2014 11:45
    4/18/14 0:00
    3/12/2014 12:56
    3/13/2014 11:45
    5/1/14 0:00
    3/12/2014 14:02
    3/12/2014 18:10
    7/29/14 0:00
    3/12/2014 14:22
    3/12/2014 18:05
    8/15/14 0:00
    2/24/2014 16:49
    3/14/2014 12:10
    8/18/14 0:00
    2/24/2014 16:49
    3/14/2014 12:10
    8/29/14 0:00
    2/24/2014 16:49
    3/14/2014 12:10
    10/2/14 0:00
    2/24/2014 16:49
    3/14/2014 12:10
    10/3/14 0:00
    3/12/2014 11:31
    3/14/2014 15:55
    10/6/14 0:00
    3/12/2014 13:31
    3/15/2014 12:20
    10/23/14 0:00
    3/12/2014 15:31
    3/15/2014 11:10
    10/24/14 0:00
    3/12/2014 15:49
    3/14/2014 13:55
    12/25/14 0:00
    3/12/2014 16:19
    3/14/2014 15:05
    12/31/14 0:00

  • Any FM to get count of each week day for the given date range

    Hi guys,
    Any FM to get count of each week day for the given date range?
    eg: If i give 14/07/2008 to 14/08/2008
    I need to find how many Mondays, tuesdays...sundays in this given date range.
    If not single FM is available, any logic that gives above result is also appreciated.
    Thanks,
    Vinod.

    hi Vinod,
    this is not a full solution, I just give you a basic idea:
    DATA : lv_start TYPE sy-datum VALUE '20080714',
           lv_end   TYPE sy-datum VALUE '20080814'.
    WHILE lv_start LE lv_end.
      CALL FUNCTION 'FTR_DAY_GET_TEXT'
        EXPORTING
          pi_date = lv_start.
    * IMPORTING
    *   PE_DAY_TEXT1       =
    *   PE_DAY_TEXT2       =
    *   PE_DAY             =
    * you have to summarize the output here somehow...
      lv_start = lv_start + 1.
    ENDWHILE.
    hope this helps
    ec

  • Identify all Quarters associated with a Given Date Range

    Hi,
    I am trying to create a Crystal Report that shows all Quarters data for a give date range. For E.g. the user defined date range is 02/20/2013 - 01/15/2014, the report should include the data for Q1-2013 till Q1-2014. Is there a simpler way to achieve this functionality.
    I will really appreciate your help/guidance on this.
    Regards,
    acb

    Hi Chandra,
    Do you have a Date Range prompt or two separate prompts for Start Date and End Date? If it's a Date Range prompt, use this as the Record Selection Formula:
    datevar start := Minimum({?Date_Range_Prompt});
    datevar end := Maximum({?Date_Range_Prompt});
    {Date_Field_in_Database} >=
         If start in Calendar1stQtr then
             Minimum(Calendar1stQtr)
         else if start in Calendar2ndQtr then
             Minimum(Calendar2ndQtr)
         else if start in Calendar3rdQtr then
             Minimum(Calendar3rdQtr)
         else if start in Calendar4thQtr then
             Minimum(Calendar4thQtr)
    AND
    {Date_Field_in_Database} <=
         If end in Calendar1stQtr then
             Maximum(Calendar1stQtr)
         else if end in Calendar2ndQtr then
             Maximum(Calendar2ndQtr)
         else if end in Calendar3rdQtr then
             Maximum(Calendar3rdQtr)
         else if end in Calendar4thQtr then
             Maximum(Calendar4thQtr)
    -Abhilash

  • How to get XLR to show BPs with no transaction data for a given date range

    Hi -
    I am building an XLR report that does a comparison of net sales data across two periods for a given sales employee's BPs.
    The report has the row expansion:
    FACT BPA(*) SLP(SlpName = "ASalesPersonNameHere") ARDT(Code = "ARCreditMemo", "Invoice") Group by BPA.CardName
    and column expansions:
    FIG(SO_TaxDate = @StartDate:@EndDate)
    and
    FIG(SO_TaxDate = @StartDate2:@EndDate2)
    where @StartDate, @EndDate, @StartDate2, @EndDate2 are parameters that define the two ranges of dates.
    The column formulas are, from left to right:
    =ixDimGet("BPA", "CardName")
    =ixGet("SO_DocTotal")      <-- filtered by column expansion for first date range
    =ixGet("SO_DocTotal")      <-- filtered by column expansion for second date range
    The report works fine except for one problem, I would like it to include BPs for which no transaction occurred in either date range as well.
    Any help is greatly appreciated!
    Thanks,
    Lang Riley

    Really appreciate your feedback!  Those are good suggestions. I should have mentioned that I had already tried both those suggestions.
    Removing FACT on BPA in this case ends up returning all the BPs and not respecting the SLP(SlpName = "aName") part of the query. 
    Using **, i.e., * or #NULL, makes no change in the resulting data in this case.  I had thought that ** would be the solution, but it didn't change the outcome.  I still have BPs for which when their sales employee is used as the filter and they have no transactions for either date range, and yet they still do not appear. 
    I should further mention that the IXL query, as it now stands, does return BPs for which one of the periods has no data, just not both, and I have verified that applicable BPs with no transaction data for both periods do exist in my data set.  It seems that perhaps the IXL query needs to be restructured?  Please keep the suggestions coming including how this query might be restructured if necessary.

  • Number of Vendor in the given date range

    Hi All,
    I have a requirement like I need to calculate Total Number of Vendors in a given Date in Report Level. Could anyone please let me know how to do this?
    Thanks in advance.
    with Regards,
    Mahi.S

    Hi Al,
    Thanks for the prompt answer.
    I tried creating a Calculated Key Figure and given Vendor as Characteristic. When I run the report I can see Count 1 for all the Vendors. But the user wants to see total number of records. FYR, please have a look at the below sample data.
    Vendor     Vendor Account Group     Company Code     Created on     Plant     Total number of Vendors
    2     ZINT     0101     07/2/1998     #     1
    3     ZINT     0101     07/2/1998     #     1
    4     ZINT     0101     07/2/1998     #     1
    5     ZINT     0101     07/2/1998     #     1
    7     ZINT     0101     10/27/1998     #     1
    12     ZINT     0101     05/6/1999     #     1
    14     ZINT     0101     05/6/1999     #     1
    17     ZINT     0101     06/7/1999     #     1
    18     ZINT     0101     06/7/1999     #     1
    19     ZINT     0101     06/7/1999     #     1
    20     ZINT     0101     06/7/1999     #     1
    22     ZINT     0101     08/26/1999     #     1
    27     ZINT     0101     09/28/1999     #     1
    28     ZINT     0101     09/28/1999     #     1
    29     ZINT     0101     09/28/1999     #     1
    30     ZINT     0101     09/28/1999     #     1
    31     ZINT     0101     09/28/1999     #     1
    32     ZINT     0101     09/28/1999     #     1
    33     ZINT     0101     09/29/1999     #     1
    42     ZINT     0101     10/1/1999     #     1
    52     ZINT     0101     10/22/1999     #     1
    53     ZINT     0101     11/16/1999     #     1
    54     ZINT     0101     11/16/1999     #     1
    57     ZINT     0101     02/1/2000     #     1
    62     ZINT     0101     04/25/2000     #     1
    63     ZINT     0101     04/25/2000     #     1
    67     ZINT     0101     05/30/2000     #     1
    72     ZINT     0101     07/6/2000     #     1
    82     ZINT     0101     09/21/2000     #     1
    Thanks & Regards,
    Mahi.S
    Edited by: SRI on Dec 20, 2011 7:57 AM

  • To get monday dates in a given date range

    Hi,
    when a give a date range from Apr 1 to Apr 30 , the query should return all the monday dates from Apr 1 to Apr 30
    I.e
    Apr 4
    Apr 11
    Apr 18
    Apr 25
    Please suggest me how to achieve this.

    Here's one way...
    SQL> ed
    Wrote file afiedt.buf
      1  with t as (select date '2011-04-01' as start_date, date '2011-04-30' end_date from dual)
      2  --
      3  -- end of test data
      4  --
      5  select dt
      6  from (
      7        select start_date+rownum-1 dt
      8        from t
      9        connect by rownum <= (end_date-start_date)+1
    10       )
    11* where to_char(dt,'fmDay') = 'Monday'
    SQL> /
    DT
    04-APR-2011 00:00:00
    11-APR-2011 00:00:00
    18-APR-2011 00:00:00
    25-APR-2011 00:00:00
    SQL>

  • Fetching information within the given date range

    Hello All,
    PLease can u help me in solving this : --
    I need to fetch those employees who will complete 18 yrs within the date range specified.
    For example, if date1 = 10/21/2008 and date2 = 11/03/2008
    then i need to display information of all those employees whose birthday fall within the date range along with the date.
    Thanks in advance !

    Hi,
    16:58:25 b1>desc test1
    Name                                      Null?    Type
    AGE                                                NUMBER
    BDATE                                              DATE
    16:58:36 b1>SELECT * FROM test1
    16:58:47   2  ;
           AGE BDATE
            18 23-OCT-08
            17 23-NOV-08
    16:58:48 b1>SELECT *
    16:58:55   2  FROM test1
    16:58:55   3  WHERE  Bdate BETWEEN  TO_DATE('21/10/2008','DD/MM/YYYY')  AND  TO_
    DATE('30/10/2008','DD/MM/YYYY');
           AGE BDATE
            18 23-OCT-08- Pavan Kumar N

Maybe you are looking for

  • Enterprise Adobe Cloud

    Is there any plan for an enterprise version of adobe cloud?

  • Suddenly I can't open one document in inumbers: "The sheet can't be imported. The document was created with an unsupported application version."

    Yesterday I worked on a inumbers document on my mac mini. No problem. 3 hours later I would open the same document on my ipad. It told me that there were 2 versions and I had to choose one (surprisingly bouth had the same time/date). Since then I can

  • Getting started rig

    I am using an Imac 2.8Gh with 2gigs ram 500 GB hard drive. I am using an M audio keyboard controller with garageband. I would like to record my entire band using a presonus firewire mic pre with 8 inputs for drums, guitars, bass, vocals, and whatever

  • Cannot create new project

    when i try to create a new project, i get an error message that says "cannot create project. Please check the disk to ensure there is enough free space and you have permission to write projects. " what gives?

  • SortedSet unique key problem

    i want a SortedSet of patients. each has a unique id and a current heartRate . i want to sort them by heartRate . i am getting duplicate entries when the id is constant but the heartRate changes. please consider this: SortedSet<Patient>(); public cla