Ad hoc query text field reference

Hi all,
Faily new to all this and wonder if you have any insight on the following:
In ad hoc query I'm adding additional fields to a functional area. They subsequently show up in SQ02 in the left hand pane tree structure for that functional area.
Now, if I double click on one of the additional fields the most central pane shows the details of this field. One of the boxes in there called 'References' contains a field 'Text field' that associates a long text with the code that the field contains.
As a made-up example: the add. field could be Personnel Area, value "XY01", and it is associated with a field Personnel Area Long Text that contains "Xeta Yoyo Regional Office". This is the association shown in 'References' -> 'Text Field'.
My problem is that this 'Text field' field seems to be populated automatically, that is there is some kind of automatic link between the field and the foreign field that contains its associated long text. Also it's greyed out so un-editable.
Does anyone know where this relationship comes from? Does anyone know how to be able to edit this 'Text field' field?
Grateful for help,
Richie

Ok, I'll try to be a bit clearer.
For infosets in Ad Hoc Query, a field has an option to be related to another, different field that provides the long text version of this. Example: field P1000-OTYPE 'object type' is related to T7770-OTEXT 'object type text'.
This relationship is displayed for each infoset additional field: right click on the add. field ->  display/change definition, text identification ->  'Determine LIKE reference using text field' in the pop up window.
Problem is this text field is <b>always</b> greyed out and uneditable. So the question was, how do you set this yourself?
Hope this clarifies stuff, thanks for any help,
Richie

Similar Messages

  • Ad Hoc query Addition Field code

    Dear Experts,
    I need amend Ad hoc query to be able to report on Expected End MPP Q0088-EEMPP, It is not a standard field in the infotype for SE16 or SAP Query/Ad Hoc. We need to be able to query off this field. Can someone please point me in the right direction about how to get the calculated value from this field added to queries, or what code is needed.
    I have created an additional field in SQ02, i probably need code to make it fetch the data
    thanks
    haji

    Hi,
    Please take a look at standard function module HR_GBSMP_MPP_DATES. It returns the expected end date.
    Hope this helps.
    Donnie

  • SAP query text field

    Hi,
    I created a new customised field in infotype 9000 that has the same domain (but not the same component type) as p0001-stell(job).
    During sap query, i notice that this field only contain values and does not contain the text field. Please advise how i can add in the text field for this.

    Hi Lanwu,
    For the Custom field, let its domain be the same as the Sap standard field P0001-STELL ( JOB) . Do Not Change the Domain.
    Instead Create a Custom Data Element on this standard sap domain STELL and use ur naming convection for the text.
    Use this Customised or Z Data Element into ur Customised Field.
    Now wherever u use this field, the text specified in the data element would pop up.
    Thus u wont be touching the standard SAP Fields.
    Hope this helps.
    Jay Gandhi

  • How to get query text from reference cursor

    Oracle 9.2.0.5
    create or replace procedure test3
    is
       lcur sys_refcursor;
       lquery varchar2(2000);
    begin
       OPEN lcur FOR
          SELECT CONTRACT_ID FROM CONTRACT;
       lquery := lcur.Query;     -- <= Pseudocode           
    end;Basically, if someone passes a reference cursor, how can I get the "text" of the cursor. I want to pass it to DBMS_DESCRIBE.PARSE...so that I eventually call DBMS_SQL.DESCRIBE_COLUMNS.
    Thanks,
    Jason

    Do you have a code example?
    Ideally, I'd like to use Pl/SQL only, but if I have to do it in Java, I will.
    Thanks,
    Jason

  • Input ready query text field

    As per previous posts, I have enabled the document property for a char that references the keyfigure and added a field to store the comments.Also added Single Document web item along with the analysis web item.
    But I couldnt find HTML code to make it work .
    Can anyone please provide me the HTML code that is used for this requirement.
    Thanks in advance!

    As per previous posts, I have enabled the document property for a char that references the keyfigure and added a field to store the comments.Also added Single Document web item along with the analysis web item.
    But I couldnt find HTML code to make it work .
    Can anyone please provide me the HTML code that is used for this requirement.
    Thanks in advance!

  • Autofill form text fields from database

    I have made a form in asp code with text fields. Behind this page is a database (access).
    This database contains static information and does not need to be updated. It is only for output.
    In this form, there are some text fields to be filled in.
    Reference
    First name
    Last name
    E-mail address
    Telephone number
    This information is in the database.
    What I try to do is that when the first text field "Reference" is filled, the related information is selected from the database and automatically put in the other corresponding text fields.
    Anybody any idea how to do this?

    I don't use ASP, but the simple way to approach this problem is to have two pages. The first page contains a form with a text field for Reference and a submit button. Set the form's method to GET, and the action to the page that contains the full form.
    In the page that contains the full form, create a recordset to select the details from the database, using the URL parameter for Reference as a filter. You can then bind the results from the recordset to the value attributes of the remaining form fields.

  • Query text fileds with ADO/OLEDB connection (Set command over ADO is it pos

    Dear Oracle users,
    I try to query the TEXT field of dba_views but run into the problem that the return
    lengths is limited to 80 characters.
    On iSQLplus I can use the command e.g. "set long 1000".
    If I try to use this command over the ADO connection before I start my SQL query I get an error (assumingly because the set commandos cannot be used over ADO connections ?).
    Is there a way to be able to query text fields with more than 80 characters using ADO/OLEDB ?
    Hope someone can help.
    Best regards,
    Daniel Wetzler

    Hi Jon,
    Well, I think I've got it working, but I'm not really happy with my work around.
    I tried upgrading to version 2 of .NET (I was using v1.1) But there was no change, I also modified the code so that it destroyed the connection to the ADO after each INSERT and before each get string, but it still failed in the middle of the same directory.
    I've just inserted a wait statment which delays every itteration by 200 ms and that actually seems to have fixed things... I say "Seems" because I've been running the program for 45 minutes now and I'm less than a third of the way through the directories! (previous execute time was 7 mins)
    This delay occured to me because the problems started when I changed the parsing sequence to improve the speed of the opperation.
    However, this is not exactly an ideal sollution... Do you think the problem is with the ActiveX "connection" or the actual database connection?
    Any help would be appreciated because the running speed is now immpractical and I'm not sure why this should have worked.
    Thanks - Pete

  • How to populate Doc Header Text Field & Ref Field in OASV Transaction?

    Hello everyone,
    I need to seek your help regarding, on how can I populate values in "Document Header Text Field" & "Reference Text Field" in OASV transaction, as these fields are invisible and are mandotory at document type.
    (I know we can disable their status in the document type, but we don't want to do so).
    Regards,
    Saurabh Patni

    Hi Mukthar,
    Thanks for the quick reply.
    I had tried to work out with substitution rule for the document type and transaction code, but still no use, the same error persists.
    (In Subsitution I am going with constant value to be replaced), I am defining it for Callup point 1, but it is not working.

  • How to make a custom field as text as well as value fied in ad hoc query

    hi,
      i have created a custom infotype 9004 in which the custom field contain the code values, and the text of this code values are maintained in another ztable.
    when i am viewing this infotype in Ad hoc query i am able to see this fields as only value fields and hence i am unable to get text for this field i.e when we right click on this field only the value option is enabled and the text option is disabled, both these options are enabled in some other standard fields like pernr(personnel no), persg(employee group),persk(employee subgroup).
       can anybody suggest me how to enable both these options for custom fields.

    Assign you table of text as a table text to the data element/domain of your custom field or thru external key on your infotype.
    Query is able to analyse these links.
    Regards.

  • Display Currency field in Ad Hoc Query

    I done enhancment in Infotype 23 for Last Salary drawn as currency field and ref type as PA0015 WAERS in Ad Hoc Query.  But I am not able to display the same field with value.  Its always shows me blank.  Is there any settings to be done to display currency field in ad hoc query??  Pl. help me as this is very urgent.

    Hi Praveen,
    i have selected both value and text, still i'm not getting it.

  • SQ02 - Ad Hoc Query - Custom additional fields

    HI experts
    I am working additional fields in SQ02 .
    I added a new additional field for an info type in SQ02.
    Issue is when I right click on my additional field I can see options 'Only value' but for other fields I can see ' only value ' , 'only text' and ' value and text' .
    When creating the new field in SQ02, the check box "Determine LIKE reference using text field" is disabled.
    Is there is configuration somewhere or any other way, where I can also get the text for the custom additional field?
    I can see that this question has been asked earlier, but there are no responses.
    Also on SAP documentation, this field is shown as enabled.
    But I cant get the text for a additional field working. Please coyu post your suggestions?
    Thanks,
    Vaishali

    Hello Srini,
    Thank you for your time.
    Consider the additional field SYHR_A_P0001_AF_PL_CTRY (country) in Infotype 0001 in the infoset.
    This field does not populate any country code or text for us, so I need to create a custom additional field that will have the same functionality.
    I have created two new additional fields - Z_Country_Code and Z_country_text in additional fields section of IT0001.
    One field fetches country code and other fetches the text corresponding to this code.
    What I want to achieve is the standard functionality that is available for standard fields - P0001-WERKS for example.
    In the query output, you could select to display text/code/ text and code.
    For the additional field "Country", I have to select two separate fields - Z_Country_Code and Z_country_text  to achieve the same  functionality.
    How can I achieve this?
    When we define a custom additional field, in the field definition section, there is a check-box "Determine LIKE reference using TEXT FIELD" , but this is disabled when I create the additional fields. Perhaps, if this is enabled, then I can define the text table.
    Any ideas how to enable this text box?
    Vaishali

  • Pulling Job short text in Ad Hoc query

    Hi All,
    I want to pull the 'short text' field defined in Job into my ad-hoc query. If we select the Output as 'Text only' for Job in IT0001 the output is always the long text e.g. Director of Human Resource. I want to output the short text e.g. DIRHR in my ad hoc query. Both short text and long texts are defined in IT1000 while creating a new Job however the queries from infoset PNPCE only pulls the long text. I can pull the short text in ad hoc query from a OM infoset but for the business requirements we have to use PNPCE. Is there a way to achieve this?
    Thanks for your help.
    Sanghamitra

    This field's text is not available in PNPCE based infosets, you have to create a custom field and write a select statement to fetch the data from table HRP1000. You can find the steps on [how to create custom fields here|/people/shafiq.rehman3/blog/2008/06/16/sap-adhoc-query-sq01-sq02-sq03]:

  • Query a view w/data entered into a text field populated by 2 table fields

    Hello, Looking for advise!!! I have a tabular canvas thats datablock uses a view to populate. In this canvas I have a text field that has been populated with first_name || ' ' || last_name in the database node of the property pallate column name. The text field is not in the table or view. I have created it in the data block and make it a database item. However, I would like to have the user push a search button to go into ENTER_QUERY mode then the user would enter the criteria to search on in this text field. The user would then push button to EXECUTE_QUERY. The result is I retrieve all records. I want any search criteria entered into this field to be used against the last_name field to retrieve any records equal to the search criteria entered, for example A%. Does anyone know if this is possible?

    Hi!
    You have to use PRE-QUERY trigger to compose the search criteria. Below I put an example of it. You have to have at least one item in the block wich is true database item (e.g. it has to exist in table or view on which your block is based). In the following example EMP_DESC is your non-database search item and EMP_ID is the database one.
    Declare
    Dummy VARCHAR2 (2000);
    begin
    if :EMP.EMP_DESC IS NOT NULL and :EMP.EMP_ID IS NULL
    then
    Dummy := '#IN (SELECT emp_id FROM Employees WHERE Upper (emp_first_name)||'' ''||Upper (emp_sec_name) LIKE Upper (''%'||:EMP.EMP_DESC||'%''))';
    Copy (Dummy, 'EMP.EMP_ID');
    end if;
    end;
    Thats it. Note the # sign in the first position of the Dummy assignment. This is required by forms to glue your search criteria and block's where clause. You may analize LAST_QUERY property of your block in order to understand how this work. Remember also to set the QUERY_LENGTH property of the EMP_DESC item to the value that could contain the whole Dummy string (otherwise it will give you an error and cut the mar the query).
    Hope this helps.
    Sergey.
    P.S. And set your EMP_DESC database item property to NO.

  • Reg Query For Multiple Text Fields

    Hi all
    I am New to this forum..
    I am developing an application for generating reports.
    In my application i have multiple text fields.
    The user might enter any of the textfields or even enter all the fields.
    In those cases how to use the query when some fields are empty??

    Welcome to the forum.
    It always helps to post a small, simplified example of what it is you're trying to achieve.
    (When posting examples, put the {noformat}{noformat} tag before and after the example, so it will get posted formatted on this forum.)
    In those cases how to use the query when some fields are empty??If your textfields serve as parameters/bind variables for you query, then you could use NVL.
    Something like:select ...
    from some_table
    where col1 = nvl(p_col1, col1)
    and col2 = nvl(p_col2, col2)
    And how about wildcards (the '%' or '_' sign), by the way? Are they allowed as well?
    You also might want to read about this approach:
    http://www.oracle.com/technology/oramag/oracle/09-jul/o49asktom.html                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to make fields in field group as text fields in ABAP query

    Hi friends,
    I a have a ABAP query 85 corresponding to infoset A205,
    there is a field group in the infoset A205 and it contains some fields
    but some of the fields are made as text fields ................i want to know how to make these fields in
    the field group as text fields.
    there is a small icon  " T " on the field when it is made as a text field .
    Please help me
    Thanks & Regards

    Hi,
    IF you can specify which Field Catalog then it will be useful for us to provide appropriate answer.
    1. For Customer Master
    IMG> Financial Accounting New> Acs Recev and Acs Payable --> Customer Accounts --> Master Data --> Preperation of creating customer master Data --> Define Account Groups with screen layout (customers)
    In that you can create your own account group, and click Details Screen.
    There will Field Status header within that are listed three main areas
    General data
    Company code data
    Sales data
    When you double click these lines it will take you into "Status Group" Overview. Wherein under "Select Group" are listed fields Address, communiucation.... Double click on one group , you will bet aken into the group field wherein you will find 4 colums with indicators assigned to it. ( Suppress, Req. Entry, Opt Entry, Display) you can choose the required option. "Req. Entry" against the field. Click save after you complete your selections.
    2. Similarly you can do for Material Master in
    IMG --> Logistics General --> Material Master --> Field Selection --> Maintain Field Selection for Data Screens
    But be careful when you do it for material master as it is cuts across all the modules...
    Regards
    Sathya

Maybe you are looking for

  • Help with deleting files

    OK, so all of a sudden today my Mac has been acting weird with one thing. I am a photographer and have been using the standard viewing to edit down my folders. For examples, I have a folder with Baby A's photos. I click on the folder and in the list

  • Scrolling bar with external text

    Hi, I'm trying to create a scroller bar with external text on Flash, but not suceeding much. I want to do it in AS 2.0, as my whole website is created in AS 2.0. I found a tutorial on Kirupa for Flash MX 2004, but does not work with Flash CS4, which

  • Adobe Minion Italic did not download. How can i get it?

    I am a newb to Indesign, I have purchased the Adobe textbook, and downloaded the tutorials through Peach Pit, however Minion Italic is missing. Can i recover this are do i need to pay? Th bold and normal fonts are present on my Operating System. Than

  • Error Mesages in /var/log/messages

    Hi, Dec 9 04:03:08 drs syslogd 1.4.1: restart (remote reception). Dec 9 04:03:18 drs logger: Could not access /etc/oracle/scls_scr/drs/root/crsstart. Dec 9 04:03:18 drs logger: Oracle Cluster Ready Services disabled by corrupt install Dec 9 04:03:18

  • Weird behaviour when soft proofing.

    I'm finding that if I open an image in DEVELOP, when soft proofing is ALREADY switched on, the sliders usually grey out as soon as I make a first adjustment, the histogram display disappears as well. Toggling the soft proof check box brings everythin