Wield char with the use of matnr

Hi All,
my requirement is like:
I need 1 selection option which seems like parameter type mara-matnr.
when I put any material with the using of "*", it sud be fetch all the material with combination.
I did the code for that but somtime it fails..
TABLES: rqm00.
TYPES : BEGIN OF tp_matnr,
          matnr       TYPE mara-matnr,
        END OF tp_matnr.
DATA: w_text  TYPE string.
CONSTANTS:  c_wild   TYPE c VALUE '*',
            c_per    TYPE c VALUE '%'.
DATA: t_matnr  TYPE STANDARD TABLE OF tp_matnr,
      wa_matnr type tp_matnr.
SELECT-OPTIONS : s_matnr  FOR   mara-matnr  NO INTERVALS NO-EXTENSION.
IF s_matnr-LOW CA c_wild.
      W_TEXT = S_MATNR-LOW.
      REPLACE ALL OCCURRENCES OF c_wild IN s_matnr-LOW WITH c_per.
ENDIF.
  SELECT matnr
         FROM  mara
      INTO TABLE t_matnr
      WHERE matnr LIKE S_MATNR-LOW.
IF SY-SUBRC = 0.
loop at t_matnr into wa_matnr.
write: wa_matnr-matnr.
endloop.
ENDIF.
What should I do? what is the right solution which should not be fail in any condition.
Thanks & Regards,
Jaten Sangal
Edited by: Jaten.sangal on Nov 18, 2009 11:26 AM

Hi
I just Executed this Code and working Fine
TABLES: rqm00.
TYPES : BEGIN OF tp_matnr,
matnr TYPE mara-matnr,
END OF tp_matnr.
DATA: w_text TYPE string.
CONSTANTS: c_wild TYPE c VALUE '*',
c_per TYPE c VALUE '%'.
DATA: t_matnr TYPE STANDARD TABLE OF tp_matnr,
wa_matnr type tp_matnr.
parameters : s_matnr type mara-matnr. " Replace this Parameters and proceed further
*IF s_matnr-LOW CA c_wild.
*W_TEXT = S_MATNR-LOW.
REPLACE ALL OCCURRENCES OF c_wild IN s_matnr WITH c_per.
*ENDIF.
SELECT matnr
FROM mara
INTO TABLE t_matnr
WHERE matnr LIKE S_MATNR.
IF SY-SUBRC = 0.
loop at t_matnr into wa_matnr.
write:/ wa_matnr-matnr.
endloop.
ENDIF.
Did you try this one
Cheerz
Ram
Edited by: Ramchander Krishnamraju on Nov 18, 2009 11:41 AM

Similar Messages

  • Database link from Oracle to MySQL with the use of unixODBC

    Hi,
    I have 2 servers.
    Server A:
    - CentOS_5.1 x386
    - MySQL 5.1
    - unixODBC
    - mysql-connector-odbc
    Server B:
    - CentOS_5.1 x86_64
    - Oracle 11g
    - unixODBC
    - mysql-connector-odbc
    I've configured ODBC, so I am able to do "isql <DSN> oracle oracle -v" sucessfully with "root" and "oracle" user on Oracle server. I've configured listener.ora and tnsnames.ora
    I added below lines to listener.ora
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=mysqlware)
    (ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1)
    (PROGRAM=dg4odbc)
    (ENVS=LD_LIBRARY_PATH=/u01/app/oracle/product/11.1.0/db_1/hs/lib:/usr/lib64/:$ORACLE_HOME/lib)
    and lines below to tnsnames.ora
    mysqlware=
    (DESCRIPTION=
    (ADDRESS=
    (PROTOCOL=TCP)
    (HOST=<server's FQDN>)
    (PORT=1521)
    (CONNECT_DATA=
    (SID=mysqlware))
    (HS=OK))
    The content of $ORACLE_HOME/hs/admin/initmysqlware.ora is
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = mysqlware
    HS_FDS_SHAREABLE_NAME = /usr/lib64/libmyodbc3.so
    # ODBC specific environment variables
    set ODBCINI=/home/oracle/.odbc.ini
    # Environment variables required for the non-Oracle system
    set <envvar>=<value>
    tnsping mysqlware returns.....
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS= (PROTOCOL=TCP) (HOST=<server's FQDN>)) (PORT=1521)) (CONNECT_DATA= (SID=mysqlware)) (HS=OK))
    OK (10 msec)
    when I login to oracle and create PUBLIC DATABASE LINK with command....
    create public database link link2mysqlware connect to
    2 "oracle" identified by "oracle" using 'mysqlware';
    Database link created.
    THIS IS WHAT I GET.....
    SQL> select * from "emp"@link2mysqlware;
    select * from "emp"@link2mysqlware
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from LINK2MYSQLWARE
    There is "emp" table in MySQL, from where I can even select with the use of isql command and from this Oracle server.
    I would really appreciate some help here.
    Thanks in advance.
    Tomaz Bracic

    Evening Ed,
    I changed to debug and repeated the select ....... The output below is for one select that I did. (select * from "emp"@link1)
    Oracle Corporation --- WEDNESDAY MAR 19 2008 21:50:51.371
    Version 11.1.0.6.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of "HS_TRANSACTION_LOG"
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "AL32UTF8"
    setting HS_FDS_TIMESTAMP_AS_DATE to default of "TRUE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    setting HS_FDS_FETCH_ROWS to default of "100"
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "TRUE"
    setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics"
    Exiting hgosdip, rc=0
    ORACLE_SID is "mysqlware"
    Product-Info:
    Port Rls/Upd:6/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.1.0.6.0_0006, Instance:mysqlware
    Exiting hgogprd, rc=0
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=873
    HOCXU_DRV_NCHAR=873
    HOCXU_DB_CSET=873
    HOCXU_SEM_VER=110000
    Entered hgolofn at 2008/03/19-21:50:51
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib64/libodbc.so"
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a2082a0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a208330
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a208af0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a209d60
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a2117d0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a211c70
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a214480
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a215930
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a216130
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a217b50
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a217b70
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a219270
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a21c410
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a21c7b0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a21e250
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a21eea0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a21f1a0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a220fd0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a2213a0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a222ee0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a222d30
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a227dc0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a2295b0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a229be0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a22b030
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a22b8f0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a22d550
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a22daa0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a22e2f0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a230c30
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a231770
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a232190
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a232c20
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a233110
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a233a10
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a233f20
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a2344c0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a234b10
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a2350a0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a236640
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a236380
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a2374e0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a2380b0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Exiting hgolofn, rc=0 at 2008/03/19-21:50:51
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
    Exiting hgoinit, rc=0 at 2008/03/19-21:50:51
    Entered hgolgon at 2008/03/19-21:50:51
    reco:0, name:oracle, tflag:0
    Entered hgosuec at 2008/03/19-21:50:51
    Exiting hgosuec, rc=0 at 2008/03/19-21:50:51
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned ""HS_TRANSACTION_LOG""
    HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returned "TRUE"
    HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULT_SET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using oracle as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2008/03/19-21:50:51
    HS_FDS_CONNECT_INFO = "mysqlware"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2008/03/19-21:50:51
    dsn:mysqlware, name:oracle
    optn:
    ##>Connect Parameters (len=35)<##
    ## DSN=mysqlware;
    #! UID=oracle;
    #! PWD=*
    Exiting hgogenconstr, rc=0 at 2008/03/19-21:50:51
    Entered hgopoer at 2008/03/19-21:50:51
    hgopoer, line 159: got native error 0 and sqlstate I; message follows...
    Exiting hgopoer, rc=0 at 2008/03/19-21:50:51
    hgocont, line 1903: calling SqlDriverConnect got sqlstate I
    Exiting hgocont, rc=28500 at 2008/03/19-21:50:51 with error ptr FILE:hgocont.c LINE:1923 FUNCTION:hgocont() ID:Something other than invalid authorization
    Exiting hgolgon, rc=28500 at 2008/03/19-21:50:51 with error ptr FILE:hgolgon.c LINE:612 FUNCTION:hgolgon() ID:Calling hgocont
    Entered hgoexit at 2008/03/19-21:50:51
    Kind regards,
    Tomaz

  • Execution of a planning function with the used dimension values in a crosstab

    Hello,
    would like to execute planning functions within Design Studio but I don't really know how I combine this execution with the used dimension values in a crosstab for the .
    Here the requirement:
    3 Planning functions which should use the same filter (all values of all dimensions in the crosstab) and which should run one after another:
    // open data slice
    PF_1.execute();
    // generate combinitions
    PF_2.execute();
    // close data slice
    PF_3.execute();
    Many thanks in advance.
    Kind regards,
    Tobias

    Hi Arun,
    in general it is not possible to nest planning functions. The inner function would update the data in the plan buffer without the outer function knowing about it. Also the inner function might be on a different aggregation level which would make things very tricky.
    Alternatively you can include ABAP logic into a FOX formula:
    http://help.sap.com/saphelp_nw70/helpdata/en/47/94eb78b6394befe10000000a42189d/frameset.htm
    Or just create the complete logic in one ABAP planning function type.
    Regards,
    Marc
    SAP NetWeaver RIG

  • By default, does AME render an AE project with the "use no proxies" setting?

    By default, does AME render an AE project with the "use no proxies" setting? I use lots of proxies in my files and I want to make sure they are being ignored when I'm rendering in AME.

    Adobe Media Encoder encodes After Effects compositions using their current appearance. There is no control the appearance of the composition, with one exception; there is no equivalent to the Render Settings controls in the After Effects Render Queue. If you want proxies to be used, or not, set up your composition for the desired configuration before you encode in Adobe Media Encoder.
    The exception to this rule is Guide Layers. In Adobe Media Encoder, right-click on an After Effects composition and choose Source Settings, from this dialog you can control whether or not the Guide Layers in the composition are rendered.

  • How to create a webservice in Tomcat with the use of Axis

    I am very new to webservices. I am suppose to create a webservice in Tomcat with the use of Axis. I have downloaded all the required jars.
    Please help me how to start.
    Thanx in advance.
    [email protected]

    Check out the Axis user's guide at: http://ws.apache.org/axis/java/user-guide.html

  • I would like to know if there a way to use window (via bootcamp) and use a dual screen with the use of thunderbolt?

    I would like to know if there a way to use window (via bootcamp) and use a dual screen with the use of thunderbolt?

    There are very specific requirements for using an iMac as an external display.
    From Target Display Mode: Frequently Asked Questions (FAQ) - Apple Support
    What are the requirements for TDM?
    A Mac notebook or desktop with a Mini DisplayPort or Thunderbolt connection
    A Thunderbolt or Mini DisplayPort cable
    A supported iMac with OS X 10.6.1 or later. The table below shows iMac computers that support TDM, the required cables, and the port of the computer to which you are connecting the iMac.
    iMac Model
    Cable Supported
    Port on Source Computer
    iMac (27-inch Late 2009)
    Mini DisplayPort to Mini DisplayPort
    Mini DisplayPort or Thunderbolt
    iMac (27-inch Mid 2010)
    Mini DisplayPort to Mini DisplayPort
    Mini DisplayPort or Thunderbolt
    iMac (Mid 2011)
    Thunderbolt to Thunderbolt
    Thunderbolt
    iMac (Mid 2012 and later)
    Thunderbolt to Thunderbolt
    Thunderbolt
    Note that the iMac (Retina 5K, 27-inch, Late 2014) does not support Target Display Mode.

  • I cannot print on my Canon i550 printer with the used Win7 computer I just bought. I downloaded a dr

    I cannot print on my Canon i550 printer with the used Win7 computer I just bought. I downloaded a driver update from Canon that is supposed to fix the incompatibility issue, but it does nothing. Can anyone help? Can't afford a new computer or printer!

    Hi cjvandeveer, The Windows 7 operating system has a mini-driver built-in for the printer. You can plug in the USB cable of printer into the computer and then turn the printer on. If Windows 7 automatically recognizes the printer, it will appear in your DEVICES AND PRINTERS window, and you will be able to print. You will then need to download the Windows 7 printer driver add-on module from our website. The add-on module will give the printer its full capability, but only after the printer is already recognized by Windows 7. First, to see if Windows recognizes your printer, please follow these steps: 1. Plug in the printer's USB cable into the computer and then turn on the printer. 2. Go to your START MENU on the computer and select DEVICES AND PRINTERS. 3. See if your printer is located in the DEVICES AND PRINTERS window. If it is not, we may need to run Windows Update on your computer in order for the printer to be initially recognized. Please follow these steps to install the latest driver for your printer from Windows Update: 1. Turn the printer on and ensure it is connected to the computer with the USB cable. Please note that your computer will also need to be connected to the internet before performing the next step. 2. Click on your START menu button, and in the text box that appears, type in 'WINDOWS UPDATE', then click on START SEARCH. The Windows Update window should open. 3. Click on the 'SEARCH FOR UPDATES' or 'CHECK FOR UPDATES' link. The computer will search for updates and then display the updates it has found relevant to your operating system and devices connected to it. 4. View the CRITICAL UPDATES and OPTIONAL UPDATES that appear; if you see an update for your printer, select that one and then install it. 5. Once the driver is installed, please restart your computer. Once Windows 7 recognizes your printer, you can then install the printer add-on module from our website to give the printer its full functionality.  Hope this helps! This didn't answer your question or issue? Please call or email us using one of the methods on the Contact Us page for further assistance.

  • Namedquery using same table field multiple times with the use of a label

    Hi all,
    i'm having some trouble with a namedquery. I'm trying to
    use the following namedquery in Toplink to retrive some
    data out of a database.
    select proj.id
    , proj.code
    , proj.name
    , proj.budget
    , proj.status
    , proj.startdate
    , proj.enddate
    , proj.mdr_id projleader_id
    , med_leader.name projleader
    , proj.mdr_id_valt_onder promanager_id
    , med_promanager.name promanager
    , proj.mdr_id_is_account_from accmanager_id
    , med_accmanager.name accmanager
    from uur_projecten proj
    , uur_medewerkers med_leader
    , uur_medewerkers med_promanager
    , uur_medewerkers med_accmanager
    where ( #p_name is not null or #p_search_string is not null )
    and med_leader.id = proj.mdr_id
    and ( proj.mdr_id = nvl( #p_name, proj.mdr_id )
    or proj.mdr_id_valt_onder = nvl( #p_name, proj.mdr_id )
    or proj.mdr_id_is_account_van = nvl( #p_name, proj.mdr_id ))
    and (( #p_status is not null
    and substr( proj.status, 1, 1 ) = upper( #p_status ))
    or ( #p_status is null ))
    and ( upper( proj.code ) like upper( '%' || #p_search_string || '%' )
    or upper( proj.name ) like upper( '%' || #p_search_string || '%' ))
    and med_promanager.id = proj.mdr_id_valt_onder
    and med_accmanager.id = proj.mdr_id_is_account_van
    order by decode( substr( proj.status, 1, 1 )
    , 'A', 2, 'T', 3, 'F', 4, 1 ), proj.code desc
    As you all can see the table ‘uur_medewerkers’ is been used trice to
    determine the name for the corresponding ID. I have a Java class with
    the fields for the results and created a Toplink descriptor to map
    the fields to the database fields.
    The problem is that for the 'projleader', 'promanager' and 'accmanager'
    fields the results are null. The reason is probably that Toplink doesn't
    recognize the fields because of the label for the tables.
    Is there a way to make this work?
    Greets, René

    Post Author: quafto
    CA Forum: .NET
    Your query is not too clear so I'll do my best to answer it broadly.
    You mentioned that you have a .NET web application where your users enter data on one screen and then may retrieve it on another. If the data is written in real time to a database then you can create a standard Crystal Report by adding multiple tables. The tables should be linked together using the primary and foreign keys in order to optimize the database query and give you a speedy report. Using unlinked tables is not recommended and requires the report engine to index the tables (it is quite slow).
    You also mentioned you have a "PropID" to be used in a WHERE clause. This is a great place to use a parameter in your report. This parameter can then be used in your record selection formula inside Crystal Reports. The report engine will actually create the WHERE clause for you based on the parameter value. This is helpful because it allows you to simply concentrate on your code rather than keeping track of SQL queries.
    Now, what Crystal does not do well with is uncertainty. When you design a report with X number of tables the report engine expects X number of tables to be available at processing time. You should not surprise the print engine with more or less tables because you could end up with processing errors or incorrect data. You may need to design multiple reports for specific circumstances.
    Regarding the group expert question. I'm not sure how you would/could use the group expert to group a table? A table is a collection of fields and cannot be compared to another table without a complex algorithm. The group expert is used to group and sort records based on a field in the report. Have a look at the group expert section of the help file for more information.
    Hopefully my comments have given you a few ideas.

  • Confusion with the use of PDF417 Barcodes

    I am trying to get clarification on what is required to utilize the Acrobat Designer to create a form that creates a PDF417 barcode. Here is the scenario:
    We would like to create a form with Designer (bundled with Acrobat 7.0 Professional)that will be used as an index sheet for a document scanning system.
    The form would contain one or more fields that a user would complete using the standard Acrobat 7.0 Reader that they can download from Adobe. When the user completes the data entry into the fields, they will print out the form (containing the 2D barcode (PDF417).
    The form would be scanned and put through recognition software that is supposed to ready PDF417 2D barcodes.
    I have read through the literature and have seen inconsistent representations regarding the ability of a user to use the Acrobat reader to complete the form and print it with the PDF417 barcode.
    In one of the forum postings a user was told that they needed certain decoder software from Adobe or extensions.
    I am not clear if the user filling out a form using Acrobat 7.0 reader, which generates the PDF417 barcode supposedly, can be read by an application which supports that barcode type. Or, if this is a special type of PDF417 barcode that has some additional attributes that requires special software from Adobe to be recognized.
    Please explain how I accomplish the objective set forth above.

    Mike,
    It looks like I scanned over your email a little too quickly and missed a
    VERY important point. You mention that your form will be "bundled with Acrobat 7.0 Professional". This is VERY important.
    In fact, you will need to license nothing else from Adobe. You DO NOT need Reader Extensions because you are deploying Acrobat Professional on the work stations that will be filling in your forms. You do not need to "turn on" hidden functionality of the Free Reader if you are using Acrobat Pro. You already have all the functionality you need.
    Second, when you fill in a Barcoded Form with Acrobat Professional the PDF417 Barcode that is rendered in your form will be a 100% standard PDF417 Barcode. But do not turn on compression. When filled in - in Acrobat - the Barcode is rendered so that it can be read by ANY Decoder that can read PDF417. However, if you enable compression you will need to use the Adobe Decoder. If you start decoding and see you are getting lower than a 99.9% decode rate, take a look at buying the Adobe Decoder. Not the whole "Barcoded Forms" license, just the Decoder.
    Again,
    if you are using Acrobat to fill in these forms, you have nothing else to buy. If you want to deploy these forms with the Free Reader then you will need to license Adobe LiveCycle Barcoded Forms and possibly ARES.

  • New OSX 10.7 disadvantages 'paying' MobileMe members. Warning: with the use of Lion, MobileMe synchronization is no longer reliable!

    Today I received the following message from MobileMe advisor Caryn in a support chat:
    "MobileMe is actually not compatible with Lion yet which could be why you are having some issues. Since MobileMe is going away, it actually has not been designed for use with Lion. iCloud is designed for Lion. Now its not saying that it wont work but this is the reason you are having issues."
    Can you imagine I was flabbergasted?! Because if these "issues" mean that synchronizing iCal and Address book under Lion is not reliable anymore, as it has proven to be extremely unreliable in my case for the last weeks, I think Apple is letting the paying MobileMe customer down the hard way. This is something you would never expect Apple to do: introducing a new OSX ignoring severe damage they cause to thousands of ‘paying’ MobileMe members.
    I had been discussing this matter with MobileMe support several times, but today was the first time I received a honest answer. I run a business using Apple equipment and MobileMe services. Many hours and valuable data were lost. Unacceptable!!!
    Problem description:
    In my case iCal 5.0 running at OSX 10.7 on several iMac's did not synchronize correct or not at all. New events are flagged with a small round ‘offline shaped’ icon and do not synchronize with MobileMe. Once the icon is present in one of the events, new added events are also flagged and do not synchronize. Appointments were lost between machines this way!
    As soon as the icons in the events appear, also a warning icon is shown at the top of the (pop up) calendar list. Clicking this warning sign icon the following error is reported (translated from Dutch): “The server responded with an error. iCal cannot establish the connection with cal.me.com. Take care that you are linked with the Internet and try it later again.”
    I have ran several tests with the assistance of chat support, including deleting and re-installing my iCal account several times and I even re-installed OSX Lion on one of the iMac's. Nothing helped. Switching the machines back to OSX 10.6 Snow Leopard solved all problems. Getting frustrated about losing a lot of valuable time!
    So now I’m warning other Apple users in national and international social media discussion groups and Apple forum discussion portals. Skip the use of OSX Lion as long as you are a MobileMe member! If already purchased: ask for a refund!

    @Chris: my machines: MacPro Original 2,66/11GB, macMini 3,1 2,0/4GB and a MBAir 2,1 1,86/2GB all running Lion since day 2.
    This is the official article for MobileMe users about transition to iCloud - I admit: nothing said about MobileMe and Lion.
    http://support.apple.com/kb/HT4597
    This article dated Juli 29th "Known problems with iCal" does not talk about Lion either:
    http://support.apple.com/kb/HT4038
    And finally, the official status information on MobileMe says: everything fine.
    So I doubt, that the statement from "Apple MobileMe support" (whoever that was) is something to be taken as the truth. These people surely are no OSX experts and I guess they know about Lion as much as we do. Since you never look into there eyes while communicating, you never know ....? And hiding behind a Lion is not very brave ;-)
    Only to be sure: Do you have "Push" selected in all your iCal MobileMe account preferences?

  • Calling HDMV Title, withe the use of a Locator

    Hello all.
    I would like to ask if it is possible to call an HDMV Title from javax.media.MediaLocator, or another Locator and then play it with a javax.media.player. If so, how is it done? Can I have an example pls?
    Thanks in advance,
    Tilemahos Goudas.

    The RAISE is used inside the exception handler_.
    If you "handle" the error and are satisfied that it has been handled then there is no need to RAISE it back up to the calling code.
    If you are just capturing the error i.e. to log it, but you aren't handling it then you should RAISE it back up to the calling code. Somewhere up the chain of calls the error should get handled or, if not, it will exit out of the top of the code and the error will be given to the program that called the code e.g. SQL*Plus etc. which can choose what it does with the error (usually displaying it to the user).
    PL/SQL 101 : Exception Handling
    PL/SQL 101 : Exception Handling

  • Replace one char with the other

    I am reading a path,when i use the system path with the \ slash in java its not compatible in windows,
    is there any facility in java for replacing the rightslash with the forward slash
    i.e when we encounter '/' i wanna to replace it with '\'
    sample code needed
    please help me
    thank in advance,
    with regards

    The java file handling code will work with paths containing forward slashes, even on windows. If you want to convert to backslashes before displaying to the user or calling native code, then something like the following should work:
    String myPath = "C:/Windows";
    myPath = myPath.replace('/', '\\');

  • Mirroring from MacBook Pro to ATV, with the use of a VPN: Netflix no longer working

    Since upgrading to Yosemite, I cannot mirror Netflix from my MacBook Pro to my ATV. I would use the Netflix on the ATV however I currently live in China and need to use a VPN. Mirroring works for Safari, Itunes and all other programs except for Netflix. The error message is ensure your monitor is HDCP compliant and is not mirrored using Airplay.
    Anyone know how I can fix this?

    I believe so. I was able to to mirror netflix through the use of VPN prior to the Yosemite upgrade.

  • How to deal with the using up space of /opt/oracle

    Hello, all
    We have an Oracle 10g preinstalled in a linux server (Rh 9). Now the system reports that the /opt/oracle is using up. The alert says:
         Filesystem /opt/oracle has only 19% available space
    Because I didn't install the Oracle dababase, I didn't have the chance to select a place for filesystem. Now the /opt/oracle is on the /dev/sda6 which is only 7.1G. I want to know what kind of information are stored here? Should it keep growing? Our database running on the Oracle is a small one, and it shouldn't occupy so much space. By the way, I scheduled the backup to disk (another hard disk) everyday. Is there any copy of the backup on /opt/oracle? How can I deal with it?
    Any advice is highly appreciated!
    Qian
    Message was edited by:
    QianChen
    Message was edited by:
    QianChen

    Typically, the growth files on your binary directory is going to be in the $ORACLE_HOME/network/logs/listener.log , any tracelog, sqlnet.log, or any files that get accidentally dumped in $ORACLE_HOME/dbs.
    I would check there first.
    Also, try scanning for the last few files written/updated in the past 30 days.
    #30 biggest files modified in last little while:
    find . -xdev -type f -mtime -14 -exec ls -l {} \; | sort -nk 5,5 | tail -30

  • Using iPod Hi-Fi as computer speaker with the use of an Airport

    Hello,
    Today I've connected my iPod Hi-Fi with an optical fibre cable on my Airport Express basestation. Airtunes works great! But...
    when playing a dvd/game etc. on my Mac it should be very nice if the sound comes also from the iPod Hi-Fi. I know I could use an analog 3,5 minijack cable connected directly from my Mac to the Airport/iPod Hi-Fi, but I prefer to work without cables. I think there must be a solution to use the Airport Express as a transmitter for all the sound.
    Does anyone know a solution / have a suggestion?
    Thanks!
    Greetings,
    Jarchall

    Grettings
    With what you currently have it is impossible to do what you want.
    However, take a look at http://rogueamoeba.com/airfoil/mac/ .
    I have seen many plaudits for this on the boards, but have no experience with it whatsoever!

Maybe you are looking for