SAP Query: Caseless search for case-senstive dictionary field

Hi
I have a question regarding the select options in a sap query. here is the scenario:
I have a SAP query + infoset. in the selection sreen I have a field from the type MAKTX. this field is a character field that allows upper and lower case. I have the problem that my users provide an input only in lower case e.g. "bottle" and only find the results where bottle is only in lower case. Results with the word "Bottle" they cannot find.
I am pretty familiar with abap and programing the code to achiev this is not the problem. I just don't know how I can bring my coding and the sap query together. I had 2 ideas:
a) I make a z-search help and attach it to my select-option in the selection screen. but I don't know if this is possible and where I do that
b) I put my code into the code-enhancement section in the infoset. but again I am not sure where I have to put it and if there are any restrictions that I have to know....
c) any other solution will be good as well... maybe somebody has an idea.
I hope I could make my problem clear. please let me know if you have any idea how I can do that. I don't want to modify the data dictionary object!!.
thanks in advance - <offer removed by moderator>.
thanks a lot
Alex
Edited by: Thomas Zloch on Oct 6, 2011 8:57 PM

Use MAKTG instead, in the selection screen. It's has the same value as MAKTX but it's not case sensitive.

Similar Messages

  • Query to search for independent DO

    Hi experts,
    I need a query to search for independent DO (DO without SO). I have been trying for quite sometime but the results appear to be duplicative and irrelevant. This is the syntax that I am using now,
    SELECT DISTINCT T0.[DocNum] as 'SO#', T0.[DocStatus], T0.[DocDate], T0.[CardName], T1.[ItemCode], T1.[Quantity], T3.[DocNum] as 'DO#'
    FROM ORDR T0  INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry
    RIGHT JOIN DLN1 T2 ON T2.TrgetEntry = T1.DocEntry
    INNER JOIN ODLN T3 ON T2.DocEntry = T3.DocEntry
    I think there are something wrong with the syntax but I just can't figure out where is wrong. Please help.
    Thank you.
    Best Regards,
    Alex

    Hi Alex,
    Try this,
    SELECT DISTINCT T0.DocNum as 'SO#', T0.DocStatus, T0.DocDate, T0.CardName,
    T1.ItemCode, T1.Quantity, T3.DocNum as 'DO#'
    FROM ORDR T0 INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry
    RIGHT JOIN DLN1 T2 ON T2.TrgetEntry = T1.DocEntry
    INNER JOIN ODLN T3 ON T2.DocEntry = T3.DocEntry
    WHERE T2.[BaseRef] = ' '
    OR
    SELECT T0.[DocNum], T0.[DocStatus], T0.[DocDate], T0.[CardCode], T0.[CardName],
    T1.[ItemCode], T1.[Dscription], T1.[Quantity]
    FROM ODLN T0 INNER JOIN DLN1 T1 ON T0.DocEntry = T1.DocEntry
    WHERE T1.[BaseRef] = ' '
    Regards,
    Madhan.

  • Clues about query's - Search for date type at INBOX

    Hello Everyone,
    At IC Webclient, does anyone experiment to add a new search date type at INBOX, at "search for date" search parameter?
    I added a new date type at Date Management, ZDATA_PR.
    When I try to assemble the query parts, I use something like this:
    CL CL_CRM_QUERYAUI_RUN_BTIL
    METH READ_BUSINESS_TRANSACTIONS
    CALL METHOD cl_crm_report_qupart=>get_qupart_by_token
        EXPORTING
          iv_token     = 'DAT'
          iv_date_type = 'ZDATA_PAR'
          iv_from      = ls_query_aui-from
          iv_to        = ls_query_aui-to
        IMPORTING
          ev_qupart    = ls_qupart_range-querypart.
      APPEND ls_qupart_and   TO lt_query.
      APPEND ls_qupart_range TO lt_query.
    However, I'm rewarded with an error message telling me that I have problems with the query.
    Does anyone can give me clues how to perform this action? I'm clueless and there's not almost no information about this...
    Thanks and Kind Regards
    Bruno Garcia

    Just to solve a mistake at example code:
    CALL METHOD cl_crm_report_qupart=>get_qupart_by_token
    EXPORTING
    iv_token = 'DAT'
    iv_date_type = 'ZDATA_PR'
    iv_from = ls_query_aui-from
    iv_to = ls_query_aui-to
    IMPORTING
    ev_qupart = ls_qupart_range-querypart.
    APPEND ls_qupart_and TO lt_query.
    APPEND ls_qupart_range TO lt_query.
    does anyone has a suggestion or a clue to give?
    Thanks
    Bruno

  • UCxn - Query to search for a specific email address

    I've got an odd issue...I've got a user in our London office on a completely separate voicemail system (Unity 5) that is receiving SMTP notifications from the voicemail system (UCxn 9.1.2) here in the US.  I'm wondering if there's a query I can run against the database to search for her email address and see if it is in the US cluster someplace?  I'm not a DB guy at all, so when it comes to SQL, I'm lost.
    Appreciate any help someone can provide
    SJ           

    You can try the user data dump from the ciscounitytools online and then just search the output and see if it's in there.
    HTH
    java
    if this helps, please rate
    www.cisco.com/go/pdihelpdesk

  • SAP NW enterprise Search for windows

    Hello All,
      Can anybody clarify on the same can we install SAP NW enterprise Search 7.0 EH4 on windows Environment.  I found in the documentation it only supports Unix right now.
    Mani

    Check
    https://www.sdn.sap.com/irj/sdn/nw-search
    --> SAP NetWeaver Enterprise Search - Details.
    Starting on page 75 you'll see that it's an appliance (not a piece of software to install).
    Markus

  • SAP Query; change the name of the selection fields

    Hi,
    I created a SAP query using SQ01. When I execute the report, the selection field are the names of the table fields. As an example, I would like to change the selection field name «Customer number 1» for «Customer number». How can I change this selection field name in a SAP Query?
    Thanks,
    Julien

    Check Page Number 8 of this below mentioned document
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40bec8da-4cd8-2910-27a9-81f5ce10676c

  • Is there a way to Search (List search) for more then one field text from a column for Bulk uploading?

    I've been trying to find more information on this and I apologies if this has already been answered. I just don't know the correct way to ask this. We have a SharePoint List at the company that we have people input information into different columns. The
    problem is most of those information are very repetitive. Is there a way for me to search more then one field text in the column and just input that same information in?
    ex:
    Column 1
    Column 2
    Date:
    883851
    MidWest
    User input 
    8831518
    MidWest
    User input
    On the search field in the SharePoint List, I would need to search for 883851, 8831518 etc,  would view those requested numbers, then I would click edit and change dates to those rows. Does that make sense? I'm sorry I'm fairly new at sharepoint.

    I think what you're asking is about having repetitive options in a list, show up easily for new items being created.
    This can be done by setting the columns that contain repetitive information to Choice fields.  In the configuration of the Choice field, check the box for "Allow custom values".  Now as users are entering data into the list, the dropdown of options
    for a given field grows and users can quickly see and select previously entered and thus repetitive values for the given fields.
    I trust that answers your question...
    Thanks
    C
    |
    RSS |
    http://crayveon.com/blog |
    SharePoint Scripts | Twitter |
    Google+ | LinkedIn |
    Facebook | Quix Utilities for SharePoint

  • Searching for addresses in Bcc field

    When I do a search for recipients of my emails (i.e., when I search, then click on the "To" field), recipients of "To" and "Cc" emails show up but not recipients of Bcc emails. Is there anything I can do to have Bcc emails show up when I do a search?

    HI,
    I cant figure out how to go about doing the IMT search with a BLOB in a step-by-step manner or refer me to some notes (a URL) on the net. i cant get examples anywhere about this. I have done this with CLOBs though.
    Thanks!
    Sanjay Hi Sanjay,
    use Inso_filter to index the BLOB, this should work.
    With Inso filtering it is possible to index special Formats like PDF, DOC, HTML, XLS ...
    HTH
    Det

  • Search for  a big varchar2 field that contains specific string

    Hi to all,
    I've created a table with VARCHAR2 column and size of 4000 and a CONTEXT index for it. I use this SQL statement to search for a field that contains a specific word:
    SELECT text_body
    FROM my_table
    WHERE CONTAINS(text_body,'my_word')>0;
    this goes so well in SQL plus, so how can I implement this in my form?
    Thanks.

    Dear Craig,
    I installed forms 10g R2 ,besides I corrected a fault in the LOOP syntax.Thanks, The code now is correct with the function CONTAINS. but when I run my form and push the button, my form takes lots of time and return two errors:
    frm-41839 "Disc I/O error on temporary record buffer file%s".
    and frm-40900 "Unable to locate record buffer. Clear form to continue".
    the second error occurs due to memory low space I think.
    Dear Morgan,
    You are totally right with the function INSTR, but I use the function CONTAINS as it has large capabilities in my search. I even use CTXCAT index instead of CONTEXT index ,with function CATSEARCH but the problem still exists. All of the previous ways run better in SQL but not in forms(without cursor). Suppose I'm wrong with this technique. Is there another way to make such a search?!
    This is the new code:
    DECLARE
         CURSOR cc IS
    SELECT *
    FROM my_table
    WHERE CONTAINS(MY_TEXT_FIELD,'first_word AND second_word')>0;
    copy_cc my_table%rowtype;
    BEGIN
         OPEN cc;
         FETCH cc INTO copy_cc;
              LOOP
              :FORM_TEXT_FIELD:=copy_cc.my_text_field;
         EXIT WHEN cc%notfound;
              NEXT_RECORD;
              END LOOP;
              CLOSE cc;
    END;
    Regards.
    Waleed.

  • SQL Query to search for most and least popular brands bought by spesific client and total

    Hi to SQL query masters!
    I need to create a report on most and least popular brand names within one specific client orders.
    For example, during last month or a year among 100% of specific client's orders were 70% IBM products, 20% of HP and 10% Lenovo products.
    How do I do that?
    And I also think that it might be useful to have a query that shows top popular brands among all sales in given period of time – this statistic might improve warehouse turnover and marketing activities on least popular brand names.
    I tried to use info from this link, but it didn’t help https://websmp106.sap-ag.de/~form/sapnet?_SCENARIO=01100035870000000183&_FRAME=OBJECT&_HIER_KEY=701100035871000439554&
    Kind regards,
    Ilya.

    Hi
    Please Check this
    SELECT COUNT (T2.[CardCode]) as 'no of sales', T3.ItmsGrpNam,T2.Cardname
    FROM rdr1 T0  INNER JOIN OITM T1 ON T0.ItemCode = T1.ItemCode INNER JOIN ORDR T2 ON T0.DocEntry = T2.DocEntry
    INNER JOIN OITB T3 ON T1.ItmsGrpCod = T3.ItmsGrpCod
    WHERE T2.[DocDate] >= [%0] and  T2.[DocDate] <= [%1]
    GROUP BY T3.ItmsGrpNam,T2.Cardname
    ORDER BY COUNT (T2.[cardcode]) desc

  • Regular Expression Search for Case Statement in VBA

    Hi,
    I'm having trouble trying to use regular expressions in a case statement. I have a CSV spreadsheet of a server's netstat output and am trying to plot everything into Visio. I have been able to do that, however I'm not trying to expand this capability and
    resuse the same code for many different servers. 
    I have the mainServer variable set as a Variant and in my current example it is set as "INTPXY001" (internal proxy server 001). I have tried different regex statements for the potential to have INTPXY001 - INTPXY999, EXTPXY001 - EXTPXY999, and
    SVCPXY001 - SVCPXY999 in place of the Case "INTPXY001", but nothing I have tried seems to work.
    '========================================
    Set mainServer As Variant
    Set AppVisio = CreateObject("visio.application")
    AppVisio.Visible = True
    AppVisio.Documents.AddEx "", visMSDefault, 0
    AppVisio.Documents.OpenEx "server_u.vss", visOpenRO + visOpenDocked
    mainServer = ActiveSheet.Cells(1, 2) 'sets mainServer to INTPXY001
    With AppVisio.ActiveWindow.Page
    Select Case mainServer
    Case "INTPXY001"
    .Drop AppVisio.Documents.Item("SERVER_U.VSS").Masters.ItemU("Proxy server"), 2.25, 9.25
    Case Else
    .Drop AppVisio.Documents.Item("SERVER_U.VSS").Masters.Item(("Server"), 2.25, 9.25
    End Select
    End With
    '========================================

    You cannot declare variables As Variant in VBScript. All variables in VBScript are implicitly variants.
    If you are asking about VBA (Visual Basic for Applications), then you're not asking in the correct forum.
    -- Bill Stewart [Bill_Stewart]

  • SAP Query column sequence for Totalling fields

    Hi all
    We have a custom query in 4.6C in which the output displays only the total of Totaling fields maintained in the sequence Amount > Withholding Tax > Net Amount  (all currency related fields).
    However after upgrade to ECC 6.0, we notice that we are no longer able to sequence the output list to Amount > Withholding Tax > Net Amount
    Though we maintain the Totaling fields in the sequence Amount > Withholding Tax > Net Amount , the list is generated in the sequence Amount > Net Amount > Withholding Tax  and the sequence is changed accordingly in the Basic List after a test display of the Output.
    Is anyone aware if the sequencing control is removed in ECC based for the Totaling Fields?
    Kindly help share.
    Thanks in Advance
    Vinodh S

    Hi Faheem,
    After changing the column sequence i clicked configuration button and click save button and again clicked Configuration and selected Administrative button there i can see the column sequence change and clicked activate button .now if i close and reopen the transaction my column sequence is same with out changes that i made .
    you asked me to save the changes where i can do exactly ? Could you please tell in briefway from scratch so that i can trace where i done mistake.
    Thanking you in advance.
    Regards,
    narasimha.

  • Query Builder: Search for column

    The feature to dynamically expand/shrink the table list as I type stuff in the search box is great.
    But some of my tables have over 100 columns, I want to display all the tables/views having "ACCNT" in the columnname.
    How can I do that?
    Thanks

    Hello,
    In the Query Builder you can't but that sounds like a very good enhancment. Please idrop it in the 2.0 bug/wishlist app and we'll see if we can get it into a future version.
    Carl

  • Query - Formatted Search in a User Defined Field

    Hi,
    I am having some problems with a very simple query but it doesn't seem to work. I insert this formatted search in to my UDF I made called Cost. The query I am using is:
    SELECT  $[$34.0.0] - (I had to use variable number because this Unit Price field in the Item master data does not have a field name associated)
    It is supposed to grab the unit price from the screen, however it is always displaying zero when I query it, and when I put it in the UDF as a formatted search, it give me the internal error.
    I would greatly appreciate your help.
    Thanks

    Question 1: Where is this Cost UDF defined.  Is it at the Marketing document Header or row level?
    NOTE:
    The field reference for the Unit Price column is incorrect.  When you mouse over the Unit Price column you should see the values for Item=xx  Colunm=xx
    The syntax is $\[$Item.Column.Type].  Therefore for your case it should be $\[$38.14.Number]
    The type prefix can be 0 if you are accessing a Alphanumeric column.
    If you user field is at the Header level the Formatted Search Query might not work unless you highlight that whole row and then click on the header level UDF and press Shift+F2
    How have you set the refresh options?

  • Searching for values of authorization fields

    Is there a way to see the transaction codes or programs that makes use of a specific value of an authorization field?
    Example: K_PRICE001 has the following authorization fields.
                   BUKRS - Company Code 
                   WERKS - Plant        
                   CWPRICLABL - Price Type   
                   ACTVT - Activity     
    The permitted activities are "02" (Change) and "03" (Display).
    Can I find programs/transaction codes that use "02" only? or "03" only? or "*" for all?

    > What it does not do is show you what values are linked to it, that you have to do manually but atleast you would have a list to start with.
    Someone already did that and left all the information behind in the system for you - both check indicators (the capability of the transaction to control something) and proposals (the intended use of the transaction).
    They also update it with each support package, but it is nor 100% correct not a perfect match for all your intentions. You can use authorizations to tune it if you have set it up correctly in the first place...
    --> SU24.
    Cheers,
    Julius

Maybe you are looking for

  • How do I install NVivo on my MacBook Pro?

    Is it possible to download Nvivo on my MacBook Pro?

  • Decimal places in doubles

    Hi, How do you limit the number of decimal places which are displayed by a double?? Cheers David

  • Can somebody explain to me how java and xml are related?

    Hi guys im new to java and xml.Been reading a lot regarding java and don't seem to have a problem with it... the problem is the xml part...im doing a simple GUI project using swing(online store) and i have to convert it to xml I have absolutely NO ID

  • Combining spry & css

    I have done a spry gallery, by replacing images from a tutorial. tried to center the page within the browsers windows by looking @ previous css, the page ignores all but body color. On another front I have through a css tutorial centered a two column

  • Backup Copy "Don't Have Write Access for your iTunes Media Folder"

    Subject states the case. Here is what changed. I run a Mac Mini with an external hard drive with about 200gb of music (HD-1). I have a second external HD that I use to periodically back up with Time Machine (HD-2). HD-1 crashed so I bought a new driv