Need to create filter in reports

hi ,
i need to create a filter on my report .
the filter for field contract end date.
for exammple - the object which i need to create the filters (HDREN_DT -
  Remove records with value < System Date
) this is the logic so what i need to do i want to go for customer exit or what
need to create 2 CKF
Earliest Doc Header End Date     Calculated KF     Min (HDREN_DT)
Oldest Doc Header End Date     Calcualted KF     Max (HDREN_DT)
Can anyone give some idea how can i go with this one.
i choosen a formula variable with replacement path for the both the fields. whether this option is right or wrong.
please help me in this one
Regards ,
vijju

Hi,
You have correctly identified.
To achieve the filter on HDREN_DT, you can declare an exit variable & write the code behind. But here I'd suggest implementing logic like Date greater than or equal to System date (instead of removing dates less than System date as it will improve the querying.
For the 2 CKFs, you can try the formula variable concept.
--Akash

Similar Messages

  • Need to creat filter to the BADI

    Hi All,
    We are trying to create one implementation to the BADI DPR_CONTROLPLAN,as this BADI is filter dependent so at the time of saving its prompting for Filter.
    I have given one filter to the define filter section, but I am not able to understand how I can use the filter to my program.
    And I am not sure what filter I have given is the right one because I have not defined the data element and domain to the filter.
    Can any one please suggest me how I can create the filter for my implementatin and use it??
    Thanks in advance.
    Reagrds,
    Sandy.

    Thanks Sesh.
    In order to use the filter to the implemenation, do I need to create any variable of the type FLT_VAL  and add to the DEFINED FILTER SECTION??
    Regards,
    Sandy.

  • Need help creating a specific report

    I am trying to create a specific report but to-date can not get it to work the way I want it to. I am trying to create a report that does the following:
    - lists all my groups I have
    - if the group has not registered a meeting in a specific week then highlight that group in Bold (or a specific color)
    I have 2 tables: 1 containing the groups and the other containing the meetings they have registered.
    I have managed to get the list of groups on the page and I have worked out the formula to check if the meeting date is in a specific week but when ever I try to include the meeting date then the groups are listed per meeting and not 1 entry per group.
    Tables - Sample Data
    SGFID     GroupID     Facilitator     MeetingDate     Description
    1     20     38     02/26/2009     First Meeting
    2     10     72     03/19/2009     Second Meeting
    3     20     38     03/12/2009     First Meeting
    4     12     1     03/19/2009     Second Meeting
    5     20     38     03/05/2009     First Meeting
    GroupID     GroupName     Htel          
    10     Group1     123456          
    12     Group2     987654          
    20     Group3     678345
    What I get is the following:
    20     Group3     678345          
    10     Group1     123456
    20     Group3     678345          
    12     Group2     987654          
    20     Group3     678345
    What I want is the following. If I am looking for all meetings in the week where the 19th falls in then:
    10     Group1     123456          
    12     Group2     987654          
    20     Group3     678345
    Edited by: Garth Truter on Mar 31, 2009 1:34 PM

    Hiya,
    OH!  I just noticed that I didn't tell you to suppress to details section in the original post, which is why you might be concerned about the use of groups - My bad!
    So, given that, do try the solution.  There may be another way using arrays, but it's kludgy and far more complicated....
    Try using your "Group" table (I see confusion happening here!) as the master/left table in your join, with the "Meetings" table on the right.
    Groups -
    (Left Outer Join)----> Meetings
    Then create a group on Groups.GroupID (or similar) and follow the steps I posted earlier - it really should work!

  • Need to create 6 sub reports in Crystal Reports 2008 - Advise Required

    Hello All,
    I am trying to create a report with 6 sub reports in Crystal Reports 2008.Each sub-report is filtered by a filed called Error Status.Finally i need to parameterize the report based on Rec Date ( This is also i field in table from where i am puling data). I tried to link sub reports but was not able to. Please guide me.
    Thanks !

    Hi,
    I linked the fields but no data appears in the main report. Any advise would be greatly appreciated?
    Thanks,
    Praneeth

  • How to create a custom report??

    Hi all
    I need to create a custom report for my client. I also need to know if the standard reports are not picking up the correct data or is picking up multiple records, then how can it be ammended. Need urgent help.
    Thanks and Kind Regards

    Hi,
    Please refer to following links for better understanding of Reports
    http://www.sapgenie.com/abap/reports.htm
    http://www.allsaplinks.com/material.html
    http://www.sapdevelopment.co.uk/reporting/reportinghome.htm
    http://www.sapfans.com/forums/viewtopic.php?t=58286
    http://www.sapfans.com/forums/viewtopic.php?t=76490
    http://www.sapfans.com/forums/viewtopic.php?t=20591
    http://www.sapfans.com/forums/viewtopic.php?t=66305
    Regards
    Bala

  • Creating a new report in 11.5.9

    I am trying to create a new report for Oracle Sales Online. I don't want to just do a simple JSP, I want to use some of the existing functionality that the existing pages are using.
    Take the Organization Summary page for example. Its the page called asfOrgznSumryMain.jsp and its many included JSPs and java classes in the oracle.apps.asf.customer.organization package that it uses.
    I have created java classes that mimick the classes used by that page, such as my own EO (Entity Object), VO (View Object), and TD (table rows) objects. I've made them select from tables that I want to show as best I can.
    But all the calls in the JSPs using function values that resolve to JSP page filename values are just confusing. I am trying to create an advanced search page for my new summary where the user can save searches and pick columns like they can on other pages. How can this be done? Is there documentation anywhere? How do I create the functions needed to be able to have an advanced search page, save user queries, create a default query for the page for the first time a user views it, etc etc?
    Someone please help. I need to do this in 11.5.9...we will be moving to .10 someday, but until then, I need to create this new report that uses Oracle's application framework as much as possible.

    Ok, I was able to figure out the functions that were confusing me. For my own record and for those that do not know, I will list how to create the objects necessary to add a new report to a menu.
    1-Write JSP (should be written just how Oracle writes theirs)
    2-Creat function for the new JSP page as System Administrator responsibility
    3-Use Sys Admin to add the function to a menu somewhere
    4-Using AK Developer responsibility, create an attribute with the label of the attribute being the name of your function you created. Oracle's convention is the name of the attribute has FS in it.
    5-Using AK Developer, lookup the ASF_FUNC_SEC_REG region
    6-Drill down into that regions attributes
    7-Add a your newly created attribute to this region
    You would do all these steps for your advanced search page as well, so that in your main jsp, you can call asfPage.setAdvancedSearchPage() with the attribute name of your advanced page.
    What I Still do not know is:
    (1) My main page keeps coming up saying that there is no default query defined for it. How do you create a default query for a report?
    (2) How to get the personalization to work.
    Can anyone help?
    Thanks!

  • How can you create a pdf report to attach to an email?

    I have a need to create a PDF report with graphics and signature and somehow attached the PDF document to and email to send out. This is all hopefully done in my APEX application. Has anyone done anything similar?

    I have several projects that use PL/PDF - with the pdf form filling API's - to populate pdf form and then attach the output to a BLOB variable in PL/SQL - which can then be attached to e-mail, displayed to user's browser, and saved into a BLOB column in a table. If you are comfotable with coding PL/SQL packages, this is not difficult to do at all.
    The goodness of PL/PDF is that it is composed of PL/SQL packages with some wrapped Java programs - the output is generated directly from the database. You don't need to deal with the complexity and security concerns of calling an external Java middle tier to return the document. However, if you are not comfortable with PL/SQL coding, this may be a lot of work because the software does not have a report designer like Oracle BI Publisher, which costs more than $90K to run on a 2-CPU Server.
    Thanks.
    Andy

  • Steps to create interactive alv report

    plz tell me the steps needed to create interactive alv report. explaining the importance of events. please tell me with suitable example

    Hello Yogesh,
    I did not see as you mentioned Interactive ALV , sorry for wrong reply.
    Please use proper parameter to function module ,here you need to use user command,this user command will call form routine(Dynamic) ,here you can do whatever ,below example one interactive ,if user clicks on material it will goto MM02 transaction.
    See the simple example one in ALV :
    REPORT Z_GET_REFRESH no standard page heading.
    type-pools : slis.
    tables : makt,
             mara.
    data : i_fieldcat type slis_t_fieldcat_alv.
    data : begin of i_makt occurs 0,
           matnr like makt-matnr,
           maktx like makt-maktx,
           end of i_makt.
    data : v_repid like sy-repid,
           g_user_command type slis_formname value 'USER_COMMAND',
           g_status_set   type slis_formname value 'SET_PF_STATUS'.
    DATA:LC_GLAY TYPE LVC_S_GLAY.
    select-options s_matnr for mara-matnr .
    start-of-selection.
      select matnr maktx from makt into table i_makt
                                  where matnr in s_matnr.
    end-of-selection.
    Fill the fieldcatlog
      perform fill_field.
    Call the FM
      perform call_fm.
    *&      Form  fill_field
          text
    -->  p1        text
    <--  p2        text
    FORM fill_field.
      data wa_fieldcat type slis_fieldcat_alv.
      clear : wa_fieldcat.
      wa_fieldcat-tabname = 'I_MAKT'.
      wa_fieldcat-fieldname = 'MATNR'.
      wa_fieldcat-outputlen = '18'.
      wa_fieldcat-seltext_l = 'Material #'.
      wa_fieldcat-col_pos = '1'.
      append wa_fieldcat to i_fieldcat.
      clear : wa_fieldcat.
      wa_fieldcat-tabname = 'I_MAKT'.
      wa_fieldcat-fieldname = 'MAKTX'.
      wa_fieldcat-outputlen = '40'.
      wa_fieldcat-seltext_l = 'Material Desc'.
      wa_fieldcat-col_pos = '2'.
      append wa_fieldcat to i_fieldcat.
    ENDFORM.                    " fill_field
    *&      Form  call_fm
          text
    -->  p1        text
    <--  p2        text
    FORM call_fm.
      v_repid = sy-repid.
      LC_GLAY-EDT_CLL_CB = 'X'.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                =
      I_BUFFER_ACTIVE                   = ' '
          I_CALLBACK_PROGRAM                = v_repid
          I_CALLBACK_PF_STATUS_SET          = g_status_set
          I_CALLBACK_USER_COMMAND           = g_user_command
      I_CALLBACK_TOP_OF_PAGE            = ' '
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
      I_GRID_TITLE                      =
        I_GRID_SETTINGS                   = LC_GLAY
      IS_LAYOUT                         =
          IT_FIELDCAT                       = i_fieldcat
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
      I_DEFAULT                         = 'X'
      I_SAVE                            = ' '
      IS_VARIANT                        =
      IT_EVENTS                         =
      IT_EVENT_EXIT                     =
      IS_PRINT                          =
      IS_REPREP_ID                      =
      I_SCREEN_START_COLUMN             = 0
      I_SCREEN_START_LINE               = 0
      I_SCREEN_END_COLUMN               = 0
      I_SCREEN_END_LINE                 = 0
      IT_ALV_GRAPHICS                   =
      IT_ADD_FIELDCAT                   =
      IT_HYPERLINK                      =
      I_HTML_HEIGHT_TOP                 =
      I_HTML_HEIGHT_END                 =
      IT_EXCEPT_QINFO                   =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
        TABLES
          T_OUTTAB                          = i_makt
       EXCEPTIONS
         PROGRAM_ERROR                     = 1
         OTHERS                            = 2
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " call_fm
          FORM USER_COMMAND                                             *
    FORM user_command USING r_ucomm LIKE sy-ucomm
                rs_selfield TYPE slis_selfield.                 "#EC CALLED
      data i_RSPARAMS like RSPARAMS occurs 0.
      CASE R_UCOMM.
        WHEN '&IC1'.
          read table i_makt index rs_selfield-tabindex.
          SET PARAMETER ID 'MAT' FIELD i_makt-matnr.
          if not i_makt-matnr is initial.
            call transaction 'MM02' and skip first screen.
          endif.
        when 'REFRESH'.
          CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
            EXPORTING
              CURR_REPORT           = v_repid
    IMPORTING
      SP                    =
            TABLES
             SELECTION_TABLE       = i_RSPARAMS
           EXCEPTIONS
             NOT_FOUND             = 1
             NO_REPORT             = 2
             OTHERS                = 3
          IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
          submit z_get_refresh with selection-table i_RSPARAMS.
          rs_selfield-refresh = 'X'.
      ENDCASE.
      MOVE 'REFRESH' TO r_ucomm.
    ENDFORM.
          FORM set_pf_status                                            *
    FORM SET_PF_STATUS USING rt_extab TYPE slis_t_extab.
      SET PF-STATUS 'ZSTANDARD' EXCLUDING rt_extab.
      SET TITLEBAR  sy-tcode.
    ENDFORM.
    Thanks
    Seshu

  • Creating a Verticle Report

    I need to create a Verticle Report, generally by default all reports in APEX are Horizontal report.
    Need to know what are the steps involved, I am new to Template modification so if I can get details about the process that will be great...what Template I have to modify and with what code..
    thanks,

    Hi Deepak,
    Hopefully my response in Re: Excluding null columns in a custom vertical report template. should answer this one as well!
    Andy

  • How to created a new report in content tracker report?

    Hi
    I need to created a new report that show who modified the document's metadata and when, but I have never used Content Tracker and I do not know how.
    Appreciate the help you can give me.
    Thanks.

    Hello,
    The content tracker and ContentTrackerReports components can be installed in UCM server by simple clickable options. Below are the steps to install the Content tacker and Content report.
    Steps:
    1. Open the UCM instance with admin
    2. Click Admin Server under Administration link.
    3. Click Content Tracker and ContentTrackerReports checkbox ( under Document Management)
    4. Now Click the update button at the bottom.
    5. Restart the UCM server instance to see the changes.
    Now you will see an option for Content Tracker Reporting. It has some default reports.
    Let me know how it goes. If you need.... will explain how you can create your custom reports.
    If its helpful then please mark correct or helpful answer.
    Thanks,
    MAK

  • Creating Business Object Reports and Dashboards utilizing Informatica

    I need to create Business Object Reports and Dashboards utilizing Informatica database. Please let me know what connections I need to create to integrate the data into Web Intelligence, Universe, Xcelsius, and Crystal Reports.
    Thank you

    I've just done some quick checking and I don't see a native connection type for Infomatica in Designer or Crystal.  (Designer is a tool for building universes - WebI and Xcelsius both read data through a universe, Crystal can read data through a direct connection to the database or through a universe.) This means you'll probably have to set up a "generic" ODBC connection in order to connect to it.
    -Dell

  • Need to create report query to get latest open and last closed period for given application

    Hi All,
    I need to create a report query to get below result displayed in report output.
    1)   -   Application name
    2)   -    Ledger name
    -o/  -Operating Unit
    3)   -  Last Closed Period
    4)   -  Current Open Period
    5)   -  Date Closed – Last Closed Period
    6)   -  Date Open – Current Open Period
    I tr I tried to create the query below is the same. Please let me know if it looks fine.
    SELECT *
      FROM (SELECT fav.application_name ,
                   hou.name Operating_Unit_Name,
                   gl.name Ledger_name,
                   gl.latest_opened_period_name,
                   gps.period_name Period_Name,
                   DECODE(gps.closing_status, 'O', 'Open', 'C', 'Closed') status,
                   gps.last_update_date Last_status_modified_date
              FROM gl_period_statuses gps,
                   gl_sets_of_books   gsob,
                   fnd_application_vl fav,
                   hr_operating_units hou,
                   gl_ledgers         gl
             WHERE gps.period_name = gps.period_name
               AND gps.closing_status ='C'
               AND fav.application_short_name =
                   NVL('&p_application_short_name', fav.application_short_name)
               AND gps.application_id = fav.application_id
               AND gsob.set_of_books_id = gps.set_of_books_id
               AND hou.set_of_books_id = gps.set_of_books_id
               AND gl.ledger_id = gsob.set_of_books_id
               AND hou.organization_id=NVL('&p_operating_unit',hou.organization_id)
               AND gl.ledger_id=NVL('&p_ledger_id',gl.ledger_id) 
             ORDER BY gps.last_update_date desc )WHERE ROWNUM = 1 
    UNION ALL
    SELECT *
      FROM (SELECT fav.application_name Application_Name,
                   hou.name Operating_Unit_Name,
                   gl.name Ledger_name,
                   gl.latest_opened_period_name,
                   gps.period_name Period_Name,
                   DECODE(gps.closing_status, 'O', 'Open', 'C', 'Closed') status,
                   gps.last_update_date Last_status_modified_date
              FROM gl_period_statuses gps,
                   gl_sets_of_books   gsob,
                   fnd_application_vl fav,
                   hr_operating_units hou,
                   gl_ledgers         gl
             WHERE gps.period_name = gps.period_name
               AND gps.closing_status = 'O'
               AND fav.application_short_name =
                   NVL('&p_application_short_name', fav.application_short_name)
               AND gps.application_id = fav.application_id
               AND gsob.set_of_books_id = gps.set_of_books_id
               AND hou.set_of_books_id = gps.set_of_books_id
               AND gl.ledger_id = gsob.set_of_books_id
               AND hou.organization_id=NVL('&p_operating_unit',hou.organization_id)
               AND gl.ledger_id=NVL('&p_ledger_id',gl.ledger_id) 
             ORDER BY gps.last_update_date desc)
             WHERE ROWNUM = 1

    It is within the table I believe (I'm not a DBA or a developer) since I created a BLOB column and then used the file browse feature to allow users to attach a resume to the table in order to be able to perform a search of the attached documents.
    I'm just having a hard time pointing the link in the search results report to the document in the blob column.
    The information on that page is great if you're trying to create a link to the document on the initial report.
    But I created a query using Oracle Text to run a report that does a boolean search of the attached word documents in the table.
    When it displays the search results, it doesn't create a link to the document and I can't figure out how to do it.
    Here's a link the the instructions I used to create the initial search report with Oracle Text, mind you I only created the index and query, I didn't add in all the link data since they're using documents on websites and I'm using documents in a table.
    http://www.oracle.com/technology/products/database/application_express/pdf/apex_text_application_v1.6.pdf
    If you can help me with this I'd really appreciate it.
    Thanks again.
    Greg
    Edited by: gjones77 on Dec 2, 2008 8:14 AM

  • I Need to Create a report for batch jobs Based on Subject Area.

    Hi SAP Guru's,
    I need to create a report , that it must show the status of batch jobs Completion Times based on Subject area(SD,MM,FI).
    Please help me in this issue ASAP.
    Thanks in Advance.
    Krishna.

    You may need to activate some additional business content if not already installed but there are a lot BI statistics you can report on. Have a look at this:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/46/f9bd5b0d40537de10000000a1553f6/frameset.htm

  • I need to create a fillable form and then generate a reports.

    Hello everybody. I need to create a fillable form and then generate a report using numbers. You know, for example if you have customers, I need to be able to write the usual , name, last name, address, and some other details and then using a standard letter I would like the form to be able to populate these fields automatically in a standard pre formatted letter by our company and then be able to print it.
    Any help to point me in the right direction I would appretiate very much.
    I have iwork 9 installed in my macbook pro

    This is acalled a mail merge and is solved using a combination of Numbers (or address book) and Pages.  To get detailed help how to performa a mail merge start in Pages, then in the help menu type Mail Merge:
    Also download the help files for Numbers and Pages here:
    http://support.apple.com/manuals/#
    Page 247 in the Pages User's Guide has details how to perform a a mail merge.
    Post back with specific questions if you need to.
    Regards,
    Wayne

  • Getting error while creating form and report on webservice: ORA-20001: Unable to create form on table. ORA-02263: need to specify the datatype for this column.

    i am using the following description to create a web service reference:
    web reference :REST
    Name :Yahoo Map
    URL :http://local.yahooapis.com/MapsService/V1/mapImage
    HTTP Method: GET
    Basic Authentication: No
    Add Parameter:
    Name       Type
    appid        String
    location    String
    Output Format: XML
    XPath to Output Parameters : /Result
    Output Parameter:
    Name       Path       Type
    Url          /text()      String
    Then i tried to create form and report on webservice:
    Web Service Reference Type: Yahoo Map
    Operation: doREST
    All the fields i keep as default
    I tick the checkbox (url)in report Parameter
    After clicking next whereever required i click create button
    I get the following error
    ORA-20001: Unable to create form on table. ORA-02263: need to specify the datatype for this column.
    Please someone help to solve this as i need to fix it urgently.

    i exported the application from apex.oracle.com and imported it to our environment
    import went fine, but when I ran the IR page I got
    ORA-20001: get_dbms_sql_cursor error ORA-00904: : invalid identifier
    evidently the problem is a lack of public execute on DBMS_LOB, which is used in the generated IR source.
    while waiting for the DBA to grant privs on DBMS_LOB, changing the dbms_lob.getlength call to length() fixes the IR.
    however, i am not getting the download link on the associated form page... changed templates, that's not the issue -- we'll see if that's a dbms_lob issue as well

Maybe you are looking for