Query in F4 help on transaction code PP01

Hi,
Our user wants as on active object display when using search facility in transaction PO03 screen.
I have checked in debug mode, program uses function module "RH_OBJID_REQUEST" for displaying F4 help.
But in this function module there is no parameter to pass Search Period (Start date) and Search Period (End date).
System passed default value "Start date is 01.01.1900" and "End date is "31.12.9999" due this reason all objects are coming in search help screen.
Please suggest is there any way to restrict delimited objects in F4 screen.

Search for search help exit you will find many links below is the link
[http://wiki.sdn.sap.com/wiki/display/Snippets/ImplementingSearchHelp+Exits]
Nabheet

Similar Messages

  • Need help on transaction code to create

    1)How to create a transaction code with input parameter?
    2) I have a selection screen with the input parameter VKORG.
    If I entered a value in vkorg, that related values only updated in custom table thru that transaction.

    Hi,
    First Create the program in SE38 (Report program /Module pool program)
    Steps to create the t-code for Report program.
    T-code for report program
    1. Go to se93
    2. give the meaning full t-code name
    3. Click on Create button (popup will appear)
    4.Give the meaning full short text
    5.Select the second radio button and press enter
    (Program and selection Screen)
    6. U will get a new screen , here u give ur report program name
    7. save, check and execute
    T-code for module pool program
    1. Go to se93
    2. give the meaning full t-code name
    3. Click on Create button (popup will appear)
    4.Give the meaning full short text
    5.Select the first radio radio button and press enter
    (program and screen)
    6. U will get a new screen , here u give ur report program name
    7. save, check and execute
    Hope this will solve ur problem
    Regard
    Anees

  • Search Help for transaction code KE53

    Hi Experts,
    I want to add one more elementary search help in already existing search help PRCT for tcode KE53.
    This is a collective search help. I am trying to create an elem. searh help which includes 3 input fields
    Profit Center (PRCTR), Text desc. of Profit Center (LTEXT), and Company Code (BUKRS). But the problem is PRCTR & BUKRS are in table CEPC_BUKRS and PRCTR & LTEXT in table CEPC. Then how do i club the 3 in a single elem help. Do i have to use Search Help Exit. I have created a FM in which i have written a select query as follows:
    SELECT APRCTR ALTEXT B~BUKRS
           FROM CEPCT AS A
           INNER JOIN CEPC_BUKRS AS B
           ON APRCTR = BPRCTR
           INTO CORRESPONDING FIELDS OF TABLE ITAB.
    ITAB is the table in FM. The FM also includes the changing parameters :SHLP & CALLCONTROL and tables SHLP_TAB & RECORD_TAB (but i dont know the use of the parameters). How do i proceed.
    I dont have any idea about search help exits. Also there is no table which includes PRCTR, BUKRS and LTEXT.

    Hi,
    No need to write a search help exit. You can instead give a database view in the selection method. This database view can be a join on the tables CEPC  and CEPC_BUKRS.
    Refer to the search help PRCTN which uses a database view as the selection method.
    Since this is a standard search help, you will have to use append search help technique. Refer to this link for [enhancing the standard search help|http://help.sap.com/erp2005_ehp_04/helpdata/EN/1f/29ef5777df11d2959800a0c929b3c3/frameset.htm].
    regards,
    Advait
    Edited by: Advait Gode on Dec 30, 2008 9:45 AM

  • Adding values to insert query [was: Plz help with this code]

    I have created a comments section in which there is only one field comment here is the code of the form:
    <form id="frmComment" name="frmComment" method="POST" action="<?php echo $editFormAction; ?>">
        <h3>
          <label for="namegd"></label>Comment:</h3>
        <p>
          <label for="comment2"></label>
          <textarea name="comment" id="comment2" cols="60" rows="10" ></textarea>
        </p>
        <p>
          <label for="submit">
          </label>
          <input type="submit" name="submit" id="submit" value="Submit" />
          <label for="reset"></label>
          <input type="reset" name="reset" id="reset" value="Clear" />
        </p>
    <input type="hidden" name="MM_insert" value="frmComment" />
    </form>
    and the insert into code applied to the form is this
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "frmComment")) {
      $insertSQL = sprintf("INSERT INTO comments (`comment`, ) VALUES (%s)",
                           GetSQLValueString($_POST['comment'], "text"));
      mysql_select_db($database_my_connection, $my_connection);
      $Result1 = mysql_query($insertSQL, $my_connection) or die(mysql_error());
    But I want the form to insert two more values to the database one will be the commented_by and the other will be post_id where commented_by = ($_SESSION['Username']) and post_id = $row_Recordset1['id'] can some one plz let me know what will be the modified code and ya commented_by is a text field and post_id is an int field.
    Plz guys help me Thanks in advance

    Adding the extra values to the insert query is easy:
    $insertSQL = sprintf("INSERT INTO comments (`comment`, commented_by, post_id) VALUES (%s, %s, %s)",
             GetSQLValueString($_POST['comment'], "text"),
             GetSQLValueString($_SESSION['Username'], "text"),
             GetSQLValueString($row_recordset1['id'], "int"));
    You need to make sure that the code for recordset1 comes before the insert query. By default, Dreamweaver places recordset code immediately above the DOCTYPE declaration, and below other server behaviors. So, you need to move the code. Otherwise, this insert query won't work.

  • HELP: Customized Transaction Codes

    dear sap gurus,
    just want to ask about what i observed with my customized tcodes (for my Z programs, which are run by users using SA38).
    the customized tcodes call a screen layout different from that of running the Z programs themselves. i do not see the actual fields.
    is there a way to correct this?
    thanks a lot.
    best regards,
    albert
    Edited by: Albert Joseph  Canceran on Apr 30, 2009 10:23 AM

    Hi,
    You should get the first-appeared screen number (SY-DYNNR) when running the Z program, then go to SE93 to check the corresponding Tcode.
    If the Z program calling a standard selection screen, or just show result without a selection screen, the SY-DYNNR should be '1000' in SE93, and its type should be 'report transaction'.
    If the Z program calling a customize screen, please check SY-DYNNR with that in SE93. Also, it should have the type 'dialog screen'.
    Regards,
    Xiaohong.Z

  • Issue in transaction code creation for sap query report .

    Hi  Gurus,
    I have a requirement to create transaction codes for sap query reports. I found two ways to create transaction code for sap query report
    1) By Generating program for sap query report and creation of transaction code for that generated Program. in tcode.
    2) By using parameter transaction options in start object of se93
    What are the difference between creation of these two ways. Please specify  the advantages and disadvantages of both methods.
    Regards,
    Suneel Kumar Uggina.

    Hi Jogeswara Rao,
    But I am getting problem while transporting form development system to  the production system. After transporting to Production system  I have used the code created in development system, but it is giving Error ' No Program Found for that Transaction Code. And  I would like to know  on what conditions should I have to  use the First one  and as well as a second one in sap query reports.
    Thank You,
    Suneel Kumar Uggina.

  • Attach a transaction code to abap query program

    Hi!
    I have developed a report with ABAP query in development server with transaction codes SQ01, SQ02 AND SQ03 respectively.
    program is generated from SQ01 and i also got the program name from SQ01.
    Now how to attach a transaction code with the program that is generated from ABAP query and transport it to production server
    successfully.
    points to be rewarded .
    regards
    Amit

    hiiii
    go to
    sq02 ->
    Select Environment -> Query Areas..
    Select Standard Area (Client specific)
    (If Query does not exist in Standard Area then You will have to copy that Query From Global Area to Standard Area.)
    For Coping Query From Global To standard first select that query from list.
    Now select Environment-> Transports
    In next screen select Copy Global to standard radio button.
    Check Overwriting allowed (only with import/upload/copy)
    Remove Check for Test Run
    Select Transport InfoSets and queries radio button
    Fill Infoset and Query with corresponding names.
    Now Press Execute button.Copy Log will be displayed.
    Now Query exist in Global & Standard Area.
    Go to SQ02 .
    Select Environment -> Query Areas..
    Select Standard Area (Client specific)
    Select Infoset from list.
    Select Download radio button
    Check Overwriting allowed (only with import/upload/copy)
    Remove Check for Test Run
    Select Transport InfoSets and queries radio button
    Click on Execute button
    same way you can upload sap query..from one system to another
    regards
    twinkal
    Fill Infoset and Query with corresponding names.

  • Need help in transcation code ime0

    I need help in transaction code ime0. I mean to say what is this TCode doing? What different Drill-down program means? Where I can use this report?
    Regards,
    Subhasish

    Hi
    Please check the link for help
    <a href="http://help.sap.com/saphelp_47x200/helpdata/EN/5c/8db33f555411d189660000e829fbbd/frameset.htm">CA - Drilldown Reporting</a>
    Hope it helps
    Anirban

  • Need help regarding report ( i need the transaction code copy of the query)

    Hi,
    I want to copy the query designer fields and those field i have to use another query for that can any one give me the transaction code for copy query
    thanks
    phanidhar

    RSZC = to coy quer from on infoprovider to another..
    HOpe it helps
    Thanks for points assigned

  • Transaction code for SAP query reports

    Hi All,
    I am trying to create transaction code for sap query report but couldn't go further.
    1) Created User group in SQ03
    2) Created infoset in SQ03 and assigned that to the user group
    3) Created query in SQ01 using the infoset.
    I executed the report in SQ01 and it is working fine.
    Now I try to create a transaction code in SE93 using the steps mentioned in the following link:
    Assign transaction code to SAP Query (created via SQ01)
    But when try to execute the report using the transaction code, it is giving error message 'User group xxxxxx is not yet created'
    Could any one advice me if I miss something? Or please help me to create this transaction code and transport to production?
    Thanks in advance

    HI,
    based on the thread you've already mentioned:
    In SE93, Create a Paramter Transaction
    -> Transaction = Start_report
    -> In default values, give the below details:
    D_SREPOVARI-REPORTTYPE = AQ
    D_SREPOVARI-EXTDREPORT = Name of the Query
    D_SREPOVARI-REPORT = User Group
    So check if the user group is typed correct in SE93 and check also if the user group exits in the system where you are trying to run the transaction.
    best regards, Christian

  • Transaction Code assignment for Query created in SQVI

    Dear All,
    Good morning I hope you are doing great...
    Can any body help me out to assign transaction code for Query which was created through SQVI transaction.
    Regards,
    Murali.

    Hi Murali Mohan
    1>go to SQVI t code and  enter your query name and press enter
    2>In the menu path select Quick view--> additional functions-->Generate Program
    3>After Generating the program In the menu path select Quick view--> additional functions-->Display report Name
    4>Now in se38 enter the report name in Program field and execute
    5>You will get the Initial Selection screen of the report . Go to Menu of System -->Status
    6> Note down the Program name and Screen number
    7>Go to SE93 and Create a Z tcode for the query, Enter the description  and importantly you have to select the 2nd Option radio Button Program and Selection Screen (Report Transaction) and Press enter
    8>In the next screen enter the Report name In Program field and enter the screen number
    9>In the classification Section select Professional user  Transaction
    10>In GUI support section select all the options  i.e SAPGUI for HTML,Java,Windows
    and save
    the system will ask for Package select your package if not there then select local object
    now execute the Z tcode your report will run sucessfully
    Regards
    Vijay hebbal

  • Transaction code thro' SAP Query for customer spefific report

    hi experts,
    how to create transaction code (using SE43-) for the sap query created on own??
    I have created the following required for a customer specific report
    1.Infoset thro sq02
    2.user group thro sq03 and assigned it to infoset
    3.query thro sq01 and saved it with text
    earlier i have used logical database PNPCE ( relevant for PA and payroll modules reports)
    using sq01 , go to basic list , selected required infotypes and fields and
    then selected, SAP List viewer for viewing and i get the report.
    Now my question is how to create a separate transaction code for this sap query which i created
    should i use SE43( area menu maintenance and area class???_)
    should i create a variant and go to SE43??
    advice solicited
    snr

    Hello
    when you excecute the query in right han side corner  you can get the program name
    go to se80 select program & type this name and then you can create a tcode for that prog in SE80
    reward points if helpful.
    the prog name will be something like : AQZZ/SAPQUERY/* " ur query name
    you can search for the name also in this manner

  • ABAP Query Execution via Custom Transaction Code - Not working

    We have created an ABAP Query in our DEV client and we then created a transaction code to run that query. We have done this because the customer does not want anyone to have access to SQ01, SQ02 in production. This works great in DEV but we can not get it to work in production.
    The ABAP Query was exported to our Prod client successfully.  I say exported because you do not do direct transports with queries.
    We then transported the new transaction code to run the query to production and it was successful.
    However, when we run the transaction is production we get a sys dump stating it can not find the query.
    We believe the problem is the TRDIR table is missing an entry for the program in production (it has an entry in DEV).
    I would have thought that the export on the query would have brought in this entry -but obviously not.
    Any suggestions on how we can get this entry into the production client?  Did we miss a step on the export that would do this?  We want to only bring over this entry - not the entire TRDIR table for obvious reasons (size (1.5 million entries, programs not ready for production, etc.).
    Please help!
    Thanks.
    Scott

    Hi,
    The above solution will work if you assign the transaction in one server, If you want this will not work in quality/production boxes when transported the query..the program name will not be the same in all the servers...
    For this. Do the below:
    In SE93, Create a Paramter Transaction
    -> Transaction = Start_report
    -> In default values, give the below details:
         D_SREPOVARI-REPORTTYPE = AQ
         D_SREPOVARI-EXTDREPORT = Name of the Query
         D_SREPOVARI-REPORT = User Group
    Save the transaction..Now if the program is generated with different names in the quality/proudction, this will still work..
    Regards
    Vijay Hebbal

  • Can we give Transaction code for an SAP Query(SQ01)..?

    Hi All,
           Can we assign an Transaction code for an SAP Query...?If yes, How..?
    Waiting for your valuable replies.
    Thanks and regards,
    Rahul.

    Hi Rahul,
                   In SQ01,
    go to menu path
                   Query--->morefunctions -
    >Display report name.
    Copy this program name. then
    GotoSE93  .enter a tcode name .press create.
    select program and selection screen option .
    enter the Program name.
    Reward points if helpful.
    regards,
    Hemant

  • Need transaction code for opening Bex query designer?

    Hi ALL,
      Can anyone help me with the transaction code for opening Bex query designer?
      Like RRMX for Bex Analyzer similarly i want for Bex query designer.
    Thanks & Regards
    Sameer Khan

    THERE IS NO TCODE FOR QUERY DESIGNER. BUT THERE IS AN ALTERNATIVE..
    OPEN BEX ANALYSER THROUGH RRMX
    OPEN A QUERY
    CLICK ON TOOLS-> EDIT QUERY
    THIS OPENS QUERY DESIGNER AND YOU CAN USE IT NORMALLY..

Maybe you are looking for

  • Notebook using Vista and wireless print server and HP5500 printer problem

    Installed std vista local driver for hp5550 printer with usb cable direct to printer.  Works ok Then, disconnected usb copper line to HP labtop and connected it into print server in router (D-link router to HP5500 printer). Installed wireless network

  • File names on attachments

    My requirement is to send a file as attachment using Mail adapter. While using mail adapter, I need to retain the original file name as the name of the attachment. How can this be achieved?

  • Imported Songs Out of Order

    Hello- I imported 2 disc live album and iTunes is putting Disc 2 before disk 1. It's a live album so it comes out strange. Any idea how I fix this? Latest Mac OS and Latest iTunes. Thanks.

  • Installing Final Cut Pro 1.2.5 on OS X

    A buddy of mine was digging through some of his old software and found an unopened version of Final Cut Pro 1.2.5. I'm attempting to install in on my PowerBook G4, and I'm wondering if it is even possible. I have installed and began running "classic"

  • Mavericks user interface hangs - any known solutions?

    I have a 27" late 2012 iMac with an up-to-date copy of Mavericks (10.9.4.) Occasionally (as in every couple of weeks) the user interface hangs completely. The mouse cursor moves, but clicks do not have an effect, and the keyboard is ignored. Applicat