BW BEx using a wildcard  ("*")???

Hello BW Gurus,
Does anyone know if it’s possible to select characteristics in BW BEx using a wildcard-like (“”) approach.  For example, if you wanted to filter on 6 digit GL Accounts that start with a 3 and end with a 1 (“31”).  I can seem to come up with anything.  As a test I’ve tried to use the customer exit and the CMOD structure:
     l_s_range-low  = ‘3000001’.
     l_s_range-sign = 'I'.
     l_s_range-opt  = 'EQ'.
     append l_s_range to e_t_range.
     l_s_range-low  = ‘3001001’.
     l_s_range-sign = 'I'.
     l_s_range-opt  = 'EQ'.
     append l_s_range to e_t_range.
Thinking that I could use a select statement and a loop to fill e_t_range but it appears that e_t_range only holds one record at a time (i.e. BEX errors out when I try this code).
Anyone have any ideas?

Unfortunately I could not get the ‘CP’ operator to not work in the CMOD but if I add a a clear statement "CLEAR L_S_RANGE." to the code as in...
        CLEAR L_S_RANGE.
        L_S_RANGE-LOW      = '0000310000'.
        L_S_RANGE-SIGN     = 'I'.
        L_S_RANGE-OPT      = 'EQ'.
        APPEND L_S_RANGE TO E_T_RANGE.
-->     CLEAR L_S_RANGE.
        L_S_RANGE-LOW      = '0000410000'.
        L_S_RANGE-SIGN     = 'I'.
        L_S_RANGE-OPT      = 'EQ'.
        APPEND L_S_RANGE TO E_T_RANGE.
it works.  I believe the BEX variable must be defined with the multiple single select option.
Thanks you
Charles Harlton

Similar Messages

  • How do I use a wildcard to call a set of files?

    I had this vi working once and now I can't recreate it.  I have a folder with an ASCII file of temperature readings from each day of the month.  The filename consists of the date and time.  I want to recall each file in a loop and find the maximum value in three of the columns (that all works).  My problem is that even though the date portion of the filename is easily found, the time stamp could be anything.  So, a created a path that includes the drive, the folder, and the subfolder (the month of the year).  Then I appended from the loop the day of the month.  I am using an asterisk '*' as a wildcard.  The vi does not like it.  If I strip off the time portion of all of the filenames, it works fine.
    Example of a file name : Q:\APR\2010\1_2010\1_22_2010 60719 AM     - Type of file is a Text Document
    Example of using a wildcard: Q\APR\2010\1_2010\1_22_2010*
    It's at the end as people on this board have suggested.
    Attachments:
    Monthly Gas Test VI.vi ‏186 KB

    Does the list function require interaction by the user?  I was hoping to avoid that.  I'll check it out.  Thanks.
    Ron

  • File System Task - using a wildcard in variable

    Hi,When using the "delete file" operation in the file system task I get an error stating that I have an incorrect path when using the wildcard symbol.  Is there a way around this or do I have to spell out the whole name for each file in the
    directiory.  I cannot not use the "delete directory contents" operation because I have two sub directiories in my directory.  I'm trying to use the following when I get the error
    \\devbox\df\*.csv  when I spell out whole name of the file it works.  Any suggestions?
    LISA86

    this cant be done like this. Only possible if you put file system task in for each loop container and perform deletion one at at time.
    http://technet.microsoft.com/en-us/library/ms140185.aspx
    The File System task operates on a single file or directory. Therefore, this task does not support the use of wildcard characters to perform the same operation on multiple files. To have the File System task repeat an operation on multiple files or directories,
    put the File System task in a Foreach Loop container, as described in the following steps:
    Configure the Foreach Loop container   On the Collection page of the Foreach Loop Editor, set the enumerator to
    Foreach File Enumerator and enter the wildcard expression as the enumerator configuration for
    Files. On the Variable Mappings page of the Foreach Loop Editor, map a variable that you want to use to pass the file names one at a time to the File System task.
    Add and configure a File System task   Add a File System task to the Foreach Loop container. On the
    General page of the File System Task Editor, set the SourceVariable or
    DestinationVariable property to the variable that you defined in the Foreach Loop container.
    Thanks, hsbal

  • Using a wildcard in the contact number for a messenging service.

    I am a volunteer firefighter. Our fire company uses a messenging service to send MMS notifications when there is a call. All of the messages come through as 1(410)000-nnn where nnn = the sequential message number. E.g. let's say I get a text at 06:00, the sender is 1(410)000-236 Then, I get another call at 11:00 and the sender is 1(410)000-237, etc.
    I would like to add the number to my contacts using a wildcard so that any text from, say, 1(410)000-### is listed as "Fire Company". Is there any way to accomplish this?

    It's the same story with phone numbers. E.g. let's say I am a Geico customer and because they are so big, they have their own trunk line. Thus, any number from 123-456-nnnn is going to be Geico. I don't really care to program 10,000± numbers into my phone. I just want to know that it's Geico calling me. Programming 123-456-#### or something for "Geico Insurance" would be nice.

  • XI File Adapter: Sender and the use of wildcards in the directory name

    Hi,
    Quick question for you XI guru's.  I have a requirement to <b>read</b> files from an ftp server that live in separate directories like:
    /dir1/subdir1/in/
    /dir1/subdir2/in/
    /dir1/subdir3/in/
    I want to setup the communication channel so that it does something like:
    /dir1/*/in
    Normally I would specify the other directories in the advanced tab however there could be potentially 1000's of subdir's so I want to use a wildcard.  Is it possible to do this with a directory name?
    I have read this link and it seems to only indicate using wildcards in the filename.
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm

    Hi,
    I think.. try as below
    It is better to use OS script to read the said three directories.
    bcz you know three directories. so you can use OS script file and that file can be configured in Ftp adapter.
    OS Command from FTP
    Please see the below links
    /people/michal.krawczyk2/blog/2005/08/17/xi-operation-system-command--error-catching
    OS Command on FTP
    OS command line script - Need help
    FTP - Run OS Command before file processing
    /people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi - Call UNIX Shell Script
    Chilla

  • Use of wildcard certificate

    Hi,
    We are going to use the UAG with a AD for the SSO of a sharepoint server and a set of 10+ web applications servers behind the UAG, the connections are supposed to be HTTPS; would like to know if the use of wild card server certificate is a mandatory
    in this kind of environment ? or a server certificate for each application server is also possible for this requirement ?
    Thanks a lot !

    Hi,
    it is not mandatory but recommended. The reason for recommendation is, that you can just use 1 trunk for publishing instead of 10 different trunks (10 IPs) if you use a single server SSL cert. E.g. if you use app01.domain.com to app10.domain.com.As an alternative
    to the wildcard cert you can use a SAN certificate which has all app host names  inlcuded. Just in case this makes a price difference.
    I would recommend to use the wildcard cert, because UAG configuration and management is much simpler as with the single server certificate and the SAN certificate is inflexible if you want add more apps because you have to request a new certificate if you
    add a new application.
    Hope that helps,
    Lutz

  • SE37 use of wildcard

    Hi Abapers,
    I start to build function module on SE37.
    I have 3 imput parameters all of then optional. I need to use a wildcard on two of then.
    How can i do that? I thought that we must use % but i tryed on SE37 and i get not any result.
    Thank you and Best regards
    João Fernandes

    Hi,
    Thank you for your answers
    Here is the code
    SELECT * FROM aufk WHERE auart EQ 'P1' AND werks EQ 'NDCM' and aufnr EQ i_aufnr and erdat EQ I_erdat
         and aedat EQ I_Aedat.
    *  SELECT * FROM aufk WHERE auart EQ 'P1' AND werks EQ 'NDCM' and aufnr EQ i_aufnr.
           SELECT SINGLE * FROM jest WHERE objnr EQ aufk-objnr AND
           stat EQ 'I0002' AND inact EQ ' '.
         IF sy-subrc EQ 0.
           MOVE aufk-aufnr TO zitemprod-aufnr.
           SELECT SINGLE * INTO CORRESPONDING FIELDS OF zitemprod
             FROM afko WHERE aufnr EQ aufk-aufnr.
          select * from afvc where aufpl eq afko-aufpl and STEUS = 'PP10'.
              select * from crhd where OBJID = afvc-arbid.
                move 'PT' to zitemprod-spras.
                move crhd-arbpl to zitemprod-arbpl.
            SELECT SINGLE * INTO CORRESPONDING FIELDS OF zitemprod
                FROM mean WHERE matnr EQ zitemprod-plnbez AND EANTP EQ 'IC'.
            SELECT SINGLE * INTO CORRESPONDING FIELDS OF zitemprod
                FROM afpo WHERE aufnr EQ zitemprod-AUFNR.
                append zitemprod.
              endselect.
          endselect.
         ENDIF.
       ENDSELECT.
       SORT zitemprod.
    ENDFUNCTION.
    Best regards

  • Use of wildcard and case insensitive searches

    Used the "Create form from a table" option. Have a customized form for this table to query, insert, update, and delete rows. My question is how can I allow a user to 1) search using a wildcard (%) from this form and 2) how can I make the search case insensitive for my users.
    Thanks

    Hi,
    Why not create a report to find the records and link to the form from the report.
    You can then set the where clause to be whatever you wish:
    where tablename.columnname like :parameter
    or even:
    where UPPER(tablename.columnname) like UPPER(:parameter)
    Regards Michael

  • Can I use a wildcard in mail filter?

    Is it possible to use a wildcard in Rules to eliminate certain emails? I want to automatically delete emails that have a certain word in them -- and have set up a rule to do so -- but a few still sneak through by having that certain word as part of a longer word.
    Further on this: I have avoided almost all spam up till now by telling friends not to send me emails unless directed solely to me -- i.e. that I'm not a part of a large "Cc" list that others forward on with my email address included. But recently I received an email with several names in the "Cc" list, mine included, and I suspect that is where the problem started -- when others on that list forwarded the email to others, and so on.
    QUES: does using "Bcc" instead of "Cc" stop this problem -- the problem of my email address appearing when an email is forwarded?

    Why rules are poor to use...
    It takes surprisingly little information to make a word recognizable, especially if you include context. You could probably remove any two letters, duplicate any two, use any combination of spaces between one or more of the letters, substitute any one of thousands of different characters, include any character in any location as an extra, etc., etc...
    http://x704.net/bbs/viewtopic.php?f=17&t=4278&p=51022&hilit=spam#p51022
    is there any other way?
    http://c-command.com/spamsieve/

  • Oracle OES: Possible to use XPath wildcards in OES authorization policies?

    Hi,
    I have policies to authorize WS-requests using OES through OWSM.
    In the OES policies I retrieve attributes from the WS-request using XPath expressions.
    When I use namespace in my XPath it all works well:
    NAMESPACE tns=http://myns/
    myAttr //tns:myVal
    But I have several WS-requests that have different namespaces, but that i need to authorize using the same policy, so I would like to use a wildcard for the namespace. But when I try the attribute retriever doesn't find the node value:
    myAttr //*:myVal
    When i use tools to check the XPath, like SoapUI, I am able to get the node value using the expression above.
    Does anyone have experience using XPath wildcards in OES policies?
    -T

    I understand that the LDAP structure design depends on the business goals and requirements and we are defnitely building the schema in that lines. But the thing we want to make sure is how flexible are the products like OIM, OAM and OES to provide user authentication(if the user is deep down in the tree), authorization (if the user needs to be authorized to services having attributes deep down in the tree), mapping complex relationships and permissions in conjunction with OID.
    I think the other way of asking this question would be what we should take into consideration while designing the LDAP structure in OID as the backend LDAP store and what things we should leave whille designing LDAP structure in OID that could be considered while designing the authentication, authorization process in OIM, OAM and OES.
    Our goal is to keep the LDAP structure simple and flexible but at the sametime use OAM, OES and OIM at their best capabilities to serve our purpose without lot of customizations required.
    Thanks!

  • Ironport email appliance : can i use a wildcard cert for TLS ?

    Hi all,
    We have 2 ironport C170 email appliance. I would like to use a wildcard SSL Cert from Digicert for TLS communication. I have 2 questions about it : 
    1/ Is it possible to use wildcard certificat on ironport ?
    2/ Is there any known problem with wildcard certificat for TLS use ?
    I found 2 (old) post about that :
    https://supportforums.cisco.com/discussion/10479161/tls-support-wildcard-cert
    http://www.symantec.com/connect/forums/someone-wants-enforce-tls-us-and-use-wildcard-cert
    Does someone has experience about it ?
    Thanks.

    My experience is that it works fine.
    If you have multiple domains, you have to make sure that the MX records point to the A record of the box you have certs for.
    eg. something like this:
    mx domain1.com  smtp.domain2.com
    mx domain2.com  smtp.domain2.com
    a smtp.domain2.com  x.x.x.x

  • Quantity Conversion in BEX using calculated KF

    Hello all
    Is it possible to apply a Quantity Conversion in BEX, using Restricted or Calculated Key Figure?
    Im trying to apply this solution but the "conversion" tab in the key figure is disabled.
    Thanks in advance for your response.

    Thanks for your response..
    Actually Im using BI7 and for some test, I was trying to create some calculated KF using +the same
    key figure+ but different fixed target unit.
    (I have already made the changes in 0material and activate the standard ODS for that)
    regards,
    mv

  • Filtering on member names using a wildcard

    Hello Olap World,We have an outline dimension based on a slow-varying dimension. Over time a member that exists under one parent may also need to exist under another. For example:WW EM CNTL HU AP CNTL HUIn order to have unique member names, I can suffix CNTL (for example) with its parent name - easy enough to do thru EIS.WW EM CNTL_EM HU_CNTL_EM AP CNTL_AP HU_CNTL_APWe also need to filter on these member names. Is there a way to use a wildcard in the filter so that I can build a read filter on all wildcard hits PLUS their descendents.I'd like to do @IDESC(@MATCH(WW,"CNTL*")) and pick up CNTL_EM and all its children and CNTL_AP and all its children. But alas, that syntax isn't supported (per my testing). Any ideas of how else to do this?Thanks!

    No, but you can apply filters using a UDA ... maybe this would work for you.

  • Using a Wildcard in a parameter

    I have a report with a lastname parameter and a firstname parameter that will prompt user to enter last name and first name.
    The firstname field could have multiple characters such as "Mary Jane".  When I enter the firstname as such, CR could not find the record. It appears that the parameter does not take multiple characters as input.
    Can anyone share a sample on how to create a parameter for this scenario? Can we use a wildcard on the parameters that look something like this:
    Last Name Prompt: lastname
    First Name Prompt: firstname*
    Thanks in advance

    I found out that it's the way the data was entered into the database. Because there is more than 1 space between the 2 characters (ex: Mary   Jane), unless I  enter it exactly like that in the prompt, it won't be able to find the record.
    The challenge is I can not predict how the names look like in the database. Is there a way to use wildcard for a partial search such as Mary*  so that all instances of Mary will return?
    I was able to setup wildcard for the firstname field so that ALL records will return but this is not a viable solution as there could be too many rows.

  • Comm Channel Variable Substitution - Use of wildcards to reference payload

    Hi!
    I am building a solution to write out tagged / XML IDOCs to a file adapter. I am using variable substitution to build the file name to include the message type, sending partner etc... in the target directory and filename.
    Is there a way to wildcard nodes in the variable substitution? For example:
    <i>Currently</i>
    payload:WMMBID01,1,IDOC,1,EDI_DC40,1,RCVPRN,1
    <i>Desired</i>
    payload:*,1,IDOC,1,EDI_DC40,1,RCVPRN,1
    where * is any wildcard.
    Reason is that we have multiple IDOC types and I want to avoid having to create multiple communication channels.
    Help appreciate and rewarded. Many thanks, Duncan.

    Hi Duncan !
    You can create the desired target filename and target directory by using dynamic configuration via java UDF in mapping. This allows you to create a target filename and/or directory based on a string..then you could use only one comm channel.
    to access info:
    // access dynamic configuration
          DynamicConfiguration conf = (DynamicConfiguration) param.get(
              StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey KEY_FILENAME = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","<b>FileName</b>");
          // read value
          String Filename = conf.get(KEY_FILENAME);
    // to write value:
    conf.put(KEY_FILENAME, "MyNewFileName");
    Regards,
    Matias

Maybe you are looking for

  • DB2 9.7 DFACT.SQL syntax error in Import ABAP phase - System Copy

    Hi all. I'm trying a system copy with a source system SAP ECC 6.0 ehp4 based on NW 701 and db2 LUW 9.1 . As it seems supported by SAP, i'm using db2 LUW 9.7 in target system. O.S. is Windows 2008. I got an error in phase "Import ABAP". Sapinst.log sa

  • Roll based security setup in jsf

    hi all, can anyone write me the procedure how to setup roll based security that is, when a user login to my page, menu will be created that i have set for that user in database. i also need to know the process, how to set role in database.... Thank y

  • HT4059 Why does iBooks offer very few books in Nigeria?

    Hello all, I recently got iPad (Third Generation) because I was excited about the possibilities of reading so many books through the iBooks app. However, I have recently discovered that there are very few books on offer in the Nigeria Store - and the

  • Using package to export & Import data

    Hi! Now i'm using exp imp utility to export & import data, but i don't want to everybody know password. My platform is windows 2000. I want know, there is a package to do this? thank!

  • Discover 3i V's Business Objects

    we have evaluated business objects but after seeing all this great stuff in birmingham @ idevelop I wonder is there anyboby out there who can tell me the advantages of discover 3i over business objects or should I still go with business objects