Modifying reports search criteria screen

Hi
I am trying to add a little functionality to the Serial Number Transaction Report search criteria screen, however cannot seem to catch any events for the form and therefore cannot do anything with it. With this screen being a report associated screen does this still allow for tasks such as validating edit boxes etc. to be carried out, as on a normal system form i.e. Sales Order.
If so why could it be that I cannot seem to catch any events?
Thanks
Steve

Have you tried using the B1 Event logger tool?  When I use that and goto the serial # transaction report menu option (form 22) I see events being triggered in the log.  Are you registering any events for that form in your add-on?

Similar Messages

  • Modifying the search criteria for my tabular form...!!!!

    Hey guyz i m back again with a query related to my tabular form that i have developed through your help...
    I presented my application to the management 2day...eveything went fine but they want me to modify the search criteria according to thr needs.
    1. They want me to include a drop box which has all the fields dispalyed in the table like .. EMPNO,STC,NAME,NATIONALITY,POSITION,
    & beside this drop box they want me to include a empty field such that if select NATIONALITY from the drop down box and enter the concerned nationality in the search box and press Search button i should get all the emp with particular nationality
    FOR EX: In the drop down box i select NATIONALITY and in the search box i type GERMAN ,... now when i click i should be getting all germans available in the company
    2.We have got evaluations for all emp in percentages
    Now from the drop down i select POSITION in the box beside i enter( HP:80-90) then i should be able to retrieve all the EMP working with position HP and evaluations between 80%-90%
    FOR EX : DROP BOX: Position
    TEXT ITEM: HP:80-90
    Click Search I get all the EMP with evaluation between 80-90 and so on
    How should i modify this ......creating a separate search box for each column would have been easy but how should i implement this what the management wants from me..????

    hi
    try something like this.
    key-exequery trigger(item level).
    begin
    if
      :code.pno is not null OR
      :code.chasis is not null OR
      :code.certi is not null
    then  --> SEARCH IN  TABLE
      go_block ( 'block' );
      :system.message_level := '10';
      execute_query;
      :system.message_level := '0';
      if
           :block.id is null
      then
        go_block ( 'code' );
        message ( 'Nothing found with the given criterias.' );
        message ( ' ' );
      end if;
    /*if
         :code.code is not null OR
      :code.branch || :code.class || :code.year || :code.serial || :code.cno || :code.edno is not null OR
      :code.issue is not null OR
      :code.inscode is not null OR
      :code.ID is not null
    else  --> SEARCH IN block2 TABLES
      go_block ( 'block2' );
      :system.message_level := '10';
      execute_query;
      :system.message_level := '0';
      if
           :block2.IDis null
      then
        go_block ( 'code' );
        message ( 'Nothing found with the given criterias.' );
        message ( ' ' );
      end if;
    end if;
    end;
    when-new-form-instance trigger.
    begin
    for l_rec in ( select distinct year from ins1 where year is not null order by year desc ) loop
         add_list_element ( 'code.year', get_list_element_count ( 'code.year' ), l_rec.year, l_rec.year );
    end loop;
    exception when others then null;
    end;
    key-exit trigger.
    begin
    if
         get_item_property ( name_in ( 'system.cursor_item' ), item_canvas ) in ( 'Block_Name1', 'Block_Name2' )
    then
      go_block ( 'code' );
    else
         exit_form( no_validate );
    end if;
    end;
    when-button-pressed trigger.
    begin
    do_key ( 'EXECUTE_QUERY' );
    end;
    pre-query trigger.(block level).
    begin
    :ins1.serial := :code.code;  --> ?? still needed ?
    :ins1.branch := :code.branch;
    :ins1.class := :code.class;
    :ins1.year := :code.year;
    :ins1.serial := :code.serial;
    :ins1.cno := :code.cno;
    :ins1.edno := :code.edno;
    :ins1.inscode := :code.inscode;
    :ins1.producer := :code.producer;
    :ins1.broker := :code.broker;
    :ins1.beneficiary := :code.benecode;
    if
         :code.issue is not null AND :code.todate is null
    then
      set_block_property ( 'block', onetime_where, ' trunc ( issue ) >= trunc ( :code.issue )' );
    elsif
         :code.issue is null AND :code.todate is NOT null
    then
      set_block_property ( 'block', onetime_where, ' trunc ( issue ) <= trunc ( :code.todate )' );
    elsif
         :code.issue is NOT null AND :code.todate is NOT null
    then
      set_block_property ( 'block', onetime_where, ' ( trunc ( issue ) >= trunc ( :code.todate ) AND trunc ( issue ) <= trunc ( :code.todate ) )' );
    end if;
    end;
    key-next-item trigger(block level).
    begin
    if
         :block.ID is not null
    then
      :global.ref := :block.ID;
      exit_form ( no_validate );
    else
         go_block ( 'code' );
    end if;
    end;Sarah

  • PS report: multible selection for report selection criteria

    Is there a possibility to define multible selections in the report selection variables of a PS hierarchy report?
    I tried to define them via
    CJE6 -> EDIT -> General data selction
    and entered valiables in the FROM column and the TO column. But when I execute the report it will not show multible selction, but only single selection. Also, I did not find a SAP standard report which has multible selection in the report selection criteria screen.
    I found the multible selections only in the DB profile selection screen and the dynamic selection, but that is not the solution I am searching for.
    Can anybody kindly help me with this?

    E.g. S_ALR_87013532
    here you can see multible selection in the DB profile selection group, but not in the report selection group. I would like to use multible selection in the report selection group, as mentioned above.
    I am aware of the possibility of creating a new DB profile, but this is only my option B.

  • F-32 Search Criteria

    Dear All,
    On f-32 i give the customer code and the company code and on the basis of posting date I get all my open items.
    Now here I have to further select only those documents which are having a particular bussiness type.
    Please note that in the first screen i dont want to get stared using the bussiness area..i want posting date only.
    Can anyone twell me that after I go in,what is the way to get the Select Search Criteria Screen?
    That is after going in F-32 where all the open items are displayed how to get the Select Search Criteria Screen.
    This is not possible through EDIT-Select More-Bussiness Area as I again get all the documents in that period.
    Regards,
    Rahul.

    Found the same..
    click on the search below..

  • How To add a field in search criteria in SAP standard report

    Hi AlL,
    I have a requirement where i need to add a field in search criteria of selection screen and display in output of Standard SAP report.
    I have read in threads that to obtain Access key and modify the code in std report , if i am not able to get an Access key and not allowed to copy the report as Z.
    Could you please let me know how to solve this kind of requirement.
    thanks
    Chary

    Well - it's a report so there won't be a user exit. I think your options are what the others (and you) have suggested - change the standard program or make a copy.
    There are different opinions on the forum about which to do.
    Rob
    PS - you're not bothering anyone. We like problems.
    Message was edited by: Rob Burbank

  • Skiping initial selection criteria screen of HR report for Manager Desktop

    Dear All,
    The reports are configured using a custom scenario (Z Scenario) for Manager Desktop and used over the Portal through MSS. I have a requirement where for only one report (named Expired Qualifications) the initial selection criteria screen which comes when accessed through portal needs to be disabled or skipped and directly the transaction S_AHR_61015536 for this report needs to be called.
    Please provide the inputs if it can be done and how for one report only.
    Regards,
    Samir

    Dear Sen,
    I have checked the thread suggested by you but the report here is not independent transaction integrated using iView. It is a part of Scenario which makes the reports available to the managers. It uses MSS Standard iView "Reports" and "Selection Criteria". Both iViews are in one page as delivered by SAP. The reports iView displays all the reports configured in the scenario for Manager Desktop and Selection Criteria iView is launched first in the portal content area when the report ( "Expired Qualifications") link is clicked from the Reports iView.
    Regards,
    Samir

  • Need new search criteria on Screen 102 of transaction va02 for payment card

    Hi Friends,
    I have a requirement in which i need to add a new search criteria of payment cards
    on the VA02 initial screen, can any one suggest me a approach for this.
    Please suggest me the elaborated steps.
    Thanks in advance.
    Regards
    Digvijay

    Go to SE11 > select radio button 'Search Help', create a custom search help and activate it.
    Next, goto SE11 > Search help = ASH_VMVA and hit change
    Ignore warning.
    click on tab 'Included Search Help' and add the custom search help that you just created in step 1.
    Next click on 'parameter assignment' push button and maintain parameters (parameter should automatically default, just accept and save)
    Activate ASH_VMVA.

  • Enhance B2B search criteria in order status screen.

    hi,
    we are tring to enhance search criteria in b2b sales order status screen. Need to add "Requested Delivery Date" to the search criteria for document. I was able to figure out some changes to be done in crmc_repdy. What is the accronym to be added for requested delivery date ?

    Hi Deepak,
    There is a order status screen in webshop(B2B). The search criteria includes certain parameters such as document type, creation date, status etc. I need to enhance it to accomodate one more search criteria i.e Requested Delivery Date. The XML file corresponding to the search criteria for B2B sales is generic-searchbackend-config.xml.
    Hope i made things a bit clear !
    Best regards,
    Rohit Sharma

  • How can I modify the "All My files" search criteria?

    Heres my issue: I LOVE the new "All My Files" feature in 10.7... however.. I would like to limit some of the search criteria (which I know goes against its purpose to some degree)... "All My Files" shows every file by kind on my computer, unfortunately it also shows erroneous files in the /Developer folder that I do not care about at all nor are they "mine". 
    So I have noticed that I can "edit" the "All My Files" property and that it simply seems to be a "saved search" that they put into the Finder side bar... but how do I then say dont include this folder?

    Finder > Preferences > Sidebar
    Put a checkmark in the box beside "All My Files".

  • Search criteria variations on a report

    Hi all
    I have have created a report search variations where users can search by
    (consultants or clients) and (date_ from and date_to). It works fine the first time lets say if I enter consultant details and dates but I want to enter the client and date search and I don't physically clear the consultant field then I get a mixture of client and constultant between the 2 dates. I am not sure how to overcome this. Do I change work on session states or is it possible to have a radio button that the user selects the type of search and this will automatically clear this field? Or is there a much simpler way of having accurate multiple searches.
    cheers
    Ian

    Hi.
    Dude, you can do this in various ways, and if you want to separate the type of searches then I think that using a radio button for specifying the type of search is cool.
    Using the radio button you can (on the query) validate which type of search is the one that is valid. You can also add some javascript to disable the fields that are not considered for the search in order to help the user understand (even more) what he/she is doing.
    Regards,
    Max.

  • IR Report Search - ORA-20001: get_dbms_sql_cursor error ORA-00936: missing expression

    Hi All,
      I had created a IR report based on a table and it was working with no issues.  But after few days, when I try searching using the IR search bar it shows "ORA-20001: get_dbms_sql_cursor error ORA-00936: missing expression" error message. I don't see any debug messages or errors in the debug window. The Finder drop down is empty too, there are no columns displayed to filter.
    When I recreate the IR report(new page) based on the same table, It works fine and there are no issues with the search.  But the old IR report search doesnt work. I have not modified the any thing in the old report after initial creation. Report uses Primary key based on a sequence.
    What might have caused this issue?
    Is there a way to intercept the search query from IR report?
    Apex version - 4.2.3.00.08.
    Any help on this appreciated.
    Thanks,
    Jagan

    Hi MK, as I had mentioned in my post, I don't see any logs in the debug window, query tab.
    Can you please guide me how to check the query logs on search?
    Thanks,
    Jagan

  • How to add a new  search criteria in Advance Search Page in OAF

    HI,
    In my application (R12) we can access customer related information from 2 places (2 different responsibilities as mentioned below), both are OAF pages.
    1. AX receivables
    2. Sales online
    From both the responsibilities we can perform search for customer related information as well (Simple as well as Advance Search).
    But Advance Search screen from 'Sales online' allows user to perform search, based on few additional fields as well such as 'Classification' (it's an lov based field).
    Now, User is asking to add that field on search page of AX receivables as well.
    So, how to add one more field (as search criteria), on an standard 'Customer' screen?
    Additional Info :
    1. LOV is based on HzPuiClassificationFilterVO
    2. And this VO is available on both pages. (oracle.apps.ar.hz.components.search.server.HzPuiClassificationFilterVO)
    So can we achieve this by Personalization only ? if yes plz share the steps as well.
    Regards,
    Adi

    Yes. It is possible through personalization.
    1. Create a criteria row under Advance Search
    2. Create a Result Item under advance table columns
    3. Create a Query Criteria Map based on the criteria and result item above.
    Please note the newly added criteria field should be in the Searchresults VO attributes list.
    Otherwise you need to extend the VO as well.
    Hope this helps.
    Regards,
    -Mukesh.

  • Adding a Field in  search Criteria in Web UI

    Hello All ,
       I am working on SAP CRM 7.0 Webui Marketing module (Business Role : Marketingpro) . Here when I select the "Account&Product" Work Center and go to search Contact . Here we will move to the Search Contact View here we will get a list box where we can select any search criteria to search a Contanct . Here in this  List box in need to add a new Field Called "Archiving Flag" . The component of the Search Contact is :: "BP_CONT_SEARCH" And the View is "BP_CONT_SEARCH/Search " Here in the View Structure Tab under Context->Context Node ->Search i just needd to a new Field called "Archiving Flag" in this context node "Search".  Can any Tell me the procedure to add a field to the lsit box of Search Criteria.
       Thanks in Advace
    Regards,
    Kiran Posanapalli.

    Hi Vinutha,
    U can add fields in the search view using AET in one way.
    The other way is identify the component for that search.Press F2 on the web ui screen of ur account search page and see the component name as well the view name for the search fields.
    Go to that search view in the component identified.
    In case of sales pro role,  account search component is  BP_CONT_SEARCH ,go to the view search and in that if we go to context node search an attribute named 'telephone' is present already.We can add that to visible fields in configuration tab.
    If not found under that context node then right click on context node and create a context node.Before that go to genil_model_browser and observe the relation level in which the field(mobile number) we need to add is present and copy the dependent object name.
    For example for phone number the dependent object is BuilAdressPhone. Now pass this value in create context node. Make the adjustments in configuration tab.
    *Give points if found useful.
    Regards
    HCL SPARKS

  • Custom field in the search criteria of contract management in SRM - POWL

    Hi,
    I have to add a custom field in the search criteria of the POWL query for Contract Management. I have done adjusting of the POWL by adding the custom field in the /SAPSRM/S_POWL_RESULT_CTR and /SAPSRM/S_SEARCH_RESULT_CTR. I have created entries in TREX and Field cat but still the field is not visible in the query.
    Please let me know how can i get the visibility of custom field on the POWL query for contract.
    Regards,
    Geeta

    Hi,
    Try to delete powl query cache using report POWL_D01.
    Regards,
    Marcin

  • Can we modify the pnp selection screen and get only month and year?

    Dear Freinds,
                  I have requirement where i have to modify the PNP selection screen. So with the help of report category and coding in AT SELECTION-SCREEN OUTPUT  , i have modified all the fields relating to dates . i.e i have removed all the radio buttons (i.e Today, Current month,current year etc) and finally
    i have landed with only Period ( PNPBEGDA & PNPENDDA range) . But i dont want the PNPBEGDA & PNPENDDA range , but i want only is the month and year ( i.e just like the PNPPABRP & PNPPABRJ)
    on my selection screen along with the pernr .
    i have used the below code to close all the fields except pnpbegda and pnpendda.
    AT Selection-Screen output.
    loop at screen.
      IF screen-group4 = '098' .
          screen-input = '0'.
          screen-invisible = '1'.
        ENDIF.
        IF screen-group4 = '092' .
          screen-input = '0'.
          screen-invisible = '1'.
        ENDIF.
        IF screen-group4 = '094' .
          screen-input = '0'.
          screen-invisible = '1'.
        ENDIF.
        IF screen-group4 = '100' .
          screen-input = '0'.
          screen-invisible = '1'.
        ENDIF.
        IF screen-group4 = '104' .
          screen-input = '0'.
          screen-invisible = '1'.
        ENDIF.
        MODIFY SCREEN.
    endloop.
    i.e on my selection screen i want only  month & year combination and pernr -
    when iam using the logical database PNP . Could any one please let me know how can i get only mon & year only on my selection screen .
    If it is possible please let me know .
    Thanks & regards
    divya.

    Hi ,
       The requirement is that the user doesnt want to enter the date range i.e for ex:  01012008 to 31012008.
    As per the requirement the user will enter only the month and year only . so i on the selection screen
    i want only the month and year only . Is there any means i can modify the date period which is there by
    default (PNPbegda and PNPendda) on PNP selection screen. Instead of we givign to the user the
    PNPBEGDA and PNPPENDA i want is only month and year .
    AS already the code has already been written and now they have asked that they want only the month and year on the selection screen.
    Please suggest me in this regard.If iam hiding all the buttons relating the dates fields, and now if iam adding the parameters for the month and year  it is coming below below the fields pernr , personnel ara and subara , company code , payroll area, employee group of the standard fields of PNP selection screen , there by any body could please suggest me how to change.
    regards
    divya.

Maybe you are looking for